|
43 | 43 | runs-on: ubuntu-latest |
44 | 44 | strategy: |
45 | 45 | matrix: |
46 | | - python-version: [ '2.x', '3.x', 'pypy-2.7', 'pypy-3.7', 'pypy-3.8' ] |
| 46 | + python-version: [ '2.x', '3.x', 'pypy2.7', 'pypy3.7', 'pypy3.8' ] |
47 | 47 | name: Python ${{ matrix.python-version }} sample |
48 | 48 | steps: |
49 | 49 | - uses: actions/checkout@v3 |
|
63 | 63 | strategy: |
64 | 64 | matrix: |
65 | 65 | os: [ubuntu-latest, macos-latest, windows-latest] |
66 | | - python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy-2.7', 'pypy-3.8'] |
| 66 | + python-version: ['2.7', '3.7', '3.8', '3.9', '3.10', 'pypy2.7', 'pypy3.8'] |
67 | 67 | exclude: |
68 | 68 | - os: macos-latest |
69 | 69 | python-version: '3.8' |
@@ -125,9 +125,9 @@ jobs: |
125 | 125 | strategy: |
126 | 126 | matrix: |
127 | 127 | python-version: |
128 | | - - 'pypy-3.7' # the latest available version of PyPy that supports Python 3.7 |
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 |
| 128 | + - 'pypy3.7' # the latest available version of PyPy that supports Python 3.7 |
| 129 | + - 'pypy3.7-v7.3.3' # Python 3.7 and PyPy 7.3.3 |
| 130 | + - 'pypy3.8' # the latest available version of PyPy that supports Python 3.8 |
131 | 131 | steps: |
132 | 132 | - uses: actions/checkout@v3 |
133 | 133 | - uses: actions/setup-python@v3 |
@@ -164,7 +164,7 @@ Check out our detailed guide on using [Python with GitHub Actions](https://help. |
164 | 164 | - Preinstalled versions of PyPy in the tools cache on GitHub-hosted runners |
165 | 165 | - 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). |
166 | 166 | - For the latest PyPy release, all versions of Python are cached. |
167 | | - - 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`. |
| 167 | + - Cache is updated with a 1-2 week delay. If you specify the PyPy version as `pypy3.7` or `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 `pypy3.7-v7.3.3` or `pypy-3.7-v7.3.3`. |
168 | 168 |
|
169 | 169 | - Downloadable PyPy versions from the [official PyPy site](https://downloads.python.org/pypy/). |
170 | 170 | - All available versions that we can download are listed in [versions.json](https://downloads.python.org/pypy/versions.json) file. |
@@ -197,17 +197,17 @@ You should specify only a major and minor version if you are okay with the most |
197 | 197 | - Using the most recent patch version will result in a very quick setup since no downloads will be required since a locally installed version Python on the runner will be used. |
198 | 198 |
|
199 | 199 | # Specifying a PyPy version |
200 | | -The version of PyPy should be specified in the format `pypy-<python_version>[-v<pypy_version>]`. |
| 200 | +The version of PyPy should be specified in the format `pypy<python_version>[-v<pypy_version>]` or `pypy-<python_version>[-v<pypy_version>]`. |
201 | 201 | The `<pypy_version>` parameter is optional and can be skipped. The latest version will be used in this case. |
202 | 202 |
|
203 | 203 | ``` |
204 | | -pypy-3.7 # the latest available version of PyPy that supports Python 3.7 |
205 | | -pypy-3.8 # the latest available version of PyPy that supports Python 3.8 |
206 | | -pypy-2.7 # the latest available version of PyPy that supports Python 2.7 |
207 | | -pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3 |
208 | | -pypy-3.7-v7.x # Python 3.7 and the latest available PyPy 7.x |
209 | | -pypy-3.7-v7.3.3rc1 # Python 3.7 and preview version of PyPy |
210 | | -pypy-3.7-nightly # Python 3.7 and nightly PyPy |
| 204 | +pypy3.7 or pypy-3.7 # the latest available version of PyPy that supports Python 3.7 |
| 205 | +pypy3.8 or pypy-3.8 # the latest available version of PyPy that supports Python 3.8 |
| 206 | +pypy2.7 or pypy-2.7 # the latest available version of PyPy that supports Python 2.7 |
| 207 | +pypy3.7-v7.3.3 or pypy-3.7-v7.3.3 # Python 3.7 and PyPy 7.3.3 |
| 208 | +pypy3.7-v7.x or pypy-3.7-v7.x # Python 3.7 and the latest available PyPy 7.x |
| 209 | +pypy3.7-v7.3.3rc1 or pypy-3.7-v7.3.3rc1 # Python 3.7 and preview version of PyPy |
| 210 | +pypy3.7-nightly or pypy-3.7-nightly # Python 3.7 and nightly PyPy |
211 | 211 | ``` |
212 | 212 |
|
213 | 213 | # Caching packages dependencies |
|
0 commit comments