Skip to content

Commit 75445f5

Browse files
Allow google-re2 on 3.13 (cloud-custodian#127)
* Remove google-re2 specifiers avoiding 3.13 There is [now a wheel for Python 3.13][1], so this specifier is no longer needed. [1]: google/re2#516 * Lock to higher version for 3.13 * Add tox-target py313 to CI * Update default CI version to Python 3.13 --------- Co-authored-by: Dan Hudlow <[email protected]>
1 parent 7403aa0 commit 75445f5

File tree

3 files changed

+89
-14
lines changed

3 files changed

+89
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
env:
77
POETRY_VERSION: "1.8.3"
8-
DEFAULT_PY_VERSION: "3.12"
8+
DEFAULT_PY_VERSION: "3.13"
99

1010
jobs:
1111
Lint:
@@ -36,6 +36,8 @@ jobs:
3636
tox-target: py311
3737
- python-version: "3.12"
3838
tox-target: py312
39+
- python-version: "3.13"
40+
tox-target: py313
3941

4042
steps:
4143
- uses: actions/checkout@v2

pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ dependencies = [
3333
"pendulum>=3.1.0",
3434
"pyyaml>=6.0.2",
3535
"jmespath>=1.0.1",
36-
"google-re2>=1.1.20240702 ; python_version!='3.13' or sys_platform!='darwin' or platform_machine!='arm64'",
36+
# 3.13 needs at least this version, which started publishing wheels for Python 3.13.
37+
# Ref: https://github.com/google/re2/issues/516
38+
"google-re2>=1.1.20250722; python_version == '3.13'",
39+
"google-re2>=1.1.20240702",
3740
"tomli >= 1.1.0 ; python_version < '3.11'",
3841
]
3942

0 commit comments

Comments
 (0)