Skip to content

Commit

Permalink
upgrade PyO3 to 0.14
Browse files Browse the repository at this point in the history
This fixes a build issue under PyPy:
#18

This raises the minimum support Python version to 3.6.
  • Loading branch information
oconnor663 committed Jul 18, 2021
1 parent a5d8eab commit 034c568
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/maturin_build_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# for consistency.
if platform.system() == "Linux":
version_path_components = {
(3, 5): "cp35-cp35m",
(3, 6): "cp36-cp36m",
(3, 7): "cp37-cp37m",
(3, 8): "cp38-cp38",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9] # This list needs to be kept in sync with tag.yml and maturin_build_wheel.py.
python-version: [3.6, 3.7, 3.8, 3.9] # This list needs to be kept in sync with tag.yml and maturin_build_wheel.py.
rust-toolchain: [stable, beta, nightly]
platform: [
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ${{ matrix.platform.os }}
strategy:
matrix:
python-version: [3.5, 3.6, 3.7, 3.8, 3.9] # This list needs to be kept in sync with push.yml and maturin_build_wheel.py.
python-version: [3.6, 3.7, 3.8, 3.9] # This list needs to be kept in sync with push.yml and maturin_build_wheel.py.
platform: [
{ os: "ubuntu-latest", python-architecture: "x64", rust-target: "x86_64-unknown-linux-gnu" },
{ os: "macOS-latest", python-architecture: "x64", rust-target: "x86_64-apple-darwin" },
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ neon = ["blake3/neon"]

[dependencies]
blake3 = { version = "0.3.5", features = ["rayon"] }
pyo3 = { version = "0.12", features = ["extension-module"] }
pyo3 = { version = "0.14", features = ["extension-module"] }
arrayref = "0.3.6"
hex = "0.4.2"

0 comments on commit 034c568

Please sign in to comment.