-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
installing package with ~= leads to installing the latest version of that package #5594
Comments
I think this is expected, -- the tilde-equals operator takes the least most significant specified value, in this case .9 and makes it flexible. If you wanted to restrict further you could do |
Ok, thanks I will try this I would suggest to adjust the documentation a bit as it can be a little bit misleading """ $ pipenv install requests~=1.2 see: Specifying Versions of a Package |
Issue description
pipenv install "tensorflow~=2.9" leads to the installation of the latest version of tensorflow which is 2.11.x I would expect that it would not update the major version
Expected result
a version of tensorflow equal to 2.9.3 (for example)
Actual result
tensorflow 2.11.x
Steps to replicate
python 3.7
run on cli
pipenv install "tensorflow~=2.9"
The text was updated successfully, but these errors were encountered: