Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add hint for using constraint file to prevent unwanted updates #74

Merged
merged 1 commit into from
Mar 21, 2020

Conversation

joshbode
Copy link

@joshbode joshbode commented Oct 1, 2019

I've found using a constraints.txt file useful for locking the version for packages that I don't want upgraded even when there are new versions.

I think it would be useful to document that "feature" in the README.
(however, it might even be useful to add an option (e.g. pip-review --constraint FILE ...) to specify constraints directly rather than relying indirectly on the behaviour of pip install ...)

@jgonggrijp
Copy link
Owner

I'm OK with merging this, but please move it further down to not break the overview of pip-review's own CLI. I suggest inserting it after Run ``pip-review -h`` for a complete overview of the options.

Honestly, if you have specific packages that you want to protect against updates beyond some version, you're probably better off using pip-tools with a requirements.in.

@joshbode
Copy link
Author

joshbode commented Oct 2, 2019

Thanks - I've moved the section as requested.
I'm not familiar with pip-tools and requirements.in - I'll take a look :)

@jgonggrijp jgonggrijp merged commit 77245d5 into jgonggrijp:develop Mar 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants