Commit Graph

125 Commits

Author SHA1 Message Date
Hynek Schlawack
015f66c5dc
update actions 2026-05-06 10:42:37 +02:00
Hynek Schlawack
afa51cd436
Use release-pypi environment 2026-05-06 10:41:25 +02:00
Hugo van Kemenade
f0d9da739d
Download artifacts and publish to PyPI (#122)
* Download artifacts and publish to PyPI

* Comment out enviroment

* Add comment to permissions

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>
2026-05-06 10:36:26 +02:00
dependabot[bot]
5bf414beae
Bump the github-actions group with 5 updates (#123)
Bumps the github-actions group with 5 updates:

| Package | From | To |
| --- | --- | --- |
| [github/codeql-action](https://github.com/github/codeql-action) | `4.35.1` | `4.35.2` |
| [astral-sh/setup-uv](https://github.com/astral-sh/setup-uv) | `7.6.0` | `8.1.0` |
| [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) | `3.4.0` | `3.4.1` |
| [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.0` | `7.0.1` |
| [zizmorcore/zizmor-action](https://github.com/zizmorcore/zizmor-action) | `0.5.2` | `0.5.3` |


Updates `github/codeql-action` from 4.35.1 to 4.35.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](c10b8064de...95e58e9a2c)

Updates `astral-sh/setup-uv` from 7.6.0 to 8.1.0
- [Release notes](https://github.com/astral-sh/setup-uv/releases)
- [Commits](37802adc94...08807647e7)

Updates `pypa/cibuildwheel` from 3.4.0 to 3.4.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](ee02a1537c...8d2b08b684)

Updates `actions/upload-artifact` from 7.0.0 to 7.0.1
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](bbbca2ddaa...043fb46d1a)

Updates `zizmorcore/zizmor-action` from 0.5.2 to 0.5.3
- [Release notes](https://github.com/zizmorcore/zizmor-action/releases)
- [Commits](71321a20a9...b1d7e1fb5d)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 4.35.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: astral-sh/setup-uv
  dependency-version: 8.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: pypa/cibuildwheel
  dependency-version: 3.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 7.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: zizmorcore/zizmor-action
  dependency-version: 0.5.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-05-01 19:41:26 +02:00
Hynek Schlawack
ca808c0e8d
update dev 2026-03-29 13:45:19 +02:00
Hynek Schlawack
8e2fa4cc6e
Use uvx to run cibuildwheel on RISC-V (#118)
* Use uvx to run cibuildwheel on RISC-V

Oldest uvx mistake ever

Cache bust on arch

* Choose Python explicitly

* Simplify os/arch handling

* Add name

* Use official

* Cache only for local builds

* Zizmor is not happy
2026-03-29 13:40:22 +02:00
Hynek Schlawack
2c740a9551
Pass on pedantic Zizmor (#119)
* Add concurrency limits

* ci: pass on pedantic zizmor
2026-03-29 11:49:01 +02:00
Bruno Verachten
0126ae476f
ci: switch riscv64 from QEMU to native RISE runner (#117)
* ci: switch riscv64 from QEMU to native RISE runner

* fix: use RISE runner Python, skip setup-uv on riscv64

* fix: run cibuildwheel via pipx on riscv64 (bypass setup-python)
2026-03-29 11:21:23 +02:00
Hynek Schlawack
91424d1789
Use baipp for matrix (#116)
* Use baipp for matrix

* Build ft

* Test latest pypy

* does this work?

* It doesn't

* Use baipp's python-version
2026-03-26 18:41:38 +01:00
Hynek Schlawack
dc66c35ff7
update dev 2026-03-26 17:20:38 +01:00
Hynek Schlawack
1a83ca75b9
Manually install uv (#115)
* Manually install uv

* Use official

* Use plain build for RISC-V

* Musl too

* Disable setup-uv cache

To make Zizmor shut up
2026-03-06 09:56:34 +01:00
Hynek Schlawack
f205c49f4a
Update cibuildwheel & use uv frontend 2026-03-06 06:34:06 +01:00
dependabot[bot]
49cd33921b
Bump github/codeql-action in the github-actions group (#113) 2026-03-01 16:00:15 +01:00
Hynek Schlawack
900ce08474
Simplify CI definition (#111)
* Simplify CI definition

Courtesy of modern tox.

* Add Python 3.15 to CI
2026-02-21 14:25:22 +01:00
Hynek Schlawack
1bf08b858f
fix link 2026-02-21 13:25:08 +01:00
Hynek Schlawack
6cf82482f8
Update funding links 2026-02-21 13:23:46 +01:00
Hynek Schlawack
2efc65b223
update dev 2026-02-21 13:21:49 +01:00
Julien Stephan
fa8ea7c587
ci: add riscv64 manylinux/musllinux wheels (#106)
* ci: add riscv64 manylinux/musllinux wheels

Now that cibuildwheel and PyPI support riscv64, we can start building
riscv64 wheels.

Because there is no native riscv64 runner available, this PR adds a
QEMU-based riscv64 job to the cibuildwheel workflow.

Signed-off-by: Julien Stephan <jstephan@baylibre.com>

* Pin action

---------

Signed-off-by: Julien Stephan <jstephan@baylibre.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2026-02-21 13:13:28 +01:00
dependabot[bot]
5aecea837f
Bump the github-actions group with 3 updates (#109)
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `actions/checkout` from 6.0.1 to 6.0.2
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](8e8c483db8...de0fac2e45)

Updates `actions/setup-python` from 6.1.0 to 6.2.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](83679a892e...a309ff8b42)

Updates `pypa/cibuildwheel` from 3.3.0 to 3.3.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](63fd63b352...298ed2fb2c)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: 6.2.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: pypa/cibuildwheel
  dependency-version: 3.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-04 10:06:32 +01:00
dependabot[bot]
57f95db3e2
Bump the github-actions group with 3 updates (#107)
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [github/codeql-action](https://github.com/github/codeql-action) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `actions/checkout` from 6.0.0 to 6.0.1
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](1af3b93b68...8e8c483db8)

Updates `github/codeql-action` from 4.31.2 to 4.31.9
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](0499de31b9...5d4e8d1aca)

Updates `actions/upload-artifact` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](330a01c490...b7c566a772)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.31.9
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2026-01-06 07:21:08 +01:00
dependabot[bot]
80defe0a02
Bump the github-actions group with 3 updates (#104)
Bumps the github-actions group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/setup-python](https://github.com/actions/setup-python) and [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel).


Updates `actions/checkout` from 5.0.0 to 6.0.0
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](08c6903cd8...1af3b93b68)

Updates `actions/setup-python` from 6.0.0 to 6.1.0
- [Release notes](https://github.com/actions/setup-python/releases)
- [Commits](e797f83bcb...83679a892e)

Updates `pypa/cibuildwheel` from 3.2.1 to 3.3.0
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](9c00cb4f6b...63fd63b352)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: 6.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
- dependency-name: actions/setup-python
  dependency-version: 6.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: pypa/cibuildwheel
  dependency-version: 3.3.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-12-01 11:26:57 -10:00
Hynek Schlawack
edd8100d03
Raise cooldown 2025-12-01 08:50:16 -10:00
Hynek Schlawack
31307f83de
Align CoC with PSF 2025-12-01 08:50:11 -10:00
Hynek Schlawack
32d6318492
dependabot: add cooldown 2025-11-04 07:35:04 +01:00
dependabot[bot]
dd0d4d6e0c
Bump the github-actions group with 4 updates (#101)
Bumps the github-actions group with 4 updates: [hynek/build-and-inspect-python-package](https://github.com/hynek/build-and-inspect-python-package), [github/codeql-action](https://github.com/github/codeql-action), [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) and [actions/upload-artifact](https://github.com/actions/upload-artifact).


Updates `hynek/build-and-inspect-python-package` from 2.13.0 to 2.14.0
- [Release notes](https://github.com/hynek/build-and-inspect-python-package/releases)
- [Changelog](https://github.com/hynek/build-and-inspect-python-package/blob/main/CHANGELOG.md)
- [Commits](c52c3a4710...efb823f521)

Updates `github/codeql-action` from 4.30.7 to 4.31.2
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](e296a93559...0499de31b9)

Updates `pypa/cibuildwheel` from 3.2.0 to 3.2.1
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](7c619efba9...9c00cb4f6b)

Updates `actions/upload-artifact` from 4.6.2 to 5.0.0
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](ea165f8d65...330a01c490)

---
updated-dependencies:
- dependency-name: hynek/build-and-inspect-python-package
  dependency-version: 2.14.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: github/codeql-action
  dependency-version: 4.31.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: github-actions
- dependency-name: pypa/cibuildwheel
  dependency-version: 3.2.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: github-actions
- dependency-name: actions/upload-artifact
  dependency-version: 5.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: github-actions
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-02 06:35:42 +01:00
Hynek Schlawack
73d54868f0
update 2025-10-08 07:24:35 +02:00
Hynek Schlawack
d8c924efe7
ci: run tests on 3.11, too 2025-10-02 09:36:35 +02:00
Hynek Schlawack
4f55b64dd4
Update dev, add PyPy 3.11 (#99)
PyPy 3.10 is EOL now
2025-10-02 09:00:32 +02:00
Hynek Schlawack
8adc3d1d5c
Group dependabot updates 2025-10-02 08:12:52 +02:00
Hynek Schlawack
4b8c12f1f2
Pin all actions 2025-09-09 10:31:57 +02:00
Hynek Schlawack
cc7181e7de
Use dependency groups (#94)
* Use dependency groups

* Ensure dev env contains pytest

* Doesn't work

* Use dep group in dev env

* update ruff
2025-07-30 09:30:51 +02:00
Hynek Schlawack
1aad4747f9
Add support for free-threaded builds (#70)
* Build free-threaded wheels, disable limited API there

Co-authored-by: Min RK <151929+minrk@users.noreply.github.com>

* Try installing libffi-dev on Linux

It's faling due to lack of includes. Presumably because the lack of cffi
wheels.

* Revert "Try installing libffi-dev on Linux"

Does not work.

* Merge

* Actually build FT

* support the free-threaded build of Python 3.14 (#93)

* support the free-threaded build of Python 3.14

* attempt to get 3.14t CI to run

* Add trove classifier

* Add changelog

* Add 3.14 trove classifier, too

---------

Co-authored-by: Hynek Schlawack <hs@ox.cx>

---------

Co-authored-by: Min RK <151929+minrk@users.noreply.github.com>
Co-authored-by: Nathan Goldbaum <nathan.goldbaum@gmail.com>
2025-07-30 08:53:31 +02:00
dependabot[bot]
3ed9734847
Bump pypa/cibuildwheel from 2.23 to 3.0 (#91)
* Bump pypa/cibuildwheel from 2.23 to 3.0

Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.23 to 3.0.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.23...v3.0)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-version: '3.0'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* Stop skipping tests?

* Switch config to pyproject.toml, build only universal2

* They're bigger on older versions it seems

* Build all, build PyPy

* PyPy 3.9 is broken on Windows

* Build on macOS 14 for PyPy ARM

* clarify

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2025-07-10 08:52:38 +02:00
Hynek Schlawack
e5d69b7ef5
Zizmor: clarify trust 2025-06-04 12:00:15 +02:00
Hynek Schlawack
8317e09638
Add 3.14 (#89) 2025-05-27 11:43:05 +02:00
Finn Womack
e07411ec9c
Add arm64 wheel build for Windows (#83) 2025-04-30 19:45:06 +02:00
Hynek Schlawack
8a7a5bfb45
Build wheels on pull requests
In the end, this is why this project exists.
2025-04-17 12:58:27 +02:00
Hynek Schlawack
a02dd83c8e
Remove qemu from wheel builder (#87) 2025-04-17 12:41:43 +02:00
Hynek Schlawack
c838d1ef62
GHA dropped 20.04 2025-04-17 12:12:50 +02:00
Hynek Schlawack
b0d1c2acd7
Use ARM runner for Linux instead of QEMU (#81) 2025-03-06 10:12:11 +01:00
Hynek Schlawack
6367447e24
RIP macOS-12 2025-03-06 09:55:43 +01:00
dependabot[bot]
4ea5b1e1ca
Bump pypa/cibuildwheel from 2.22 to 2.23 (#79)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.22 to 2.23.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.22...v2.23)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2025-03-06 08:54:48 +00:00
Hynek Schlawack
412fd44b31
Faster Zizmor 2025-02-04 10:30:45 +01:00
pre-commit-ci[bot]
9f7a976a31
[pre-commit.ci] pre-commit autoupdate (#78)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.8.6 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.8.6...v0.9.4)
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.1)

* Fix ci

* Actually fix

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2025-02-04 10:30:12 +01:00
dependabot[bot]
0e0bdcf449
Bump pypa/cibuildwheel from 2.21 to 2.22 (#75)
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.21 to 2.22.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](https://github.com/pypa/cibuildwheel/compare/v2.21...v2.22)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Hynek Schlawack <hs@ox.cx>
2024-12-03 06:52:17 +01:00
Hynek Schlawack
20e2010519
Simplify linting (#73) 2024-10-31 16:40:18 +01:00
Hynek Schlawack
1176780bec
Thank you Doctor Zizmor! (#72) 2024-10-31 16:30:25 +01:00
Hynek Schlawack
0b4828b5bd
Slightly less YOLO 2024-10-15 11:04:52 +02:00
Hynek Schlawack
12f702d0bc
YOLO cibuildwheel 2024-10-15 10:54:37 +02:00
Hynek Schlawack
4e78fa5654
Use latest cibuildwheel 2024-10-08 08:12:44 +02:00