Skip to content

Commit 07d511d

Browse files
committed
build maintenance
1 parent 91f946d commit 07d511d

File tree

13 files changed

+99
-99
lines changed

13 files changed

+99
-99
lines changed

.github/actions/manylinux/action.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,9 @@ runs:
3737
3838
source "${VENV}/bin/activate"
3939
40-
maturin build --release --strip \
40+
maturin build \
41+
--release \
42+
--strip \
4143
--features="${{ inputs.features }}" \
4244
--compatibility="${{ inputs.compatibility }}" \
4345
--interpreter="${PYTHON}" \

.github/workflows/artifact.yaml

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ jobs:
7979
fail-fast: false
8080
matrix:
8181
python: [
82-
{ interpreter: 'python3.13t', compatibility: "manylinux_2_34", publish: false },
82+
{ interpreter: 'python3.14t', compatibility: "manylinux_2_34", publish: false },
83+
{ interpreter: 'python3.14', compatibility: "manylinux_2_34", publish: false },
8384
{ interpreter: 'python3.13', compatibility: "manylinux_2_17", publish: true },
8485
{ interpreter: 'python3.12', compatibility: "manylinux_2_17", publish: true },
8586
{ interpreter: 'python3.11', compatibility: "manylinux_2_17", publish: true },
@@ -140,7 +141,8 @@ jobs:
140141
fail-fast: false
141142
matrix:
142143
python: [
143-
{ interpreter: 'python3.13t', compatibility: "manylinux_2_34", publish: false },
144+
{ interpreter: 'python3.14t', compatibility: "manylinux_2_34", publish: false },
145+
{ interpreter: 'python3.14', compatibility: "manylinux_2_34", publish: false },
144146
{ interpreter: 'python3.13', compatibility: "manylinux_2_17", publish: true },
145147
{ interpreter: 'python3.12', compatibility: "manylinux_2_17", publish: true },
146148
{ interpreter: 'python3.11', compatibility: "manylinux_2_17", publish: true },
@@ -314,7 +316,7 @@ jobs:
314316
- name: Test
315317
uses: addnab/docker-run-action@v3
316318
with:
317-
image: "quay.io/pypa/musllinux_1_2_${{ matrix.platform.arch }}:2025.04.19-1"
319+
image: "quay.io/pypa/musllinux_1_2_${{ matrix.platform.arch }}:2025.07.09-1"
318320
options: -v ${{ github.workspace }}:/io -w /io
319321
run: |
320322
apk add tzdata
@@ -388,7 +390,7 @@ jobs:
388390
- name: Test
389391
uses: addnab/docker-run-action@v3
390392
with:
391-
image: "quay.io/pypa/musllinux_1_2_${{ matrix.platform.arch }}:2025.04.19-1"
393+
image: "quay.io/pypa/musllinux_1_2_${{ matrix.platform.arch }}:2025.07.09-1"
392394
options: -v ${{ github.workspace }}:/io -w /io
393395
run: |
394396
apk add tzdata
@@ -419,9 +421,9 @@ jobs:
419421
fail-fast: false
420422
matrix:
421423
python: [
422-
{ version: '3.13', macosx_target: "15.0" },
423-
{ version: '3.12', macosx_target: "15.0" },
424-
{ version: '3.11', macosx_target: "15.0" },
424+
{ version: '3.13', macosx_target: "15.0", publish: true },
425+
{ version: '3.12', macosx_target: "15.0", publish: true },
426+
{ version: '3.11', macosx_target: "15.0", publish: true },
425427
]
426428
env:
427429
CC: "clang"
@@ -465,7 +467,9 @@ jobs:
465467
466468
MACOSX_DEPLOYMENT_TARGET="${{ matrix.python.macosx_target }}" \
467469
PYO3_CROSS_LIB_DIR=$(python -c "import sysconfig;print(sysconfig.get_config_var('LIBDIR'))") \
468-
maturin build --release --strip \
470+
maturin build \
471+
--release \
472+
--strip \
469473
--features=generic_simd,yyjson \
470474
--interpreter python${{ matrix.python.version }} \
471475
--target=aarch64-apple-darwin
@@ -480,6 +484,7 @@ jobs:
480484
- run: source .venv/bin/activate && ./integration/run init
481485

482486
- name: Store wheels
487+
if: matrix.python.publish == true
483488
uses: actions/upload-artifact@v4
484489
with:
485490
name: orjson_macos_aarch64_${{ matrix.python.version }}
@@ -496,10 +501,10 @@ jobs:
496501
fail-fast: false
497502
matrix:
498503
python: [
499-
{ version: '3.13', macosx_target: "10.15" },
500-
{ version: '3.12', macosx_target: "10.15" },
501-
{ version: '3.11', macosx_target: "10.15" },
502-
{ version: '3.10', macosx_target: "10.15" },
504+
{ version: '3.13', macosx_target: "10.15", publish: true },
505+
{ version: '3.12', macosx_target: "10.15", publish: true },
506+
{ version: '3.11', macosx_target: "10.15", publish: true },
507+
{ version: '3.10', macosx_target: "10.15", publish: true },
503508
]
504509
env:
505510
CC: "clang"
@@ -545,7 +550,9 @@ jobs:
545550
546551
MACOSX_DEPLOYMENT_TARGET="${{ matrix.python.macosx_target }}" \
547552
PYO3_CROSS_LIB_DIR=$(python -c "import sysconfig;print(sysconfig.get_config_var('LIBDIR'))") \
548-
maturin build --release --strip \
553+
maturin build \
554+
--release \
555+
--strip \
549556
--features=generic_simd,yyjson \
550557
--interpreter python${{ matrix.python.version }} \
551558
--target=universal2-apple-darwin
@@ -560,6 +567,7 @@ jobs:
560567
- run: source .venv/bin/activate && ./integration/run init
561568

562569
- name: Store wheels
570+
if: matrix.python.publish == true
563571
uses: actions/upload-artifact@v4
564572
with:
565573
name: orjson_universal2_aarch64_${{ matrix.python.version }}
@@ -622,7 +630,9 @@ jobs:
622630
623631
MACOSX_DEPLOYMENT_TARGET="${{ matrix.python.macosx_target }}" \
624632
PYO3_CROSS_LIB_DIR=$(python -c "import sysconfig;print(sysconfig.get_config_var('LIBDIR'))") \
625-
maturin build --release --strip \
633+
maturin build \
634+
--release \
635+
--strip \
626636
--features=generic_simd,yyjson \
627637
--interpreter python${{ matrix.python.version }} \
628638
--target=universal2-apple-darwin
@@ -653,11 +663,11 @@ jobs:
653663
fail-fast: false
654664
matrix:
655665
python: [
656-
{ version: '3.13' },
657-
{ version: '3.12' },
658-
{ version: '3.11' },
659-
{ version: '3.10' },
660-
{ version: '3.9' },
666+
{ version: '3.13', publish: true },
667+
{ version: '3.12', publish: true },
668+
{ version: '3.11', publish: true },
669+
{ version: '3.10', publish: true },
670+
{ version: '3.9', publish: true },
661671
]
662672
platform: [
663673
{ arch: "x64", target: "x86_64-pc-windows-msvc", features: "avx512,yyjson" },
@@ -706,6 +716,7 @@ jobs:
706716
PYTHONMALLOC: "debug"
707717

708718
- name: Store wheels
719+
if: matrix.python.publish == true
709720
uses: actions/upload-artifact@v4
710721
with:
711722
name: orjson_windows_amd64_${{ matrix.platform.arch }}_${{ matrix.python.version }}
@@ -722,9 +733,9 @@ jobs:
722733
fail-fast: false
723734
matrix:
724735
python: [
725-
{ version: '3.13' },
726-
{ version: '3.12' },
727-
{ version: '3.11' },
736+
{ version: '3.13', publish: true },
737+
{ version: '3.12', publish: true },
738+
{ version: '3.11', publish: true },
728739
]
729740
env:
730741
CFLAGS: "-O2"
@@ -773,6 +784,7 @@ jobs:
773784
PYTHONMALLOC: "debug"
774785

775786
- name: Store wheels
787+
if: matrix.python.publish == true
776788
uses: actions/upload-artifact@v4
777789
with:
778790
name: orjson_windows_aarch64_${{ matrix.python.version }}

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
python-version: "3.13"
1313
- run: curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain=stable --profile=default -y
14-
- run: pip install -U "ruff>=0.11,<0.12" "mypy==1.15.0"
14+
- run: pip install -U "ruff>=0.11,<0.12" "mypy==1.16.0"
1515

1616
- uses: actions/checkout@v4
1717

.github/workflows/unusual.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false
1313
matrix:
1414
profile: [
15-
{ rust: "1.82", features: "" },
15+
{ rust: "1.82", features: "" }, # MSRV
1616
{ rust: "nightly-2025-04-15", features: "--features=generic_simd" },
1717
]
1818
python: [

CHANGELOG.md

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# Changelog
22

3-
## 3.10.18
3+
4+
## 3.10.18 - 2025-04-29
45

56
### Fixed
67

78
- Fix incorrect escaping of the vertical tabulation character. This was
89
introduced in 3.10.17.
910

1011

11-
## 3.10.17
12+
## 3.10.17 - 2025-04-29
1213

1314
### Changed
1415

@@ -17,7 +18,7 @@ introduced in 3.10.17.
1718
- Fix incompatibility running on Python 3.13 using WASM.
1819

1920

20-
## 3.10.16
21+
## 3.10.16 - 2025-03-24
2122

2223
### Changed
2324

@@ -28,7 +29,7 @@ introduced in 3.10.17.
2829
and recent Python.
2930

3031

31-
## 3.10.15
32+
## 3.10.15 - 2025-01-08
3233

3334
### Changed
3435

@@ -37,7 +38,7 @@ and recent Python.
3738
- Publish PyPI manylinux Python 3.13 wheels for i686, arm7l, ppc64le, and s390x.
3839

3940

40-
## 3.10.14
41+
## 3.10.14 - 2024-12-29
4142

4243
### Changed
4344

@@ -49,7 +50,7 @@ tests skip if fixtures are not present.
4950
- Build now depends on Rust 1.82 or later instead of 1.72.
5051

5152

52-
## 3.10.13
53+
## 3.10.13 - 2024-12-29
5354

5455
### Changed
5556

@@ -59,7 +60,7 @@ being buildable from source by end users (via PEP 517) must upgrade to at
5960
least this version.
6061

6162

62-
## 3.10.12
63+
## 3.10.12 - 2024-11-23
6364

6465
### Changed
6566

@@ -69,7 +70,7 @@ least this version.
6970
- Publish PyPI Windows wheels using trusted publishing.
7071

7172

72-
## 3.10.11
73+
## 3.10.11 - 2024-11-01
7374

7475
### Changed
7576

@@ -78,7 +79,7 @@ least this version.
7879
- Include text of licenses for vendored dependencies.
7980

8081

81-
## 3.10.10
82+
## 3.10.10 - 2024-10-22
8283

8384
### Fixed
8485

@@ -89,15 +90,15 @@ least this version.
8990
- Publish aarch64 manylinux_2_17 wheel for 3.13 to PyPI.
9091

9192

92-
## 3.10.9
93+
## 3.10.9 - 2024-10-19
9394

9495
### Fixed
9596

9697
- Fix `int` serialization on 32-bit Python 3.8, 3.9, 3.10. This was
9798
introduced in 3.10.8.
9899

99100

100-
## 3.10.8
101+
## 3.10.8 - 2024-10-19
101102

102103
### Changed
103104

0 commit comments

Comments
 (0)