Update maturin to maturin 0.15 (#3999)

* Update maturin to maturin>=0.14.17

This allows removing the deprecated `[package.metadata.maturin]`

* Update to maturin 0.15
This commit is contained in:
konstin 2023-05-12 15:43:06 +02:00 committed by GitHub
parent 1380bd94da
commit 09dbd2029c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 7 deletions

View file

@ -26,7 +26,7 @@ requires-python = ">=3.7"
repository = "https://github.com/charliermarsh/ruff#subdirectory=crates/flake8_to_ruff"
[build-system]
requires = ["maturin>=0.14,<0.15"]
requires = ["maturin>=0.15.1,<0.16"]
build-backend = "maturin"
[tool.maturin]

View file

@ -68,9 +68,6 @@ ureq = { version = "2.6.2", features = [] }
jupyter_notebook = ["ruff/jupyter_notebook"]
ecosystem_ci = ["ruff/ecosystem_ci"]
[package.metadata.maturin]
name = "ruff"
[target.'cfg(target_os = "windows")'.dependencies]
mimalloc = "0.1.34"

View file

@ -1,7 +1,5 @@
[build-system]
requires = ["maturin>=0.14.10,<0.15"]
# We depend on >=0.14.10 because we specify name in
# [package.metadata.maturin] in ruff_cli/Cargo.toml.
requires = ["maturin>=0.15.1,<0.16"]
build-backend = "maturin"