8000 Encourage the use of pre-release Python 3.12, not 3.11 (#586) · dashplaygrounds/setup-python@34b4b62 · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 34b4b62

Browse files
authored
Encourage the use of pre-release Python 3.12, not 3.11 (actions#586)
1 parent f60fe39 commit 34b4b62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

docs/advanced-usage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ steps:
6060
- uses: actions/checkout@v3
6161
- uses: actions/setup-python@v4
6262
with:
63-
python-version: '3.11.0-alpha.1'
63+
python-version: '3.12.0-alpha.1'
6464
- run: python my_script.py
6565
```
6666
@@ -71,7 +71,7 @@ steps:
7171
- uses: actions/checkout@v3
7272
- uses: actions/setup-python@v4
7373
with:
74-
python-version: '3.11-dev'
74+
python-version: '3.12-dev'
7575
- run: python my_script.py
7676
```
7777
@@ -84,7 +84,7 @@ steps:
8484
- uses: actions/checkout@v3
8585
- uses: actions/setup-python@v4
8686
with:
87-
python-version: '3.11.0-alpha - 3.11.0'
87+
python-version: '3.12.0-alpha - 3.12.0'
8888
- run: python my_script.py
8989
```
9090
@@ -447,7 +447,7 @@ Such a requirement on side-effect could be because you don't want your composite
447447
- For every minor version of Python, expect only the latest patch to be preinstalled.
448448
- If `3.8.1` is installed for example, and `3.8.2` is released, expect `3.8.1` to be removed and replaced by `3.8.2` in the tool cache.
449449
- If the exact patch version doesn't matter to you, specifying just the major and minor versions will get you the latest preinstalled patch version. In the previous example, the version spec `3.8` will use the `3.8.2` Python version found in the cache.
450-
- Use `-dev` instead of a patch number (e.g., `3.11-dev`) to install the latest patch version release for a given minor version, *alpha and beta releases included*.
450+
- Use `-dev` instead of a patch number (e.g., `3.12-dev`) to install the latest patch version release for a given minor version, *alpha and beta releases included*.
451451
- Downloadable Python versions from GitHub Releases ([actions/python-versions](https://github.com/actions/python-versions/releases)).
452452
- All available versions are listed in the [version-manifest.json](https://github.com/actions/python-versions/blob/main/versions-manifest.json) file.
453453
- If there is a specific version of Python that is not available, you can open an issue here

0 commit comments

Comments
 (0)
0