From b16244cff34f06a9b68f1935b30998ab92a378ec Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 12 Jun 2026 19:56:04 +0000 Subject: [PATCH 1/3] build(deps): bump pyo3 from 0.28.3 to 0.29.0 Bumps [pyo3](https://github.com/pyo3/pyo3) from 0.28.3 to 0.29.0. - [Release notes](https://github.com/pyo3/pyo3/releases) - [Changelog](https://github.com/PyO3/pyo3/blob/main/CHANGELOG.md) - [Commits](https://github.com/pyo3/pyo3/compare/v0.28.3...v0.29.0) --- updated-dependencies: - dependency-name: pyo3 dependency-version: 0.29.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- Cargo.lock | 21 ++++++++++----------- Cargo.toml | 2 +- 2 files changed, 11 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 59254ca..476c902 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1442,9 +1442,9 @@ dependencies = [ [[package]] name = "pyo3" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12" +checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c" dependencies = [ "libc", "once_cell", @@ -1456,18 +1456,18 @@ dependencies = [ [[package]] name = "pyo3-build-config" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e" +checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078" dependencies = [ "target-lexicon", ] [[package]] name = "pyo3-ffi" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e" +checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b" dependencies = [ "libc", "pyo3-build-config", @@ -1475,9 +1475,9 @@ dependencies = [ [[package]] name = "pyo3-macros" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813" +checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771" dependencies = [ "proc-macro2", "pyo3-macros-backend", @@ -1487,13 +1487,12 @@ dependencies = [ [[package]] name = "pyo3-macros-backend" -version = "0.28.3" +version = "0.29.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb" +checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362" dependencies = [ "heck", "proc-macro2", - "pyo3-build-config", "quote", "syn", ] diff --git a/Cargo.toml b/Cargo.toml index e458159..1bb9f4c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -25,7 +25,7 @@ clap = { version = "4.6.1", features = ["derive"] } colored = "3.1.1" log = { version = "0.4.31", features = ["std"] } mockito = "1.7.2" -pyo3 = {version = "0.28.3", features = ["extension-module"] } +pyo3 = {version = "0.29.0", features = ["extension-module"] } regex = "1.12.3" reqwest = { version = "0.13.4", default-features = false, features = ["http2", "charset"] } thiserror = "2.0.18" From ac2a3cbf622b975ed054c01f5aad58a0de0f0cc6 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 12 Jun 2026 14:55:05 -0700 Subject: [PATCH 2/3] rm unused dev deps; add abi3t feature --- bindings/python/Cargo.toml | 2 +- nurfile | 1 - pyproject.toml | 3 --- uv.lock | 4 ---- 4 files changed, 1 insertion(+), 9 deletions(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 79bfbfa..4ce2008 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -17,6 +17,6 @@ crate-type = ["cdylib"] bench = false [dependencies] -pyo3 = { workspace = true, features = ["abi3-py310"] } +pyo3 = { workspace = true, features = ["abi3-py310", "abi3t"] } cpp-linter = { path = "../../cpp-linter", features = ["bin"] } tokio = { workspace = true } diff --git a/nurfile b/nurfile index d0be790..2689be9 100644 --- a/nurfile +++ b/nurfile @@ -61,7 +61,6 @@ export def "nur test" [ --profile (-p): string = "default", # The nextest profile to use. --clean (-c), # Clean before testing ] { - # run-cmd uv sync --group test if $clean { run-cmd cargo llvm-cov clean } diff --git a/pyproject.toml b/pyproject.toml index 8d8a057..85a298e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,6 @@ source = "https://github.com/cpp-linter/cpp-linter-rs" tracker = "https://github.com/cpp-linter/cpp-linter-rs/issues" [tool.maturin] -features = ["pyo3/extension-module"] include = [ {path = "cpp_linter.pyi", format = "sdist"}, {path = "LICENSE", format = "sdist"}, @@ -53,9 +52,7 @@ manifest-path = "bindings/python/Cargo.toml" [dependency-groups] dev = [ - "maturin==1.13.3", "mypy==2.1.0", - "patchelf==0.17.2.2 ; sys_platform == 'linux'", "pre-commit>=4.3.0", "ruff==0.15.16", ] diff --git a/uv.lock b/uv.lock index 3247983..cac9ff4 100644 --- a/uv.lock +++ b/uv.lock @@ -256,9 +256,7 @@ source = { virtual = "." } [package.dev-dependencies] dev = [ - { name = "maturin" }, { name = "mypy" }, - { name = "patchelf", marker = "sys_platform == 'linux'" }, { name = "pre-commit" }, { name = "ruff" }, ] @@ -270,9 +268,7 @@ test = [ [package.metadata.requires-dev] dev = [ - { name = "maturin", specifier = "==1.13.3" }, { name = "mypy", specifier = "==2.1.0" }, - { name = "patchelf", marker = "sys_platform == 'linux'", specifier = "==0.17.2.2" }, { name = "pre-commit", specifier = ">=4.3.0" }, { name = "ruff", specifier = "==0.15.16" }, ] From 0173fff3d5a8c79c0c39ef9fea2f73301537fed7 Mon Sep 17 00:00:00 2001 From: Brendan <2bndy5@gmail.com> Date: Fri, 12 Jun 2026 15:16:04 -0700 Subject: [PATCH 3/3] use a specific min py version for abi3t feature --- bindings/python/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/Cargo.toml b/bindings/python/Cargo.toml index 4ce2008..021d9b8 100644 --- a/bindings/python/Cargo.toml +++ b/bindings/python/Cargo.toml @@ -17,6 +17,6 @@ crate-type = ["cdylib"] bench = false [dependencies] -pyo3 = { workspace = true, features = ["abi3-py310", "abi3t"] } +pyo3 = { workspace = true, features = ["abi3-py310", "abi3t-py315"] } cpp-linter = { path = "../../cpp-linter", features = ["bin"] } tokio = { workspace = true }