-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Python 3.9 #1740
Comments
Hello, @hugovk! |
Hello everyone, Python 3.9 is already available on GitHub Actions via setup-python task (It is not pre-cached on image yet, so it will be installed on-flight with minor latency):
We also going to deploy new image with pre-cached Python 3.9 next week. |
Confirmed it's now available on GHA, thank you! Took ~10s to install on Linux, ~60s on macOS and ~51s on Windows, not a problem for me, and good to hear the pre-cached images is coming soon. https://github.com/hugovk/test/runs/1215290584?check_suite_focus=true
|
Commenting for followup postings. |
@charris tip for next time: no need to comment to subscribe to followup postings, there's a Subscribe button, which also avoids notifying dozens of issue and repo watchers :) |
Hi Maxim, what about Azure pipelines? |
@laike9m , Unfortunately, Azure Pipelines UsePython task can't install versions on-flight like setup-python so we have to wait for next week until new image with Python 3.9 is deployed. |
@maxim-lobanov Got it. Upvoted. |
@maxim-lobanov All my jobs hit API rate limit when I set them to 3.9 :( Is there a problem with it? https://github.com/ansible/pylibssh/pull/152/checks?check_run_id=1232497424 |
Any update on the Windows availability timeline? |
@charris we're going to finish windows images deployment tomorrow. |
BTW it seems there's some problem with Mac + Python 3.9: |
@laike9m That looks like an issue with your script, which is trying to use As mentioned above, Python 3.9 is already available on the macOS agents. Use the UsePythonVersion task to add the binaries to the PATH. I've been using Python 3.9 on the macOS and Ubuntu Azure Pipelines agents with no issues. |
🎉 The rollout progress is now 100% for Windows at https://github.com/actions/virtual-environments#available-environments: Does this mean Python 3.9 is now available everywhere on Azure Pipelines? |
This year it took 22 days! 🎉 |
Windows installer tests failed last night because they suddenly switched to Python 3.9. This is happening despite https://github.com/certbot/certbot/blob/bf07ec20b0096912fb02759f25923b9091643b63/.azure-pipelines/templates/jobs/packaging-jobs.yml#L92-L95 just a few lines earlier than what I modified in the PR here. I think what's going on is `py -3` is finding and preferring the newer version of Python 3, Python 3.9, which was [just recently added to the image](actions/runner-images#1740 (comment)). The [documentation for UsePythonVersion](https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/tool/use-python-version?view=azure-devops) says that: > After running this task with "Add to PATH," the `python` command in subsequent scripts will be for the highest available version of the interpreter matching the version spec and architecture. So let's just use `python` instead of `py`.
Just adding myself so I can monitor... |
@mattpackwood: There's a "subscribe" button on the side ;) |
@ThiefMaster Duh, sorry! |
Hello everyone! |
Thanks for the hard work on this. |
Python 3.9 should now be available in the Azure virtual environments, see actions/runner-images#1740
@MaksimZhukov Some of my pipelines requesting Python 3.9 on |
@joaander , Hm, that deployment has been finished a long time ago (and a few more deployments after that). But it looks like some pools were not updated. We will take care about fixing it |
Certainly: Open in #2039 |
Tool information
python -c "import sys; assert sys.version_info[:3] == (3, 9, 0)"
Area for Triage:
contains: 'Python'
addLabels: ['Area: Python']
Question, Bug, or Feature?:
Feature
Virtual environments affected
Can this tool be installed during the build?
#912 said:
Tool installation time in runtime
#912 said:
Are you willing to submit a PR?
Yes, I can give it a go, with pointers.
PS It took 24 days for 3.8: https://github.com/microsoft/azure-pipelines-image-generation/issues/1317 :)
The text was updated successfully, but these errors were encountered: