Skip to content
Open
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
21 changes: 13 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ env:
assert a.ecdh(b.public_key.format())==b.ecdh(a.public_key.format())
" &&
python -m pytest {project}
CIBW_SKIP: >
pp*
SKBUILD_LOGGING_LEVEL: 'DEBUG'

jobs:
test:
Expand Down Expand Up @@ -81,7 +80,7 @@ jobs:
path: coverage.xml

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7

- name: Benchmark
run: uv run --python-preference system scripts/bench.py
Expand Down Expand Up @@ -119,7 +118,7 @@ jobs:
- uses: actions/checkout@v5

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0

- uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -159,7 +158,7 @@ jobs:
- uses: actions/checkout@v5

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0

- uses: actions/upload-artifact@v4
with:
Expand All @@ -180,8 +179,11 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_ARCHS_WINDOWS: 'AMD64'
CIBW_BEFORE_ALL: choco install -y --no-progress --no-color cmake>=3.28
Expand All @@ -201,8 +203,11 @@ jobs:
steps:
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0
env:
COINCURVE_CROSS_HOST: 'arm64'
CIBW_ARCHS_WINDOWS: 'ARM64'
Expand Down Expand Up @@ -251,7 +256,7 @@ jobs:
platforms: arm64

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_ARCHS_LINUX: aarch64

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/verify_conda_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ env:
assert a.ecdh(b.public_key.format())==b.ecdh(a.public_key.format())
" &&
python -m pytest {project}
CIBW_SKIP: >
pp*

jobs:
test:
Expand Down Expand Up @@ -70,7 +68,7 @@ jobs:
run: LD_LIBRARY_PATH=$CONDA_PREFIX/lib hatch test

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7

- name: Benchmark
run: LD_LIBRARY_PATH=$CONDA_PREFIX/lib uv run --python-preference system scripts/bench.py
Expand Down
25 changes: 18 additions & 7 deletions .github/workflows/verify_shared_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ env:
" &&
python -m pytest {project}
CIBW_TEST_SKIP: "*-macosx_arm64"
CIBW_SKIP: >
pp*
SKBUILD_LOGGING_LEVEL: 'DEBUG'

jobs:
test:
Expand Down Expand Up @@ -66,7 +65,7 @@ jobs:
run: hatch test

- name: Install uv
uses: astral-sh/setup-uv@v5
uses: astral-sh/setup-uv@v7

- name: Benchmark
run: uv run --python-preference system scripts/bench.py
Expand All @@ -81,7 +80,7 @@ jobs:
- uses: actions/checkout@v5

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0

macos-wheels-x86_64:
name: Build macOS wheels for x86-64
Expand All @@ -92,6 +91,9 @@ jobs:
steps:
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v3.2.0
env:
Expand All @@ -108,8 +110,11 @@ jobs:
steps:
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0

windows-wheels-x86_64:
name: Build Windows wheels for x86-64
Expand All @@ -124,8 +129,11 @@ jobs:
with:
python-version: ${{ env.PYTHON_VERSION }}

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0
env:
CIBW_ARCHS_WINDOWS: 'AMD64'
CIBW_BEFORE_ALL: choco install -y --no-progress --no-color cmake>=3.28
Expand All @@ -139,8 +147,11 @@ jobs:
steps:
- uses: actions/checkout@v5

- name: Install uv
uses: astral-sh/setup-uv@v7

- name: Build wheels
uses: pypa/cibuildwheel@v2.23
uses: pypa/cibuildwheel@v3.2.0
env:
COINCURVE_CROSS_HOST: 'arm64'
CIBW_ARCHS_WINDOWS: 'ARM64'
Expand Down
5 changes: 5 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -139,3 +139,8 @@ pretty = true
show_column_numbers = true
warn_no_return = false
warn_unused_ignores = true

# --- cibuildwheel ---
[tool.cibuildwheel]
build-frontend = "build[uv]"
skip = "cp3??t-*"
Loading