Merge pull request #2563 from davidhewitt/ci-tidys

misc package updates
This commit is contained in:
messense 2022-08-18 17:25:35 +08:00 committed by GitHub
commit c4cf5fe6cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 27 additions and 25 deletions

View File

@ -190,7 +190,7 @@ jobs:
cargo update -p plotters-svg --precise 0.3.1 cargo update -p plotters-svg --precise 0.3.1
cargo update -p plotters-backend --precise 0.3.2 cargo update -p plotters-backend --precise 0.3.2
cargo update -p serde --precise 1.0.142 cargo update -p serde --precise 1.0.142
cargo update -p anyhow --precise 1.0.60 cargo update -p bumpalo --precise 3.10.0
- name: Build docs - name: Build docs
run: cargo doc --no-deps --no-default-features --features "full ${{ matrix.extra_features }}" run: cargo doc --no-deps --no-default-features --features "full ${{ matrix.extra_features }}"
@ -259,7 +259,7 @@ jobs:
with: with:
target: aarch64-unknown-linux-gnu target: aarch64-unknown-linux-gnu
manylinux: auto 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 - run: sudo rm -rf examples/maturin-starter/target
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.9' }} if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.9' }}
@ -271,14 +271,14 @@ jobs:
with: with:
target: x86_64-unknown-linux-gnu target: x86_64-unknown-linux-gnu
manylinux: auto 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 - name: Test cross compilation
if: ${{ matrix.platform.os == 'macos-latest' && matrix.python-version == '3.9' }} if: ${{ matrix.platform.os == 'macos-latest' && matrix.python-version == '3.9' }}
uses: messense/maturin-action@v1 uses: messense/maturin-action@v1
with: with:
target: aarch64-apple-darwin 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 - name: Test cross compile to Windows
if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.8' }} if: ${{ matrix.platform.os == 'ubuntu-latest' && matrix.python-version == '3.8' }}
@ -301,7 +301,7 @@ jobs:
uses: messense/maturin-action@v1 uses: messense/maturin-action@v1
with: with:
target: x86_64-pc-windows-gnu 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: env:
CARGO_TERM_VERBOSE: true CARGO_TERM_VERBOSE: true

View File

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]

View File

@ -1,11 +1,11 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]
name = "decorator" name = "decorator"
version = "0.1.0" version = "0.1.0"
classifier=[ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",

View File

@ -1,5 +1,5 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]

View File

@ -1,11 +1,11 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]
name = "maturin-starter" name = "maturin-starter"
version = "0.1.0" version = "0.1.0"
classifier=[ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",

View File

@ -1,11 +1,11 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[project] [project]
name = "word-count" name = "word-count"
version = "0.1.0" version = "0.1.0"
classifier=[ classifiers = [
"License :: OSI Approved :: MIT License", "License :: OSI Approved :: MIT License",
"Development Status :: 3 - Alpha", "Development Status :: 3 - Alpha",
"Intended Audience :: Developers", "Intended Audience :: Developers",

View File

@ -14,14 +14,3 @@ pyo3-build-config = { path = "../pyo3-build-config" }
[lib] [lib]
name = "pyo3_pytests" name = "pyo3_pytests"
crate-type = ["cdylib"] 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",
]

View File

@ -1,6 +1,19 @@
[build-system] [build-system]
requires = ["maturin>=0.12,<0.13"] requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin" build-backend = "maturin"
[tool.pytest.ini_options] [tool.pytest.ini_options]
addopts = "--benchmark-disable" 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",
]