Skip to content

Commit 5c5dae8

Browse files
Bump maturin to 0.15.1 (from 0.14.15)
The breaking change that was affecting our code was PyO3/maturin#1531 where `Cargo.toml:package.metadata.maturin.name` was replaced in favor of `pyproject.toml:tool.maturin.module-name`. Closes #4512
1 parent 12c8099 commit 5c5dae8

File tree

3 files changed

+24
-24
lines changed

3 files changed

+24
-24
lines changed

Cargo.toml

-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@ name = "parsec"
55
version = "0.0.0"
66
edition = "2021"
77

8-
[package.metadata.maturin]
9-
name = "parsec._parsec"
10-
118
[lib]
129
name = "parsec"
1310
crate-type = ["cdylib"]

poetry.lock

+18-18
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+6-3
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ mypy = "^0.982"
141141

142142
setuptools = ">=63.1,<68.0"
143143

144-
maturin = "0.14.15"
144+
maturin = "0.15.1"
145145
patchelf = { version = "^0.17.2.0", markers = "platform_system=='Linux'" }
146146

147147
cibuildwheel = "v2.12.3"
@@ -213,14 +213,17 @@ extend-exclude = [
213213
[tool.ruff.isort]
214214
known-first-party = ["parsec"]
215215

216+
[tool.maturin]
217+
module-name = "parsec._parsec"
218+
216219
[build-system]
217220
# Be careful `build-system` entry works out of poetry,
218221
# hence those dependencies are not resolved & pinned into `poetry.lock`
219222
requires = [
220223
"poetry-core>=1.0.0",
221224
"setuptools",
222-
"maturin==0.14.15",
223-
"maturin[patchelf]==0.14.15; platform_system=='Linux'",
225+
"maturin==0.15.1",
226+
"maturin[patchelf]==0.15.1; platform_system=='Linux'",
224227
"patchelf~=0.17.2.0; platform_system=='Linux'",
225228
"PyQt5~=5.15",
226229
"Babel~=2.10",

0 commit comments

Comments
 (0)