You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @shadycuz. It is an expected behaviour because in v3 tag the action had default value for python-version input. It was removed in scope of this pull request.
Alright alright, I read throught the 4.0 release notes again and it does seem to call out that the default is going away. I think it could be clearer. Same with the error msg. If a user did not specify python-version and you don't find a python file. Then perhaps you could tell them they need one or the other.
I don't really like this change, but I guess its time I use the python version file.
Activity
MaksimZhukov commentedon Nov 8, 2022
Hello @shadycuz! Thank you for reporting this!
We will investigate the issue and let you know as soon as we have updates.
dsame commentedon Nov 18, 2022
Hello @shadycuz
The problem appears because the step
Set up Pythondoes not have python version from the hosted toolcache.You should point out some:
This build (with python-version:) shows the the pipeline fixed: https://github.com/akv-demo/setup-python-test/actions/runs/3495220045/jobs/5851739586#step:5:14
And this build (without python-version:) repros the issues: https://github.com/akv-demo/setup-python-test/actions/runs/3495204909/jobs/5851706555#step:5:16
Please confirm the answer solves the issue.
shadycuz commentedon Nov 18, 2022
@dsame But I used to not have to manually specify
python-version: '3.9'to get it to work. Was that a breaking change fromv3tov4.Edit: your own experiment seems to show that it worked in
v3but doesn't inv4.dmitry-shibanov commentedon Nov 21, 2022
Hello @shadycuz. It is an expected behaviour because in v3 tag the action had default value for python-version input. It was removed in scope of this pull request.
shadycuz commentedon Nov 21, 2022
Alright alright, I read throught the
4.0release notes again and it does seem to call out that the default is going away. I think it could be clearer. Same with the error msg. If a user did not specifypython-versionand you don't find a python file. Then perhaps you could tell them they need one or the other.I don't really like this change, but I guess its time I use the python version file.