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

Update a specific package does not work. #455

Closed
armenak-baburyan opened this issue Feb 23, 2017 · 0 comments
Closed

Update a specific package does not work. #455

armenak-baburyan opened this issue Feb 23, 2017 · 0 comments

Comments

@armenak-baburyan
Copy link

Update a specific package --upgrade-package or -P flag does not work.

Environment Versions
  1. MacOS Sierra
  2. Python version: 3.5.3
  3. pip version: 9.0.1
  4. pip-tools version: 1.8.0
Steps to replicate

req.in

jinja2
markupsafe
werkzeug

req.txt

#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file requirements/req.txt requirements/req.in
#
jinja2==2.7.3
markupsafe==0.23
werkzeug==0.6
  1. Trying to update only jinja2: pip-compile -P jinja2 requirements/req.in
Expected result

req.txt

#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file requirements/req.txt requirements/req.in
#
jinja2==2.9.5
markupsafe==0.23
werkzeug==0.6
Actual result

req.txt

#
# This file is autogenerated by pip-compile
# To update, run:
#
#    pip-compile --output-file requirements/req.txt requirements/req.in
#
jinja2==2.9.5
markupsafe==0.23
werkzeug==0.11.15

As you can see, werkzeug was updated as well.

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 a pull request may close this issue.

1 participant