Skip to content

Commit 18566f8

Browse files
authored
Improve wording and "fix example" (remove 3.13) on testing against pre-release (#979)
* Improve wording and "fix example" (remove 3.13) on testing against pre-releases 3.13 was added in a mass tune up in 0b93645 , without adjusting the wording. With 3.13 listed there too, example does not really make much sense. So I decided to make it explicit in wording and remove 3.13, so whenever next refactoring to add 3.14 to be added to every line where 3.13 is -- this would not even come to attention * Update to use 3.14 not 3.12 as an example for pre-release
1 parent 2e3e4b1 commit 18566f8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced-usage.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -632,8 +632,8 @@ If the runner is not able to access github.com, any Python versions requested du
632632
The `allow-prereleases` flag defaults to `false`.
633633
If `allow-prereleases` is set to `true`, the action will allow falling back to pre-release versions of Python when a matching GA version of Python is not available.
634634
This allows for example to simplify reuse of `python-version` as an input of nox for pre-releases of Python by not requiring manipulation of the `3.y-dev` specifier.
635-
For CPython, `allow-prereleases` will only have effect for `x.y` version range (e.g. `3.12`).
636-
Let's say that python 3.12 is not generally available, the following workflow will fallback to the most recent pre-release of python 3.12:
635+
For CPython, `allow-prereleases` will only have effect for `x.y` version range (e.g. `3.14`).
636+
Let's say that in the past, when python 3.14 was not yet generally available, the following workflow would have fallback to the most recent pre-release of python 3.14:
637637
```yaml
638638
jobs:
639639
test:
@@ -643,7 +643,7 @@ jobs:
643643
fail-fast: false
644644
matrix:
645645
os: [Ubuntu, Windows, macOS]
646-
python_version: ["3.11", "3.12", "3.13"]
646+
python_version: ["3.14"]
647647
648648
steps:
649649
- uses: actions/checkout@v5

0 commit comments

Comments
 (0)