David Lechner
526c5543e5
fix overwriting wheel on macos
...
When I run on macOS, I get the following error:
```
Traceback (most recent call last):
File "/Users/david/.local/pipx/.cache/fd54e06d50697e7/bin/cibuildwheel", line 8, in <module>
sys.exit(main())
File "/Users/david/.local/pipx/.cache/fd54e06d50697e7/lib/python3.10/site-packages/cibuildwheel/__main__.py", line 128, in main
build_in_directory(args)
File "/Users/david/.local/pipx/.cache/fd54e06d50697e7/lib/python3.10/site-packages/cibuildwheel/__main__.py", line 252, in build_in_directory
cibuildwheel.macos.build(options, tmp_path)
File "/Users/david/.local/pipx/.cache/fd54e06d50697e7/lib/python3.10/site-packages/cibuildwheel/macos.py", line 538, in build
shutil.move(str(repaired_wheel), build_options.output_dir)
File "/opt/homebrew/Cellar/python@3.10/3.10.4/Frameworks/Python.framework/Versions/3.10/lib/python3.10/shutil.py", line 811, in move
raise Error("Destination path '%s' already exists" % real_dst)
shutil.Error: Destination path '/Users/david/Documents/GitHub/python-mpy-cross/wheelhouse/mpy_cross_v5-1.0.0-py3-none-macosx_11_0_arm64.whl' already exists
```
The comment in the code says that it should overwrite the file, so this removes the file if it exists first before trying to move the file.
2022-06-09 12:21:42 -05:00
Joe Rickerby
aa753429b2
Bump version: v2.6.1
2.6.1
v2.6.1
2022-06-07 09:14:16 +01:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
45227e53e7
chore(deps): bump pre-commit/action from 2.0.3 to 3.0.0 ( #1127 )
...
Bumps [pre-commit/action](https://github.com/pre-commit/action ) from 2.0.3 to 3.0.0.
- [Release notes](https://github.com/pre-commit/action/releases )
- [Commits](https://github.com/pre-commit/action/compare/v2.0.3...v3.0.0 )
---
updated-dependencies:
- dependency-name: pre-commit/action
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-06 18:56:34 +02:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
0be10361af
[pre-commit.ci] pre-commit autoupdate ( #1120 )
...
updates:
- [github.com/pre-commit/mirrors-mypy: v0.950 → v0.960](https://github.com/pre-commit/mirrors-mypy/compare/v0.950...v0.960 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-06-06 18:55:06 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
a440ab3655
[Bot] Update dependencies ( #1119 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2022-06-06 15:53:13 +02:00
Matthieu Darbois
c5c1766614
ci: disable travis-ci output timeout ( #1123 )
2022-06-04 20:03:02 +02:00
Robert Martin
5d439c0f38
Fix a Pylint warning
2022-05-25 18:04:54 -06:00
Joe Rickerby
4bbbee7949
Bump version: v2.6.0
2.6.0
v2.6.0
2022-05-25 18:43:56 +01:00
Joe Rickerby
d73f1ea2a4
Merge pull request #1109 from mayeut/python-3.11
...
feature: add CPython 3.11 support
2022-05-25 18:33:47 +01:00
Joe Rickerby
a08a952b4b
Merge pull request #1100 from pypa/docs-diagram
...
Add interactive diagram to the docs
2022-05-25 09:04:56 +01:00
Robert Martin
9ab89f92c0
Fix Linux builds on Windows
2022-05-24 17:35:46 -06:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
29f102bdfe
[pre-commit.ci] pre-commit autoupdate ( #1116 )
...
updates:
- [github.com/hadialqattan/pycln: v1.3.2 → v1.3.3](https://github.com/hadialqattan/pycln/compare/v1.3.2...v1.3.3 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-24 12:13:13 -04:00
mayeut
2edd5270c3
mark CPython 3.11 as pre-release
2022-05-23 20:47:08 +02:00
mayeut
b8abcb128c
feature: add CPython 3.11 support
2022-05-23 20:47:08 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
79bfea0817
[Bot] Update dependencies ( #1115 )
...
Update dependencies
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2022-05-23 20:44:09 +02:00
cibuildwheel-bot[bot] and cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
0b1b47d7ec
Update dependencies ( #1111 )
...
Co-authored-by: cibuildwheel-bot[bot] <83877280+cibuildwheel-bot[bot]@users.noreply.github.com>
2022-05-16 17:48:27 -04:00
dependabot[bot] and dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
a2a54b9833
chore(deps): bump excitedleigh/setup-nox from 2.0.0 to 2.1.0 ( #1110 )
...
Bumps [excitedleigh/setup-nox](https://github.com/excitedleigh/setup-nox ) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/excitedleigh/setup-nox/releases )
- [Commits](https://github.com/excitedleigh/setup-nox/compare/v2.0.0...v2.1.0 )
---
updated-dependencies:
- dependency-name: excitedleigh/setup-nox
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>
2022-05-16 18:26:58 +02:00
dependabot[bot]
e33c037e6a
chore(deps): bump docker/setup-qemu-action from 1 to 2 ( #1106 )
2022-05-10 07:51:24 +02:00
pre-commit-ci[bot]
7437ecf59d
[pre-commit.ci] pre-commit autoupdate ( #1107 )
2022-05-10 07:51:05 +02:00
Joe Rickerby
dcb5be78d0
Add noscript fallback
2022-05-09 14:24:03 +01:00
Joe Rickerby
a37367fb86
Improve the touch support (tap the tooltip to follow link)
2022-05-09 13:31:47 +01:00
Matthieu Darbois
2d1ad70d06
chore: use bot email for dependency update Pull Requests ( #1105 )
2022-05-09 08:27:30 +02:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
99d6c378db
[pre-commit.ci] pre-commit autoupdate ( #1102 )
...
updates:
- [github.com/hadialqattan/pycln: v1.3.1 → v1.3.2](https://github.com/hadialqattan/pycln/compare/v1.3.1...v1.3.2 )
- [github.com/pre-commit/mirrors-mypy: v0.942 → v0.950](https://github.com/pre-commit/mirrors-mypy/compare/v0.942...v0.950 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-05-07 20:42:17 -04:00
Joe Rickerby
960b069eb9
Add mobile/touch support (where hover doesn't exist)
2022-05-02 11:11:02 +01:00
Joe Rickerby
6d9a16376e
Add interactive diagram to the docs
2022-04-30 17:14:21 +01:00
Joe Rickerby
1f1c8008d8
Changelog tweak
2022-04-29 14:54:25 +01:00
Joe Rickerby
0b6307072a
Bump version: v2.5.0
2.5.0
v2.5.0
2022-04-29 14:46:08 +01:00
Joe Rickerby
61bcac854e
Merge pull request #1091 from mayeut/abi3
...
feature: add support for ABI3 wheels
2022-04-29 14:31:27 +01:00
Joe Rickerby
75998410e0
Add tips+tricks entry for ABI3 building
2022-04-29 14:16:00 +01:00
Joe Rickerby
46702f581d
Space out the log statements a little
2022-04-29 13:32:03 +01:00
Joe Rickerby
acc079675b
Merge remote-tracking branch 'origin/main' into abi3
2022-04-29 11:57:20 +01:00
Joe Rickerby
f324c9ad61
Merge pull request #1096 from henryiii/henryiii/feat/sdist
...
feat: SDist builds
2022-04-29 11:52:08 +01:00
Henry Schreiner
de44c88c75
docs: add some projects ( #1097 )
...
* docs: add some projects
* chore: update docs
2022-04-28 19:18:49 -04:00
Henry Schreiner
98fedb7e51
refactor: use dataclasses vs. NamedTuples
2022-04-28 11:41:47 -04:00
Henry Schreiner
35054666bb
refactor: review comments
2022-04-27 17:18:01 -04:00
Henry Schreiner
b1e8549bb1
fix: minor cleanup
2022-04-27 14:55:30 -04:00
Henry Schreiner
958a7c32c1
refactor: use single entry for SDist builds
...
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com >
2022-04-27 09:37:17 -04:00
Joe Rickerby
91fae8268e
Add prog arguments to ArgumentParser to prevent the wrong inferred name
...
when calling like 'python -m cibuildwheel', we get errors like
usage: __main__.py [-h] [--platform {auto,linux,macos,windows}] [--archs ARCHS] [--output-dir OUTPUT_DIR] [--config-file CONFIG_FILE]
[--print-build-identifiers] [--allow-empty] [--prerelease-pythons]
[package_dir]
__main__.py: error: unrecognized arguments: --sad
With this change, we get error outputs like:
usage: cibuildwheel [-h] [--platform {auto,linux,macos,windows}] [--archs ARCHS] [--output-dir OUTPUT_DIR] [--config-file CONFIG_FILE]
[--print-build-identifiers] [--allow-empty] [--prerelease-pythons]
[package_dir]
cibuildwheel: error: unrecognized arguments: --asda
2022-04-27 01:01:31 -04:00
Joe Rickerby
8c77d5ed41
Tidy ups, bug fixes
2022-04-27 01:01:31 -04:00
Joe Rickerby
898dd62022
Add test for argument passthrough
2022-04-27 01:01:31 -04:00
Joe Rickerby
c6c5e6e59b
Add test for cibuildwheel.from-sdist
2022-04-27 01:01:31 -04:00
Joe Rickerby
e887d4bbf8
Add entrypoint
2022-04-27 01:01:31 -04:00
Joe Rickerby
763cd15ae2
Add from_sdist script
2022-04-27 01:01:31 -04:00
mayeut
e3ff027131
feature: add support for ABI3 wheels
2022-04-26 22:38:17 +02:00
Matthieu Darbois
de07370930
fix: extract project as current user on linux ( #1095 )
...
This allows git to work properly, e.g., `versioneer`/`setuptools_scm` with latest git versions.
c.f. https://github.com/pypa/manylinux/issues/1309
2022-04-26 13:29:00 -04:00
Henry Schreiner
986a50f8a0
docs: two minor additions ( #1093 )
...
* docs: mention when msvcd140_1.dll is included in cpython
* docs: mention maturin-action
2022-04-26 00:29:32 -04:00
Joe Rickerby
dff69251ee
Merge pull request #1086 from pauldmccarthy/bf/allow-empty
...
fix: Don't error if no new wheels were built
2022-04-22 10:47:56 +01:00
Paul McCarthy
f08f08c04d
style: spurious comma
2022-04-21 10:34:11 +01:00
pre-commit-ci[bot] and pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
496ea9bd56
[pre-commit.ci] pre-commit autoupdate ( #1092 )
...
updates:
- [github.com/hadialqattan/pycln: v1.2.5 → v1.3.1](https://github.com/hadialqattan/pycln/compare/v1.2.5...v1.3.1 )
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2022-04-19 13:35:44 -04:00
Paul McCarthy
abedb68783
test: build_frontend_env fixture not required for --allow-empy test. Small
...
style tweak
2022-04-19 16:02:23 +01:00