Skip to content

Commit 489e5cb

Browse files
committed
Convert 3.9-dev into 3.9 when creating GitHub Actions config.
1 parent 3fa4a2d commit 489e5cb

5 files changed

+6
-4
lines changed

repo_helper/utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,8 @@ def set_gh_actions_versions(py_versions: Iterable[str]) -> List[str]:
462462

463463
# Keep in sync with https://github.com/actions/python-versions/releases
464464

465+
if "3.9-dev" in py_versions:
466+
py_versions[py_versions.index("3.9-dev")] = "3.9"
465467
if "3.10-dev" in py_versions:
466468
py_versions[py_versions.index("3.10-dev")] = "3.10.0-alpha.3"
467469
if "3.10" in py_versions:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'3.6': py36-attrs{19.3,20.1,20.2,latest},build
22
'3.7': py37-attrs{19.3,20.1,20.2,latest},build
33
'3.8': py38-attrs{19.3,20.1,20.2,latest},build
4-
3.9-dev: py39-dev-attrs{19.3,20.1,20.2,latest},build
4+
'3.9': py39-dev-attrs{19.3,20.1,20.2,latest},build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
'3.7': py37-attrs{19.3,20.1,20.2,latest},build
22
'3.8': py38-attrs{19.3,20.1,20.2,latest},build
3-
3.9-dev: py39-dev-attrs{19.3,20.1,20.2,latest},build
3+
'3.9': py39-dev-attrs{19.3,20.1,20.2,latest},build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
'3.6': py36,build
22
'3.7': py37,build
33
'3.8': py38,build
4-
3.9-dev: py39-dev,build
4+
'3.9': py39-dev,build
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
'3.7': py37,build
22
'3.8': py38,build
3-
3.9-dev: py39-dev,build
3+
'3.9': py39-dev,build

0 commit comments

Comments
 (0)