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
4 changes: 2 additions & 2 deletions .github/workflows/python-code-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]

steps:
- name: Checkout repository
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14", "3.15"]

steps:
- name: Checkout repository
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/python-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,14 @@ jobs:
3.12
3.13
3.14
3.15

- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
with:
working-directory: impit-python
target: ${{ matrix.target }}
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t' ${{ matrix.target == 'x86_64' && '--sdist' || '' }}
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t' ${{ matrix.target == 'x86_64' && '--sdist' || '' }}
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: ${{ matrix.target == 'x86_64' && 'auto' || matrix.target == 'aarch64' && '2_28' }}

Expand Down Expand Up @@ -142,13 +143,14 @@ jobs:
3.12
3.13
3.14
3.15

- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
with:
working-directory: impit-python
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t'
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t'
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2

Expand Down Expand Up @@ -219,6 +221,7 @@ jobs:
3.12
3.13
3.14
3.15
architecture: ${{ matrix.platform.target }}

- name: Build wheels
Expand Down Expand Up @@ -275,13 +278,14 @@ jobs:
3.12
3.13
3.14
3.15

- name: Build wheels
uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1
with:
working-directory: impit-python
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t'
args: --release --out dist --interpreter '3.10 3.11 3.12 3.13 3.14 3.14t 3.15 3.15t'
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}

- name: Upload wheels
Expand Down
5 changes: 5 additions & 0 deletions impit-python/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copy of the workspace-level `.cargo/config.toml`. Maturin ships it at the root of the sdist (see `include`
# in `pyproject.toml`), so builds from the sdist get the `reqwest_unstable` cfg that reqwest's `http3`
# feature requires.
[build]
rustflags = "--cfg reqwest_unstable"
2 changes: 2 additions & 0 deletions impit-python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Topic :: Software Development :: Libraries",
]
keywords = [
Expand Down Expand Up @@ -62,6 +63,7 @@ docs = [
[tool.maturin]
python-source = "python"
module-name = "impit"
include = [{ path = ".cargo/config.toml", format = "sdist" }]

[tool.ruff]
line-length = 120
Expand Down
Loading