Skip to content
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
17 changes: 7 additions & 10 deletions .github/workflows/build_wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,19 +21,16 @@ jobs:
sudo apt-get update
sudo apt-get install -y python3-dev

- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
enable-cache: true
python-version: '3.12'

- name: Install cibuildwheel
run: pip install cibuildwheel>=3.0

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
env:
CIBW_BUILD_FRONTEND: "build[uv]"
with:
package-dir: .
output-dir: wheelhouse
config-file: "{package}/pyproject.toml"
run: cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
with:
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/make_sdist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ jobs:
sudo apt-get update
sudo apt-get install -y python3-dev

- name: Install uv
uses: astral-sh/setup-uv@v5
- name: Set up Python
uses: actions/setup-python@v5
with:
enable-cache: true
python-version: '3.12'

- name: Build source distribution
run: uv build --sdist
run: |
pip install build
python -m build --sdist

- uses: actions/upload-artifact@v4
with:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ local_scheme = "no-local-version"
package = false

[tool.cibuildwheel]
skip = ["cp36*", "cp37*", "cp38*", "pp*", "*-win32", "*-win_amd64"]
skip = ["*-win32", "*-win_amd64"]
build-verbosity = 2
before-build = "cd {project} && git describe"
test-requires = ["pytest"]
Expand Down