Skip to content

Commit

Permalink
Upgrade pyo3 to 0.14.1 (#62)
Browse files Browse the repository at this point in the history
* Upgrade pyo3 to 0.14.1

* Only build universal2 wheels for Python 3.8+

Apple Silicon Mac only supports Python 3.8 and later anyway.
  • Loading branch information
messense authored Jul 13, 2021
1 parent b43cc01 commit c23621d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ jobs:
run: |
pip install cramjam --no-index --find-links dist --force-reinstall
- name: Build wheels - universal2
if: ${{ matrix.python-version >= '3.8' }}
uses: messense/maturin-action@v1
with:
args: -i python --release --universal2 --out dist --no-sdist
- name: Install built wheel - universal2
if: ${{ matrix.python-version >= '3.8' }}
run: |
pip install cramjam --no-index --find-links dist --force-reinstall
- name: Python UnitTest
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ codegen-units = 1
opt-level = 3

[dependencies]
pyo3 = { version = "0.13.2", default-features = false, features = ["macros"] }
pyo3 = { version = "0.14.1", default-features = false, features = ["macros"] }
snap = "^1"
brotli2 = "^0.3"
lz4 = "^1"
flate2 = "^1"
zstd = "0.6.1+zstd.1.4.9"
numpy = "0.13.0"
zstd = "0.9.0+zstd.1.5.0"
numpy = "0.14.0"

[dependencies.mimalloc]
version = "0.1.24"
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"]
requires = ["maturin>=0.11,<0.12"]
build-backend = "maturin"

0 comments on commit c23621d

Please sign in to comment.