Skip to content
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 support #148

Closed
hugovk opened this issue Oct 5, 2020 · 7 comments
Closed

Add Python 3.9 support #148

hugovk opened this issue Oct 5, 2020 · 7 comments
Labels
enhancement New feature or request

Comments

@hugovk
Copy link
Contributor

hugovk commented Oct 5, 2020

Python 3.9.0 was released today, 2020-10-05:

Please could you also add support in GitHub Actions for Python 3.9?

Thank you!

PS It took 21 days for 3.8: #30 (comment)

@hugovk hugovk added the bug Something isn't working label Oct 5, 2020
@hugovk hugovk changed the title Add Python 3.8 support Add Python 3.9 support Oct 5, 2020
graingert added a commit to twisted/ldaptor that referenced this issue Oct 6, 2020
@konradpabjan konradpabjan added enhancement New feature or request and removed bug Something isn't working labels Oct 6, 2020
@maxim-lobanov
Copy link
Contributor

Hello everyone:
Python 3.9 is already available (It is not pre-cached on image yet, so it will be installed on-flight with minor latency):

- uses: actions/setup-python@v2
  with:
    python-version: '3.9'

We also going to deploy new image with pre-cached Python 3.9 next week.

@hugovk
Copy link
Contributor Author

hugovk commented 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

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/python-versions@3.9.0-83838 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)

@hugovk
Copy link
Contributor Author

hugovk commented Oct 6, 2020

PS It took 21 days for 3.8: #30 (comment)

This time: 18 hours! 🎈

leycec added a commit to beartype/beartype that referenced this issue Oct 11, 2020
This commit adds GitHub Actions-based continuous integration (CI)
support for testing `beartype` against the newly stabilized Python 3.9.x
release series by bumping our mandatory `actions/setup-python`
dependency from `v1` to `v2`. See also actions/setup-python#148.
@davidism
Copy link

davidism commented Oct 12, 2020

Can you reopen this issue until the 3.9 image is available through the cache? Currently, 3.9 on Windows and Mac is frustratingly slow because it has to install the new version, and I have no way to track when it will be fast.

@davidism
Copy link

Opened #152 to track adding 3.9 to the pre-cached image.

@davidism
Copy link

davidism commented Oct 12, 2020

Turns out the correct issue to watch is actions/runner-images#1740, also reported by @hugovk. A link next time would be helpful. 🙂

@hugovk
Copy link
Contributor Author

hugovk commented Oct 28, 2020

PS It took 21 days for 3.8: #30 (comment)

🎈 This year it took 17 hours! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants