Skip to content

Commit

Permalink
Upgrade maturin to 0.13.0 (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
messense authored Jul 12, 2022
1 parent ca69184 commit fb8d88a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,15 +33,15 @@ jobs:
uses: messense/maturin-action@v1
with:
target: x86_64
args: -i python --release --out dist
args: -i python --release --out dist --sdist
- name: Install built wheel - x86_64
run: |
pip install cramjam --no-index --find-links dist --force-reinstall
- name: Build wheels - universal2
if: ${{ matrix.python-version >= '3.8' || matrix.python-version == '3.10' }}
uses: messense/maturin-action@v1
with:
args: -i python --release --universal2 --out dist --no-sdist
args: -i python --release --universal2 --out dist
- name: Install built wheel - universal2
if: ${{ matrix.python-version >= '3.8' }}
run: |
Expand Down Expand Up @@ -86,7 +86,7 @@ jobs:
uses: messense/maturin-action@v1
with:
target: ${{ matrix.target }}
args: -i python --release --out dist --no-sdist
args: -i python --release --out dist
- name: Install built wheel
run: |
pip install cramjam --no-index --find-links dist --force-reinstall
Expand Down Expand Up @@ -126,7 +126,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
args: -i ${{ matrix.python-version }} --release --out dist --no-sdist
args: -i ${{ matrix.python-version }} --release --out dist
- name: Python UnitTest
if: matrix.target == 'x86_64'
run: |
Expand Down Expand Up @@ -174,7 +174,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
args: -i ${{ matrix.python }} --release --out dist --no-sdist --cargo-extra-args="--no-default-features" --cargo-extra-args="--features=extension-module" # disable mimallocator
args: -i ${{ matrix.python }} --release --out dist --no-default-features --features=extension-module # disable mimallocator
- uses: uraimo/run-on-arch-action@v2.2.0
# skipped cross compiled pypy wheel tests for now
if: ${{ !startsWith(matrix.python, 'pypy') }}
Expand Down Expand Up @@ -223,7 +223,7 @@ jobs:
with:
target: ${{ matrix.target }}
manylinux: auto
args: -i ${{ matrix.python }} --release --out dist --no-sdist --cargo-extra-args="--no-default-features" --cargo-extra-args="--features=extension-module" # disable mimallocator
args: -i ${{ matrix.python }} --release --out dist --no-default-features --features=extension-module # disable mimallocator
- name: Python UnitTest
run: |
pip install cramjam --no-index --find-links dist
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ bench-zstd:

dev-install:
rm -rf ./dist
maturin build --release --out dist --no-sdist --interpreter $(shell which python)
maturin build --release --out dist --interpreter $(shell which python)
pip uninstall cramjam -y
pip install cramjam --no-index --find-links dist/

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[build-system]
requires = ["maturin>=0.12,<0.13"]
requires = ["maturin>=0.13,<0.14"]
build-backend = "maturin"

0 comments on commit fb8d88a

Please sign in to comment.