Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(python): update and sync maturin versions between build and upload #539

Merged
merged 2 commits into from
Mar 7, 2025
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
1 change: 1 addition & 0 deletions .github/workflows/release-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -213,3 +213,4 @@ jobs:
with:
command: upload
args: --skip-existing wheels/*
maturin-version: v1.8.2 # coordinate this with crates/python/pyproject.toml
27 changes: 13 additions & 14 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions crates/python/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@ dev = [
"pytest-sugar >= 1.0.0",
"pytest-clarity >= 1.0.1",
"syrupy >= 4.0.0",
"maturin == 1.7.0",
"maturin == 1.8.2", # coordinate this with .github/workflows/release-python.yml
"numpy >= 1.24.1",
"pdoc >= 14.6.1",
"ruff >= 0.3.5",
"mypy >= 1.14.1",
]

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

[tool.black]
Expand Down
4 changes: 3 additions & 1 deletion deny.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ ignore = [
{ id = "RUSTSEC-2024-0375", reason = "introduced by atty, a transitive dependency of multiple dependencies, with no upgrade path" },
{ id = "RUSTSEC-2024-0006", reason = "introduced by shlex, a transitive dependency of bindgen with no upgrade path" },
{ id = "RUSTSEC-2021-0139", reason = "ansi_term is unmaintained, but used by clap" },
{ id = "RUSTSEC-2024-0384", reason = "instant is unmaintained, dependency of \"backoff\", which also appears to be unmaintained" }
{ id = "RUSTSEC-2024-0384", reason = "instant is unmaintained, dependency of \"backoff\", which also appears to be unmaintained" },
{ id = "RUSTSEC-2024-0436", reason = "paste is unmaintained" },
{ id = "RUSTSEC-2025-0012", reason = "backoff is unmaintained" }
]
yanked = "deny"
# If this is true, then cargo deny will use the git executable to fetch advisory database.
Expand Down
Loading