Upgrades maturin to 0.12

pull/173/head
Tpt 3 years ago
parent e6ab6b99ed
commit f32d940fbd
  1. 8
      .github/workflows/build.yml
  2. 2
      .github/workflows/doc.yml
  3. 6
      .github/workflows/release.yml
  4. 2
      python/pyproject.toml

@ -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

@ -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

@ -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

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

Loading…
Cancel
Save