Giter Club home page Giter Club logo

Comments (5)

G-Rath avatar G-Rath commented on August 22, 2024

fwiw we've moved everything at Ackama to use Poetry, though we were previously primarily using pip / pip-compile

from osv.dev.

andrewpollock avatar andrewpollock commented on August 22, 2024

/cc @di for input

from osv.dev.

another-rex avatar another-rex commented on August 22, 2024

@G-Rath pip-compile is one of the choices we are thinking of going with, any particular reason you folks moved to Poetry?

from osv.dev.

G-Rath avatar G-Rath commented on August 22, 2024

It was primarily that we found Poetry tends to mirror a lot of the other dependency managers we're using like npm, composer, bundler, making us feel better about managing dependencies with it e.g. we can do "poetry update " to get a security update for some nested child package without having everything else upgraded or having to add that package as a direct dependency, and all the packages are captured in the single predictably-placed file that is poetry.lock regardless of what group they're in (rather than requirements.dev and what have you)

from osv.dev.

woodruffw avatar woodruffw commented on August 22, 2024

FWIW: Poetry's resolution strategy doesn't exactly match pip's, meaning that the two shouldn't be assumed to be always consistent/identical for all resolutions. This may or may not matter, depending on your deployment environment/conditions 🙂

In terms of consistency with the larger ecosystem (and PyPA in particular), my recommendation would be pip-compile: it uses pip's own resolver, and would mirror what PyPI and other large codebases use to keep their Python dependencies fully pinned.

from osv.dev.

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.