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
Download and set up a version of Python that does not come preinstalled on an image:
@@ -87,7 +87,7 @@ jobs:
87
87
strategy:
88
88
matrix:
89
89
# in this example, there is a newer version already installed, 3.7.7, so the older version will be downloaded
90
-
python-version: ['3.5', '3.6', '3.7.4', '3.8']
90
+
python-version: ['3.7.4', '3.8', '3.9', '3.10']
91
91
steps:
92
92
- uses: actions/checkout@v2
93
93
- uses: actions/setup-python@v2
@@ -102,7 +102,7 @@ steps:
102
102
- uses: actions/checkout@v2
103
103
- uses: actions/setup-python@v2
104
104
with:
105
-
python-version: '3.9.0-beta.4'
105
+
python-version: '3.11.0-alpha.1'
106
106
- run: python my_script.py
107
107
```
108
108
@@ -112,7 +112,7 @@ steps:
112
112
- uses: actions/checkout@v2
113
113
- uses: actions/setup-python@v2
114
114
with:
115
-
python-version: '3.9.0-alpha - 3.9.0'# SemVer's version range syntax
115
+
python-version: '3.11.0-alpha - 3.11.0'# SemVer's version range syntax
116
116
- run: python my_script.py
117
117
```
118
118
@@ -125,9 +125,9 @@ jobs:
125
125
strategy:
126
126
matrix:
127
127
python-version:
128
-
- 'pypy-3.6'# the latest available version of PyPy that supports Python 3.6
129
128
- 'pypy-3.7'# the latest available version of PyPy that supports Python 3.7
130
129
- 'pypy-3.7-v7.3.3'# Python 3.7 and PyPy 7.3.3
130
+
- 'pypy-3.8'# the latest available version of PyPy that supports Python 3.8
131
131
steps:
132
132
- uses: actions/checkout@v2
133
133
- uses: actions/setup-python@v2
@@ -161,7 +161,7 @@ Check out our detailed guide on using [Python with GitHub Actions](https://help.
161
161
- Preinstalled versions of PyPy in the tools cache on GitHub-hosted runners
162
162
- For detailed information regarding the available versions of PyPy that are installed, see [Supported software](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-software).
163
163
- For the latest PyPy release, all versions of Python are cached.
164
-
- Cache is updated with a 1-2 week delay. If you specify the PyPy version as `pypy-3.6`, the cached version will be used although a newer version is available. If you need to start using the recently released version right after release, you should specify the exact PyPy version using `pypy-3.6-v7.3.3`.
164
+
- Cache is updated with a 1-2 week delay. If you specify the PyPy version as `pypy-3.7`, the cached version will be used although a newer version is available. If you need to start using the recently released version right after release, you should specify the exact PyPy version using `pypy-3.7-v7.3.3`.
165
165
166
166
- Downloadable PyPy versions from the [official PyPy site](https://downloads.python.org/pypy/).
167
167
- All available versions that we can download are listed in [versions.json](https://downloads.python.org/pypy/versions.json) file.
@@ -198,8 +198,8 @@ The version of PyPy should be specified in the format `pypy-<python_version>[-v<
198
198
The `<pypy_version>` parameter is optional and can be skipped. The latest version will be used in this case.
199
199
200
200
```
201
-
pypy-3.6 # the latest available version of PyPy that supports Python 3.6
202
201
pypy-3.7 # the latest available version of PyPy that supports Python 3.7
202
+
pypy-3.8 # the latest available version of PyPy that supports Python 3.8
203
203
pypy-2.7 # the latest available version of PyPy that supports Python 2.7
204
204
pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3
205
205
pypy-3.7-v7.x # Python 3.7 and the latest available PyPy 7.x
0 commit comments