Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 9a11568

Browse filesBrowse files
authored
README.md: Bring Python versions up to date (actions#256)
1 parent 3a40ba0 commit 9a11568
Copy full SHA for 9a11568

File tree

Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+9
-9
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
strategy:
4545
matrix:
46-
python-version: [ '2.x', '3.x', 'pypy-2.7', 'pypy-3.6', 'pypy-3.7' ]
46+
python-version: [ '2.x', '3.x', 'pypy-2.7', 'pypy-3.7', 'pypy-3.8' ]
4747
name: Python ${{ matrix.python-version }} sample
4848
steps:
4949
- uses: actions/checkout@v2
@@ -63,7 +63,7 @@ jobs:
6363
strategy:
6464
matrix:
6565
os: [ubuntu-latest, macos-latest, windows-latest]
66-
python-version: ['2.7', '3.6', '3.7', '3.8', 'pypy-2.7', 'pypy-3.6']
66+
python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy-2.7', 'pypy-3.8']
6767
exclude:
6868
- os: macos-latest
6969
python-version: '3.8'
@@ -76,7 +76,7 @@ jobs:
7676
with:
7777
python-version: ${{ matrix.python-version }}
7878
- name: Display Python version
79-
run: python -c "import sys; print(sys.version)"
79+
run: python --version
8080
```
8181
8282
Download and set up a version of Python that does not come preinstalled on an image:
@@ -87,7 +87,7 @@ jobs:
8787
strategy:
8888
matrix:
8989
# 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']
9191
steps:
9292
- uses: actions/checkout@v2
9393
- uses: actions/setup-python@v2
@@ -102,7 +102,7 @@ steps:
102102
- uses: actions/checkout@v2
103103
- uses: actions/setup-python@v2
104104
with:
105-
python-version: '3.9.0-beta.4'
105+
python-version: '3.11.0-alpha.1'
106106
- run: python my_script.py
107107
```
108108
@@ -112,7 +112,7 @@ steps:
112112
- uses: actions/checkout@v2
113113
- uses: actions/setup-python@v2
114114
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
116116
- run: python my_script.py
117117
```
118118
@@ -125,9 +125,9 @@ jobs:
125125
strategy:
126126
matrix:
127127
python-version:
128-
- 'pypy-3.6' # the latest available version of PyPy that supports Python 3.6
129128
- 'pypy-3.7' # the latest available version of PyPy that supports Python 3.7
130129
- '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
131131
steps:
132132
- uses: actions/checkout@v2
133133
- uses: actions/setup-python@v2
@@ -161,7 +161,7 @@ Check out our detailed guide on using [Python with GitHub Actions](https://help.
161161
- Preinstalled versions of PyPy in the tools cache on GitHub-hosted runners
162162
- 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).
163163
- 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`.
165165

166166
- Downloadable PyPy versions from the [official PyPy site](https://downloads.python.org/pypy/).
167167
- 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<
198198
The `<pypy_version>` parameter is optional and can be skipped. The latest version will be used in this case.
199199

200200
```
201-
pypy-3.6 # the latest available version of PyPy that supports Python 3.6
202201
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
203203
pypy-2.7 # the latest available version of PyPy that supports Python 2.7
204204
pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3
205205
pypy-3.7-v7.x # Python 3.7 and the latest available PyPy 7.x

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.