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
56 changes: 37 additions & 19 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14 python3.14t pypy3.11
maturin-version: v1.14.1
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14 python3.15 python3.14t python3.15t pypy3.11
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: auto
- name: Upload wheels
Expand Down Expand Up @@ -77,15 +78,16 @@ jobs:
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14 python3.14t pypy3.11
maturin-version: v1.14.1
args: --release --out dist --interpreter python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3.14 python3.15 python3.14t python3.15t pypy3.11
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
manylinux: musllinux_1_2
before-script-linux: |
apt-get update
apt-get install -y software-properties-common
add-apt-repository ppa:deadsnakes/ppa -y
apt-get update
apt-get install -y python3.14 python3.14-dev python3.14-venv
apt-get install -y python3.14 python3.14-dev python3.14-venv python3.15 python3.15-dev python3.15-venv
- name: Upload wheels
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -113,13 +115,15 @@ jobs:
3.12
3.13
3.14
3.15
architecture: ${{ matrix.platform.target }}
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 3.14
maturin-version: v1.14.1
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -133,14 +137,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.14t'
python-version: |
3.14t
3.15t
architecture: x64
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
target: x64
args: --release --out dist --interpreter 3.14t
args: --release --out dist --interpreter 3.14t 3.15t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -154,14 +161,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.14t'
python-version: |
3.14t
3.15t
architecture: x86
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
target: x86
args: --release --out dist --interpreter 3.14t
args: --release --out dist --interpreter 3.14t 3.15t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -180,13 +190,15 @@ jobs:
3.12
3.13
3.14
3.15
architecture: arm64
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
target: aarch64
args: --release --out dist --interpreter 3.11 3.12 3.13 3.14
args: --release --out dist --interpreter 3.11 3.12 3.13 3.14 3.15
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -200,14 +212,17 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-python@v6
with:
python-version: '3.14t'
python-version: |
3.14t
3.15t
architecture: arm64
allow-prereleases: true
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
target: aarch64
args: --release --out dist --interpreter 3.14t
args: --release --out dist --interpreter 3.14t 3.15t
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -233,8 +248,9 @@ jobs:
- name: Build wheels
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
target: ${{ matrix.platform.target }}
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.14t pypy3.11
args: --release --out dist --interpreter 3.8 3.9 3.10 3.11 3.12 3.13 3.14 3.15 3.14t 3.15t pypy3.11
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
- name: Upload wheels
uses: actions/upload-artifact@v4
Expand All @@ -249,6 +265,7 @@ jobs:
- name: Build sdist
uses: PyO3/maturin-action@v1
with:
maturin-version: v1.14.1
command: sdist
args: --out dist
- name: Upload sdist
Expand All @@ -270,34 +287,34 @@ jobs:
pattern: wheels-*
path: all-wheels
- name: Generate build summary
uses: patrick91/wheels-ci-action@v0.1.0
uses: patrick91/wheels-ci-action@v1
with:
wheels-path: all-wheels
require-matrix: |
[
{
"platform": "Linux*",
"versions": "3.8-3.14,3.14t,PyPy3.11"
"versions": "3.8-3.15,3.14t,3.15t,PyPy3.11"
},
{
"platform": "musllinux*",
"versions": "3.8-3.14,3.14t,PyPy3.11"
"versions": "3.8-3.15,3.14t,3.15t,PyPy3.11"
},
{
"platform": "macOS*",
"versions": "3.8-3.14,3.14t,PyPy3.11"
"versions": "3.8-3.15,3.14t,3.15t,PyPy3.11"
},
{
"platform": "Windows x64",
"versions": "3.8-3.14,3.14t"
"versions": "3.8-3.15,3.14t,3.15t"
},
{
"platform": "Windows x86",
"versions": "3.8-3.14,3.14t"
"versions": "3.8-3.15,3.14t,3.15t"
},
{
"platform": "Windows ARM64",
"versions": "3.11-3.14,3.14t"
"versions": "3.11-3.15,3.14t,3.15t"
}
]
release:
Expand All @@ -324,5 +341,6 @@ jobs:
env:
MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
with:
maturin-version: v1.14.1
command: upload
args: --non-interactive --skip-existing wheels-*/*
14 changes: 9 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,21 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14"]
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14", "3.15", "3.15t"]
steps:
- uses: actions/checkout@v4

- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true

- name: Install uv
uses: astral-sh/setup-uv@v5

- name: Install the project
run: uv sync --all-extras --dev
run: uv sync --all-extras --dev --python "${{ matrix.python-version }}"

- name: Run tests
run: uv run pytest -vv tests
run: uv run --python "${{ matrix.python-version }}" pytest -vv tests
20 changes: 10 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ crate-type = ["cdylib"]

[dependencies]
flate2 = "1.1.9"
pyo3 = "0.29.0"
pyo3 = "0.29.1"
tar = "0.4.45"
zstd = "0.13.3"
5 changes: 3 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ classifiers = [
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Programming Language :: Python :: 3.15",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Software Development :: Libraries",
Expand All @@ -34,13 +35,13 @@ repository = "https://github.com/DoctorJohn/fastar"
documentation = "https://github.com/DoctorJohn/fastar"

[build-system]
requires = ["maturin>=1.9,<2.0"]
requires = ["maturin>=1.14.1,<2.0"]
build-backend = "maturin"

[dependency-groups]
dev = [
"backports-zstd>=1.1.0 ; python_version >= '3.9' and python_version < '3.14'",
"maturin>=1.9.6",
"maturin>=1.14.1",
"mypy>=1.14.1",
"prek>=0.2.29",
"psutil>=7.1.2",
Expand Down
Loading
Loading