Skip to content

Commit a445411

Browse files
authored
Merge pull request #338 from PyO3/bump-maturin
Bump Maturin version used by examples to 0.13.
2 parents 21bd80e + 9eb95a5 commit a445411

File tree

5 files changed

+16
-5
lines changed

5 files changed

+16
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
with:
9696
target: aarch64
9797
manylinux: auto
98-
args: --manifest-path examples/simple/Cargo.toml --no-sdist
98+
args: --manifest-path examples/simple/Cargo.toml
9999

100100
check-msrv:
101101
runs-on: ubuntu-latest

examples/linalg/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=0.12,<0.13"]
3+
requires = ["maturin>=0.13,<0.14"]

examples/parallel/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=0.12,<0.13"]
3+
requires = ["maturin>=0.13,<0.14"]

examples/simple/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
[build-system]
22
build-backend = "maturin"
3-
requires = ["maturin>=0.12,<0.13"]
3+
requires = ["maturin>=0.13,<0.14"]

x.py

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,18 @@ def check(args):
6060
for manifest in gen_examples("Cargo.toml"):
6161
run("cargo", "fmt", "--manifest-path", manifest, "--", "--check")
6262

63-
run("cargo", "clippy", "--manifest-path", manifest, "--", "--deny", "warnings")
63+
run(
64+
"cargo",
65+
"clippy",
66+
"--manifest-path",
67+
manifest,
68+
"--",
69+
"--deny",
70+
"warnings",
71+
# https://github.com/PyO3/pyo3/issues/2555
72+
"--allow",
73+
"clippy::borrow-deref-ref",
74+
)
6475

6576

6677
def doc(args):

0 commit comments

Comments
 (0)