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
{{ message }}
Repository navigation
Incorrect error message when a specific Python version requires a downlevel pip #643
actions/setup-python logs an error, as shown below, on installing a specific Python version that is not supported by the latest pip. For example, Python 3.5.x requires pip < 21. Since the version of Python was specified and the correct pip was ensured, the older pip version is expected and not an error.
Even if a newer pip were available, this should be an informational or warning message.
Apparently there is a dependency on python-versions where older versions of Python need to be rebuilt. Meanwhile, or in any case, there are environment variables that should be used in the setup script.
Hello @dirkf. Sorry for the late response. I've checked build and previous reply. I think it will be better to set up environment variables on the job level because it comes from the pip directly. Besides, possibly some users will need this messages.
Activity
dirkf commentedon Apr 6, 2023
Apparently there is a dependency on
python-versionswhere older versions of Python need to be rebuilt. Meanwhile, or in any case, there are environment variables that should be used in the setup script.dmitry-shibanov commentedon Apr 7, 2023
Hello @dirkf. Thank you for your report. We'll investigate the issue.
dmitry-shibanov commentedon May 8, 2023
Hello @dirkf. Sorry for the late response. I've checked build and previous reply. I think it will be better to set up environment variables on the job level because it comes from the pip directly. Besides, possibly some users will need this messages.
For now I'm going to close the issue.