Skip to content

Commit 93d47d1

Browse files
author
rocky
committed
Add 3.14; CircleCI test with 3.13 or greater
1 parent c6e2bf3 commit 93d47d1

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ repos:
66
hooks:
77
- id: check-merge-conflict
88
- id: debug-statements
9-
stages: [commit]
9+
stages: [pre-commit]
1010
- id: end-of-file-fixer
1111
exclude: '^pytest/testdata'
12-
stages: [commit]
12+
stages: [pre-commit]
1313
- repo: https://github.com/pycqa/isort
1414
rev: 5.13.2
1515
hooks:
1616
- id: isort
17-
stages: [commit]
17+
stages: [pre-commit]

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ classifiers = [
4242
"Programming Language :: Python :: 3.11",
4343
"Programming Language :: Python :: 3.12",
4444
"Programming Language :: Python :: 3.13",
45+
"Programming Language :: Python :: 3.14",
4546
]
4647
dynamic = ["version"]
4748

xdis/magics.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ def __by_version(magic_versions: Dict[bytes, str]) -> dict:
496496
add_magic_from_int(3530, "3.12b1f")
497497
add_magic_from_int(3531, "3.12b1g")
498498
add_magic_from_int(3531, "3.12.0rc2")
499+
add_magic_from_int(3531, "3.12.0rc2")
499500

500501
# 3.13
501502
# Plugin optimizer support
@@ -609,6 +610,8 @@ def __by_version(magic_versions: Dict[bytes, str]) -> dict:
609610
# Fix handling of opcodes that may leave operands on the stack when optimizing LOAD_FAST
610611
add_magic_from_int(3625, "3.14b3")
611612

613+
add_magic_from_int(3627, "3.14rc3")
614+
612615
# add_magic_from_int(3655, "3.15.0a0")
613616
# NOTE: this will change on release!
614617
add_magic_from_int(3655, "3.15.0")
@@ -759,14 +762,12 @@ def add_canonic_versions(release_versions: str, canonic: str) -> None:
759762
)
760763

761764
add_canonic_versions(
762-
"3.13 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.13.5 3.13.6 3.13.7",
765+
"3.13 3.13.0 3.13.1 3.13.2 3.13.3 3.13.4 3.13.5 3.13.6 3.13.7 3.13.8",
763766
"3.13.0rc3",
764767
)
765768

766-
add_canonic_versions(
767-
"3.14 3.14-dev",
768-
"3.14b3",
769-
)
769+
add_canonic_versions("3.14-dev", "3.14b3")
770+
add_canonic_versions("3.14 3.14.0", "3.14rc3")
770771

771772
add_canonic_versions(
772773
"3.15 3.15-dev 3.15.0a0",

xdis/op_imports.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,7 @@
180180
"3.14b3": opcode_314,
181181
"3.14.0": opcode_314,
182182
"3.14": opcode_314,
183+
"3.14rc3": opcode_314,
183184
3.14: opcode_314,
184185
}
185186

0 commit comments

Comments
 (0)