Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update Cython #581

Merged
merged 3 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading