GithubHelp home page GithubHelp logo

Replace pipenv? about hknweb HOT 4 CLOSED

compserv avatar compserv commented on June 27, 2024
Replace pipenv?

from hknweb.

Comments (4)

jameslzhu avatar jameslzhu commented on June 27, 2024

Is conda a viable alternative?

@adithyaj

from hknweb.

jameslzhu avatar jameslzhu commented on June 27, 2024

May also consider hatch, which appears not to use any other "special" files other than requirements.txt and setup.py (which are already used by pip).

However it doesn't manage dependencies, a major downside.

from hknweb.

jvperrin avatar jvperrin commented on June 27, 2024

I think this setup is decent, although I'm biased since I'm used to how it's set up and it originated where I currently work :)

The upside is that it's fast, easy to work with once you know how it works, has cached venvs, a lockfile of sorts (pinned requirements in a file suitable for deploys anyway), etc. However, the downsides are that it needs at least 4 files (requirements-minimal.txt for unpinned prod dependencies like anything the application actually imports, requirements.txt for pinned prod dependencies generated from requirements-minimal.txt, requirements-dev-minimal.txt for unpinned dev dependencies like anything used for testing and pre-commit hooks, and finally requirements-dev.txt for pinned dev dependencies). It also can be confusing to know what to edit starting out, and it needs some tools to work with it (like upgrade-requirements to easily update pinned requirements). I've found it works pretty well overall and addresses all my concerns around dependencies and pinning though, which is nice, and it's also something the OCF uses.

from hknweb.

bri25yu avatar bri25yu commented on June 27, 2024

Resolved by #272

from hknweb.

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.