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 in pyproject.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 with requires-python = "==3.10.10" (under [project]) in pyproject.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 to requires-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
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-pythoninpyproject.toml.I'm not sure if
python-versionalso 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.tomlwithrequires-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.tomland 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