Skip to content
Closed
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
22 changes: 10 additions & 12 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ permissions:

jobs:
build:
name: Build 3.${{ matrix.python }} ${{ matrix.os }}
name: Build ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
Expand All @@ -26,10 +26,6 @@ jobs:
ubuntu-24.04-arm, # https://github.com/actions/partner-runner-images/issues/37
macos-latest,
]
python: [
12,
13,
]

steps:
- name: Github context
Expand All @@ -42,15 +38,19 @@ jobs:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref || github.ref }}

- name: Install UV
- name: Install UV 3.12
uses: astral-sh/[email protected]
id: setup-uv
with:
enable-cache: true
prune-cache: false
python-version: 3.${{ matrix.python }}
python-version: 3.12
version: '0.5.24'
cache-suffix: 3.${{ matrix.python }}
cache-suffix: 3.12

- name: Setup python 3.13
uses: actions/setup-python@v4
with:
python-version: 3.13

- name: Fetch tags
run: |
Expand All @@ -60,12 +60,10 @@ jobs:
# TODO: add cbuildwheel cache
- name: Build wheel
uses: pypa/[email protected]
env:
CIBW_BUILD: "*cp3${{ matrix.python }}*"

- uses: actions/upload-artifact@v4
with:
name: wheels-${{ matrix.os }}-3.${{ matrix.python }}
name: wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

release:
Expand Down
4 changes: 3 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -224,12 +224,14 @@ DEP004 = "pytest"
[tool.deptry.package_module_name_map]
python-levenshtein = ["Levenshtein"]
PyGithub = ["github"]

[tool.cibuildwheel]
build-frontend = "build[uv]"
build-frontend = { name = "build[uv]", args = ["--no-build-isolation"] }
skip = ["*i686*", "*musllinux*"]
environment = { "HATCH_BUILD_HOOKS_ENABLE" = "true" }
manylinux-x86_64-image = "quay.io/pypa/manylinux_2_34_x86_64"
manylinux-aarch64-image = "quay.io/pypa/manylinux_2_34_aarch64"

[tool.cibuildwheel.linux]
before-all = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
environment = { "PATH" = "$HOME/.cargo/bin:$PATH" }
Loading