pip-compile-multi¶
Pip-compile-multi is a command line utility, that compiles multiple requirements files to lock dependency versions. Underneath it uses pip-tools for actual compilation. Pip-compile-multi targets complex projects and provides highest level of automation and flexibility in class.
To install:
pip install pip-compile-multi
To run:
pip-compile-multi
Why use pip-compile-multi?¶
How to use pip-compile-multi?¶
- Installation
- How to start using pip-compile-multi on existing project
- Features
- Requirements Directory
- Requirements Files Extensions
- Disable upgrades
- Upgrade only selected packages
- Use Cache
- Compatible Releases
- Generate hashes
- Allow Unsafe Packages
- Custom Header
- Limit input files
- Limit environments
- Add index URL annotation
- Add additional index URL to search
- Add trusted host annotation
- Autoresolve cross-file conflicts
- Backtracking resolver
- Skip constraints in comments of output files
- Strip extras
- Live output
- Enable UV
- Check that
pip-compile-multi
was run after changes in.in
file
- Verify as pre-commit hook
- Bonus: boilerplate to put in project’s README
Release notes¶
- History
- 2.8.0 (2024-11-27)
- 2.7.0 (2024-11-27)
- 2.6.4 (2023-06-06)
- 2.6.3 (2023-05-05)
- 2.6.2 (2023-02-23)
- 2.6.1 (2022-11-23)
- 2.6.0 (2022-11-23)
- 2.5.0 (2022-11-03)
- 2.4.6 (2022-07-22)
- 2.4.5 (2022-04-01)
- 2.4.4 (2022-03-30)
- 2.4.3 (2022-01-19)
- 2.4.2 (2021-09-01)
- 2.4.1 (2021-04-02)
- 2.4.0 (2021-03-17)
- 2.3.2 (2021-02-18)
- 2.3.1 (2021-02-16)
- 2.3.0 (2021-02-04)
- 2.2.2 (2021-01-29)
- 2.2.1 (2021-01-29)
- 2.2.0 (2020-01-22)
- 2.1.0 (2020-08-19)
- 2.0.0 (2020-05-18)
- 1.5.9 (2020-03-23)
- 1.5.8 (2019-09-27)
- 1.5.7 (2019-09-27)
- 1.5.6 (2019-09-18)
- 1.5.4 (2019-09-16)
- 1.5.3 (2019-09-14)
- 1.5.2 (2019-09-12)
- 1.5.1 (2019-08-08)
- 1.5.0 (2019-08-06)
- 1.3.1 (2019-02-19)
- 1.3.0 (2018-12-27)
- 1.2.2 (2018-11-20)
- 1.2.1 (2018-04-16)
- 1.2.0 (2018-04-03)
- 1.1.12 (2018-02-23)
- 1.1.11 (2018-02-09)
- 1.1.10 (2018-02-09)
- 1.1.9 (2018-02-08)
- 1.1.8 (2018-01-25)
- 1.1.6 (2018-01-19)
- 1.1.5 (2018-01-16)
- 1.1.0 (2018-01-12)
- 1.0.0 (2018-01-11)
Have fun!¶
Now that occasional backward incompatible dependency release can’t ruin your day,
you can spread the word about pip-compile-multi
, ask for a new feature in a GitHub issue,
or even open a PR ;-).