Skip to content
Open
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
32 changes: 9 additions & 23 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,17 @@ jobs:
matrix:
python-version:
[
"3.9",
"3.10",
"3.11",
"3.14",
"3.13",
"3.13t",
"3.14",
"3.14t",
"3.15",
"3.15t",
"pypy-3.11",
"graalpy25.0",
"graalpy-25.2", # 3.12
"graalpy-25.3", # 3.13
]
platform:
[
Expand Down Expand Up @@ -130,23 +131,6 @@ jobs:
python-architecture: "arm64",
rust-target: "aarch64-unknown-linux-gnu",
}
exclude:
# macOS arm doesn't have Python builds before 3.10
- python-version: 3.9
platform:
{
os: "macos-latest",
python-architecture: "arm64",
rust-target: "aarch64-apple-darwin",
}
# no graalpy available on Windows
- python-version: graalpy25.0
platform:
{
os: "windows-latest",
python-architecture: "x64",
rust-target: "x86_64-pc-windows-msvc",
}

env:
SETUPTOOLS_RUST_CARGO_PROFILE: dev
Expand Down Expand Up @@ -357,7 +341,7 @@ jobs:
targets: aarch64-apple-darwin,x86_64-apple-darwin
- uses: pypa/cibuildwheel@v3.4.1
env:
CIBW_BUILD: cp39-*
CIBW_BUILD: cp310-*
CIBW_BEFORE_BUILD: >
pip install -U 'pip>=23.2.1' 'setuptools>=70.1.0' 'auditwheel>=5.4.0'
&& pip install -e .
Expand Down Expand Up @@ -390,6 +374,8 @@ jobs:
rust_target: i686-pc-windows-gnu,
},
]
env:
CARGO_BUILD_TARGET: ${{ matrix.rust_target }}
steps:
- uses: actions/checkout@v6
- name: Install MSys2 and dependencies
Expand All @@ -404,9 +390,9 @@ jobs:
mingw-w64-${{ matrix.arch }}-openssl
mingw-w64-${{ matrix.arch }}-toolchain

- uses: dtolnay/rust-toolchain@master
- uses: dtolnay/rust-toolchain@stable
with:
toolchain: stable-${{ matrix.rust_target }}
targets: ${{ matrix.rust_target }}

- name: Install test dependencies
shell: msys2 {0}
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Unreleased
### Packaging
- Drop support for Python 3.9.
- Bump `setuptools` minimum version to 83.0.

## 1.13.0 (2026-06-27)
### Added
- Add `generated-files` option to `RustExtension` to copy files from the build script output directory to the wheel. [#574](https://github.com/PyO3/setuptools-rust/pull/574)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
pyo3 = "0.25"
pyo3 = "0.28"

[lib]
name = "_lib" # private module to be nested into Python package,
Expand Down
2 changes: 0 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,10 @@ def basetext(o):
for t in node.traverse(basetext):
t1 = Text(t.replace(DOCS_URL, "", 1), t.rawsource)
t.parent.replace(t, t1)
return


# end of class


def setup(app):
app.add_transform(RelativeDocLinks)
return
59 changes: 10 additions & 49 deletions examples/generated-files/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 examples/generated-files/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ edition = "2021"
build = "build.rs"

[dependencies]
pyo3 = "0.27"
pyo3 = "0.28"

[lib]
name = "_lib" # private module to be nested into Python package
Expand Down
3 changes: 2 additions & 1 deletion examples/generated-files/python/generated_files/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
__all__ = ["library_ok", "data_files_content"]
__all__ = ["data_files_content", "library_ok"]

from pathlib import Path

from ._lib import library_ok


Expand Down
1 change: 1 addition & 0 deletions examples/generated-files/tests/test_lib.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
from pathlib import Path

import generated_files


Expand Down
21 changes: 10 additions & 11 deletions examples/hello-world-setuppy/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 examples/hello-world-setuppy/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version = "0.1.0"
edition = "2021"

[dependencies]
pyo3 = "0.28"
pyo3 = "0.29.2"

[lib]
# See https://github.com/PyO3/pyo3 for details
Expand Down
21 changes: 10 additions & 11 deletions examples/hello-world/Cargo.lock

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

Loading
Loading