Compare commits

...
28 Commits
Author SHA1 Message Date
Joe Rickerby c713c6053d Bump version: v2.1.1 2021-08-07 20:06:19 +01:00
Joe Rickerby f45570bf0d Merge branch 'main' of github.com:pypa/cibuildwheel into main 2021-08-07 20:03:45 +01:00
Joe Rickerby 713b3d6cea Merge pull request #786 from pypa/enable-3.10
Bring 3.10 out of prerelease
2021-08-07 20:02:19 +01:00
Joe Rickerby df0ef63b72 Fix build selector unit test 2021-08-07 18:38:23 +01:00
Joe Rickerby c2b9a4c77c Bring 3.10 out of prerelease 2021-08-07 18:28:58 +01:00
Joe Rickerby f678ee3e47 Add missing date to changelog 2021-08-07 18:26:48 +01:00
Joe Rickerby 8d1238f8e0 Bump version: v2.1.0 2021-08-07 18:18:50 +01:00
cibuildwheel-bot[bot]andjoerick f8c608c268 Update dependencies (#785)
Co-authored-by: joerick <joerick@users.noreply.github.com>
2021-08-07 11:48:34 +00:00
Joe Rickerby bc6e907b10 Merge pull request #784 from Hanaasagi/fix-typo
fix the libffi package name in doc
2021-08-05 19:10:52 +01:00
Hanaasagi 3a068dc6a4 fix: fix the libffi package name in doc 2021-08-04 14:26:40 +00:00
pre-commit-ci[bot]andpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 21d0740883 [pre-commit.ci] pre-commit autoupdate (#782)
updates:
- [github.com/asottile/pyupgrade: v2.23.0 → v2.23.1](https://github.com/asottile/pyupgrade/compare/v2.23.0...v2.23.1)
- [github.com/PyCQA/isort: 5.9.2 → 5.9.3](https://github.com/PyCQA/isort/compare/5.9.2...5.9.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-08-03 10:45:57 -04:00
cibuildwheel-bot[bot]andmayeut 529af6e040 Update dependencies (#781)
Co-authored-by: mayeut <mayeut@users.noreply.github.com>
2021-08-02 13:57:05 +02:00
cibuildwheel-bot[bot]andmayeut ca25f5ffa9 Update dependencies (#778)
Co-authored-by: mayeut <mayeut@users.noreply.github.com>
2021-07-31 17:27:33 +02:00
pre-commit-ci[bot]andpre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 1abdfcbea1 [pre-commit.ci] pre-commit autoupdate (#777)
updates:
- [github.com/asottile/pyupgrade: v2.21.2 → v2.23.0](https://github.com/asottile/pyupgrade/compare/v2.21.2...v2.23.0)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2021-07-28 22:10:19 -04:00
Joe Rickerby f009800972 Merge pull request #776 from pypa/update-dependencies-pr
[Bot] Update dependencies
2021-07-26 08:58:33 +01:00
mayeut 9232b130d7 Update dependencies 2021-07-26 06:10:35 +00:00
Joe Rickerby 2de5bf4b90 Bump version: v2.0.1 2021-07-25 14:39:54 +01:00
cibuildwheel-bot[bot]andmayeut de753937f4 Update dependencies (#771)
Co-authored-by: mayeut <mayeut@users.noreply.github.com>
2021-07-25 12:36:10 +02:00
Joe Rickerby c936190712 Merge pull request #770 from pypa/pre-commit-ci-update-config
[pre-commit.ci] pre-commit autoupdate
2021-07-20 18:58:20 +01:00
Henry Schreiner 388ce41451 ci: fix authentication failure checking projects (#769) 2021-07-19 23:23:06 +02:00
pre-commit-ci[bot] b452a5c42f [pre-commit.ci] pre-commit autoupdate
updates:
- [github.com/asottile/pyupgrade: v2.21.0 → v2.21.2](https://github.com/asottile/pyupgrade/compare/v2.21.0...v2.21.2)
- [github.com/psf/black: 21.6b0 → 21.7b0](https://github.com/psf/black/compare/21.6b0...21.7b0)
2021-07-19 21:15:24 +00:00
Joe Rickerby 2016270d0a Merge pull request #767 from dvarrazzo/backslash-quotes-example
Add an example of PATH customisation on Windows
2021-07-19 18:36:31 +01:00
Daniele Varrazzo 413c9f30dd Quote the $(date) in the yaml example for consistency with pyproject.toml 2021-07-19 17:16:23 +02:00
Daniele Varrazzo 976173f6e1 Add example of Windows PATH manipulation in pyproject.toml too 2021-07-19 17:16:16 +02:00
Daniele Varrazzo 3e712f1a6c No need to strip trailing eol in multiline environment example 2021-07-19 15:24:39 +02:00
Daniele Varrazzo b306ab4ac7 Simplify yaml env vars examples
Don't use yaml double quotes because they imply a round of escaping
(unlike single quotes or multiline strings).
2021-07-19 14:00:11 +02:00
Daniele Varrazzo 51b021e08a Add an example of PATH customisation on Windows
On Windows you often find directories containing spaces. The relation
between quotes and escaping is not intuitive, see #765.
2021-07-18 17:19:41 +02:00
Joe Rickerby 356f81ca60 Add date to changelog entry 2021-07-17 11:21:37 +01:00
28 changed files with 212 additions and 165 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ jobs:
- name: "Run update: python configs"
run: nox --force-color -s update_pins
- name: "Run update: docs user projects"
run: nox --force-color -s update_proj
run: nox --force-color -s update_proj -- --auth=${{ secrets.GITHUB_TOKEN }}
# we use this step to grab a Github App auth token, so that PRs generated by this workflow
# run the GHA tests.
+3 -3
View File
@@ -14,7 +14,7 @@ repos:
- id: trailing-whitespace
- repo: https://github.com/asottile/pyupgrade
rev: v2.21.0
rev: v2.23.1
hooks:
- id: pyupgrade
name: PyUpgrade 3.6+
@@ -26,12 +26,12 @@ repos:
args: ["--py37-plus"]
- repo: https://github.com/PyCQA/isort
rev: 5.9.2
rev: 5.9.3
hooks:
- id: isort
- repo: https://github.com/psf/black
rev: 21.6b0
rev: 21.7b0
hooks:
- id: black
+85 -68
View File
@@ -85,7 +85,7 @@ jobs:
- uses: actions/setup-python@v2
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.0.0
run: python -m pip install cibuildwheel==2.1.1
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
@@ -165,8 +165,8 @@ Here are some repos that use cibuildwheel.
| [Parselmouth][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A Python interface to the Praat software package, using pybind11, C++17 and CMake, with the core Praat static library built only once and shared between wheels. |
| [python-rapidjson][] | ![travisci icon][] ![gitlab icon][] ![appveyor icon][] | ![windows icon][] ![linux icon][] | Python wrapper around rapidjson |
| [Rtree][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Rtree: spatial index for Python GIS ¶ |
| [python-snappy][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Python bindings for the snappy google library |
| [markupsafe][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Safely add untrusted strings to HTML/XML markup. |
| [python-snappy][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Python bindings for the snappy google library |
| [H3-py][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Python bindings for H3, a hierarchical hexagonal geospatial indexing system |
| [pybind11 cmake_example][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Example pybind11 module built with a CMake-based build system |
| [KDEpy][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Kernel Density Estimation in Python |
@@ -175,15 +175,15 @@ Here are some repos that use cibuildwheel.
| [dd-trace-py][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Uses custom alternate arch emulation on GitHub |
| [sourmash][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Quickly search, compare, and analyze genomic and metagenomic data sets. |
| [time-machine][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Time mocking library using only the CPython C API. |
| [matrixprofile][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone. |
| [iminuit][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Jupyter-friendly Python interface for C++ MINUIT2 |
| [CTranslate2][] | ![github icon][] | ![apple icon][] ![linux icon][] | Includes libraries from the [Intel oneAPI toolkit](https://software.intel.com/content/www/us/en/develop/tools/oneapi/base-toolkit.html). The Linux wheels also include CUDA libraries for GPU execution. |
| [matrixprofile][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A Python 3 library making time series data mining tasks, utilizing matrix profile algorithms, accessible to everyone. |
| [jq.py][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | Python bindings for jq |
| [Tokenizer][] | ![github icon][] ![travisci icon][] | ![apple icon][] ![linux icon][] | Fast and customizable text tokenization library with BPE and SentencePiece support |
| [PyGLM][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Fast OpenGL Mathematics (GLM) for Python |
| [bx-python][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | A library that includes Cython extensions. |
| [boost-histogram][] | ![github icon][] ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Supports full range of wheels, including PyPy and alternate archs. |
| [iDynTree][] | ![github icon][] | ![linux icon][] | Uses manylinux_2_24 |
| [boost-histogram][] | ![github icon][] ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Supports full range of wheels, including PyPy and alternate archs. |
| [pybase64][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Fast Base64 encoding/decoding in Python |
| [TgCrypto][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes a Windows Travis build. |
| [etebase-py][] | ![travisci icon][] | ![linux icon][] | Python bindings to a Rust library using `setuptools-rust`, and `sccache` for improved speed. |
@@ -192,9 +192,9 @@ Here are some repos that use cibuildwheel.
| [numpythia][] | ![github icon][] | ![apple icon][] ![linux icon][] | The interface between PYTHIA and NumPy |
| [polaroid][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Full range of wheels for setuptools rust, with auto release and PyPI deploy. |
| [ninja][] | ![github icon][] ![travisci icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Multitagged binary builds for all supported platforms, using cibw 2 config configuration. |
| [Imagecodecs (fork)][] | ![azurepipelines icon][] | ![apple icon][] ![linux icon][] | Over 20 external dependencies in compiled libraries, custom docker image, `libomp`, `openblas` and `install_name_tool` for macOS. |
| [GSD][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Cython and NumPy project with 64-bit wheels. |
| [pybind11 scikit_build_example][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | An example combining scikit-build and pybind11 |
| [Imagecodecs (fork)][] | ![azurepipelines icon][] | ![apple icon][] ![linux icon][] | Over 20 external dependencies in compiled libraries, custom docker image, `libomp`, `openblas` and `install_name_tool` for macOS. |
| [pyinstrument_cext][] | ![travisci icon][] ![appveyor icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A simple C extension, without external dependencies |
| [xmlstarlet][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Python 3.6+ CFFI bindings with true MSVC build. |
| [CorrectionLib][] | ![github icon][] | ![apple icon][] ![linux icon][] | Structured JSON powered correction library for HEP, designed for the CMS experiment at CERN. |
@@ -226,8 +226,8 @@ Here are some repos that use cibuildwheel.
[Parselmouth]: https://github.com/YannickJadoul/Parselmouth
[python-rapidjson]: https://github.com/python-rapidjson/python-rapidjson
[Rtree]: https://github.com/Toblerity/rtree
[python-snappy]: https://github.com/andrix/python-snappy
[markupsafe]: https://github.com/pallets/markupsafe
[python-snappy]: https://github.com/andrix/python-snappy
[H3-py]: https://github.com/uber/h3-py
[pybind11 cmake_example]: https://github.com/pybind/cmake_example
[KDEpy]: https://github.com/tommyod/KDEpy
@@ -236,15 +236,15 @@ Here are some repos that use cibuildwheel.
[dd-trace-py]: https://github.com/DataDog/dd-trace-py
[sourmash]: https://github.com/dib-lab/sourmash
[time-machine]: https://github.com/adamchainz/time-machine
[matrixprofile]: https://github.com/matrix-profile-foundation/matrixprofile
[iminuit]: https://github.com/scikit-hep/iminuit
[CTranslate2]: https://github.com/OpenNMT/CTranslate2
[matrixprofile]: https://github.com/matrix-profile-foundation/matrixprofile
[jq.py]: https://github.com/mwilliamson/jq.py
[Tokenizer]: https://github.com/OpenNMT/Tokenizer
[PyGLM]: https://github.com/Zuzu-Typ/PyGLM
[bx-python]: https://github.com/bxlab/bx-python
[boost-histogram]: https://github.com/scikit-hep/boost-histogram
[iDynTree]: https://github.com/robotology/idyntree
[boost-histogram]: https://github.com/scikit-hep/boost-histogram
[pybase64]: https://github.com/mayeut/pybase64
[TgCrypto]: https://github.com/pyrogram/tgcrypto
[etebase-py]: https://github.com/etesync/etebase-py
@@ -253,9 +253,9 @@ Here are some repos that use cibuildwheel.
[numpythia]: https://github.com/scikit-hep/numpythia
[polaroid]: https://github.com/daggy1234/polaroid
[ninja]: https://github.com/scikit-build/ninja-python-distributions
[Imagecodecs (fork)]: https://github.com/czaki/imagecodecs_build
[GSD]: https://github.com/glotzerlab/gsd
[pybind11 scikit_build_example]: https://github.com/pybind/scikit_build_example
[Imagecodecs (fork)]: https://github.com/czaki/imagecodecs_build
[pyinstrument_cext]: https://github.com/joerick/pyinstrument_cext
[xmlstarlet]: https://github.com/dimitern/xmlstarlet
[CorrectionLib]: https://github.com/cms-nanoAOD/correctionlib
@@ -271,66 +271,66 @@ Here are some repos that use cibuildwheel.
[apple icon]: docs/data/readme_icons/apple.svg
[linux icon]: docs/data/readme_icons/linux.svg
<!-- scikit-learn: 46430, last pushed 0 days ago -->
<!-- Matplotlib: 13903, last pushed 0 days ago -->
<!-- MyPy: 11014, last pushed 0 days ago -->
<!-- psutil: 7484, last pushed 15 days ago -->
<!-- scikit-image: 4419, last pushed 0 days ago -->
<!-- twisted-iocpsupport: 4296, last pushed 0 days ago -->
<!-- cmake: 4013, last pushed 0 days ago -->
<!-- websockets: 3457, last pushed 19 days ago -->
<!-- pyzmq: 2848, last pushed 6 days ago -->
<!-- aiortc: 2470, last pushed 4 days ago -->
<!-- River: 1749, last pushed 3 days ago -->
<!-- coverage.py: 1646, last pushed 0 days ago -->
<!-- numexpr: 1605, last pushed 8 days ago -->
<!-- h5py: 1540, last pushed 3 days ago -->
<!-- Dependency Injector: 1447, last pushed 21 days ago -->
<!-- PyAV: 1295, last pushed 39 days ago -->
<!-- PyTables: 1042, last pushed 112 days ago -->
<!-- ruptures: 757, last pushed 9 days ago -->
<!-- aioquic: 708, last pushed 1 days ago -->
<!-- pikepdf: 683, last pushed 2 days ago -->
<!-- google neuroglancer: 661, last pushed 0 days ago -->
<!-- DeepForest: 629, last pushed 0 days ago -->
<!-- AutoPy: 550, last pushed 28 days ago -->
<!-- Parselmouth: 524, last pushed 22 days ago -->
<!-- python-rapidjson: 425, last pushed 20 days ago -->
<!-- Rtree: 413, last pushed 117 days ago -->
<!-- python-snappy: 405, last pushed 140 days ago -->
<!-- markupsafe: 404, last pushed 9 days ago -->
<!-- H3-py: 402, last pushed 33 days ago -->
<!-- pybind11 cmake_example: 289, last pushed 6 days ago -->
<!-- KDEpy: 285, last pushed 42 days ago -->
<!-- cyvcf2: 264, last pushed 77 days ago -->
<!-- pybind11 python_example: 258, last pushed 1 days ago -->
<!-- dd-trace-py: 256, last pushed 0 days ago -->
<!-- sourmash: 253, last pushed 0 days ago -->
<!-- time-machine: 187, last pushed 2 days ago -->
<!-- iminuit: 180, last pushed 11 days ago -->
<!-- scikit-learn: 46722, last pushed 0 days ago -->
<!-- Matplotlib: 14010, last pushed 0 days ago -->
<!-- MyPy: 11113, last pushed 0 days ago -->
<!-- psutil: 7535, last pushed 1 days ago -->
<!-- scikit-image: 4444, last pushed 0 days ago -->
<!-- twisted-iocpsupport: 4322, last pushed 0 days ago -->
<!-- cmake: 4050, last pushed 0 days ago -->
<!-- websockets: 3490, last pushed 7 days ago -->
<!-- pyzmq: 2866, last pushed 2 days ago -->
<!-- aiortc: 2500, last pushed 27 days ago -->
<!-- River: 1828, last pushed 3 days ago -->
<!-- coverage.py: 1667, last pushed 0 days ago -->
<!-- numexpr: 1615, last pushed 30 days ago -->
<!-- h5py: 1554, last pushed 2 days ago -->
<!-- Dependency Injector: 1493, last pushed 0 days ago -->
<!-- PyAV: 1309, last pushed 61 days ago -->
<!-- PyTables: 1047, last pushed 18 days ago -->
<!-- ruptures: 768, last pushed 3 days ago -->
<!-- aioquic: 720, last pushed 12 days ago -->
<!-- pikepdf: 706, last pushed 4 days ago -->
<!-- google neuroglancer: 671, last pushed 1 days ago -->
<!-- DeepForest: 638, last pushed 14 days ago -->
<!-- AutoPy: 561, last pushed 50 days ago -->
<!-- Parselmouth: 536, last pushed 0 days ago -->
<!-- python-rapidjson: 424, last pushed 42 days ago -->
<!-- Rtree: 415, last pushed 139 days ago -->
<!-- markupsafe: 411, last pushed 1 days ago -->
<!-- python-snappy: 407, last pushed 16 days ago -->
<!-- H3-py: 407, last pushed 55 days ago -->
<!-- pybind11 cmake_example: 296, last pushed 1 days ago -->
<!-- KDEpy: 287, last pushed 64 days ago -->
<!-- cyvcf2: 267, last pushed 10 days ago -->
<!-- pybind11 python_example: 259, last pushed 1 days ago -->
<!-- dd-trace-py: 259, last pushed 0 days ago -->
<!-- sourmash: 258, last pushed 0 days ago -->
<!-- time-machine: 189, last pushed 1 days ago -->
<!-- matrixprofile: 187, last pushed 42 days ago -->
<!-- iminuit: 182, last pushed 1 days ago -->
<!-- CTranslate2: 177, last pushed 0 days ago -->
<!-- matrixprofile: 170, last pushed 20 days ago -->
<!-- jq.py: 162, last pushed 23 days ago -->
<!-- Tokenizer: 148, last pushed 20 days ago -->
<!-- PyGLM: 106, last pushed 65 days ago -->
<!-- bx-python: 103, last pushed 6 days ago -->
<!-- boost-histogram: 82, last pushed 3 days ago -->
<!-- iDynTree: 82, last pushed 0 days ago -->
<!-- pybase64: 68, last pushed 0 days ago -->
<!-- TgCrypto: 67, last pushed 46 days ago -->
<!-- etebase-py: 51, last pushed 192 days ago -->
<!-- fathon: 32, last pushed 43 days ago -->
<!-- pyjet: 29, last pushed 57 days ago -->
<!-- numpythia: 29, last pushed 6 days ago -->
<!-- polaroid: 19, last pushed 17 days ago -->
<!-- ninja: 19, last pushed 0 days ago -->
<!-- GSD: 16, last pushed 14 days ago -->
<!-- pybind11 scikit_build_example: 14, last pushed 6 days ago -->
<!-- Imagecodecs (fork): 11, last pushed 20 days ago -->
<!-- pyinstrument_cext: 10, last pushed 15 days ago -->
<!-- xmlstarlet: 7, last pushed 3 days ago -->
<!-- CorrectionLib: 6, last pushed 23 days ago -->
<!-- SiPM: 4, last pushed 6 days ago -->
<!-- jq.py: 167, last pushed 4 days ago -->
<!-- Tokenizer: 150, last pushed 1 days ago -->
<!-- PyGLM: 107, last pushed 17 days ago -->
<!-- bx-python: 105, last pushed 29 days ago -->
<!-- iDynTree: 85, last pushed 4 days ago -->
<!-- boost-histogram: 83, last pushed 4 days ago -->
<!-- pybase64: 72, last pushed 3 days ago -->
<!-- TgCrypto: 68, last pushed 68 days ago -->
<!-- etebase-py: 51, last pushed 214 days ago -->
<!-- fathon: 33, last pushed 65 days ago -->
<!-- pyjet: 30, last pushed 79 days ago -->
<!-- numpythia: 30, last pushed 12 days ago -->
<!-- polaroid: 22, last pushed 12 days ago -->
<!-- ninja: 19, last pushed 1 days ago -->
<!-- Imagecodecs (fork): 17, last pushed 6 days ago -->
<!-- GSD: 17, last pushed 5 days ago -->
<!-- pybind11 scikit_build_example: 16, last pushed 3 days ago -->
<!-- pyinstrument_cext: 10, last pushed 22 days ago -->
<!-- xmlstarlet: 7, last pushed 15 days ago -->
<!-- CorrectionLib: 6, last pushed 10 days ago -->
<!-- SiPM: 4, last pushed 28 days ago -->
<!-- END bin/projects.py -->
@@ -354,8 +354,25 @@ Changelog
<!--changelog-start-->
### v2.1.1
_7 August 2021_
- ✨ Corresponding with the release of CPython 3.10.0rc1, which is ABI stable, cibuildwheel now builds CPython 3.10 by default - without the CIBW_PRERELEASE_PYTHONS flag.
<sup>Note: v2.1.0 was a bad release, it was yanked from PyPI.</sup>
### v2.0.1
_25 July 2021_
- 📚 Docs improvements (#767)
- 🛠 Dependency updates, including delocate 0.9.0.
### v2.0.0 🎉
_16 July 2021_
- 🌟 You can now configure cibuildwheel options inside your project's `pyproject.toml`! Environment variables still work of course. Check out the [documentation](https://cibuildwheel.readthedocs.io/en/stable/options/#setting-options) for more info.
- 🌟 Added support for building wheels with [build](https://github.com/pypa/build), as well as pip. This feature is controlled with the [`CIBW_BUILD_FRONTEND`](https://cibuildwheel.readthedocs.io/en/stable/options/#build-frontend) option.
- 🌟 Added the ability to test building wheels on CPython 3.10! Because CPython 3.10 is in beta, these wheels should not be distributed, because they might not be compatible with the final release, but it's available to build for testing purposes. Use the flag [`--prerelease-pythons` or `CIBW_PRERELEASE_PYTHONS`](https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons) to test. (#675) This version of cibuildwheel includes CPython 3.10.0b4.
+1 -1
View File
@@ -1 +1 @@
__version__ = "2.0.0"
__version__ = "2.1.1"
+5 -5
View File
@@ -40,9 +40,9 @@ python_configurations = [
{ identifier = "cp39-macosx_x86_64", version = "3.9", url = "https://www.python.org/ftp/python/3.9.6/python-3.9.6-macos11.pkg" },
{ identifier = "cp39-macosx_arm64", version = "3.9", url = "https://www.python.org/ftp/python/3.9.6/python-3.9.6-macos11.pkg" },
{ identifier = "cp39-macosx_universal2", version = "3.9", url = "https://www.python.org/ftp/python/3.9.6/python-3.9.6-macos11.pkg" },
{ identifier = "cp310-macosx_x86_64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0b4-macos11.pkg" },
{ identifier = "cp310-macosx_arm64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0b4-macos11.pkg" },
{ identifier = "cp310-macosx_universal2", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0b4-macos11.pkg" },
{ identifier = "cp310-macosx_x86_64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0rc1-macos11.pkg" },
{ identifier = "cp310-macosx_arm64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0rc1-macos11.pkg" },
{ identifier = "cp310-macosx_universal2", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0rc1-macos11.pkg" },
{ identifier = "pp37-macosx_x86_64", version = "3.7", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.5-osx64.tar.bz2" },
]
@@ -56,7 +56,7 @@ python_configurations = [
{ identifier = "cp38-win_amd64", version = "3.8.10", arch = "64" },
{ identifier = "cp39-win32", version = "3.9.6", arch = "32" },
{ identifier = "cp39-win_amd64", version = "3.9.6", arch = "64" },
{ identifier = "cp310-win32", version = "3.10.0-b4", arch = "32" },
{ identifier = "cp310-win_amd64", version = "3.10.0-b4", arch = "64" },
{ identifier = "cp310-win32", version = "3.10.0-rc1", arch = "32" },
{ identifier = "cp310-win_amd64", version = "3.10.0-rc1", arch = "64" },
{ identifier = "pp37-win_amd64", version = "3.7", arch = "64", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.5-win64.zip" },
]
@@ -6,25 +6,29 @@
#
backports.entry-points-selectable==1.1.0
# via virtualenv
delocate==0.8.2
delocate==0.9.0
# via -r cibuildwheel/resources/constraints.in
distlib==0.3.2
# via virtualenv
filelock==3.0.12
# via virtualenv
importlib-metadata==4.6.1
importlib-metadata==4.6.3
# via
# backports.entry-points-selectable
# virtualenv
importlib-resources==5.2.0
importlib-resources==5.2.2
# via virtualenv
platformdirs==2.0.2
platformdirs==2.2.0
# via virtualenv
six==1.16.0
# via virtualenv
# via
# delocate
# virtualenv
typing-extensions==3.10.0.0
# via importlib-metadata
virtualenv==20.5.0
# via
# delocate
# importlib-metadata
virtualenv==20.7.0
# via -r cibuildwheel/resources/constraints.in
wheel==0.36.2
# via
@@ -36,7 +40,7 @@ zipp==3.5.0
# importlib-resources
# The following packages are considered to be unsafe in a requirements file:
pip==21.1.3
pip==21.2.3
# via -r cibuildwheel/resources/constraints.in
setuptools==57.1.0
setuptools==57.4.0
# via -r cibuildwheel/resources/constraints.in
@@ -6,23 +6,27 @@
#
backports.entry-points-selectable==1.1.0
# via virtualenv
delocate==0.8.2
delocate==0.9.0
# via -r cibuildwheel/resources/constraints.in
distlib==0.3.2
# via virtualenv
filelock==3.0.12
# via virtualenv
importlib-metadata==4.6.1
importlib-metadata==4.6.3
# via
# backports.entry-points-selectable
# virtualenv
platformdirs==2.0.2
platformdirs==2.2.0
# via virtualenv
six==1.16.0
# via virtualenv
# via
# delocate
# virtualenv
typing-extensions==3.10.0.0
# via importlib-metadata
virtualenv==20.5.0
# via
# delocate
# importlib-metadata
virtualenv==20.7.0
# via -r cibuildwheel/resources/constraints.in
wheel==0.36.2
# via
@@ -32,7 +36,7 @@ zipp==3.5.0
# via importlib-metadata
# The following packages are considered to be unsafe in a requirements file:
pip==21.1.3
pip==21.2.3
# via -r cibuildwheel/resources/constraints.in
setuptools==57.1.0
setuptools==57.4.0
# via -r cibuildwheel/resources/constraints.in
@@ -6,17 +6,21 @@
#
backports.entry-points-selectable==1.1.0
# via virtualenv
delocate==0.8.2
delocate==0.9.0
# via -r cibuildwheel/resources/constraints.in
distlib==0.3.2
# via virtualenv
filelock==3.0.12
# via virtualenv
platformdirs==2.0.2
platformdirs==2.2.0
# via virtualenv
six==1.16.0
# via virtualenv
virtualenv==20.5.0
# via
# delocate
# virtualenv
typing-extensions==3.10.0.0
# via delocate
virtualenv==20.7.0
# via -r cibuildwheel/resources/constraints.in
wheel==0.36.2
# via
@@ -24,7 +28,7 @@ wheel==0.36.2
# delocate
# The following packages are considered to be unsafe in a requirements file:
pip==21.1.3
pip==21.2.3
# via -r cibuildwheel/resources/constraints.in
setuptools==57.1.0
setuptools==57.4.0
# via -r cibuildwheel/resources/constraints.in
@@ -6,17 +6,21 @@
#
backports.entry-points-selectable==1.1.0
# via virtualenv
delocate==0.8.2
delocate==0.9.0
# via -r cibuildwheel/resources/constraints.in
distlib==0.3.2
# via virtualenv
filelock==3.0.12
# via virtualenv
platformdirs==2.0.2
platformdirs==2.2.0
# via virtualenv
six==1.16.0
# via virtualenv
virtualenv==20.5.0
# via
# delocate
# virtualenv
typing-extensions==3.10.0.0
# via delocate
virtualenv==20.7.0
# via -r cibuildwheel/resources/constraints.in
wheel==0.36.2
# via
@@ -24,7 +28,7 @@ wheel==0.36.2
# delocate
# The following packages are considered to be unsafe in a requirements file:
pip==21.1.3
pip==21.2.3
# via -r cibuildwheel/resources/constraints.in
setuptools==57.1.0
setuptools==57.4.0
# via -r cibuildwheel/resources/constraints.in
+10 -6
View File
@@ -6,17 +6,21 @@
#
backports.entry-points-selectable==1.1.0
# via virtualenv
delocate==0.8.2
delocate==0.9.0
# via -r cibuildwheel/resources/constraints.in
distlib==0.3.2
# via virtualenv
filelock==3.0.12
# via virtualenv
platformdirs==2.0.2
platformdirs==2.2.0
# via virtualenv
six==1.16.0
# via virtualenv
virtualenv==20.5.0
# via
# delocate
# virtualenv
typing-extensions==3.10.0.0
# via delocate
virtualenv==20.7.0
# via -r cibuildwheel/resources/constraints.in
wheel==0.36.2
# via
@@ -24,7 +28,7 @@ wheel==0.36.2
# delocate
# The following packages are considered to be unsafe in a requirements file:
pip==21.1.3
pip==21.2.3
# via -r cibuildwheel/resources/constraints.in
setuptools==57.1.0
setuptools==57.4.0
# via -r cibuildwheel/resources/constraints.in
+22 -22
View File
@@ -1,38 +1,38 @@
[x86_64]
manylinux1 = quay.io/pypa/manylinux1_x86_64:2021-07-14-0700e04
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-07-14-67a6e11
manylinux1 = quay.io/pypa/manylinux1_x86_64:2021-08-01-f71d505
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-08-03-e7edb37
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-08-03-e7edb37
[i686]
manylinux1 = quay.io/pypa/manylinux1_i686:2021-07-14-0700e04
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-07-14-67a6e11
manylinux1 = quay.io/pypa/manylinux1_i686:2021-08-01-f71d505
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-08-03-e7edb37
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-08-03-e7edb37
[pypy_x86_64]
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-07-14-67a6e11
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-08-03-e7edb37
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-08-03-e7edb37
[pypy_i686]
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-07-14-67a6e11
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-08-03-e7edb37
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-08-03-e7edb37
[aarch64]
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-08-03-e7edb37
[ppc64le]
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2021-08-03-e7edb37
[s390x]
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2021-08-03-e7edb37
[pypy_aarch64]
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-07-14-67a6e11
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-07-14-67a6e11
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-08-03-e7edb37
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-08-03-e7edb37
+1 -1
View File
@@ -67,7 +67,7 @@ class IdentifierSelector:
"""
# a pattern that skips prerelease versions, when include_prereleases is False.
PRERELEASE_SKIP = "cp310-*"
PRERELEASE_SKIP = ""
def __init__(
self,
+2 -2
View File
@@ -210,7 +210,7 @@ There are two suggested methods for keeping cibuildwheel up to date that instead
If you use GitHub Actions for builds, you can use cibuildwheel as an action:
```yaml
uses: pypa/cibuildwheel@v2.0.0
uses: pypa/cibuildwheel@v2.1.1
```
This is a composite step that just runs cibuildwheel using pipx. You can set command-line options as `with:` parameters, and use `env:` as normal.
@@ -236,7 +236,7 @@ The second option, and the only one that supports other CI systems, is using a `
```bash
# requirements-cibw.txt
cibuildwheel==2.0.0
cibuildwheel==2.1.1
```
Then your install step would have `python -m pip install -r requirements-cibw.txt` in it. Your `.github/dependabot.yml` file could look like this:
+15 -7
View File
@@ -494,19 +494,23 @@ Platform-specific environment variables are also available:<br/>
```yaml
# Set some compiler flags
CIBW_ENVIRONMENT: "CFLAGS='-g -Wall' CXXFLAGS='-Wall'"
CIBW_ENVIRONMENT: CFLAGS='-g -Wall' CXXFLAGS='-Wall'
# Append a directory to the PATH variable (this is expanded in the build environment)
CIBW_ENVIRONMENT: "PATH=$PATH:/usr/local/bin"
CIBW_ENVIRONMENT: PATH=$PATH:/usr/local/bin
# Prepend a directory containing spaces on Windows.
CIBW_ENVIRONMENT_WINDOWS: >
PATH="C:\\Program Files\\PostgreSQL\\13\\bin;$PATH"
# Set BUILD_TIME to the output of the `date` command
CIBW_ENVIRONMENT: "BUILD_TIME=$(date)"
CIBW_ENVIRONMENT: BUILD_TIME="$(date)"
# Supply options to `pip` to affect how it downloads dependencies
CIBW_ENVIRONMENT: "PIP_EXTRA_INDEX_URL=https://pypi.myorg.com/simple"
CIBW_ENVIRONMENT: PIP_EXTRA_INDEX_URL=https://pypi.myorg.com/simple
# Set two flags on linux only
CIBW_ENVIRONMENT_LINUX: "BUILD_TIME=$(date) SAMPLE_TEXT=\"sample text\""
CIBW_ENVIRONMENT_LINUX: BUILD_TIME="$(date)" SAMPLE_TEXT="sample text"
```
Separate multiple values with a space.
@@ -524,6 +528,10 @@ Platform-specific environment variables are also available:<br/>
# Append a directory to the PATH variable (this is expanded in the build environment)
environment = { PATH="$PATH:/usr/local/bin" }
# Prepend a directory containing spaces on Windows.
[tool.cibuildwheel.windows]
environment = { PATH='C:\\Program Files\\PostgreSQL\\13\\bin;$PATH' }
# Set BUILD_TIME to the output of the `date` command
environment = { BUILD_TIME="$(date)" }
@@ -568,7 +576,7 @@ Platform-specific environment variables also available:<br/>
CIBW_BEFORE_ALL: make -C third_party_lib
# Install system library
CIBW_BEFORE_ALL_LINUX: yum install -y libffi-dev
CIBW_BEFORE_ALL_LINUX: yum install -y libffi-devel
# Chain multiple commands using && and > in a YAML file, like:
CIBW_BEFORE_ALL: >
@@ -590,7 +598,7 @@ Platform-specific environment variables also available:<br/>
# Install system library
[tool.cibuildwheel.linux]
before-all = "yum install -y libffi-dev"
before-all = "yum install -y libffi-devel"
# Run multiple commands using an array
before-all = [
+2 -2
View File
@@ -46,7 +46,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
- uses: actions/checkout@v2
- name: Build wheels
run: pipx run cibuildwheel==2.0.0
run: pipx run cibuildwheel==2.1.1
- uses: actions/upload-artifact@v2
with:
@@ -81,7 +81,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
- uses: actions/setup-python@v2
- name: Install cibuildwheel
run: python -m pip install cibuildwheel==2.0.0
run: python -m pip install cibuildwheel==2.1.1
- name: Build wheels
run: python -m cibuildwheel --output-dir wheelhouse
+1 -1
View File
@@ -12,7 +12,7 @@ stack: python 3.7
init:
- cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH%
install: python -m pip install cibuildwheel==2.0.0
install: python -m pip install cibuildwheel==2.1.1
build_script: python -m cibuildwheel --output-dir wheelhouse
+3 -3
View File
@@ -6,7 +6,7 @@ jobs:
- bash: |
set -o errexit
python3 -m pip install --upgrade pip
pip3 install cibuildwheel==2.0.0
pip3 install cibuildwheel==2.1.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
@@ -20,7 +20,7 @@ jobs:
- bash: |
set -o errexit
python3 -m pip install --upgrade pip
python3 -m pip install cibuildwheel==2.0.0
python3 -m pip install cibuildwheel==2.1.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
@@ -34,7 +34,7 @@ jobs:
- bash: |
set -o errexit
python -m pip install --upgrade pip
pip install cibuildwheel==2.0.0
pip install cibuildwheel==2.1.1
displayName: Install dependencies
- bash: cibuildwheel --output-dir wheelhouse .
displayName: Build wheels
+2 -2
View File
@@ -11,7 +11,7 @@ jobs:
- run:
name: Build the Linux wheels.
command: |
pip3 install --user cibuildwheel==2.0.0
pip3 install --user cibuildwheel==2.1.1
cibuildwheel --output-dir wheelhouse
- store_artifacts:
path: wheelhouse/
@@ -25,7 +25,7 @@ jobs:
- run:
name: Build the OS X wheels.
command: |
pip3 install cibuildwheel==2.0.0
pip3 install cibuildwheel==2.1.1
cibuildwheel --output-dir wheelhouse
- store_artifacts:
path: wheelhouse/
+1 -1
View File
@@ -10,7 +10,7 @@ jobs:
- uses: actions/checkout@v2
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.0
uses: pypa/cibuildwheel@v2.1.1
env:
CIBW_ARCHS_MACOS: x86_64 universal2
+1 -1
View File
@@ -27,7 +27,7 @@ jobs:
python-version: '3.8'
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.0
uses: pypa/cibuildwheel@v2.1.1
- uses: actions/upload-artifact@v2
with:
+1 -1
View File
@@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.0
uses: pypa/cibuildwheel@v2.1.1
# to supply options, put them in 'env', like:
# env:
# CIBW_SOME_OPTION: value
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
platforms: all
- name: Build wheels
uses: pypa/cibuildwheel@v2.0.0
uses: pypa/cibuildwheel@v2.1.1
env:
# configure cibuildwheel to build native archs ('auto'), and some
# emulated ones
+1 -1
View File
@@ -12,7 +12,7 @@ linux:
DOCKER_TLS_CERTDIR: ""
script:
- curl -sSL https://get.docker.com/ | sh
- python -m pip install cibuildwheel==2.0.0
- python -m pip install cibuildwheel==2.1.1
- cibuildwheel --output-dir wheelhouse
artifacts:
paths:
+1 -1
View File
@@ -19,7 +19,7 @@ jobs:
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
install:
- python3 -m pip install cibuildwheel==2.0.0
- python3 -m pip install cibuildwheel==2.1.1
script:
# build the wheels, put them into './wheelhouse'
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
install:
- python3 -m pip install cibuildwheel==2.0.0
- python3 -m pip install cibuildwheel==2.1.1
script:
# build the wheels, put them into './wheelhouse'
+2 -2
View File
@@ -57,7 +57,7 @@ jobs:
- stage: deploy
name: Build and deploy Linux wheels
services: docker
install: python3 -m pip install cibuildwheel==2.0.0
install: python3 -m pip install cibuildwheel==2.1.1
script: python3 -m cibuildwheel --output-dir wheelhouse
after_success: |
python3 -m pip install twine
@@ -67,7 +67,7 @@ jobs:
name: Build and deploy Windows wheels
os: windows
language: shell
install: python3 -m pip install cibuildwheel==2.0.0
install: python3 -m pip install cibuildwheel==2.1.1
script: python3 -m cibuildwheel --output-dir wheelhouse
after_success: |
python3 -m pip install twine
+1 -1
View File
@@ -1,6 +1,6 @@
[metadata]
name = cibuildwheel
version = 2.0.0
version = 2.1.1
description = Build Python wheels on CI with minimal configuration.
long_description = file: README.md
long_description_content_type = text/markdown
+4 -2
View File
@@ -1,3 +1,4 @@
import pytest
from packaging.specifiers import SpecifierSet
from cibuildwheel.util import BuildSelector
@@ -8,7 +9,7 @@ def test_build():
assert build_selector("cp36-manylinux_x86_64")
assert build_selector("cp37-manylinux_x86_64")
assert not build_selector("cp310-manylinux_x86_64")
assert build_selector("cp310-manylinux_x86_64")
assert build_selector("pp36-manylinux_x86_64")
assert build_selector("pp37-manylinux_x86_64")
assert build_selector("cp36-manylinux_i686")
@@ -26,11 +27,12 @@ def test_build():
assert not build_selector("pp37-win32")
assert build_selector("cp36-win_amd64")
assert build_selector("cp37-win_amd64")
assert not build_selector("cp310-win_amd64")
assert build_selector("cp310-win_amd64")
assert not build_selector("pp36-win_amd64")
assert not build_selector("pp37-win_amd64")
@pytest.mark.skip("this test only makes sense when we have a prerelease python to test with")
def test_build_filter_pre():
build_selector = BuildSelector(
build_config="cp3*-* *-manylinux*",