Skip to content
New issue

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

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

Already on GitHub? # to your account

ci: try using uv with cibuildwheel #999

Merged
merged 6 commits into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from 2 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
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches:
- main
workflow_dispatch:
pull_request:
paths:
- .github/workflows/release.yml

env:
# Latest Jupyter requires this to acknowledge deprecation
Expand Down Expand Up @@ -56,7 +59,9 @@ jobs:
- if: ${{ matrix.arch == 'aarch64' }}
uses: docker/setup-qemu-action@v3

- uses: pypa/cibuildwheel@v2.17.0
- uses: yezz123/setup-uv@v4

- uses: pypa/cibuildwheel@main
env:
CIBW_BUILD: ${{ matrix.py }}-*
CIBW_ARCHS: ${{ matrix.arch }}
Expand Down
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ files = ["src"]
no_implicit_optional = false

[tool.cibuildwheel]
build-frontend = "build[uv]"
# update skip when numpy wheels become available
skip = ["*-musllinux_*", "cp31?-manylinux_i686"]
test-requires = "pytest"
Expand All @@ -139,3 +140,4 @@ PIP_ONLY_BINARY = ":all:"
select = "cp3?-*"
manylinux-x86_64-image = "manylinux2010"
manylinux-i686-image = "manylinux2010"
build-frontend = "build"
Loading