Skip to content

Commit 8c90386

Browse files
authored
Add Python 3.14 support, drop 3.7 (#127)
* Update cibuildwheel to 3.2.1 for Py 3.14 support * Specify Python 3.14 support in setup.py * Drop Python 3.7 support * Enable PyPy build in new CIBW_ENABLE var * Disable free-threading builds It fails on Windows for 3.14 (libs not found) but even if it didn't, I haven't looked into it enough to know whether we need to do something to support it.
1 parent 8f2f928 commit 8c90386

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

.circleci/config.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,18 @@ jobs:
1313
- run:
1414
name: Build the Linux aarch64 wheels.
1515
environment:
16+
CIBW_ENABLE: >
17+
pypy
18+
CIBW_SKIP: >
19+
cp3??t-*
1620
CIBW_BEFORE_BUILD_LINUX: >
1721
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
1822
CIBW_ENVIRONMENT_LINUX: >
1923
PATH="$HOME/.cargo/bin:$PATH"
2024
TWINE_USERNAME: __token__
2125
command: |
2226
# install deps
23-
python3 -m pip install --user cibuildwheel==2.23.0 twine
27+
python3 -m pip install --user cibuildwheel==3.2.1 twine
2428
# build wheels
2529
python3 -m cibuildwheel --output-dir wheelhouse
2630
# upload wheels to PyPI

.github/workflows/build.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,12 +64,14 @@ jobs:
6464
cat "$GITHUB_ENV"
6565
shell: bash
6666
- name: Build wheels
67-
uses: pypa/cibuildwheel@v2.23.0
67+
uses: pypa/cibuildwheel@v3.2.1
6868
env:
69+
CIBW_ENABLE: >
70+
pypy
6971
CIBW_BUILD: >
7072
${{ matrix.cibw-build-prefix }}
7173
CIBW_SKIP: >
72-
*musllinux*
74+
*musllinux* cp3??t-*
7375
CIBW_ENVIRONMENT_LINUX: >
7476
HOST_HOME_DIR="/host/${{ env.OUTER_HOME }}"
7577
HOST_PROJ_DIR="/host/${{ env.MAIN_DIR }}"

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ${{ matrix.os }}
1818
strategy:
1919
matrix:
20-
python-version: ["3.7"]
20+
python-version: ["3.8"]
2121
os: [ubuntu-22.04, windows-2022, macos-13]
2222
include:
2323
# set OS-specific cache paths

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"https://github.com/smheidrich/py-json-stream-rs-tokenizer"
3030
)
3131
},
32-
python_requires=">=3.7,<4",
32+
python_requires=">=3.8,<4",
3333
install_requires=[],
3434
extras_require={
3535
"benchmark": [
@@ -49,13 +49,13 @@
4949
"Programming Language :: Rust",
5050
"Programming Language :: Python :: Implementation :: CPython",
5151
"Programming Language :: Python :: Implementation :: PyPy",
52-
"Programming Language :: Python :: 3.7",
5352
"Programming Language :: Python :: 3.8",
5453
"Programming Language :: Python :: 3.9",
5554
"Programming Language :: Python :: 3.10",
5655
"Programming Language :: Python :: 3.11",
5756
"Programming Language :: Python :: 3.12",
5857
"Programming Language :: Python :: 3.13",
58+
"Programming Language :: Python :: 3.14",
5959
"License :: OSI Approved :: MIT License",
6060
],
6161
)

0 commit comments

Comments
 (0)