Joe Rickerby and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
25f2d3f313
Inline dependency-versions syntax ( #2122 )
...
* Write docs for inline dependency-versions
* Change the `inline` keyword to `packages` for better readability
* Implement inline package constraints
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add schema for TOML properties
* Change the parsing of the option to parse filenames as-is
* Add a unit test for table-parsing of the option
* Remove unneeded shlex.quote on the dependency-version test
* Tidy-ups, comments, docs fixes
* Add test for empty packages option value
* Fix empty packages scenario
And, remove some optionals to reduce the problem space
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-10 21:45:54 +00:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
f5e502aa88
[pre-commit.ci] pre-commit autoupdate ( #2311 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.9 → v0.9.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.9...v0.9.10 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.2 → 0.31.3](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.2...0.31.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-10 16:30:50 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
849921caef
chore(deps): bump actions/attest-build-provenance from 2.2.2 to 2.2.3 in the actions group ( #2310 )
...
chore(deps): bump actions/attest-build-provenance in the actions group
Bumps the actions group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ).
Updates `actions/attest-build-provenance` from 2.2.2 to 2.2.3
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](https://github.com/actions/attest-build-provenance/compare/bd77c077858b8d561b7a36cbe48ef4cc642ca39d...c074443f1aee8d4aeeae555aebba3282517141b2 )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-10 16:30:36 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
8c51c26bf7
[Bot] Update dependencies ( #2309 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-03-10 16:30:18 -04:00
Joe Rickerby
c136aefe20
chore: optimise unit tests ( #2293 )
...
* optimise unit tests - Cache loading the config TOML
Unit test time: 13.1s -> 10.5s
* optimise unit tests - use the same pyproject validator across the tests
Unit test time: 10.5s -> 5.7s
* optimise unit tests - selector optimisation
Unit test time: 5.7s -> 5.1s
* optimise unit tests - build options computation cache
Unit test time: 5.1s -> 3.2s
* Use functools.cache rather than functools.lru_cache
* Don't overwrite build_options when applying functools.cache
2025-03-10 21:29:07 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
bddd438a88
chore(deps): bump actions/attest-build-provenance from 2.2.0 to 2.2.2 in the actions group ( #2299 )
...
chore(deps): bump actions/attest-build-provenance in the actions group
Bumps the actions group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ).
Updates `actions/attest-build-provenance` from 2.2.0 to 2.2.2
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](https://github.com/actions/attest-build-provenance/compare/520d128f165991a6c774bcb264f323e3d70747f4...bd77c077858b8d561b7a36cbe48ef4cc642ca39d )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-06 16:55:05 -05:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
ee94e7fdf8
[Bot] Update dependencies ( #2298 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-03-06 16:54:56 -05:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
ea26d56b5a
[pre-commit.ci] pre-commit autoupdate ( #2301 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.7 → v0.9.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.7...v0.9.9 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-03-06 16:54:30 -05:00
Joe Rickerby
efa1bedd1f
Merge branch '2.x'
2025-03-01 13:35:51 +00:00
Joe Rickerby
6cccd09a31
Bump version: v2.23.0
v2.23.0
2025-03-01 13:27:50 +00:00
Matthieu Darbois
0b052a43b7
fix(ci): Cirrus CI does not allow armv7l builds on aarch64 ( #2296 )
2025-03-01 11:51:38 +00:00
Matthieu Darbois
aa1534d2a3
chore(2.x): update dependencies ( #2294 )
2025-03-01 11:49:19 +00:00
Joe Rickerby
9e72cd9b54
feat: Print FatalError messages using Logger ( #2292 )
...
* feat: Print FatalError messages using Logger
This makes them appear GHA annotations in CI logs, which makes them easier to spot. I've also added the "cibuildwheel: " prefix to those errors, I think it helps when viewing a log to know which tool is talking to you - it can be difficult to understand with build tools.
* Nicer error message on invalid architecture
* Fix some message formatting and test expectations
2025-03-01 10:47:44 +01:00
Henry Schreiner
708cf1d32b
style: remove from future import annotations
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
1b63074d76
chore: remove PopenBytes & TYPE_CHECKING
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
783be9bc2f
chore: add pathlib check
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
3e37148923
chore: remove staticmethod to appease buggy pylint check
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
183a7c3f1d
chore: some cleanup from ruff --preview checks
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
2f62696400
chore: use StrEnum from Python 3.11
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Henry Schreiner
63a7c44b7f
chore: cleanup for 3.11+
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-28 16:38:15 -05:00
Lehman Garrison
88ef8dbd29
fix: avoid races in filesystem ops ( #2287 )
...
Use `exist_ok` and `missing_ok` in pathlib operations where we can.
2025-02-26 10:56:35 -05:00
Russell Keith-Magee and Joe Rickerby
4d37797aa6
Correct handling of test_sources on universal macOS builds. ( #2284 )
...
* Correct handling of test_sources on universal macOS builds.
* Make the test sources modifications macOS only.
* Don't use unittest discovery - that needs an actual test.
* Add comment explaining test source creation
Co-authored-by: Joe Rickerby <joerick@mac.com >
* Simplify dict usage.
---------
Co-authored-by: Joe Rickerby <joerick@mac.com >
2025-02-26 09:13:09 +00:00
Matthieu Darbois
7e5810c550
feat: drop python 3.6 & 3.7 support ( #2282 )
2025-02-25 14:23:01 -05:00
mayeut
ee23dd147b
fix(test): implement retry for test_container_removed
...
The test is flaky on some platforms. Implement retry rather than just skip.
2025-02-25 14:22:19 -05:00
Matthieu Darbois
55037e9716
ci/doc: move azure macOS build to macOS-13 ( #2101 )
...
The macOS-12 environment is deprecated.
2025-02-25 14:22:19 -05:00
Joe Rickerby
8874ee2048
Remove specific Python versions from the update-dependencies job
...
The requirements pinning is done by uv now, so we don't need to
run the versions of Python to do the pinning anymore.
Cherry-picked from 37f7f611b208f48d4bb80a35eb31e39e47102930
2025-02-25 14:22:19 -05:00
mayeut
f76d345e81
chore: bump dependencies
2025-02-25 14:22:19 -05:00
Agriya Khetarpal
5a5e514fbd
Bump to Pyodide 0.27 ( #2117 )
...
* Bump to Pyodide 0.27
* Update the Pyodide target's constraints
2025-02-25 14:22:19 -05:00
Matthieu Darbois
017abbba68
feature: add PyPy 3.11 ( #2268 )
2025-02-25 14:22:19 -05:00
Matthieu Darbois
bb1fd3320e
feat: Add support for ubuntu-24.04-arm GHA runner ( #2135 )
...
* ci(gha): add tests on ubuntu-24.04-arm
* address review comments
2025-02-25 14:22:19 -05:00
Matthieu Darbois
98a6f3bf64
chore: use pypa/manylinux for manylinux_2_31_armv7l ( #2269 )
2025-02-25 14:22:19 -05:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
e061af0b82
[pre-commit.ci] pre-commit autoupdate ( #2288 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.6 → v0.9.7](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.6...v0.9.7 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.1 → 0.31.2](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.1...0.31.2 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-25 07:44:56 +01:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
6578d1a4f9
[Bot] Update dependencies ( #2285 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-02-25 07:44:10 +01:00
Henry Schreiner
b08f1ba966
chore: use nox 2025.2.9 features ( #2274 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2025-02-25 07:43:09 +01:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
34315ff651
[Bot] Update dependencies ( #2278 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-02-19 15:01:11 -05:00
Matthieu Darbois
c93d51ec54
feat: add armv7l in auto_archs when running on aarch64 ( #2259 )
...
* feat: add armv7l in auto_archs when running on aarch64
This depends on aarch32 EL0 support and thus is done conditionally.
* ci(travis): move to Ubuntu 22.04 / cp312
2025-02-12 10:54:44 -05:00
Matthieu Darbois
c738289583
chore: use pypa/manylinux for manylinux_2_31_armv7l ( #2269 )
2025-02-12 10:52:48 -05:00
Matthieu Darbois
a0f457675d
doc: add a warning about x86-64-v2 for manylinux_2_34 ( #2270 )
2025-02-12 10:52:12 -05:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
a787e5d7c9
[Bot] Update dependencies ( #2272 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-02-12 10:51:47 -05:00
Matthieu Darbois
9cca4ce881
feature: add PyPy 3.11 ( #2268 )
2025-02-12 10:51:33 -05:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
91b09c1c85
[pre-commit.ci] pre-commit autoupdate ( #2275 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.4 → v0.9.6](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.4...v0.9.6 )
- [github.com/pre-commit/mirrors-mypy: v1.14.1 → v1.15.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.14.1...v1.15.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-10 23:24:45 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
fad71e8d6d
chore(deps): bump wntrblm/nox from 2024.10.09 to 2025.02.09 in the actions group ( #2273 )
...
chore(deps): bump wntrblm/nox in the actions group
Bumps the actions group with 1 update: [wntrblm/nox](https://github.com/wntrblm/nox ).
Updates `wntrblm/nox` from 2024.10.09 to 2025.02.09
- [Release notes](https://github.com/wntrblm/nox/releases )
- [Changelog](https://github.com/wntrblm/nox/blob/main/CHANGELOG.md )
- [Commits](https://github.com/wntrblm/nox/compare/2024.10.09...2025.02.09 )
---
updated-dependencies:
- dependency-name: wntrblm/nox
dependency-type: direct:production
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-10 11:17:31 -05:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
3805787fe7
[Bot] Update dependencies ( #2267 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-02-09 10:54:24 +01:00
Maxim Evtush
9bfd0800fe
Update LICENSE ( #2264 )
2025-02-06 10:41:03 +00:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3c5c62cf8c
[pre-commit.ci] pre-commit autoupdate ( #2261 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.3 → v0.9.4](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.3...v0.9.4 )
- [github.com/codespell-project/codespell: v2.4.0 → v2.4.1](https://github.com/codespell-project/codespell/compare/v2.4.0...v2.4.1 )
- [github.com/python-jsonschema/check-jsonschema: 0.31.0 → 0.31.1](https://github.com/python-jsonschema/check-jsonschema/compare/0.31.0...0.31.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2025-02-05 21:54:56 -05:00
Joe Rickerby
0dcc90f3e4
fix: add missing schema for test-sources ( #2258 )
2025-02-03 15:10:44 -05:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
36259f4582
[Bot] Update dependencies ( #2260 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2025-02-03 15:09:37 -05:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
b656a829c8
chore(deps): bump actions/attest-build-provenance from 2.1.0 to 2.2.0 in the actions group ( #2254 )
...
chore(deps): bump actions/attest-build-provenance in the actions group
Bumps the actions group with 1 update: [actions/attest-build-provenance](https://github.com/actions/attest-build-provenance ).
Updates `actions/attest-build-provenance` from 2.1.0 to 2.2.0
- [Release notes](https://github.com/actions/attest-build-provenance/releases )
- [Changelog](https://github.com/actions/attest-build-provenance/blob/main/RELEASE.md )
- [Commits](https://github.com/actions/attest-build-provenance/compare/7668571508540a607bdfd90a87a560489fe372eb...520d128f165991a6c774bcb264f323e3d70747f4 )
---
updated-dependencies:
- dependency-name: actions/attest-build-provenance
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: actions
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-29 16:09:01 -05:00
e43288dd77
[pre-commit.ci] pre-commit autoupdate ( #2255 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.9.2 → v0.9.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.9.2...v0.9.3 )
- [github.com/codespell-project/codespell: v2.3.0 → v2.4.0](https://github.com/codespell-project/codespell/compare/v2.3.0...v2.4.0 )
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update .pre-commit-config.yaml
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
2025-01-28 11:18:32 -05:00
Matthieu Darbois
b605f8fec8
chore: refactor cibuildwheel.utils ( #2252 )
...
* chore: refactor cibuildwheel.utils
* rework build_frontend extra flags
* ci(fix): use tonistiigi/binfmt:qemu-v8.1.5 image for qemu
2025-01-27 14:35:56 -05:00