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
2 changes: 1 addition & 1 deletion .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
- name: Setup uv & nox
uses: ./.github/actions/setup-uv-nox
- name: Build wheel
uses: pypa/cibuildwheel@8d2b08b68458a16aeb24b64e68a09ab1c8e82084 # v3.4.1
uses: pypa/cibuildwheel@f03ac7617d6cff873ccf24cc0d567ef5ba5a9e6d # v4.0.0
env:
CIBW_ARCHS: "${{ matrix.archs }}"
CIBW_BUILD: "cp312-${{ matrix.build }}*"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
sudo udevadm control --reload-rules
sudo udevadm trigger --name-match=kvm
- name: Build wheels
uses: pypa/cibuildwheel@f6bd0477ccc60aa8a7a89b8c1eee6bbbd3fe0dbb # v4.0.0rc2
uses: pypa/cibuildwheel@f03ac7617d6cff873ccf24cc0d567ef5ba5a9e6d # v4.0.0
env:
CIBW_ARCHS: "${{ matrix.archs }}"
CIBW_BUILD: "${{ matrix.build && '*-' || ''}}${{ matrix.build }}*"
Expand Down Expand Up @@ -185,7 +185,7 @@ jobs:
- run: |
set -x
WHEEL_COUNT=$(find dist -name '*.whl' | wc -l)
EXPECTED_WHEEL_COUNT=${{ startsWith(github.ref, 'refs/tags/v') && '172' || '215' }}
EXPECTED_WHEEL_COUNT=${{ startsWith(github.ref, 'refs/tags/v') && '167' || '210' }}
test ${WHEEL_COUNT} -eq ${EXPECTED_WHEEL_COUNT}
uvx twine check --strict dist/*

Expand Down
2 changes: 2 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ repos:
name: mypy 3.9
entry: mypy
language: python
language_version: "3.12"
stages: [manual]
'types_or': [ python, pyi ]
exclude: docs|tools|conftest.py
args: ["--python-version=3.9"]
Expand Down
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def _install_dep_group(session: nox.Session, *groups: str, only_binary: bool = T
def lint(session: nox.Session) -> None:
"""Run linters on the codebase."""
_install_dep_group(session, "lint")
session.run("prek", "run", "--all-files", *session.posargs)
session.run("prek", "run", "--hook-stage=manual", "--all-files", *session.posargs)


def update_env_macos(session: nox.Session, env: dict[str, str]) -> None:
Expand Down
Loading