Skip to content

Commit 2ecf9bf

Browse files
manztJelleZijlstrahroncokofekkumaraditya303
authored
Cherry-pick Python 3.14 support and free-threading from upstream (#8)
* Fix crash when TypedDict contains incorrect metadata (jcrist#853) * Fix annotations support on 3.14 (jcrist#852) * Relax all getrefcount tests to allow lower numbers (jcrist#854) * Add 3.14 to CI (jcrist#888) * add free-threading support (jcrist#877) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> * Enable Python 3.14 tests in CI Remove cp314-* from CIBW_TEST_SKIP to allow Python 3.14 tests to run. Previously, 3.14 wheels were built but tests were skipped. --------- Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Miro Hrončok <miro@hroncok.cz> Co-authored-by: Ofek Lev <ofekmeister@gmail.com> Co-authored-by: Kumar Aditya <kumaraditya@python.org>
1 parent 549b2a2 commit 2ecf9bf

File tree

9 files changed

+447
-129
lines changed

9 files changed

+447
-129
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ on:
55
branches: [main]
66
pull_request:
77
branches: [main]
8-
paths-ignore:
9-
- "docs/**"
10-
- "benchmarks/**"
11-
- "examples/**"
12-
- ".github/**"
13-
- "README.rst"
8+
paths:
9+
- "msgspec/**"
10+
- ".github/workflows/ci.yml"
11+
- ".pre-commit-config.yaml"
12+
- "pyproject.toml"
13+
- "setup.py"
14+
- "setup.cfg"
1415
release:
1516
types: [published]
1617
workflow_dispatch:
@@ -22,7 +23,7 @@ on:
2223

2324
jobs:
2425
lint:
25-
name: Lint and ruff code
26+
name: Run static analysis
2627
runs-on: ubuntu-latest
2728

2829
steps:
@@ -86,11 +87,11 @@ jobs:
8687
env:
8788
CIBW_TEST_EXTRAS: "test"
8889
CIBW_TEST_COMMAND: "pytest {project}/tests"
89-
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
90+
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-* cp314t-*"
9091
CIBW_SKIP: "*-win32 *_i686 *_s390x *_ppc64le"
9192
CIBW_ARCHS_MACOS: "x86_64 arm64"
9293
CIBW_ARCHS_LINUX: "x86_64 aarch64"
93-
CIBW_TEST_SKIP: "*_arm64 *-musllinux_* cp314-*"
94+
CIBW_TEST_SKIP: "*_arm64 *-musllinux_*"
9495
CIBW_ENVIRONMENT: "CFLAGS=-g0"
9596

9697
steps:
@@ -107,7 +108,7 @@ jobs:
107108
- name: Set up Environment
108109
if: github.event_name != 'release' && github.event_name != 'workflow_dispatch'
109110
run: |
110-
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64 cp314-*_aarch64" >> $GITHUB_ENV
111+
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64 cp314-*_aarch64 cp314t-*_aarch64" >> $GITHUB_ENV
111112
112113
- name: Build & Test Wheels
113114
uses: pypa/cibuildwheel@v3.2.1

0 commit comments

Comments
 (0)