cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
5af5df4e4f
[Bot] Update dependencies ( #1935 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-07-21 19:56:36 +02:00
Conor MacBride
6c5cf87871
docs: fix nox docs command ( #1938 )
2024-07-21 11:37:43 +02:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
46f4108f23
chore(deps): bump actions/attest-build-provenance from 1.3.2 to 1.3.3 in the actions group ( #1936 )
...
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 1.3.2 to 1.3.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/bdd51370e0416ac948727f861e03c2f05d32d78e...5e9cb68e95676991667494a6a4e59b8a2f13e1d0 )
---
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>
2024-07-21 11:29:36 +02:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
1da439f8dc
[pre-commit.ci] pre-commit autoupdate ( #1939 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.1 → v0.5.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.1...v0.5.2 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.6 → 0.29.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.6...0.29.0 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-21 11:29:11 +02:00
Matthieu Darbois
7af9d039fb
fix: do not use uv on Windows PyPy 3.8 ( #1941 )
...
fix: do not use uv on PyPy 3.8
uv 0.2.25+ does not work with PyPy 3.8
Given PyPy 3.8 is EOL, just disable uv for this config rather than ask for it to be supported again in uv.
2024-07-21 10:51:43 +02:00
de84624d70
fix: set VSCMD_ARG_TGT_ARCH based on targeted architecture ( #1876 )
...
* set VSCMD_ARG_TGT_ARCH based on targetted architecture
* only set VSCMD_ARG_TGT_ARCH if not already set
* add unit tests to check setuptools correctly identifies windows arch
* only run tests on windows
* arm64 fails on azure pipelines (only)
* Update windows.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: Joe Rickerby <joerick@mac.com >
* update test_env_set to validate FatalError is raised on env collision
* remove noqa ARG001 (no longer needed)
---------
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Joe Rickerby <joerick@mac.com >
2024-07-12 14:32:42 -04:00
Matthieu Darbois
cac121a67d
chore: update examples to use python 3.12 ( #1919 )
2024-07-09 09:15:44 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
604da878cb
[Bot] Update dependencies ( #1923 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-07-09 09:14:32 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
eaf0051162
chore(deps): bump actions/attest-build-provenance from 1.1.2 to 1.3.2 in the actions group ( #1925 )
...
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 1.1.2 to 1.3.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/173725a1209d09b31f9d30a3890cf2757ebbff0d...bdd51370e0416ac948727f861e03c2f05d32d78e )
---
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>
2024-07-09 09:14:08 -04:00
Mike Taves
8dcf71e02d
DOC: fix link to correct PR number ( #1928 )
2024-07-09 09:13:20 -04:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
92f0142a3e
[pre-commit.ci] pre-commit autoupdate ( #1927 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.5.0 → v0.5.1](https://github.com/astral-sh/ruff-pre-commit/compare/v0.5.0...v0.5.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-07-09 09:13:04 -04:00
Matthieu Darbois
6c8347f465
chore: use python from setup-python step to run nox ( #1921 )
2024-07-08 07:59:44 +02:00
Matthieu Darbois
a4d24056ef
chore: move AlreadyBuiltWheelError & NonPlatformWheelError to errors.py ( #1920 )
2024-07-07 09:47:03 +02:00
Henry Schreiner
7e5a838a63
Bump version: v2.19.2
v2.19
v2.19.2
2024-07-02 08:07:58 -04:00
Henry Schreiner
19e1b8a4b0
chore: attestations ( #1916 )
2024-07-02 07:55:40 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
73581ae579
[Bot] Update dependencies ( #1917 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-07-02 07:55:10 -04:00
f21ff5e84c
[pre-commit.ci] pre-commit autoupdate ( #1914 )
...
* [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.10 → v0.5.0](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.10...v0.5.0 )
- [github.com/pre-commit/mirrors-mypy: v1.10.0 → v1.10.1](https://github.com/pre-commit/mirrors-mypy/compare/v1.10.0...v1.10.1 )
* style follow suggestion
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-07-01 22:08:31 -04:00
Henry Schreiner
973946b172
fix: support --no-isolation with build[uv] ( #1889 )
...
* fix: support --no-isolation with build[uv]
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* docs: mention caveat
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-07-01 20:15:09 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
5ea40e6ff3
[Bot] Update dependencies ( #1913 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-07-01 10:58:15 -04:00
Matthieu Darbois
6a36f6494b
feat: add macOS on GitLab ( #1911 )
2024-06-30 10:59:58 +02:00
Matthieu Darbois
31de15bcd9
chore: remove nosetests from tests and docs ( #1898 )
...
fix #499
2024-06-30 10:21:33 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
3179fd215a
[Bot] Update dependencies ( #1900 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-06-30 08:07:29 +02:00
Matthieu Darbois
184d4e1280
fix(ci): CircleCI / Azure Pipelines / GitLab ( #1899 )
...
* fix(ci): CircleCI
CircleCI does not support Intel macOS runners anymore.
c.f. https://discuss.circleci.com/t/macos-intel-support-deprecation-in-january-2024/48718
* fix(ci): Azure Pipelines
* fix(ci): GitLab
2024-06-29 14:12:13 -04:00
Eric Larson and Matthieu Darbois
08165ffeed
DOC: Document macOS 3.8 arm64 workaround ( #1871 )
...
* BUG: Fix bug with macOS 3.8 arm64 URL
* TST: Ping
* DOC: Update
* FIX: Remove old
* DOC: Both
* Apply suggestions from code review
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
---------
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
2024-06-27 11:52:32 -04:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
9bb03835e5
[pre-commit.ci] pre-commit autoupdate ( #1895 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.9 → v0.4.10](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.9...v0.4.10 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.5 → 0.28.6](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.5...0.28.6 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-26 16:16:34 -04:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2552303ff3
[Bot] Update dependencies ( #1894 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-06-25 07:54:08 +02:00
Matthieu Darbois
5b74582a72
chore: remove pip beta workaround ( #1892 )
2024-06-23 14:16:44 +02:00
Matthieu Darbois
4470eb0dd9
chore: remove pip beta workaround ( #1891 )
2024-06-22 14:38:46 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
8bda260d3a
[Bot] Update dependencies ( #1885 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-06-22 10:57:56 +02:00
Lukas Burgholzer
5b5a95bdc2
docs: properly escape extra in build[uv] ( #1886 )
2024-06-19 08:01:35 +02:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
561fa32683
[pre-commit.ci] pre-commit autoupdate ( #1888 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.8 → v0.4.9](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.8...v0.4.9 )
- [github.com/python-jsonschema/check-jsonschema: 0.28.4 → 0.28.5](https://github.com/python-jsonschema/check-jsonschema/compare/0.28.4...0.28.5 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-18 15:17:45 -04:00
Matthieu Darbois
70913f0a49
chore: remove cached_property from utils ( #1884 )
2024-06-17 23:01:08 +02:00
Siddhant Goel
f49397f151
docs: add streaming-form-data to projects.yml ( #1883 )
2024-06-17 09:43:38 -04:00
Matthieu Darbois
c1b8a12cd5
chore(tests): run a project with tests using build[uv] frontend ( #1880 )
2024-06-17 01:07:35 -04:00
Henry Schreiner
932529cab1
Bump version: v2.19.1
v2.19.1
2024-06-13 02:38:27 -04:00
Henry Schreiner
70fb1c4a1a
fix: specify full path to non-venv Python ( #1881 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-13 08:18:09 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
405a475ac7
[Bot] Update dependencies ( #1879 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2024-06-12 23:16:49 -04:00
Nathan Goldbaum
78da7bafcc
docs: update README.md ( #1874 )
2024-06-12 11:32:27 -04:00
Henry Schreiner
8d86d3122b
tests: don't print xfails ( #1865 )
...
tests: skip warnings on xfails for now
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-12 10:46:24 -04:00
Eric Larson
89a5cfe272
DOC: Fix bug with link ( #1870 )
2024-06-11 21:24:44 +02:00
Henry Schreiner
8d5d84e0fc
fix: accept current Python version if acceptable for Pyodide ( #1868 )
...
* fix: accept current Python version if acceptable for Pyodide
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-11 08:48:42 +02:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
4ada77dea4
[pre-commit.ci] pre-commit autoupdate ( #1869 )
...
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.7 → v0.4.8](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.7...v0.4.8 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-11 00:32:52 -04:00
Henry Schreiner
829441f4a0
fix: warning in generate schema script ( #1866 )
...
* fix: warning in generate schema script
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* docs: add minor update to update process
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* Update docs/contributing.md
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-11 00:32:38 -04:00
Henry Schreiner
a8d190a111
Bump version: v2.19.0
v2.19.0
2024-06-10 11:28:29 -04:00
bf817c6dc8
refactor: error handling to use exceptions ( #1719 )
...
* Refactor error handling to use exceptions
cibuildwheel has up until now handled most errors by printing an error message to sys.stderr and calling sys.exit. Others were handled using Logger.error, depending on the context. We also had return codes, but these weren't explicitly defined anywhere.
This makes that convention more explicit and codified. Now to halt the program, the correct thing to do is to throw a cibuildwheel.errors.FatalError exception - that is caught in main() and printed before exiting. The existing behaviour was kept - if an error occurs within a build step (probably something to do with the build itself), the Logger.error() method is used. Outside of a build step (e.g. a misconfiguration), the behaviour is still to print 'cibuildwheel: <message>'
I also took the opportunity to add a debugging option `--debug-traceback` (and `CIBW_DEBUG_TRACEBACK`), which you can enable to see a full traceback on errors.
(I've deactivated the flake8-errmsg lint rule, as it was throwing loads of errors and these error messages aren't generally seen in a traceback context)
* add noqa rule
* Apply suggestions from code review
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
* Return to flake8-errmsg conformance
* Code review suggestions
* Subclass Exception rather than SystemExit
* apply error handling to new code and fix merge issues
* Apply review suggestion
* fix: merge issue
* Update cibuildwheel/errors.py
---------
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
Co-authored-by: mayeut <mayeut@users.noreply.github.com >
2024-06-10 10:36:20 -04:00
Henry Schreiner
384c8d5c82
feat: build[uv] ( #1856 )
2024-06-09 15:45:31 -04:00
Matthieu Darbois
c37e5a2d13
fix: util.move_file shall not use log.notice ( #1862 )
...
Using `log.notice` result in many unwanted annotations, at least in GitHub Actions.
If we want to print some information about a specific file being moved, it shall be done by the caller - or adding an option to the function - and use `print`.
2024-06-09 19:03:12 +02:00
130fdd2548
feat: free-threaded Python for macOS, MACOSX_DEPLOYMENT_TARGET updates ( #1854 )
...
* Update dependencies
* feat: macos free-threading
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: set min target to 10.13 for 3.13 and floor it always
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
* fix: tests and corrected pypy mins
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
---------
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com >
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com >
2024-06-08 10:15:04 +02:00
Henry Schreiner
ed120540d9
chore: bump pyodide ( #1859 )
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2024-06-08 01:38:06 -04:00
6c6e0f6ba5
fix: handle case where output_dir does not already exist on macos & windows ( #1851 )
...
* replace `with suppress(FileNotFoundError)` by `.unlink(missing_ok=True)` for macos
* also use `.unlink(missing_ok=True)` in pyodide and windows for consistency
* remove contextlib imports which are no longer required
* Apply suggestions from code review
* explicity resolve and create output location
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* use explicit str for move
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update comments based on review feedback
* Apply suggestions from code review
* Break out functionality to move files to util.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* raise instance of IsADirectoryError with meaningful message
* Don't need a comment and a exception message
---------
Co-authored-by: Henry Schreiner <HenrySchreinerIII@gmail.com >
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-06-07 11:37:20 -04:00