update Cython (#581)

This commit is contained in:
Inada Naoki 2024-03-01 19:24:06 +09:00 committed by GitHub
parent 140864249f
commit 039022cecb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 11 additions and 3 deletions

View file

@ -3,6 +3,7 @@ on:
push:
branches: [main]
create:
workflow_dispatch:
jobs:
build_wheels:
@ -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"
@ -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:

View file

@ -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"

View file

@ -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