Skip to content

Commit e63d95e

Browse files
fix(python): update and sync maturin versions between build and upload (#539)
* fix: update and sync maturin versions between build and upload * chore: update ring and ignore paste+backoff being unmaintained
1 parent 0e1bd36 commit e63d95e

File tree

4 files changed

+19
-17
lines changed

4 files changed

+19
-17
lines changed

.github/workflows/release-python.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,3 +213,4 @@ jobs:
213213
with:
214214
command: upload
215215
args: --skip-existing wheels/*
216+
maturin-version: v1.8.2 # coordinate this with crates/python/pyproject.toml

Cargo.lock

Lines changed: 13 additions & 14 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@ dev = [
4343
"pytest-sugar >= 1.0.0",
4444
"pytest-clarity >= 1.0.1",
4545
"syrupy >= 4.0.0",
46-
"maturin == 1.7.0",
46+
"maturin == 1.8.2", # coordinate this with .github/workflows/release-python.yml
4747
"numpy >= 1.24.1",
4848
"pdoc >= 14.6.1",
4949
"ruff >= 0.3.5",
5050
"mypy >= 1.14.1",
5151
]
5252

5353
[build-system]
54-
requires = ["maturin>=1.7.0,<1.8.0"]
54+
requires = ["maturin==1.8.2"] # coordinate this with .github/workflows/release-python.yml
5555
build-backend = "maturin"
5656

5757
[tool.black]

deny.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ ignore = [
6868
{ id = "RUSTSEC-2024-0375", reason = "introduced by atty, a transitive dependency of multiple dependencies, with no upgrade path" },
6969
{ id = "RUSTSEC-2024-0006", reason = "introduced by shlex, a transitive dependency of bindgen with no upgrade path" },
7070
{ id = "RUSTSEC-2021-0139", reason = "ansi_term is unmaintained, but used by clap" },
71-
{ id = "RUSTSEC-2024-0384", reason = "instant is unmaintained, dependency of \"backoff\", which also appears to be unmaintained" }
71+
{ id = "RUSTSEC-2024-0384", reason = "instant is unmaintained, dependency of \"backoff\", which also appears to be unmaintained" },
72+
{ id = "RUSTSEC-2024-0436", reason = "paste is unmaintained" },
73+
{ id = "RUSTSEC-2025-0012", reason = "backoff is unmaintained" }
7274
]
7375
yanked = "deny"
7476
# If this is true, then cargo deny will use the git executable to fetch advisory database.

0 commit comments

Comments
 (0)