From f32d940fbd61bd0906ec910681da18c9d00448df Mon Sep 17 00:00:00 2001 From: Tpt Date: Sat, 4 Dec 2021 16:32:00 +0100 Subject: [PATCH] Upgrades maturin to 0.12 --- .github/workflows/build.yml | 8 ++++---- .github/workflows/doc.yml | 2 +- .github/workflows/release.yml | 6 +++--- python/pyproject.toml | 2 +- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4cb8c7cc..1bf7e67d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -69,7 +69,7 @@ jobs: with: python-version: 3.8 - run: python -m venv python/venv - - run: source python/venv/bin/activate && pip install --upgrade 'maturin>=0.11,<0.12' sphinx + - run: source python/venv/bin/activate && pip install --upgrade 'maturin~=0.12' sphinx - run: source venv/bin/activate && maturin develop working-directory: ./python - run: source ../venv/bin/activate && python -m unittest @@ -87,7 +87,7 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 - - run: pip install 'maturin>=0.11,<0.12' + - run: pip install 'maturin~=0.12' - run: maturin build working-directory: ./python @@ -100,7 +100,7 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 - - run: pip install 'maturin>=0.11,<0.12' + - run: pip install 'maturin~=0.12' - run: maturin build --universal2 working-directory: ./python @@ -112,6 +112,6 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 - - run: pip install 'maturin>=0.11,<0.12' + - run: pip install 'maturin~=0.12' - run: maturin build working-directory: ./python diff --git a/.github/workflows/doc.yml b/.github/workflows/doc.yml index 6339db60..f94f3278 100644 --- a/.github/workflows/doc.yml +++ b/.github/workflows/doc.yml @@ -15,7 +15,7 @@ jobs: with: python-version: 3.8 - run: python -m venv python/venv - - run: source python/venv/bin/activate && pip install --upgrade 'maturin>=0.11,<0.12' sphinx + - run: source python/venv/bin/activate && pip install --upgrade 'maturin~=0.12' sphinx - run: source venv/bin/activate && maturin develop working-directory: ./python - run: source ../venv/bin/activate && sphinx-build -M doctest . build diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 47449e8c..d266db92 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -96,7 +96,7 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 - - run: pip install 'maturin>=0.11,<0.12' + - run: pip install 'maturin~=0.12' - run: maturin publish --universal2 --no-sdist -u __token__ -p ${{ secrets.PYPI_PASSWORD }} working-directory: ./python publish_pypi_windows: @@ -107,7 +107,7 @@ jobs: - uses: actions/setup-python@v2 with: python-version: 3.6 - - run: pip install 'maturin>=0.11,<0.12' + - run: pip install 'maturin~=0.12' - run: maturin publish --no-sdist -u __token__ -p ${{ secrets.PYPI_PASSWORD }} working-directory: ./python publish_npm: @@ -137,7 +137,7 @@ jobs: with: python-version: 3.8 - run: python -m venv python/venv - - run: source python/venv/bin/activate && pip install --upgrade 'maturin>=0.11,<0.12' sphinx + - run: source python/venv/bin/activate && pip install --upgrade 'maturin~=0.12' sphinx - run: source venv/bin/activate && maturin develop working-directory: ./python - run: source ../venv/bin/activate && sphinx-build -M doctest . build diff --git a/python/pyproject.toml b/python/pyproject.toml index 548a0f72..232f2788 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=0.11,<0.12"] +requires = ["maturin~=0.12"] build-backend = "maturin" [project]