py: upgrade to latest maturin

This commit is contained in:
Dirkjan Ochtman 2023-02-02 10:26:08 +01:00
parent e5cabfb830
commit 45e3d9ba94
3 changed files with 4 additions and 6 deletions

View File

@ -31,7 +31,6 @@ jobs:
with: with:
command: publish command: publish
args: -m instant-distance-py/Cargo.toml args: -m instant-distance-py/Cargo.toml
--no-sdist
--username __token__ --username __token__
--password ${{ secrets.PYPI_TOKEN }} --password ${{ secrets.PYPI_TOKEN }}
--interpreter python${{ matrix.python }} --interpreter python${{ matrix.python }}
@ -52,6 +51,5 @@ jobs:
with: with:
command: publish command: publish
args: -m instant-distance-py/Cargo.toml args: -m instant-distance-py/Cargo.toml
--no-sdist
--username __token__ --username __token__
--password ${{ secrets.PYPI_TOKEN }} --password ${{ secrets.PYPI_TOKEN }}

View File

@ -20,6 +20,3 @@ instant-distance = { version = "0.6", path = "../instant-distance", features = [
pyo3 = { version = "0.18.0", features = ["extension-module"] } pyo3 = { version = "0.18.0", features = ["extension-module"] }
serde = { version = "1", features = ["derive"] } serde = { version = "1", features = ["derive"] }
serde-big-array = "0.4.1" serde-big-array = "0.4.1"
[package.metadata.maturin]
name = "instant-distance"

View File

@ -1,3 +1,6 @@
[project]
name = "instant-distance"
[build-system] [build-system]
requires = ["maturin >= 0.11, < 0.12"] requires = ["maturin >= 0.14, < 0.15"]
build-backend = "maturin" build-backend = "maturin"