Skip to content

Commit

Permalink
Merge pull request #338 from PyO3/bump-maturin
Browse files Browse the repository at this point in the history
Bump Maturin version used by examples to 0.13.
  • Loading branch information
adamreichold authored Aug 18, 2022
2 parents 21bd80e + 9eb95a5 commit a445411
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ jobs:
with:
target: aarch64
manylinux: auto
args: --manifest-path examples/simple/Cargo.toml --no-sdist
args: --manifest-path examples/simple/Cargo.toml

check-msrv:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion examples/linalg/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.12,<0.13"]
requires = ["maturin>=0.13,<0.14"]
2 changes: 1 addition & 1 deletion examples/parallel/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.12,<0.13"]
requires = ["maturin>=0.13,<0.14"]
2 changes: 1 addition & 1 deletion examples/simple/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
build-backend = "maturin"
requires = ["maturin>=0.12,<0.13"]
requires = ["maturin>=0.13,<0.14"]
13 changes: 12 additions & 1 deletion x.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,18 @@ def check(args):
for manifest in gen_examples("Cargo.toml"):
run("cargo", "fmt", "--manifest-path", manifest, "--", "--check")

run("cargo", "clippy", "--manifest-path", manifest, "--", "--deny", "warnings")
run(
"cargo",
"clippy",
"--manifest-path",
manifest,
"--",
"--deny",
"warnings",
# https://github.com/PyO3/pyo3/issues/2555
"--allow",
"clippy::borrow-deref-ref",
)


def doc(args):
Expand Down

0 comments on commit a445411

Please sign in to comment.