GithubHelp home page GithubHelp logo

Update dependencies about juriscraper HOT 9 CLOSED

mlissner avatar mlissner commented on August 22, 2024
Update dependencies

from juriscraper.

Comments (9)

arderyp avatar arderyp commented on August 22, 2024

is this still relevant?

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

Yes. The trick here is that we need to update these lockstep with CourtListener. As I understand it (and perhaps it's worth double checking this), if two libraries call for the same dependency, the newer one will just be chosen. So I think if we upgrade things here, that'll upgrade things for CourtListener as well. But I'm not sure how it really works.

I did just upgrade lxml and selenium though, and I did them lockstep with CL and it wasn't that bad.

from juriscraper.

arderyp avatar arderyp commented on August 22, 2024

do juriscraper and cl share unified processes on the same server? or do they share the same virtualenv?

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

from juriscraper.

arderyp avatar arderyp commented on August 22, 2024

why would two separate apps with separate requirements.txt files share the same env? Regardless, I think its good to strive to keep all packages up to date, as letting things fall behind become an exponential nightmare to cleanup later.

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

Maybe I misunderstand how virtualenvs work, but if CourtListener requires juriscraper, how can it have a separate env?

Agree about updates. That's kind of where things are at the moment — a nightmare.

from juriscraper.

arderyp avatar arderyp commented on August 22, 2024

oh, juriscraper is only installed as a dependency of CL? Maybe the problem here is that I don't really understand how CL and juriscraper interact with each other. However you set it up is probably correct and I'm just misunderstanding the setup.

from juriscraper.

flooie avatar flooie commented on August 22, 2024

I think we can move on from this issue - seems like we've done quite a lot of updates on dependencies @mlissner - feel free to correct me if im wrong here

from juriscraper.

mlissner avatar mlissner commented on August 22, 2024

Yeah, I'm OK closing this. Libraries should have liberal requirements, locking to the lowest version they support. Websites should have tight requirements, locking to the latest version, period.

So long as Juriscraper isn't holding us (or others) back, I'm cool. A test would be to export requirements.txt from CL. Remove Juriscraper and export again. If any deps are newer, then Juriscraper is an issue. But I'm not too worried about it generally.

from juriscraper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.