diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0018025e..e29e280b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -259,7 +259,7 @@ jobs: with: target: aarch64-unknown-linux-gnu manylinux: auto - args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml + args: --release -i python3.9 -m examples/maturin-starter/Cargo.toml - run: sudo rm -rf examples/maturin-starter/target if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} @@ -271,14 +271,14 @@ jobs: with: target: x86_64-unknown-linux-gnu manylinux: auto - args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml + args: --release -i python3.9 -m examples/maturin-starter/Cargo.toml - name: Test cross compilation if: ${{ matrix.platform.os == 'macos-latest' && matrix.python-version == '3.9' }} uses: messense/maturin-action@v1 with: target: aarch64-apple-darwin - args: --release -i python3.9 --no-sdist -m examples/maturin-starter/Cargo.toml + args: --release -i python3.9 -m examples/maturin-starter/Cargo.toml - name: Test cross compile to Windows if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.8' }} @@ -301,7 +301,7 @@ jobs: uses: messense/maturin-action@v1 with: target: x86_64-pc-windows-gnu - args: -i python3.8 --no-sdist -m examples/maturin-starter/Cargo.toml --cargo-extra-args="--features abi3" + args: -i python3.8 -m examples/maturin-starter/Cargo.toml --features abi3 env: CARGO_TERM_VERBOSE: true diff --git a/examples/decorator/.template/pyproject.toml b/examples/decorator/.template/pyproject.toml index 007a5574..cd79e887 100644 --- a/examples/decorator/.template/pyproject.toml +++ b/examples/decorator/.template/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [project] diff --git a/examples/decorator/pyproject.toml b/examples/decorator/pyproject.toml index 3a8fd7e4..c6196256 100644 --- a/examples/decorator/pyproject.toml +++ b/examples/decorator/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [project] name = "decorator" version = "0.1.0" -classifier=[ +classifiers = [ "License :: OSI Approved :: MIT License", "Development Status :: 3 - Alpha", "Intended Audience :: Developers", diff --git a/examples/maturin-starter/.template/pyproject.toml b/examples/maturin-starter/.template/pyproject.toml index 007a5574..cd79e887 100644 --- a/examples/maturin-starter/.template/pyproject.toml +++ b/examples/maturin-starter/.template/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [project] diff --git a/examples/maturin-starter/pyproject.toml b/examples/maturin-starter/pyproject.toml index 274cda13..9a18a20e 100644 --- a/examples/maturin-starter/pyproject.toml +++ b/examples/maturin-starter/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [project] name = "maturin-starter" version = "0.1.0" -classifier=[ +classifiers = [ "License :: OSI Approved :: MIT License", "Development Status :: 3 - Alpha", "Intended Audience :: Developers", diff --git a/examples/word-count/pyproject.toml b/examples/word-count/pyproject.toml index 9d312b85..d8ce3650 100644 --- a/examples/word-count/pyproject.toml +++ b/examples/word-count/pyproject.toml @@ -1,11 +1,11 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [project] name = "word-count" version = "0.1.0" -classifier=[ +classifiers = [ "License :: OSI Approved :: MIT License", "Development Status :: 3 - Alpha", "Intended Audience :: Developers", diff --git a/pytests/Cargo.toml b/pytests/Cargo.toml index 1e387ca2..6b356342 100644 --- a/pytests/Cargo.toml +++ b/pytests/Cargo.toml @@ -14,14 +14,3 @@ pyo3-build-config = { path = "../pyo3-build-config" } [lib] name = "pyo3_pytests" crate-type = ["cdylib"] - -[package.metadata.maturin] -classifier=[ - "License :: OSI Approved :: MIT License", - "Development Status :: 3 - Alpha", - "Intended Audience :: Developers", - "Programming Language :: Python", - "Programming Language :: Rust", - "Operating System :: POSIX", - "Operating System :: MacOS :: MacOS X", -] diff --git a/pytests/pyproject.toml b/pytests/pyproject.toml index 79ac372f..9d2fb926 100644 --- a/pytests/pyproject.toml +++ b/pytests/pyproject.toml @@ -1,6 +1,19 @@ [build-system] -requires = ["maturin>=0.12,<0.13"] +requires = ["maturin>=0.13,<0.14"] build-backend = "maturin" [tool.pytest.ini_options] addopts = "--benchmark-disable" + +[project] +name = "pyo3_pytests" +version = "0.1.0" +classifiers = [ + "License :: OSI Approved :: MIT License", + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Programming Language :: Python", + "Programming Language :: Rust", + "Operating System :: POSIX", + "Operating System :: MacOS :: MacOS X", +]