Skip to content

Commit 6385e27

Browse files
authored
Make default max_python 3.13 due to its release (#43)
1 parent 3d8011f commit 6385e27

File tree

4 files changed

+9
-7
lines changed

4 files changed

+9
-7
lines changed

.github/workflows/tox.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,11 @@ jobs:
2626
outputs:
2727
matrix: ${{ steps.generate_matrix.outputs.matrix }}
2828
steps:
29+
- name: Checkout repository
30+
uses: actions/checkout@v4
2931
- name: Determine matrix
3032
id: generate_matrix
31-
uses: coactions/matrix@main
33+
uses: ./
3234
with:
3335
min_python: "3.10"
3436
max_python: "3.13"

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ projects using:
77

88
## Supported optional arguments:
99

10-
- `min_python` - Minimal version of python to be tested against, default is `"3.8"`. The maximum value is currently `"3.13"`
10+
- `min_python` - Minimal version of python to be tested against, default is `"3.8"`. The maximum value is currently `"3.14"`
1111
- `other_names`- A list of other tox environments to include in the matrix. We
1212
plan to read them from [envlist](https://tox.wiki/en/latest/config.html#envlist) field in `tox.ini`.
1313
- `platforms` - Default to `linux` only but can be `linux`, `windows`, `macos`

action.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ inputs:
1212
max_python:
1313
description: Maximal version of python to be tested against.
1414
required: false
15-
default: "3.12"
15+
default: "3.13"
1616
default_python:
1717
description: Default version of python used by env.
1818
required: false

entrypoint.py

+4-4
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99

1010
from actions_toolkit import core
1111

12-
KNOWN_PYTHONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13-dev")
12+
KNOWN_PYTHONS = ("3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev")
1313
PYTHON_REDIRECTS = {
14-
"3.13": "3.13-dev", # Remove once GHA allows 3.13 as a valid version
14+
"3.14": "3.14-dev", # Remove once GHA allows 3.14 as a valid version
1515
}
1616
PLATFORM_MAP = {
1717
"linux": "ubuntu-24.04",
@@ -104,7 +104,7 @@ def main() -> None: # noqa: C901,PLR0912,PLR0915
104104
core.debug(f"Testing strategy: {strategies}")
105105

106106
result: dict[str, dict[str, str]] = {}
107-
if max_python == "3.13":
107+
if max_python == "3.14":
108108
python_names = KNOWN_PYTHONS[KNOWN_PYTHONS.index(min_python) :]
109109
else:
110110
python_names = KNOWN_PYTHONS[
@@ -144,7 +144,7 @@ def sort_key(s: str) -> tuple[int, str]:
144144
"os": PLATFORM_MAP[platform_name],
145145
}
146146
for index, command in enumerate(commands[1:]):
147-
data[f"command{index+2}"] = command
147+
data[f"command{index + 2}"] = command
148148
add_job(
149149
result,
150150
name,

0 commit comments

Comments
 (0)