From 7837565621026ed7fe2ffe6871afbb9093f00151 Mon Sep 17 00:00:00 2001 From: Kevin Michel Date: Tue, 5 Sep 2023 08:11:46 +0200 Subject: [PATCH] Update maturin version to ~=1.0 This allows building blake3 with maturin 1.0, 1.1, 1.2 and future compatible versions. The package was built and tested with each latest minor version of maturin since 0.14 (0.15.3, 1.0.1, 1.1.0 and 1.2.3) by incrementally increasing the upper bound and running : ``` # edit version then : pip install --verbose --no-binary :all: . && pytest ``` https://www.maturin.rs/changelog --- .github/workflows/tag.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/tag.yml b/.github/workflows/tag.yml index b3284f2..148785a 100644 --- a/.github/workflows/tag.yml +++ b/.github/workflows/tag.yml @@ -48,7 +48,7 @@ jobs: profile: minimal - name: install maturin # Keep the Maturin version in sync with pyproject.toml. - run: pip install "maturin>=0.14,<0.15" + run: pip install "maturin~=1.0" # On Linux we'll run Maturin in a Docker container. if: matrix.platform.os != 'ubuntu-latest' - name: build wheel diff --git a/pyproject.toml b/pyproject.toml index 85dc392..6c3cc87 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,4 +1,4 @@ [build-system] # Keep the Maturin version in sync with tag.yml. -requires = ["maturin>=0.14,<0.15"] +requires = ["maturin~=1.0"] build-backend = "maturin"