Hacker GitHub

← All repos

pypa/pip-tools

View on GitHub ↗ ★ 8,007 Python

A set of tools to keep your pinned Python dependencies fresh.

64 mentions on Hacker News by 59 people: 3 stories, 61 comments · first 2013-01-28 · latest 2026-03-19

Mentions per year 64 mentions · busiest year 2016 (14)
20082026
  1. Discussion: https://github.com/jazzband/pip-tools/discussions/2353
    comment by OutOfHere · 2026-03-19 · in Astral to Join OpenAI
  2. This is your friendly PSA that pip-tools still exist. https://github.com/jazzband/pip-tools
    comment by opyate · 2026-03-19 · in Astral to Join OpenAI
  3. …getting all the attention these days. Others like pip-tools have support in the roadmap ( https://github.com/jazzband/pip-tools/issues/2027 )
    comment by meander_water · 2025-07-22 · in Uv: Running a script with dependencies
  4. …imports in any Python file in your proejcf which could be a daily occurrence in some codebases. [1] https://github.com/jazzband/pip-tools
  5. …to change library versions even if there are no true conflicts. My friend, here is what you seek: https://github.com/jazzband/pip-tools requirements.txt is flat because it's really the output of `pip freeze`. It's supposed to completely…
  6. …of, that's what windmill's hub is for [3] [1]: https://github.com/windmill-labs/windmill [2]: https://github.com/jazzband/pip-tools [3]: https://hub.windmill.dev/
  7. Check out pip-tools [1] which does exactly that, albeit in a slightly more polished way. [1]: https://github.com/jazzband/pip-tools
    comment by Dunedan · 2022-12-21 · in A not so unfortunate sharp edge in Pipenv
  8. I've been using pip-compile from https://github.com/jazzband/pip-tools for this use case; a standard project Makefile defines "make update" which pip-compiles the current requirements, and "make install" installs the frozen requirements…
  9. …python software versions in a requirements.txt from a requirements.in meta-dependency-spec-file: https://github.com/jazzband/pip-tools#updating-requirements $ pip-compile --upgrade requirements.in $ cat requirements.tct Poetry has an…
  10. …either because a programmer's job is to automate boring tasks like dependency pinning. [0] https://github.com/jazzband/pip-tools
  11. Look at what the well-regarded pip-tools ( https://github.com/jazzband/pip-tools ) does, for a disciplined approach to these requirements files. You don't necessarily need to adopt that tool, but can maybe take inspiration from it.
  12. …that just gets out of your way instead of mandating a totally separate workflow a la Poetry. [1] https://github.com/jazzband/pip-tools
  13. …snippet in a pip-tools issue that will list only the outdated root dependencies in requirements.in: https://github.com/jazzband/pip-tools/issues/1167 I personally find it extremely useful when upgrading dependencies.
    comment by Alex3917 · 2022-07-15 · in Freezing Requirements with Pip-Tools
  14. …to a tool like "poetry" [2] (which is what "pip-compile-cross-platform" uses under-the-hood ) [1] https://github.com/jazzband/pip-tools#cross-environment-usag... [2] https://github.com/python-poetry/poetry/
  15. …streamlining dependency resolution, but it may not provide any benefit for one-shot installs. [0] https://github.com/jazzband/pip-tools
    comment by edpenz · 2022-05-29 · in Making pip installs a little less slow
  16. That's helpful to know. Looks like an update to use the new resolver is close: https://github.com/jazzband/pip-tools/pull/1539
  17. …also use pipx[2] to install Python based tools onto my system so they have their own virtualenv. 1: https://github.com/jazzband/pip-tools 2: https://github.com/pypa/pipx
  18. …seems to acknowledging PEP621 https://pip-tools.readthedocs.io/en/latest/changelog/?highli... https://github.com/jazzband/pip-tools/issues/1047
    comment by kbumsik · 2021-12-10 · in PDM: A Modern Python Package Manager
  19. …are semver, freeze them, and then re-write them down to their minimal versions and re-install. [1]: https://github.com/jazzband/pip-tools
  20. With pip-tools. https://github.com/jazzband/pip-tools And you can still use standard setup.cuff and pip install -e unlike Poetry. Also, much faster.
  21. …pinning and dependency management with common Python practices (e.g., requirements.txt). 1: https://github.com/jazzband/pip-tools
  22. …file shortcoming is better remedied by pip-tools [1] as recommended by a neighboring comment. [1]: https://github.com/jazzband/pip-tools
    comment by divbzero · 2021-02-03 · in Pipenv: Python Dev Workflow for Humans
  23. …dependant packages are not removed from freeze. You have to do it manually. (interesting link: https://github.com/jazzband/pip-tools ) 3. Freeze is flat list (npm can restore tree structure)
    comment by tandav · 2021-01-02 · in Virtual Environments Demystified
  24. …for pip-tools which has been around longer, is less opinionated and has many of the same benefits https://github.com/jazzband/pip-tools
  25. FWIW I had a lot of success using https://github.com/jazzband/pip-tools to have dependencies automatically managed in a virtualenv. * Basically I would have a single bash script that every `.py` entrypoint links to. * Beside that symlink…
    comment by vlovich123 · 2020-11-12 · in Guido van Rossum joins Microsoft
  26. I strongly recommend https://github.com/jazzband/pip-tools to solve this. It provides a simple script to take a requirements file and "compile" a full specification of all transitive dependencies. You check both files into the repo, point…
  27. …or paradigm's. No PEP waiting to be adopted by everyone. Just good old requirements.txt + Pip. [0] https://github.com/jazzband/pip-tools
    comment by aequitas · 2020-06-08 · in Python Wheels Crosses 90%
  28. pip-tools is almost never mentioned because it's boring but great. I always default to it. https://github.com/jazzband/pip-tools
  29. …further internet access was required. It wasn't easy but eventually it worked super reliably. [1] https://github.com/jazzband/pip-tools
    comment by vlovich123 · 2020-05-28 · in Hypermodern Python
  30. …(being discussed favorably downthread as a pipenv alternative) is a Jazzband member project: https://github.com/jazzband/pip-tools .
    comment by medmunds · 2019-12-13 · in If this project is dead, just tell us
  31. Have a look at https://github.com/jazzband/pip-tools#workflow-for-layered-r... Both the 'input' and 'output' requirements are pip compatible files (just with different extensions). It uses pip features like '-c' to include other contraints…
    comment by aequitas · 2019-12-13 · in If this project is dead, just tell us
  32. I’ve heard good things about pip-tools: https://github.com/jazzband/pip-tools
    comment by yingw787 · 2019-12-13 · in If this project is dead, just tell us
  33. …[0] https://github.com/python-poetry/poetry/issues/872 [1] https://github.com/cs01/pythonloc [2] https://github.com/jazzband/pip-tools
  34. I've had a good experience with pip-tools ( https://github.com/jazzband/pip-tools/ ) which takes a requirements.in with loosely-pinned dependencies and writes your requirements.txt with the exact versions including transitive dependencies.
    comment by sciyoshi · 2019-08-12 · in Python Is Eating the World
  35. …they don't know what they're doing and haven't paid attention to the ecosystem for years. [1] https://github.com/jazzband/pip-tools [2] https://docs.pipenv.org/en/latest/ [3] https://tox.readthedocs.io/en/latest/
    comment by Groxx · 2019-05-19 · in “Python's batteries are leaking”
  36. I recommend pip-tools along with pyenv and pyenv-virtualenv. https://github.com/jazzband/pip-tools https://github.com/pyenv/pyenv https://github.com/pyenv/pyenv-virtualenv
    comment by neillyons · 2018-12-06 · in Pipenv: promises a lot, delivers very little
  37. `pip-compile --generate-hashes` is the best way to manage python dependencies. https://github.com/jazzband/pip-tools https://gist.github.com/hynek/5e85706cee589a204251b333595853...
    comment by j88439h84 · 2018-12-06 · in Pipenv: promises a lot, delivers very little
  38. …compiles. It's vendored in pipenv, so it's basically the dependency engine for pipenv. [1] https://github.com/jazzband/pip-tools
    comment by rectalogic · 2018-12-05 · in Pipenv: promises a lot, delivers very little
  39. Another good one is pip-tools: https://github.com/jazzband/pip-tools (which pipenv set out to replace initially, but it does a terrible job of it IMO)
  40. virtualenv + pip-tools https://github.com/jazzband/pip-tools
    comment by xycco · 2018-07-25 · in Freezing Python’s Dependency Hell
  41. …requirements and production requirements which makes these packaging scripts much more complicated. https://github.com/jazzband/pip-tools would be what I used before pipenv came to be.
  42. …or am I missing a crucial advantage of Anaconda? [1] https://github.com/kennethreitz/autoenv [2] https://github.com/jazzband/pip-tools [3] https://github.com/pyupio/pyup
  43. …theoretical either - it happened to us in production. We are using `pip-tools` to manage that: https://github.com/jazzband/pip-tools
    comment by yen223 · 2017-09-07 · in The Incredible Growth of Python
  44. …lot of more applications need more machinery, yielding utilities like pip-tools[0] and conda. [0]: https://github.com/jazzband/pip-tools
  45. I'm surprised that no one has mentioned pip-tools: https://github.com/nvie/pip-tools It's a very similar set of tools. I use pip-compile which allows me to put all of my dependencies into a `requirements.in` file, and then "compile" them…
    comment by conradev · 2017-01-23 · in Announcing Pipenv
  46. ▲ 2
    Pip-tools: keep your pip-based packages fresh
    story by tbarbugli · 2017-01-04 · 0 comments
  47. …already have a requirements.lock. in fact, there's already a library for this called pip-tools ( https://github.com/nvie/pip-tools ) that generates a requirements.txt (the lock file) from a requirements.in (your direct dependencies)
    comment by rickycook · 2016-11-22 · in Pipfile for Python
  48. I think the issue here is that it adds so much complexity. There's a project called pip-tools ( https://github.com/nvie/pip-tools ) that does a similar thing (generates a requirements.txt, test-requirements.txt etc) from a requirements.in…
    comment by rickycook · 2016-11-22 · in Pipfile for Python
  49. …a better idea than using pip and you also have to explain it to anyone that joins your project. 0: https://github.com/nvie/pip-tools
    comment by K0nserv · 2016-08-24 · in Why People Should Learn Python
  50. https://github.com/nvie/pip-tools solves this by providing pip-sync, which will uninstall removed packages.
    comment by chronial · 2016-08-14 · in Python packaging is good now