diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 346d5fa..4c2321f 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -47,8 +47,10 @@ jobs: with: target: ${{ matrix.platform.target }} args: --release --out dist --zig - sccache: 'true' + sccache: 'false' manylinux: auto + before-script-linux: | + sudo apt update -y && sudo apt-get install -y libssl-dev openssl pkg-config - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -79,7 +81,7 @@ jobs: with: target: ${{ matrix.platform.target }} args: --release --out dist - sccache: 'true' + sccache: 'false' manylinux: musllinux_1_2 - name: Upload wheels uses: actions/upload-artifact@v4 @@ -108,7 +110,7 @@ jobs: with: target: ${{ matrix.platform.target }} args: --release --out dist - sccache: 'true' + sccache: 'false' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -135,7 +137,7 @@ jobs: with: target: ${{ matrix.platform.target }} args: --release --out dist - sccache: 'true' + sccache: 'false' - name: Upload wheels uses: actions/upload-artifact@v4 with: @@ -146,6 +148,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Build sdist uses: PyO3/maturin-action@v1 with: @@ -167,6 +172,9 @@ jobs: environment: release steps: - uses: actions/download-artifact@v4 + - uses: actions/setup-python@v5 + with: + python-version: 3.x - name: Publish to PyPI uses: PyO3/maturin-action@v1 with: diff --git a/Cargo.toml b/Cargo.toml index 3fbc82f..468dda4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,8 @@ name = "dmap" crate-type = ["cdylib", "rlib"] [dependencies] -pyo3 = { version = "0.21.0", features = ["extension-module", "indexmap", "abi3-py38"] } -numpy = "0.21.0" +pyo3 = { version = "0.22.3", features = ["extension-module", "indexmap", "abi3-py38"] } +numpy = "0.22.0" indexmap = "2.3.0" itertools = "0.13.0" rayon = "1.10.0" diff --git a/pyproject.toml b/pyproject.toml index c7bf773..8ef4e42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -13,7 +13,7 @@ classifiers = [ "Programming Language :: Python", "Programming Language :: Rust" ] -dependencies = ["numpy<2"] +dependencies = ["numpy<3"] [tool.maturin] bindings = "pyo3"