Commit Graph
104 Commits
Author SHA1 Message Date
Henry SchreinerandMatthieu Darbois 768ecab3f8 feat: update deprecated option check (#700)
Signed-off-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
2021-05-29 14:20:19 +02:00
5b22fc636b feat: add CPython 3.10 pre-release support (#675)
* Add CPython 3.10 support

* Fix logger displaying CPython 3.1 instead of 3.10

* Fix tests failing with CPython 3.10

* Use pytest instead of nose

* feat: --pre flag

Apply suggestions from code review

Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>

* fix: update Python update script to process beta versions

* refactor: prerelease-pythons

* Use `strtobool` to parse `CIBW_PRERELEASE_PYTHONS` env var

* Update python version filtering for universal2 & arm64

* Filter out CPython 3.10 and above for `test_manylinuxXXXX_only[manylinux1]` test

* Use CIBW_BUILD filtering rather than CIBW_SKIP for test_docker_images

* Use skip_patterns to filter out pre-releases

* Use `prerelease_pythons` instead of `pre`

* Reword `CIBW_PRERELEASE_PYTHONS` doc per review.

* Use `CIBW_PRERELEASE_PYTHONS: True` for usage example.

* Update `cibuildwheel --help` doc

* docs: add note on spec.filter

* Clean up the BuildSelector __repr__ by refactoring

* fix: remove platform variants for CIBW_PRERELEASE_PYTHONS

* docs: mention the flag

Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-05-28 18:26:55 -04:00
Matthieu Darbois 58b2dc367c Merge pull request #671 from YannickJadoul/pypy-7.3.5
Update PyPy to 7.3.5 and use PyPA's manylinux images with PyPy
2021-05-25 18:04:18 +02:00
Henry SchreinerandJoe Rickerby 3be2d0c356 chore: rename joerick/cibuildwheel -> pypa/cibuildwheel (#682)
* chore: rename joerick/cibuildwheel -> pypa/cibuildwheel

* Update Appveyor status badge markup

Note that it still has joerick/cibuildwheel - confusingly it's still within my appveyor account, but this is the new project that points to the pypa github repo

* Update Appveyor badge markup again

I went through a few passes to enable that project, here's the latest.

* Update Azure badge, also

* Update Travis badge to reference the .com

Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-05-24 10:21:03 -04:00
mayeut 7126c1063f Add manylinux2014 & manylinux_2_24 support for PyPy 2021-05-23 23:46:47 +02:00
mayeut 9abf1990fc Fix tests linked to manylinux2010_x86_64 usage for PyPy 2021-05-23 23:46:47 +02:00
Yannick Jadoul 3ec1bfab12 Try out PyPy 7.3.5rc2 2021-05-23 23:46:46 +02:00
pre-commit-ci[bot] acbfce04e0 [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
2021-05-23 23:46:46 +02:00
Yannick Jadoul 1ebad9473d PyPy now has 64-bit Windows binaries 2021-05-23 23:46:45 +02:00
mayeut 3e22cd9a41 Drop Python 2.7 2021-05-07 11:54:27 -04:00
mayeut bf31d18fbb Drop Python 3.5 2021-05-07 11:54:27 -04:00
Henry Schreiner bda76b21cb style: activate string normalization 2021-05-03 13:12:36 -04:00
mayeut d1900f6a05 Fix misaligned triple-quote blocks 2021-05-03 13:12:36 -04:00
Henry Schreiner 178aaea6c7 style: apply black via pre-commit run -a 2021-05-03 13:12:36 -04:00
5cbe3e2254 style: apply some cleanups from Sourcery.ai (#626)
* style: apply some fixes from Sorcery

* Apply suggestions from code review

Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
Co-authored-by: Joe Rickerby <joerick@mac.com>

Co-authored-by: Yannick Jadoul <yannick.jadoul@belgacom.net>
Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-03-24 23:23:27 +01:00
Matthieu Darbois 1e7961c157 Add manylinux_2_24 support (#595) 2021-02-18 08:15:37 +01:00
Henry Schreiner e12ce2d647 feat: print new files after building (#570) 2021-02-04 14:27:54 -05:00
Henry Schreiner 70d9e1d969 feat: auto32/auto64 (#553)
* feat: auto32/auto64

* refactor: cleanup from @joerick

* refactor: spelling fix
2021-01-31 20:41:18 -05:00
Henry Schreiner eb700a164c feat: requires-python (#536)
* feat: requires-python

refactor: updating to current proposal

fix: add tests and fix a few issues

docs: Update mostly from @joerick

docs: update README from readthedocs

* refactor: pull out config file reading

* fix: always assume highest Python patch version

* refactor: try new design

* refactor: function and bump MyPy to 0.800

* fix: tighten AST to call only, add docs

* fix: address review points from @joerick
2021-01-31 17:14:15 -05:00
Joe Rickerby 3f8fcb01ad Fix unit tests 2021-01-23 18:15:29 +00:00
Joe Rickerby d2312cdb3f Merge remote-tracking branch 'origin/master' into macos-universal2
# Conflicts:
#	bin/sample_build.py
#	cibuildwheel/__main__.py
#	cibuildwheel/macos.py
#	cibuildwheel/util.py
#	cibuildwheel/windows.py
2021-01-23 13:28:06 +00:00
Henry Schreiner ff8f881098 refactor: pull arch out into separate file 2021-01-22 13:02:51 -05:00
Henry Schreiner f5b84797e5 fix: move and simplify arch check 2021-01-22 13:01:00 -05:00
Henry Schreiner cc0e7ec0a1 fix: review from @joerick 2021-01-22 13:01:00 -05:00
Henry Fredrick Schreiner 5762aa5e3b feat: allow-empty and simpler testing 2021-01-22 13:01:00 -05:00
Henry Fredrick Schreiner c90c7666b9 tests: fix arch for platform tests 2021-01-22 13:01:00 -05:00
Henry Fredrick Schreiner 61b94434b2 fix: error if build selectors are empty 2021-01-22 13:01:00 -05:00
Henry SchreinerandJoe Rickerby e91d8d82a2 feat: support brace expansion in BUILD/SKIP (#527)
* wip: try wcmatch

* feat: expand braces

* docs: mention brace expansion

* docs: more reasonable examples of brackets

* Update docs/options.md

Co-authored-by: Joe Rickerby <joerick@mac.com>

Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-01-15 15:25:22 -05:00
d394386318 feat: update python versions as part of update_dependencies (#496)
* Update python versions as part of update_dependencies

* refactor: pulling out to update_pythons

* refactor: rewrite and expect install

* feat: support macos too, logging output

* WIP: update

* refactor: drive from original file

* Remove unused variable

* Output a diff instead of the result file, to review changes more easily

* fix: minor cleanup

Co-authored-by: Henry Fredrick Schreiner <henry.fredrick.schreiner@cern.ch>
Co-authored-by: Henry Schreiner <henryschreineriii@gmail.com>
Co-authored-by: Joe Rickerby <joerick@mac.com>
2021-01-15 14:40:03 +00:00
Henry Schreiner ca7871ce0c feat: native / all archs (#535)
* feat: native / all archs

* docs: mention new options
2021-01-15 14:38:47 +00:00
Henry Schreiner 5eb5ea10f5 refactor: identifiers in a file (#511)
* refactor: identifiers in a file

* chore: more typing

* refactor: PlatStr -> PlatformName

* refactor: load in file, use importlib.resources

* refactor: change toml structure

* refactor: use common Traversable

* fix: ensure reasonable version of importlib_resources

* style: fix extra line
2021-01-09 15:40:40 -05:00
Joe Rickerby 9113dfe5da Merge remote-tracking branch 'origin/master' into macos-universal2 2021-01-08 15:02:20 +00:00
Henry Fredrick Schreiner 635b226a6c style: pre-commit run -a 2021-01-06 18:10:32 -05:00
Joe Rickerby 9bf5fb10e2 Merge remote-tracking branch 'origin/master' into macos-universal2
# Conflicts:
#	cibuildwheel/macos.py
#	cibuildwheel/util.py
2021-01-06 21:39:32 +00:00
Henry Fredrick SchreinerandMatthieu Darbois a99e0ded76 feat: Windows filtering and sets
Co-authored-by: Matthieu Darbois <mayeut@users.noreply.github.com>
2021-01-02 22:51:16 -05:00
Joe Rickerby 7cab712592 Fix unit test 2021-01-02 19:25:09 +00:00
Joe Rickerby 5c695593f3 Merge pull request #482 from asfaltboy/support-quemu-on-github
Support qemu in GitHub Actions
2021-01-01 17:21:24 +00:00
Matthieu DarboisandJoe Rickerby 40ddede41b Add a workflow to update dependencies (#490)
* Add a workflow to update dependencies

* Use '--no-docker' to run dependency update using local pythons

Default method is to use docker

* Only run the dependency update workflow manually

PR are only created for master

* Create constraints for all python versions

* Use manylinux2010_x86_64:latest to update dependencies

Co-authored-by: Joe Rickerby <joerick@mac.com>
2020-12-21 19:51:27 +01:00
Joe Rickerby 7c86223ff8 Add platform-specific arch option unit test 2020-12-21 11:05:19 +00:00
Joe Rickerby f73b6083d5 Add unit test for the option parsing 2020-12-21 11:00:33 +00:00
Joe Rickerby bfd9bb482b Fix unit test 2020-11-23 21:21:40 +00:00
Matthieu DarboisandJoe Rickerby 336c80b694 Use certifi provided certificates when downloading files (#455)
* Use certifi provided certificates when downloading files

* fix typo

* Add comment about certifi usage

Co-authored-by: Joe Rickerby <joerick@mac.com>

Co-authored-by: Joe Rickerby <joerick@mac.com>
2020-10-31 10:06:14 +01:00
Yannick Jadoul 29b0cdb08a Add cwd argument to DockerContainer 2020-07-20 18:07:45 +02:00
Yannick Jadoul 3142806f4b Capture output in DockerContainer.environment_executor to fix command substitutions in CIBW_ENVIRONMENT on Linux 2020-07-20 02:23:07 +02:00
Yannick Jadoul 44fd8b5c26 Fix test to demonstrate failure 2020-07-19 17:19:48 +02:00
Joe Rickerby 08eddeff8b Fix test and add another more awkward example 2020-07-15 21:07:33 +01:00
Joe Rickerby 9fb748bfb0 Add unit test for this failure mode 2020-07-12 21:45:46 +01:00
Joe Rickerby 5842a75927 Flake8 fixes 2020-07-10 13:04:50 +01:00
Joe Rickerby 44e3198880 Convert glob to take a Path and a str pattern 2020-07-10 12:57:05 +01:00
Joe Rickerby 4c0af9f152 Finish file/dir tests 2020-07-10 12:46:32 +01:00