Skip to content

Commit e74af99

Browse files
committed
Add 3.14 to CI
1 parent a365c4b commit e74af99

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,19 @@ 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

1718
jobs:
1819
lint:
19-
name: Lint and ruff code
20+
name: Run static analysis
2021
runs-on: ubuntu-latest
2122

2223
steps:
@@ -80,7 +81,7 @@ jobs:
8081
env:
8182
CIBW_TEST_EXTRAS: "test"
8283
CIBW_TEST_COMMAND: "pytest {project}/tests"
83-
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
84+
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
8485
CIBW_SKIP: "*-win32 *_i686 *_s390x *_ppc64le"
8586
CIBW_ARCHS_MACOS: "x86_64 arm64"
8687
CIBW_ARCHS_LINUX: "x86_64 aarch64"
@@ -99,10 +100,10 @@ jobs:
99100
- name: Set up Environment
100101
if: github.event_name != 'release'
101102
run: |
102-
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64" >> $GITHUB_ENV
103+
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64 cp314-*_aarch64" >> $GITHUB_ENV
103104
104105
- name: Build & Test Wheels
105-
uses: pypa/cibuildwheel@v2.22.0
106+
uses: pypa/cibuildwheel@v3.2.1
106107

107108
- name: Upload artifact
108109
uses: actions/upload-artifact@v4

setup.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
error = """
1616
====================================================================
1717
`msgspec` currently doesn't support 32-bit Python windows builds. If
18-
this is important for your use case, please open an issue on GitHub:
18+
this is important for your use case, please comment on this issue:
1919
20-
https://github.com/jcrist/msgspec/issues
20+
https://github.com/jcrist/msgspec/issues/845
2121
====================================================================
2222
"""
2323
print(textwrap.dedent(error))
@@ -94,6 +94,7 @@
9494
"Programming Language :: Python :: 3.11",
9595
"Programming Language :: Python :: 3.12",
9696
"Programming Language :: Python :: 3.13",
97+
"Programming Language :: Python :: 3.14",
9798
],
9899
extras_require=extras_require,
99100
license="BSD",

tests/test_common.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2124,6 +2124,7 @@ def test_broken_typeddict(self, proto, use_typing_extensions):
21242124

21252125
class Ex(cls, total=False):
21262126
c: str
2127+
21272128
Ex.__annotations__ = {"c": "str"}
21282129
Ex.__required_keys__ = {"a", "b"}
21292130

0 commit comments

Comments
 (0)