Versions prefixed with ==
fail to be found when not in the local cache
#711
Labels
bug
Something isn't working
==
fail to be found when not in the local cache
#711
Description:
When a version is prefixed with
==
and is not found in the local cache, it fails to be found for downloading.I encountered this while specifying the version through
project.requires-python
inpyproject.toml
.I'm not sure if
python-version
also has this issue, but I presume so.Action version:
v4.7.0
Platforms:
Runner type:
Tools version:
Every Python version not in the local cache
Repro steps:
I was originally using
python-version: ['3.10.10']
, which successfully downloads.Upon changing to use
python-version-file: pyproject.toml
withrequires-python = "==3.10.10"
(under[project]
) inpyproject.toml
, the version fails to be found.Additionally, I confirmed that this is only an issue when the version is not found in the local cache, as removing the patch version in
pyproject.toml
and changing it torequires-python = "==3.10"
successfully installs the version in the local cache.Expected behavior:
The version is successfully downloaded and installed
Actual behavior:
The version fails to be found
The text was updated successfully, but these errors were encountered: