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
Only on Windows via a Nuget package. You can build from source during build for other platforms, which I assume only takes 3-4 minutes (based on our CI running on the same images).
Hello, @hugovk!
Thank you for your request. We are already working on adding python 3.9 on our images. I will post update message when python 3.9 is available to use.
Reacted by Hugo van Kemenade, Patrick Arminio, Zhiwei Liang, RogerZeng, AraHaan, John Hagen and Arkadiusz Bulski
Reacted by Patrick Arminio, Zhiwei Liang, RogerZeng and AraHaan
Reacted by Patrick Arminio, RogerZeng, AraHaan and John Hagen
Reacted by Patrick Arminio, Zhiwei Liang, RogerZeng, AraHaan and John Hagen
Reacted by Patrick Arminio, RogerZeng, Laurie O, AraHaan and John Hagen
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):
Run actions/setup-python@v2
Version 3.9 was not found in the local cache
Version 3.9 is available for downloading
Download from "actions/[email protected] python-3.9.0-linux-20.04-x64.tar.gz (download)"
Extract downloaded archive
/usr/bin/tar xz --warning=no-unknown-keyword -C /home/runner/work/_temp/e8e512d5-ecbb-4563-9374-a1796267419e -f /home/runner/work/_temp/e9bdf138-7f69-49ec-8166-59a47b1d3ef4
Execute installation script
Check if Python hostedtoolcache folder exist...
Create Python 3.9.0 folder
Copy Python binaries to hostedtoolcache folder
Create additional symlinks (Required for the UsePythonVersion Azure Pipelines task and the setup-python GitHub Action)
Upgrading PIP...
Looking in links: /tmp/tmpiitvwvjj
Requirement already satisfied: setuptools in /opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages (49.2.1)
Requirement already satisfied: pip in /opt/hostedtoolcache/Python/3.9.0/x64/lib/python3.9/site-packages (20.2.3)
Collecting pip
Downloading pip-20.2.3-py2.py3-none-any.whl (1.5 MB)
Installing collected packages: pip
Successfully installed pip-20.2.3
Create complete file
Successfully setup CPython (3.9.0)
@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 :)
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):
@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.
(I suggest to upvote feature request for UsePython to work the same way like setup-python)
Hello everyone!
Python 3.9 has been successfully deployed to the all images and currently is available on the Windows 2019 and 2016 as well. Thanks for you patience! I'm closing this issue, but feel free to contact us if you have any concerns.
@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
Doesn't you mind to create the separate issue to track it? (it is not the issue with Python itself, it is more about the fact that some builds are run on outdated image)
@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
Doesn't you mind to create the separate issue to track it? (it is not the issue with Python itself, it is more about the fact that some builds are run on outdated image)
Activity
dibir-magomedsaygitov commentedon Oct 6, 2020
Hello, @hugovk!
Thank you for your request. We are already working on adding python 3.9 on our images. I will post update message when python 3.9 is available to use.
maxim-lobanov commentedon Oct 6, 2020
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.
hugovk commentedon Oct 6, 2020
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
charris commentedon Oct 6, 2020
Commenting for followup postings.
hugovk commentedon Oct 7, 2020
@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 :)
laike9m commentedon Oct 8, 2020
Hi Maxim, what about Azure pipelines?
maxim-lobanov commentedon Oct 8, 2020
@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.
(I suggest to upvote feature request for UsePython to work the same way like setup-python)
27 remaining items
laike9m commentedon Oct 27, 2020
BTW it seems there's some problem with Mac + Python 3.9:
https://dev.azure.com/laike9m/laike9m/_build/results?buildId=315&view=logs&j=0ff66468-69a5-508b-6ca1-fbfd9e851960&t=6505030a-b067-588a-292f-b15686a87159
remyjette commentedon Oct 27, 2020
@laike9m That looks like an issue with your script, which is trying to use
add-apt-repositoryandapt-geton a macOS agent.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.
hugovk commentedon Oct 28, 2020
🎉 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?
hugovk commentedon Oct 28, 2020
This year it took 22 days! 🎉
Switch to using python directly (#8413)
mattpackwood commentedon Oct 29, 2020
Just adding myself so I can monitor...
ThiefMaster commentedon Oct 29, 2020
@mattpackwood: There's a "subscribe" button on the side ;)
mattpackwood commentedon Oct 29, 2020
@ThiefMaster Duh, sorry!
MaksimZhukov commentedon Oct 29, 2020
Hello everyone!
Python 3.9 has been successfully deployed to the all images and currently is available on the Windows 2019 and 2016 as well. Thanks for you patience! I'm closing this issue, but feel free to contact us if you have any concerns.
laike9m commentedon Oct 29, 2020
Thanks for the hard work on this.
Add Python 3.9 support in CI
joaander commentedon Nov 11, 2020
@MaksimZhukov Some of my pipelines requesting Python 3.9 on
windows-2019randomly fail (https://dev.azure.com/glotzerlab/gsd/_build/results?buildId=6977&view=logs&j=45d08669-c843-5a21-c5fb-d107fba53589&t=4b9eac60-fda1-5fb4-16ab-3474dd2a30bb&l=9). When will this change be deployed to all windows hosts?maxim-lobanov commentedon Nov 11, 2020
@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
Doesn't you mind to create the separate issue to track it? (it is not the issue with Python itself, it is more about the fact that some builds are run on outdated image)
joaander commentedon Nov 11, 2020
Certainly: Open in #2039