Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,19 @@ on:
branches: [main]
pull_request:
branches: [main]
paths-ignore:
- "docs/**"
- "benchmarks/**"
- "examples/**"
- ".github/**"
- "README.rst"
paths:
- "msgspec/**"
- ".github/workflows/ci.yml"
- ".pre-commit-config.yaml"
- "pyproject.toml"
- "setup.py"
- "setup.cfg"
release:
types: [published]

jobs:
lint:
name: Lint and ruff code
name: Run static analysis
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
env:
CIBW_TEST_EXTRAS: "test"
CIBW_TEST_COMMAND: "pytest {project}/tests"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-*"
CIBW_BUILD: "cp39-* cp310-* cp311-* cp312-* cp313-* cp314-*"
CIBW_SKIP: "*-win32 *_i686 *_s390x *_ppc64le"
CIBW_ARCHS_MACOS: "x86_64 arm64"
CIBW_ARCHS_LINUX: "x86_64 aarch64"
Expand All @@ -99,10 +100,10 @@ jobs:
- name: Set up Environment
if: github.event_name != 'release'
run: |
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64" >> $GITHUB_ENV
echo "CIBW_SKIP=${CIBW_SKIP} *-musllinux_* cp39-*_aarch64 cp311-*_aarch64 cp312-*_aarch64 cp313-*_aarch64 cp314-*_aarch64" >> $GITHUB_ENV
- name: Build & Test Wheels
uses: pypa/cibuildwheel@v2.22.0
uses: pypa/cibuildwheel@v3.2.1

- name: Upload artifact
uses: actions/upload-artifact@v4
Expand Down
5 changes: 3 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@
error = """
====================================================================
`msgspec` currently doesn't support 32-bit Python windows builds. If
this is important for your use case, please open an issue on GitHub:
this is important for your use case, please comment on this issue:
https://github.com/jcrist/msgspec/issues
https://github.com/jcrist/msgspec/issues/845
====================================================================
"""
print(textwrap.dedent(error))
Expand Down Expand Up @@ -94,6 +94,7 @@
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
],
extras_require=extras_require,
license="BSD",
Expand Down
1 change: 1 addition & 0 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -2124,6 +2124,7 @@ def test_broken_typeddict(self, proto, use_typing_extensions):

class Ex(cls, total=False):
c: str

Ex.__annotations__ = {"c": "str"}
Ex.__required_keys__ = {"a", "b"}

Expand Down
Loading