I have a Pipenv
file which looks something like this
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
antlr4-python3-runtime = "4.8"
numpy = "1.19.3"
...
However, when I create the environment by running pipenv install
, the versions antlr4-python3-runtime==4.9.2
and numpy==1.21.2
are installed instead.
If I modify the Pipfile
in the following way:
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
antlr4-python3-runtime = "==4.8"
numpy = "==1.19.3"
...
Then it installs the correct versions. I am a bit confused on what happens when you specify a version with "4.8"
vs "==4.8"
, because it seems like the former doesn't work. How is the former different from not specifying any version at all?