Skip to content

Commit

Permalink
update Cython (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Mar 1, 2024
1 parent 1408642 commit 039022c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ on:
push:
branches: [main]
create:
workflow_dispatch:

jobs:
build_wheels:
Expand All @@ -23,7 +24,7 @@ jobs:
platforms: arm64

- name: Set up Python 3.x
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.x"
cache: "pip"
Expand All @@ -43,6 +44,13 @@ jobs:
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
CIBW_SKIP: pp*

- name: Build pure Python wheel
env:
MSGPACK_PUREPYTHON: "1"
run: |
pip install build
python -m build -w -o wheelhouse
- name: Upload Wheels to artifact
uses: actions/upload-artifact@v1
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
requires = [
# Also declared in requirements.txt, if updating here please also update
# there
"Cython~=3.0.0",
"Cython~=3.0.8",
"setuptools >= 35.0.2",
]
build-backend = "setuptools.build_meta"
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Also declared in pyproject.toml, if updating here please also update there.
Cython~=3.0.0
Cython~=3.0.8

# Tools required only for development. No need to add it to pyproject.toml file.
black==23.3.0
Expand Down

0 comments on commit 039022c

Please sign in to comment.