pip-tools: Not able to upgrade version for transitive Dependency
I hope this is correct forum for this issue.
Environment Versions
- OS Type - macOS
- Python version:
$ python -V- 3.8 - pip version:
$ pip --version- 24.0 - pip-tools version:
$ pip-compile --version- 2.0.2
Steps to replicate
- I’ve two files requirements.in listing all dependencies and versions, and another is requirements.txt which is created after compiling requirements.in and is used to install dependencies.
- certifi version is 2021.10.8 and mentioned in requirements.txt file. I am trying to upgrade the transitive dependencies like sentry, requests, etc in requirements.in file and but the certifi version is not changing in requirements.txt and virtual env.
- Similarly, tornado is dependent on flower. After upgrading flower version in requirements.in file, running pip-compile and pip install does not change version for tornado in requirements.txt file.
I am not sure what steps or process I am missing here. I have tried using force cmd, cleared cache, re-installed virtual env. I appreciate the help, Thanks.
Expected result
Lib version should get changed in requirements.txt.
Actual result
Lib versions are still old ones.
About this issue
- Original URL
- State: closed
- Created 4 months ago
- Comments: 27 (12 by maintainers)
Don’t forget to upgrade pip.