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 Schreiner and Joe 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 Schreiner and Matthieu 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 Darbois and Joe 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 Darbois and Joe 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
Joe Rickerby
9e35d65de4
Add file-based unit tests
2020-07-08 22:56:33 +01:00
Joe Rickerby
833a069207
Pass PATH during command substitution test
2020-07-05 17:39:40 +01:00
Joe Rickerby
b12a560e87
Add docker test images for other architectures
2020-07-01 13:22:24 +01:00
Joe Rickerby
faf6a76375
Change 'slow' tests to 'docker' tests, only run them on Linux
2020-06-28 10:53:03 +01:00
Joe Rickerby
91c3e90017
Fix Python 3.6 compatibility
2020-06-26 21:47:42 +01:00
Joe Rickerby
ad871f886a
Fix style
2020-06-26 21:41:00 +01:00
Joe Rickerby
c956f118f6
Add unit tests for DockerContainer
2020-06-26 21:37:02 +01:00
Joe Rickerby
df69dda44a
Fix broken PATH test - it was erroring for a different reason
2020-06-26 12:59:26 +01:00
Grzegorz Bokota
43fcb31231
fix tests
2020-06-22 13:55:04 +02:00
Grzegorz Bokota
fc52c5e7b6
add unit_test
2020-06-22 13:55:04 +02:00
Yannick Jadoul
acf5c24881
Use patlib.Path in tests and tools
2020-06-18 15:29:48 +02:00
Yannick Jadoul
f012fa1af0
Mock Path.mkdir calls in unit tests
2020-06-18 00:23:25 +02:00
Yannick Jadoul
c53e7824a7
Remove unused imports
2020-06-18 00:23:25 +02:00