Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
afb4329fe3 | ||
|
|
5d73e913d8 | ||
|
|
444c40f590 | ||
|
|
98f5bc52f0 | ||
|
|
8bf28fb1ac | ||
|
|
39176acc4b | ||
|
|
61821a8473 | ||
|
|
a7b7d146b9 | ||
|
|
0e1878bcdb | ||
|
|
7c922f99d4 | ||
|
|
ee85748505 | ||
|
|
0b1e5818ba | ||
|
|
57800921c5 | ||
|
|
88d432ca21 | ||
|
|
e50075b96f | ||
|
|
6afe95e6ae | ||
|
|
9f526509d7 | ||
|
|
de53d48373 | ||
|
|
024bc2dc7f | ||
|
|
d76bbb6046 | ||
|
|
f423b51ea6 | ||
|
|
f349304eb7 | ||
|
|
40f92bd1bc | ||
|
|
25c1bf53d0 | ||
|
|
8afef34283 |
@@ -37,7 +37,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-latest, windows-latest, macos-11]
|
||||
os: [ubuntu-18.04, windows-latest, macos-11]
|
||||
python_version: ['3.10']
|
||||
timeout-minutes: 180
|
||||
steps:
|
||||
@@ -63,21 +63,21 @@ jobs:
|
||||
run: |
|
||||
python -m pip install ".[test]"
|
||||
|
||||
- name: Sample build
|
||||
if: "contains(github.event.pull_request.labels.*.name, 'CI: Sample build')"
|
||||
run: |
|
||||
python bin/sample_build.py
|
||||
|
||||
- name: Get some sample wheels
|
||||
- name: Generate a sample project
|
||||
run: |
|
||||
python -m test.test_projects test.test_0_basic.basic_project sample_proj
|
||||
cibuildwheel --output-dir wheelhouse sample_proj
|
||||
|
||||
- name: Run a sample build (GitHub Action)
|
||||
uses: ./
|
||||
with:
|
||||
package-dir: sample_proj
|
||||
output-dir: wheelhouse
|
||||
env:
|
||||
CIBW_ARCHS_MACOS: x86_64 universal2 arm64
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: sample_wheels
|
||||
name: sample_wheels_action
|
||||
path: wheelhouse
|
||||
|
||||
- name: Test cibuildwheel
|
||||
|
||||
@@ -14,7 +14,7 @@ repos:
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.34.0
|
||||
rev: v2.37.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
name: PyUpgrade 3.6+
|
||||
@@ -27,7 +27,7 @@ repos:
|
||||
|
||||
# Autoremoves unused imports
|
||||
- repo: https://github.com/hadialqattan/pycln
|
||||
rev: v1.3.5
|
||||
rev: v2.0.3
|
||||
hooks:
|
||||
- id: pycln
|
||||
args: [--all]
|
||||
|
||||
@@ -80,7 +80,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macOS-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macOS-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -89,7 +89,7 @@ jobs:
|
||||
- uses: actions/setup-python@v3
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.8.0
|
||||
run: python -m pip install cibuildwheel==2.8.1
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
@@ -204,12 +204,25 @@ Changelog
|
||||
|
||||
<!-- this section was generated by bin/update_readme_changelog.py -- do not edit manually -->
|
||||
|
||||
### v2.8.1
|
||||
|
||||
_18 July 2022_
|
||||
|
||||
- 🐛 Fix a bug when building CPython 3.8 wheels on an Apple Silicon machine where testing would always fail. cibuildwheel will no longer attempt to test the arm64 part of CPython 3.8 wheels because we use the x86_64 installer of CPython 3.8 due to its macOS system version backward-compatibility. See [#1169](https://github.com/pypa/cibuildwheel/pull/1169) for more details. (#1171)
|
||||
- 🛠 Update the prerelease CPython 3.11 to 3.11.0b4. (#1180)
|
||||
- 🛠 The GitHub Action will ensure a compatible version of Python is installed on the runner (#1114)
|
||||
- 📚 A few docs improvements
|
||||
|
||||
### v2.8.0
|
||||
|
||||
_5 July 2022_
|
||||
|
||||
- ✨ You can now run cibuildwheel on Podman, as an alternate container engine to Docker, which remains the default. This is useful in environments where a Docker daemon isn't available, for example, it can be run inside a Docker container, or without root access. To use Podman, set the [`CIBW_CONTAINER_ENGINE`](https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine) option. (#966)
|
||||
- ✨ Adds support for building `py3-none-{platform}` wheels. These wheels contain native extension code, but don't use the Python APIs. Typically, they're bridged to Python using a FFI module like [ctypes](https://docs.python.org/3/library/ctypes.html) or [cffi](https://cffi.readthedocs.io/en/latest/). Because they don't use Python ABI, the wheels are more compatible - they work across many Python versions. Check out this [example ctypes project](https://github.com/joerick/python-ctypes-package-sample) to see an example of how it works. (#1151)
|
||||
- ✨ You can now run cibuildwheel on Podman, as an alternate container engine to Docker (which remains the default). This is useful in environments where a Docker daemon isn't available, for example, it can be run inside a Docker container, or without root access. To use Podman, set the [`CIBW_CONTAINER_ENGINE`](https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine) option. (#966)
|
||||
- ✨ Adds support for building `py3-none-{platform}` wheels. This works the same as ABI3 - wheels won't be rebuilt, but tests will still be run across all selected versions of Python.
|
||||
|
||||
> These wheels contain native extension code, but don't use the Python APIs. Typically, they're bridged to Python using a FFI module like [ctypes](https://docs.python.org/3/library/ctypes.html) or [cffi](https://cffi.readthedocs.io/en/latest/). Because they don't use Python ABI, the wheels are more compatible - they work across many Python versions.
|
||||
|
||||
Check out this [example ctypes project](https://github.com/joerick/python-ctypes-package-sample) to see an example of how it works. (#1151)
|
||||
- 🛠 cibuildwheel will now error if multiple builds in a single run produce the same wheel filename, as this indicates a misconfiguration. (#1152)
|
||||
- 📚 A few docs improvements and updates to keep things up-to-date.
|
||||
|
||||
@@ -235,16 +248,6 @@ _25 May 2022_
|
||||
- 🌟 Added the ability to test building wheels on CPython 3.11! Because CPython 3.11 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. This version of cibuildwheel includes CPython 3.11.0b1. (#1109)
|
||||
- 📚 Added an interactive diagram showing how cibuildwheel works to the [docs](https://cibuildwheel.readthedocs.io/en/stable/#how-it-works) (#1100)
|
||||
|
||||
### v2.5.0
|
||||
|
||||
_29 April 2022_
|
||||
|
||||
- ✨ Added support for building ABI3 wheels. cibuildwheel will now recognise when an ABI3 wheel was produced, and skip subsequent build steps where the previously built wheel is compatible. Tests still will run on all selected versions of Python, using the ABI3 wheel. Check [this entry](https://cibuildwheel.readthedocs.io/en/stable/faq/#abi3) in the docs for more info. (#1091)
|
||||
- ✨ You can now build wheels directly from sdist archives, in addition to source directories. Just call cibuildwheel with an sdist argument on the command line, like `cibuildwheel mypackage-1.0.0.tar.gz`. For more details, check the [`--help` output](https://cibuildwheel.readthedocs.io/en/stable/options/#command-line) (#1096)
|
||||
- 🐛 Fix a bug where cibuildwheel would crash when no builds are selected and `--allow-empty` is passed (#1086)
|
||||
- 🐛 Workaround a permissions issue on Linux relating to newer versions of git and setuptools_scm (#1095)
|
||||
- 📚 Minor docs improvements
|
||||
|
||||
<!-- END bin/update_readme_changelog.py -->
|
||||
|
||||
---
|
||||
|
||||
@@ -20,10 +20,17 @@ branding:
|
||||
runs:
|
||||
using: composite
|
||||
steps:
|
||||
# Set up a non-EOL, cibuildwheel & pipx supported Python version
|
||||
- uses: actions/setup-python@v4
|
||||
id: python
|
||||
with:
|
||||
python-version: "3.7 - 3.10"
|
||||
update-environment: false
|
||||
|
||||
# Redirecting stderr to stdout to fix interleaving issue in Actions.
|
||||
- run: >
|
||||
pipx run
|
||||
--python '${{ steps.python.outputs.python-path }}'
|
||||
--spec '${{ github.action_path }}'
|
||||
cibuildwheel
|
||||
${{ inputs.package-dir }}
|
||||
|
||||
+1
-1
@@ -11,7 +11,7 @@ jobs:
|
||||
python ./bin/run_tests.py
|
||||
|
||||
- job: macos_38
|
||||
pool: {vmImage: 'macOS-10.15'}
|
||||
pool: {vmImage: 'macOS-11'}
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
inputs:
|
||||
|
||||
@@ -36,7 +36,7 @@ GET_VIRTUALENV_URL_TEMPLATE: Final[
|
||||
] = f"{GET_VIRTUALENV_GITHUB}/blob/{{version}}/public/virtualenv.pyz?raw=true"
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
@dataclass(frozen=True, order=True)
|
||||
class VersionTuple:
|
||||
version: Version
|
||||
version_string: str
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "2.8.0"
|
||||
__version__ = "2.8.1"
|
||||
|
||||
@@ -465,6 +465,23 @@ def build(options: Options, tmp_path: Path) -> None:
|
||||
# skip this test
|
||||
continue
|
||||
|
||||
if testing_arch == "arm64" and config.identifier.startswith("cp38-"):
|
||||
log.warning(
|
||||
unwrap(
|
||||
"""
|
||||
While cibuildwheel can build CPython 3.8 universal2/arm64 wheels, we
|
||||
cannot test the arm64 part of them, even when running on an Apple
|
||||
Silicon machine. This is because we use the x86_64 installer of
|
||||
CPython 3.8. See the discussion in
|
||||
https://github.com/pypa/cibuildwheel/pull/1169 for the details. To
|
||||
silence this warning, set `CIBW_TEST_SKIP: cp38-macosx_*:arm64`.
|
||||
"""
|
||||
)
|
||||
)
|
||||
|
||||
# skip this test
|
||||
continue
|
||||
|
||||
log.step(
|
||||
"Testing wheel..."
|
||||
if testing_arch == machine_arch
|
||||
|
||||
@@ -84,9 +84,9 @@ python_configurations = [
|
||||
{ identifier = "cp310-macosx_x86_64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.5/python-3.10.5-macos11.pkg" },
|
||||
{ identifier = "cp310-macosx_arm64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.5/python-3.10.5-macos11.pkg" },
|
||||
{ identifier = "cp310-macosx_universal2", version = "3.10", url = "https://www.python.org/ftp/python/3.10.5/python-3.10.5-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_x86_64", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b3-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_arm64", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b3-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_universal2", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b3-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_x86_64", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b4-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_arm64", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b4-macos11.pkg" },
|
||||
{ identifier = "cp311-macosx_universal2", version = "3.11", url = "https://www.python.org/ftp/python/3.11.0/python-3.11.0b4-macos11.pkg" },
|
||||
{ identifier = "pp37-macosx_x86_64", version = "3.7", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.9-osx64.tar.bz2" },
|
||||
{ identifier = "pp38-macosx_x86_64", version = "3.8", url = "https://downloads.python.org/pypy/pypy3.8-v7.3.9-osx64.tar.bz2" },
|
||||
{ identifier = "pp39-macosx_x86_64", version = "3.9", url = "https://downloads.python.org/pypy/pypy3.9-v7.3.9-osx64.tar.bz2" },
|
||||
@@ -104,11 +104,11 @@ python_configurations = [
|
||||
{ identifier = "cp39-win_amd64", version = "3.9.13", arch = "64" },
|
||||
{ identifier = "cp310-win32", version = "3.10.5", arch = "32" },
|
||||
{ identifier = "cp310-win_amd64", version = "3.10.5", arch = "64" },
|
||||
{ identifier = "cp311-win32", version = "3.11.0-b3", arch = "32" },
|
||||
{ identifier = "cp311-win_amd64", version = "3.11.0-b3", arch = "64" },
|
||||
{ identifier = "cp311-win32", version = "3.11.0-b4", arch = "32" },
|
||||
{ identifier = "cp311-win_amd64", version = "3.11.0-b4", arch = "64" },
|
||||
{ identifier = "cp39-win_arm64", version = "3.9.10", arch = "ARM64" },
|
||||
{ identifier = "cp310-win_arm64", version = "3.10.5", arch = "ARM64" },
|
||||
{ identifier = "cp311-win_arm64", version = "3.11.0-b3", arch = "ARM64" },
|
||||
{ identifier = "cp311-win_arm64", version = "3.11.0-b4", arch = "ARM64" },
|
||||
{ identifier = "pp37-win_amd64", version = "3.7", arch = "64", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.9-win64.zip" },
|
||||
{ identifier = "pp38-win_amd64", version = "3.8", arch = "64", url = "https://downloads.python.org/pypy/pypy3.8-v7.3.9-win64.zip" },
|
||||
{ identifier = "pp39-win_amd64", version = "3.9", arch = "64", url = "https://downloads.python.org/pypy/pypy3.9-v7.3.9-win64.zip" },
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -14,9 +14,9 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via delocate
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
@@ -26,5 +26,5 @@ wheel==0.37.1
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -14,9 +14,9 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via delocate
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
@@ -26,5 +26,5 @@ wheel==0.37.1
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.4.1
|
||||
# via virtualenv
|
||||
@@ -22,7 +22,7 @@ typing-extensions==4.1.1
|
||||
# via
|
||||
# delocate
|
||||
# importlib-metadata
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -16,21 +16,21 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via
|
||||
# delocate
|
||||
# importlib-metadata
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
# -r cibuildwheel/resources/constraints.in
|
||||
# delocate
|
||||
zipp==3.8.0
|
||||
zipp==3.8.1
|
||||
# via importlib-metadata
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -14,9 +14,9 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via delocate
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
@@ -26,5 +26,5 @@ wheel==0.37.1
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -14,9 +14,9 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via delocate
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
@@ -26,5 +26,5 @@ wheel==0.37.1
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
#
|
||||
delocate==0.10.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
distlib==0.3.4
|
||||
distlib==0.3.5
|
||||
# via virtualenv
|
||||
filelock==3.7.1
|
||||
# via virtualenv
|
||||
@@ -14,9 +14,9 @@ platformdirs==2.5.2
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
typing-extensions==4.2.0
|
||||
typing-extensions==4.3.0
|
||||
# via delocate
|
||||
virtualenv==20.15.0
|
||||
virtualenv==20.15.1
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
wheel==0.37.1
|
||||
# via
|
||||
@@ -26,5 +26,5 @@ wheel==0.37.1
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==22.1.2
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==62.6.0
|
||||
setuptools==63.2.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,48 +1,48 @@
|
||||
[x86_64]
|
||||
manylinux1 = quay.io/pypa/manylinux1_x86_64:2022-06-26-ddecca8
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2022-06-26-9a2ca4b
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux1 = quay.io/pypa/manylinux1_x86_64:2022-07-17-f8ddacc
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-07-17-51324db
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-07-17-51324db
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2022-07-17-51324db
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_x86_64:2022-07-17-51324db
|
||||
|
||||
[i686]
|
||||
manylinux1 = quay.io/pypa/manylinux1_i686:2022-06-26-ddecca8
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-06-26-9a2ca4b
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_i686:2022-06-26-9a2ca4b
|
||||
manylinux1 = quay.io/pypa/manylinux1_i686:2022-07-17-f8ddacc
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-07-17-51324db
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-07-17-51324db
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_i686:2022-07-17-51324db
|
||||
|
||||
[pypy_x86_64]
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2022-06-26-9a2ca4b
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2022-07-17-51324db
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2022-07-17-51324db
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_x86_64:2022-07-17-51324db
|
||||
|
||||
[pypy_i686]
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-06-26-9a2ca4b
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2022-07-17-51324db
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2022-07-17-51324db
|
||||
|
||||
[aarch64]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2022-06-26-9a2ca4b
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-07-17-51324db
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2022-07-17-51324db
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_aarch64:2022-07-17-51324db
|
||||
|
||||
[ppc64le]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2022-06-26-9a2ca4b
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_ppc64le:2022-06-26-9a2ca4b
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_ppc64le:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2022-07-17-51324db
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_ppc64le:2022-07-17-51324db
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_ppc64le:2022-07-17-51324db
|
||||
|
||||
[s390x]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2022-06-26-9a2ca4b
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_s390x:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2022-07-17-51324db
|
||||
musllinux_1_1 = quay.io/pypa/musllinux_1_1_s390x:2022-07-17-51324db
|
||||
|
||||
[pypy_aarch64]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2022-06-26-9a2ca4b
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2022-07-17-51324db
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2022-07-17-51324db
|
||||
manylinux_2_28 = quay.io/pypa/manylinux_2_28_aarch64:2022-07-17-51324db
|
||||
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
version = "20.15.0"
|
||||
url = "https://github.com/pypa/get-virtualenv/blob/20.15.0/public/virtualenv.pyz?raw=true"
|
||||
version = "20.15.1"
|
||||
url = "https://github.com/pypa/get-virtualenv/blob/20.15.1/public/virtualenv.pyz?raw=true"
|
||||
|
||||
@@ -316,7 +316,7 @@ def download(url: str, dest: Path) -> None:
|
||||
dest.write_bytes(response.read())
|
||||
return
|
||||
|
||||
except urllib.error.URLError:
|
||||
except OSError:
|
||||
if i == repeat_num - 1:
|
||||
raise
|
||||
sleep(3)
|
||||
|
||||
+15
-2
@@ -2,12 +2,25 @@
|
||||
title: Changelog
|
||||
---
|
||||
|
||||
### v2.8.1
|
||||
|
||||
_18 July 2022_
|
||||
|
||||
- 🐛 Fix a bug when building CPython 3.8 wheels on an Apple Silicon machine where testing would always fail. cibuildwheel will no longer attempt to test the arm64 part of CPython 3.8 wheels because we use the x86_64 installer of CPython 3.8 due to its macOS system version backward-compatibility. See [#1169](https://github.com/pypa/cibuildwheel/pull/1169) for more details. (#1171)
|
||||
- 🛠 Update the prerelease CPython 3.11 to 3.11.0b4. (#1180)
|
||||
- 🛠 The GitHub Action will ensure a compatible version of Python is installed on the runner (#1114)
|
||||
- 📚 A few docs improvements
|
||||
|
||||
### v2.8.0
|
||||
|
||||
_5 July 2022_
|
||||
|
||||
- ✨ You can now run cibuildwheel on Podman, as an alternate container engine to Docker, which remains the default. This is useful in environments where a Docker daemon isn't available, for example, it can be run inside a Docker container, or without root access. To use Podman, set the [`CIBW_CONTAINER_ENGINE`](https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine) option. (#966)
|
||||
- ✨ Adds support for building `py3-none-{platform}` wheels. These wheels contain native extension code, but don't use the Python APIs. Typically, they're bridged to Python using a FFI module like [ctypes](https://docs.python.org/3/library/ctypes.html) or [cffi](https://cffi.readthedocs.io/en/latest/). Because they don't use Python ABI, the wheels are more compatible - they work across many Python versions. Check out this [example ctypes project](https://github.com/joerick/python-ctypes-package-sample) to see an example of how it works. (#1151)
|
||||
- ✨ You can now run cibuildwheel on Podman, as an alternate container engine to Docker (which remains the default). This is useful in environments where a Docker daemon isn't available, for example, it can be run inside a Docker container, or without root access. To use Podman, set the [`CIBW_CONTAINER_ENGINE`](https://cibuildwheel.readthedocs.io/en/stable/options/#container-engine) option. (#966)
|
||||
- ✨ Adds support for building `py3-none-{platform}` wheels. This works the same as ABI3 - wheels won't be rebuilt, but tests will still be run across all selected versions of Python.
|
||||
|
||||
> These wheels contain native extension code, but don't use the Python APIs. Typically, they're bridged to Python using a FFI module like [ctypes](https://docs.python.org/3/library/ctypes.html) or [cffi](https://cffi.readthedocs.io/en/latest/). Because they don't use Python ABI, the wheels are more compatible - they work across many Python versions.
|
||||
|
||||
Check out this [example ctypes project](https://github.com/joerick/python-ctypes-package-sample) to see an example of how it works. (#1151)
|
||||
- 🛠 cibuildwheel will now error if multiple builds in a single run produce the same wheel filename, as this indicates a misconfiguration. (#1152)
|
||||
- 📚 A few docs improvements and updates to keep things up-to-date.
|
||||
|
||||
|
||||
@@ -589,3 +589,8 @@
|
||||
gh: MarshalX/python-webrtc
|
||||
ci: [github]
|
||||
os: [windows, apple, linux]
|
||||
|
||||
- name: cf-units
|
||||
gh: SciTools/cf-units
|
||||
ci: [github]
|
||||
os: [apple, linux]
|
||||
|
||||
+2
-2
@@ -133,7 +133,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.8.0
|
||||
uses: pypa/cibuildwheel@v2.8.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.
|
||||
@@ -155,7 +155,7 @@ The second option, and the only one that supports other CI systems, is using a `
|
||||
|
||||
```bash
|
||||
# requirements-cibw.txt
|
||||
cibuildwheel==2.8.0
|
||||
cibuildwheel==2.8.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:
|
||||
|
||||
+7
-3
@@ -643,7 +643,7 @@ To specify more than one environment variable, separate the variable names by sp
|
||||
### `CIBW_BEFORE_ALL` {: #before-all}
|
||||
> Execute a shell command on the build system before any wheels are built.
|
||||
|
||||
Shell command to prepare a common part of the project (e.g. build or install libraries which does not depend on the specific version of Python).
|
||||
Shell command that runs before any builds are run, to build or install parts that do not depend on the specific version of Python.
|
||||
|
||||
This option is very useful for the Linux build, where builds take place in isolated containers managed by cibuildwheel. This command will run inside the container before the wheel builds start. Note, if you're building both `x86_64` and `i686` wheels (the default), your build uses two different container images. In that case, this command will execute twice - once per build container.
|
||||
|
||||
@@ -658,6 +658,10 @@ on macOS and Windows.
|
||||
Platform-specific environment variables also available:<br/>
|
||||
`CIBW_BEFORE_ALL_MACOS` | `CIBW_BEFORE_ALL_WINDOWS` | `CIBW_BEFORE_ALL_LINUX`
|
||||
|
||||
!!! note
|
||||
|
||||
This command is executed in a different Python environment from the builds themselves. So you can't `pip install` a Python dependency in CIBW_BEFORE_ALL and use it in the build. Instead, look at [`CIBW_BEFORE_BUILD`](#before-build), or, if your project uses pyproject.toml, the [build-system.requires](https://peps.python.org/pep-0518/#build-system-table) field.
|
||||
|
||||
#### Examples
|
||||
|
||||
!!! tab examples "Environment variables"
|
||||
@@ -700,9 +704,9 @@ Platform-specific environment variables also available:<br/>
|
||||
|
||||
In configuration files, you can use a TOML array, and each line will be run sequentially - joined with `&&`.
|
||||
|
||||
Note that manylinux2_24 builds occur inside a Debian9 docker, where
|
||||
Note that manylinux_2_24 builds occur inside a Debian9 docker, where
|
||||
manylinux2010 and manylinux2014 builds occur inside a CentOS one. So for
|
||||
`manylinux2_24` the `CIBW_BEFORE_ALL_LINUX` command must use `apt-get -y`
|
||||
`manylinux_2_24` the `CIBW_BEFORE_ALL_LINUX` command must use `apt-get -y`
|
||||
instead.
|
||||
|
||||
### `CIBW_BEFORE_BUILD` {: #before-build}
|
||||
|
||||
+4
-4
@@ -176,13 +176,13 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macos-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macos-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build wheels
|
||||
run: pipx run cibuildwheel==2.8.0
|
||||
run: pipx run cibuildwheel==2.8.1
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
@@ -208,7 +208,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macos-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macos-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -217,7 +217,7 @@ To build Linux, Mac, and Windows wheels using GitHub Actions, create a `.github/
|
||||
- uses: actions/setup-python@v3
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.8.0
|
||||
run: python -m pip install cibuildwheel==2.8.1
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
|
||||
+120
-117
@@ -33,15 +33,15 @@ title: Working examples
|
||||
| [websockets][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | Library for building WebSocket servers and clients. Mostly written in Python, with a small C 'speedups' extension module. |
|
||||
| [cvxpy][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | A Python-embedded modeling language for convex optimization problems. |
|
||||
| [PyOxidizer][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | A modern Python application packaging and distribution tool |
|
||||
| [UltraJSON][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Ultra fast JSON decoder and encoder written in C with Python bindings |
|
||||
| [Triton][] | ![github icon][] | ![linux icon][] | Self hosted runners |
|
||||
| [UltraJSON][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Ultra fast JSON decoder and encoder written in C with Python bindings |
|
||||
| [River][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | 🌊 Online machine learning in Python |
|
||||
| [OpenSpiel][] | ![github icon][] | ![apple icon][] ![linux icon][] | OpenSpiel is a collection of environments and algorithms for research in general reinforcement learning and search/planning in games. |
|
||||
| [pyzmq][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Python bindings for zeromq, the networking library. Uses Cython and CFFI. |
|
||||
| [aiortc][] | ![github icon][] | ![apple icon][] ![linux icon][] | WebRTC and ORTC implementation for Python using asyncio. |
|
||||
| [vispy][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Main repository for Vispy |
|
||||
| [Implicit][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes GPU support for linux wheels |
|
||||
| [Confluent client for Kafka][] | ![travisci icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | setup in `tools/wheels/build-wheels.bat` |
|
||||
| [Implicit][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes GPU support for linux wheels |
|
||||
| [tinyobjloader][] | ![azurepipelines icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Tiny but powerful single file wavefront obj loader |
|
||||
| [Dependency Injector][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Dependency injection framework for Python, uses Windows TravisCI |
|
||||
| [coverage.py][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | The coverage tool for Python |
|
||||
@@ -72,11 +72,11 @@ title: Working examples
|
||||
| [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 |
|
||||
| [tgcalls][] | ![github icon][] | ![apple icon][] ![windows icon][] | Python `pybind11` binding to Telegram's WebRTC library with third party dependencies like `OpenSSL`, `MozJPEG`, `FFmpeg`, etc. |
|
||||
| [pybind11 python_example][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Example pybind11 module built with a Python-based build system |
|
||||
| [dd-trace-py][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Uses custom alternate arch emulation on GitHub |
|
||||
| [pybind11 python_example][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Example pybind11 module built with a Python-based build system |
|
||||
| [sourmash][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Quickly search, compare, and analyze genomic and metagenomic data sets. |
|
||||
| [CTranslate2][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes libraries from the [Intel oneAPI toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit.html) and CUDA kernels compiled for multiple GPU architectures. |
|
||||
| [time-machine][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Time mocking library using only the CPython C API. |
|
||||
| [CTranslate2][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes libraries from the [Intel oneAPI toolkit](https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit.html) and CUDA kernels compiled for multiple GPU architectures. |
|
||||
| [cyvcf2][] | ![github icon][] | ![apple icon][] ![linux icon][] | cython + htslib == fast VCF and BCF processing |
|
||||
| [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. |
|
||||
| [abess][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A fast best-subset selection library. It uses cibuildwheel to build a large project with C++ extensions. |
|
||||
@@ -86,20 +86,21 @@ title: Working examples
|
||||
| [PyGLM][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Fast OpenGL Mathematics (GLM) for Python |
|
||||
| [boost-histogram][] | ![github icon][] ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Supports full range of wheels, including PyPy and alternate archs. |
|
||||
| [bx-python][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | A library that includes Cython extensions. |
|
||||
| [iDynTree][] | ![github icon][] | ![linux icon][] | Uses manylinux_2_24 |
|
||||
| [TgCrypto][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes a Windows Travis build. |
|
||||
| [iDynTree][] | ![github icon][] | ![linux icon][] | Uses manylinux_2_24 |
|
||||
| [Python-WebRTC][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | a Python extension that provides bindings to WebRTC M92 |
|
||||
| [pybase64][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Fast Base64 encoding/decoding in Python |
|
||||
| [Arbor][] | ![github icon][] | ![apple icon][] ![linux icon][] | Arbor is a multi-compartment neuron simulation library; compatible with next-generation accelerators; best-practices applied to research software; focused on community-driven development. Includes a [small script](https://github.com/arbor-sim/arbor/blob/master/scripts/patchwheel.py) patching `rpath` in bundled libraries. |
|
||||
| [fathon][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | python package for DFA (Detrended Fluctuation Analysis) and related algorithms |
|
||||
| [etebase-py][] | ![travisci icon][] | ![linux icon][] | Python bindings to a Rust library using `setuptools-rust`, and `sccache` for improved speed. |
|
||||
| [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. |
|
||||
| [polaroid][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Full range of wheels for setuptools rust, with auto release and PyPI deploy. |
|
||||
| [cf-units][] | ![github icon][] | ![apple icon][] ![linux icon][] | Units of measure as required by the Climate and Forecast (CF) Metadata Conventions |
|
||||
| [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. |
|
||||
| [clang-format][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Scikit-build wrapper around LLVM's CMake, all platforms, generic wheels. |
|
||||
| [numpythia][] | ![github icon][] | ![apple icon][] ![linux icon][] | The interface between PYTHIA and NumPy |
|
||||
| [power-grid-model][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Python/C++ library for distribution power system analysis |
|
||||
| [pyjet][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | The interface between FastJet and NumPy |
|
||||
| [pillow-heif][] | ![github icon][] | ![apple icon][] ![linux icon][] | Python CFFI binding to libheif library with third party dependencies like `libde265`, `x265`, `libaom` with test & publishing on PyPi. |
|
||||
| [power-grid-model][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Python/C++ library for distribution power system analysis |
|
||||
| [numpythia][] | ![github icon][] | ![apple icon][] ![linux icon][] | The interface between PYTHIA and NumPy |
|
||||
| [pyjet][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | The interface between FastJet and NumPy |
|
||||
| [pybind11 scikit_build_example][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | An example combining scikit-build and pybind11 |
|
||||
| [ninja][] | ![github icon][] ![travisci icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Multitagged binary builds for all supported platforms, using cibw 2 config configuration. |
|
||||
| [GSD][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Cython and NumPy project with 64-bit wheels. |
|
||||
@@ -133,15 +134,15 @@ title: Working examples
|
||||
[websockets]: https://github.com/aaugustin/websockets
|
||||
[cvxpy]: https://github.com/cvxpy/cvxpy
|
||||
[PyOxidizer]: https://github.com/indygreg/PyOxidizer
|
||||
[UltraJSON]: https://github.com/ultrajson/ultrajson
|
||||
[Triton]: https://github.com/openai/triton
|
||||
[UltraJSON]: https://github.com/ultrajson/ultrajson
|
||||
[River]: https://github.com/online-ml/river
|
||||
[OpenSpiel]: https://github.com/deepmind/open_spiel
|
||||
[pyzmq]: https://github.com/zeromq/pyzmq
|
||||
[aiortc]: https://github.com/aiortc/aiortc
|
||||
[vispy]: https://github.com/vispy/vispy
|
||||
[Implicit]: https://github.com/benfred/implicit
|
||||
[Confluent client for Kafka]: https://github.com/confluentinc/confluent-kafka-python
|
||||
[Implicit]: https://github.com/benfred/implicit
|
||||
[tinyobjloader]: https://github.com/tinyobjloader/tinyobjloader
|
||||
[Dependency Injector]: https://github.com/ets-labs/python-dependency-injector
|
||||
[coverage.py]: https://github.com/nedbat/coveragepy
|
||||
@@ -172,11 +173,11 @@ title: Working examples
|
||||
[pybind11 cmake_example]: https://github.com/pybind/cmake_example
|
||||
[KDEpy]: https://github.com/tommyod/KDEpy
|
||||
[tgcalls]: https://github.com/MarshalX/tgcalls
|
||||
[pybind11 python_example]: https://github.com/pybind/python_example
|
||||
[dd-trace-py]: https://github.com/DataDog/dd-trace-py
|
||||
[pybind11 python_example]: https://github.com/pybind/python_example
|
||||
[sourmash]: https://github.com/dib-lab/sourmash
|
||||
[CTranslate2]: https://github.com/OpenNMT/CTranslate2
|
||||
[time-machine]: https://github.com/adamchainz/time-machine
|
||||
[CTranslate2]: https://github.com/OpenNMT/CTranslate2
|
||||
[cyvcf2]: https://github.com/brentp/cyvcf2
|
||||
[matrixprofile]: https://github.com/matrix-profile-foundation/matrixprofile
|
||||
[abess]: https://github.com/abess-team/abess
|
||||
@@ -186,20 +187,21 @@ title: Working examples
|
||||
[PyGLM]: https://github.com/Zuzu-Typ/PyGLM
|
||||
[boost-histogram]: https://github.com/scikit-hep/boost-histogram
|
||||
[bx-python]: https://github.com/bxlab/bx-python
|
||||
[iDynTree]: https://github.com/robotology/idyntree
|
||||
[TgCrypto]: https://github.com/pyrogram/tgcrypto
|
||||
[iDynTree]: https://github.com/robotology/idyntree
|
||||
[Python-WebRTC]: https://github.com/MarshalX/python-webrtc
|
||||
[pybase64]: https://github.com/mayeut/pybase64
|
||||
[Arbor]: https://github.com/arbor-sim/arbor
|
||||
[fathon]: https://github.com/stfbnc/fathon
|
||||
[etebase-py]: https://github.com/etesync/etebase-py
|
||||
[Imagecodecs (fork)]: https://github.com/czaki/imagecodecs_build
|
||||
[polaroid]: https://github.com/daggy1234/polaroid
|
||||
[cf-units]: https://github.com/SciTools/cf-units
|
||||
[Imagecodecs (fork)]: https://github.com/czaki/imagecodecs_build
|
||||
[clang-format]: https://github.com/ssciwr/clang-format-wheel
|
||||
[numpythia]: https://github.com/scikit-hep/numpythia
|
||||
[power-grid-model]: https://github.com/alliander-opensource/power-grid-model
|
||||
[pyjet]: https://github.com/scikit-hep/pyjet
|
||||
[pillow-heif]: https://github.com/bigcat88/pillow_heif
|
||||
[power-grid-model]: https://github.com/alliander-opensource/power-grid-model
|
||||
[numpythia]: https://github.com/scikit-hep/numpythia
|
||||
[pyjet]: https://github.com/scikit-hep/pyjet
|
||||
[pybind11 scikit_build_example]: https://github.com/pybind/scikit_build_example
|
||||
[ninja]: https://github.com/scikit-build/ninja-python-distributions
|
||||
[GSD]: https://github.com/glotzerlab/gsd
|
||||
@@ -218,105 +220,106 @@ title: Working examples
|
||||
[apple icon]: data/readme_icons/apple.svg
|
||||
[linux icon]: data/readme_icons/linux.svg
|
||||
|
||||
<!-- scikit-learn: 50552, last pushed 0 days ago -->
|
||||
<!-- NumPy: 20789, last pushed 0 days ago -->
|
||||
<!-- Tornado: 20596, last pushed 4 days ago -->
|
||||
<!-- pytorch-fairseq: 17326, last pushed 2 days ago -->
|
||||
<!-- Matplotlib: 15701, last pushed 0 days ago -->
|
||||
<!-- NCNN: 14830, last pushed 0 days ago -->
|
||||
<!-- Kivy: 14729, last pushed 4 days ago -->
|
||||
<!-- Prophet: 14599, last pushed 1 days ago -->
|
||||
<!-- MyPy: 13302, last pushed 0 days ago -->
|
||||
<!-- pydantic: 10245, last pushed 4 days ago -->
|
||||
<!-- MemRay: 8722, last pushed 4 days ago -->
|
||||
<!-- uvloop: 8690, last pushed 5 days ago -->
|
||||
<!-- psutil: 8491, last pushed 1 days ago -->
|
||||
<!-- vaex: 7130, last pushed 0 days ago -->
|
||||
<!-- Google Benchmark: 6593, last pushed 5 days ago -->
|
||||
<!-- Apache Beam: 5624, last pushed 0 days ago -->
|
||||
<!-- asyncpg: 5532, last pushed 10 days ago -->
|
||||
<!-- duckdb: 5387, last pushed 0 days ago -->
|
||||
<!-- scikit-image: 4952, last pushed 3 days ago -->
|
||||
<!-- PyGame: 4921, last pushed 0 days ago -->
|
||||
<!-- cmake: 4852, last pushed 0 days ago -->
|
||||
<!-- twisted-iocpsupport: 4636, last pushed 1 days ago -->
|
||||
<!-- websockets: 3990, last pushed 0 days ago -->
|
||||
<!-- cvxpy: 3977, last pushed 0 days ago -->
|
||||
<!-- PyOxidizer: 3892, last pushed 9 days ago -->
|
||||
<!-- UltraJSON: 3735, last pushed 6 days ago -->
|
||||
<!-- Triton: 3683, last pushed 0 days ago -->
|
||||
<!-- River: 3458, last pushed 4 days ago -->
|
||||
<!-- OpenSpiel: 3226, last pushed 0 days ago -->
|
||||
<!-- pyzmq: 3111, last pushed 1 days ago -->
|
||||
<!-- aiortc: 2963, last pushed 1 days ago -->
|
||||
<!-- vispy: 2892, last pushed 1 days ago -->
|
||||
<!-- Implicit: 2821, last pushed 2 days ago -->
|
||||
<!-- Confluent client for Kafka: 2817, last pushed 2 days ago -->
|
||||
<!-- tinyobjloader: 2570, last pushed 7 days ago -->
|
||||
<!-- Dependency Injector: 2193, last pushed 70 days ago -->
|
||||
<!-- coverage.py: 2081, last pushed 6 days ago -->
|
||||
<!-- PyCryptodome: 2025, last pushed 1 days ago -->
|
||||
<!-- PyYAML: 1868, last pushed 17 days ago -->
|
||||
<!-- numexpr: 1765, last pushed 1 days ago -->
|
||||
<!-- h5py: 1747, last pushed 0 days ago -->
|
||||
<!-- Wrapt: 1689, last pushed 56 days ago -->
|
||||
<!-- PyAV: 1591, last pushed 1 days ago -->
|
||||
<!-- SimpleJSON: 1495, last pushed 65 days ago -->
|
||||
<!-- pikepdf: 1356, last pushed 2 days ago -->
|
||||
<!-- OpenColorIO: 1327, last pushed 5 days ago -->
|
||||
<!-- Line Profiler: 1262, last pushed 3 days ago -->
|
||||
<!-- PyTables: 1133, last pushed 68 days ago -->
|
||||
<!-- OpenTimelineIO: 1067, last pushed 0 days ago -->
|
||||
<!-- ruptures: 979, last pushed 40 days ago -->
|
||||
<!-- aioquic: 966, last pushed 1 days ago -->
|
||||
<!-- DeepForest: 763, last pushed 43 days ago -->
|
||||
<!-- google neuroglancer: 739, last pushed 3 days ago -->
|
||||
<!-- Psycopg 3: 704, last pushed 2 days ago -->
|
||||
<!-- Parselmouth: 668, last pushed 3 days ago -->
|
||||
<!-- AutoPy: 658, last pushed 183 days ago -->
|
||||
<!-- H3-py: 539, last pushed 18 days ago -->
|
||||
<!-- Rtree: 483, last pushed 68 days ago -->
|
||||
<!-- markupsafe: 474, last pushed 13 days ago -->
|
||||
<!-- python-rapidjson: 454, last pushed 32 days ago -->
|
||||
<!-- python-snappy: 438, last pushed 102 days ago -->
|
||||
<!-- pybind11 cmake_example: 415, last pushed 9 days ago -->
|
||||
<!-- KDEpy: 379, last pushed 136 days ago -->
|
||||
<!-- tgcalls: 369, last pushed 22 days ago -->
|
||||
<!-- pybind11 python_example: 333, last pushed 6 days ago -->
|
||||
<!-- dd-trace-py: 331, last pushed 0 days ago -->
|
||||
<!-- sourmash: 310, last pushed 1 days ago -->
|
||||
<!-- CTranslate2: 306, last pushed 3 days ago -->
|
||||
<!-- time-machine: 306, last pushed 2 days ago -->
|
||||
<!-- cyvcf2: 300, last pushed 37 days ago -->
|
||||
<!-- matrixprofile: 268, last pushed 12 days ago -->
|
||||
<!-- abess: 266, last pushed 1 days ago -->
|
||||
<!-- jq.py: 219, last pushed 140 days ago -->
|
||||
<!-- iminuit: 206, last pushed 4 days ago -->
|
||||
<!-- Tokenizer: 187, last pushed 111 days ago -->
|
||||
<!-- PyGLM: 144, last pushed 90 days ago -->
|
||||
<!-- boost-histogram: 115, last pushed 3 days ago -->
|
||||
<!-- bx-python: 113, last pushed 172 days ago -->
|
||||
<!-- iDynTree: 106, last pushed 3 days ago -->
|
||||
<!-- TgCrypto: 105, last pushed 114 days ago -->
|
||||
<!-- Python-WebRTC: 91, last pushed 108 days ago -->
|
||||
<!-- pybase64: 84, last pushed 3 days ago -->
|
||||
<!-- Arbor: 76, last pushed 2 days ago -->
|
||||
<!-- fathon: 63, last pushed 24 days ago -->
|
||||
<!-- etebase-py: 58, last pushed 10 days ago -->
|
||||
<!-- Imagecodecs (fork): 46, last pushed 11 days ago -->
|
||||
<!-- polaroid: 41, last pushed 46 days ago -->
|
||||
<!-- clang-format: 40, last pushed 13 days ago -->
|
||||
<!-- numpythia: 34, last pushed 6 days ago -->
|
||||
<!-- power-grid-model: 34, last pushed 1 days ago -->
|
||||
<!-- pyjet: 33, last pushed 5 days ago -->
|
||||
<!-- pillow-heif: 30, last pushed 0 days ago -->
|
||||
<!-- pybind11 scikit_build_example: 27, last pushed 6 days ago -->
|
||||
<!-- ninja: 24, last pushed 6 days ago -->
|
||||
<!-- GSD: 19, last pushed 3 days ago -->
|
||||
<!-- pyinstrument_cext: 10, last pushed 261 days ago -->
|
||||
<!-- xmlstarlet: 9, last pushed 13 days ago -->
|
||||
<!-- CorrectionLib: 9, last pushed 6 days ago -->
|
||||
<!-- SiPM: 6, last pushed 25 days ago -->
|
||||
<!-- scikit-learn: 50754, last pushed 0 days ago -->
|
||||
<!-- NumPy: 20975, last pushed 0 days ago -->
|
||||
<!-- Tornado: 20638, last pushed 0 days ago -->
|
||||
<!-- pytorch-fairseq: 18489, last pushed 2 days ago -->
|
||||
<!-- Matplotlib: 15822, last pushed 0 days ago -->
|
||||
<!-- NCNN: 14975, last pushed 0 days ago -->
|
||||
<!-- Kivy: 14789, last pushed 0 days ago -->
|
||||
<!-- Prophet: 14684, last pushed 10 days ago -->
|
||||
<!-- MyPy: 13444, last pushed 0 days ago -->
|
||||
<!-- pydantic: 10450, last pushed 0 days ago -->
|
||||
<!-- MemRay: 8836, last pushed 2 days ago -->
|
||||
<!-- uvloop: 8725, last pushed 0 days ago -->
|
||||
<!-- psutil: 8531, last pushed 3 days ago -->
|
||||
<!-- vaex: 7175, last pushed 0 days ago -->
|
||||
<!-- Google Benchmark: 6659, last pushed 0 days ago -->
|
||||
<!-- Apache Beam: 5702, last pushed 0 days ago -->
|
||||
<!-- asyncpg: 5558, last pushed 10 days ago -->
|
||||
<!-- duckdb: 5546, last pushed 0 days ago -->
|
||||
<!-- scikit-image: 4978, last pushed 0 days ago -->
|
||||
<!-- PyGame: 4976, last pushed 0 days ago -->
|
||||
<!-- cmake: 4910, last pushed 0 days ago -->
|
||||
<!-- twisted-iocpsupport: 4666, last pushed 3 days ago -->
|
||||
<!-- websockets: 4022, last pushed 1 days ago -->
|
||||
<!-- cvxpy: 4009, last pushed 0 days ago -->
|
||||
<!-- PyOxidizer: 3919, last pushed 1 days ago -->
|
||||
<!-- Triton: 3786, last pushed 0 days ago -->
|
||||
<!-- UltraJSON: 3755, last pushed 7 days ago -->
|
||||
<!-- River: 3488, last pushed 2 days ago -->
|
||||
<!-- OpenSpiel: 3248, last pushed 0 days ago -->
|
||||
<!-- pyzmq: 3130, last pushed 4 days ago -->
|
||||
<!-- aiortc: 2993, last pushed 23 days ago -->
|
||||
<!-- vispy: 2904, last pushed 5 days ago -->
|
||||
<!-- Confluent client for Kafka: 2848, last pushed 2 days ago -->
|
||||
<!-- Implicit: 2847, last pushed 1 days ago -->
|
||||
<!-- tinyobjloader: 2594, last pushed 13 days ago -->
|
||||
<!-- Dependency Injector: 2244, last pushed 7 days ago -->
|
||||
<!-- coverage.py: 2106, last pushed 1 days ago -->
|
||||
<!-- PyCryptodome: 2054, last pushed 7 days ago -->
|
||||
<!-- PyYAML: 1883, last pushed 1 days ago -->
|
||||
<!-- numexpr: 1775, last pushed 0 days ago -->
|
||||
<!-- h5py: 1757, last pushed 12 days ago -->
|
||||
<!-- Wrapt: 1705, last pushed 77 days ago -->
|
||||
<!-- PyAV: 1605, last pushed 0 days ago -->
|
||||
<!-- SimpleJSON: 1500, last pushed 17 days ago -->
|
||||
<!-- pikepdf: 1385, last pushed 1 days ago -->
|
||||
<!-- OpenColorIO: 1335, last pushed 6 days ago -->
|
||||
<!-- Line Profiler: 1284, last pushed 5 days ago -->
|
||||
<!-- PyTables: 1137, last pushed 90 days ago -->
|
||||
<!-- OpenTimelineIO: 1071, last pushed 0 days ago -->
|
||||
<!-- ruptures: 988, last pushed 11 days ago -->
|
||||
<!-- aioquic: 986, last pushed 0 days ago -->
|
||||
<!-- DeepForest: 769, last pushed 65 days ago -->
|
||||
<!-- google neuroglancer: 740, last pushed 4 days ago -->
|
||||
<!-- Psycopg 3: 733, last pushed 0 days ago -->
|
||||
<!-- Parselmouth: 671, last pushed 7 days ago -->
|
||||
<!-- AutoPy: 662, last pushed 205 days ago -->
|
||||
<!-- H3-py: 548, last pushed 15 days ago -->
|
||||
<!-- Rtree: 489, last pushed 90 days ago -->
|
||||
<!-- markupsafe: 480, last pushed 13 days ago -->
|
||||
<!-- python-rapidjson: 456, last pushed 11 days ago -->
|
||||
<!-- python-snappy: 440, last pushed 123 days ago -->
|
||||
<!-- pybind11 cmake_example: 420, last pushed 12 days ago -->
|
||||
<!-- KDEpy: 387, last pushed 158 days ago -->
|
||||
<!-- tgcalls: 376, last pushed 16 days ago -->
|
||||
<!-- dd-trace-py: 342, last pushed 0 days ago -->
|
||||
<!-- pybind11 python_example: 337, last pushed 12 days ago -->
|
||||
<!-- sourmash: 313, last pushed 0 days ago -->
|
||||
<!-- time-machine: 312, last pushed 6 days ago -->
|
||||
<!-- CTranslate2: 308, last pushed 0 days ago -->
|
||||
<!-- cyvcf2: 302, last pushed 58 days ago -->
|
||||
<!-- matrixprofile: 272, last pushed 14 days ago -->
|
||||
<!-- abess: 271, last pushed 3 days ago -->
|
||||
<!-- jq.py: 220, last pushed 162 days ago -->
|
||||
<!-- iminuit: 206, last pushed 1 days ago -->
|
||||
<!-- Tokenizer: 187, last pushed 133 days ago -->
|
||||
<!-- PyGLM: 147, last pushed 111 days ago -->
|
||||
<!-- boost-histogram: 116, last pushed 1 days ago -->
|
||||
<!-- bx-python: 114, last pushed 194 days ago -->
|
||||
<!-- TgCrypto: 108, last pushed 136 days ago -->
|
||||
<!-- iDynTree: 106, last pushed 5 days ago -->
|
||||
<!-- Python-WebRTC: 92, last pushed 129 days ago -->
|
||||
<!-- pybase64: 85, last pushed 4 days ago -->
|
||||
<!-- Arbor: 76, last pushed 0 days ago -->
|
||||
<!-- fathon: 63, last pushed 45 days ago -->
|
||||
<!-- etebase-py: 58, last pushed 11 days ago -->
|
||||
<!-- polaroid: 49, last pushed 67 days ago -->
|
||||
<!-- cf-units: 49, last pushed 0 days ago -->
|
||||
<!-- Imagecodecs (fork): 46, last pushed 33 days ago -->
|
||||
<!-- clang-format: 41, last pushed 13 days ago -->
|
||||
<!-- pillow-heif: 37, last pushed 1 days ago -->
|
||||
<!-- power-grid-model: 37, last pushed 0 days ago -->
|
||||
<!-- numpythia: 34, last pushed 12 days ago -->
|
||||
<!-- pyjet: 33, last pushed 17 days ago -->
|
||||
<!-- pybind11 scikit_build_example: 29, last pushed 12 days ago -->
|
||||
<!-- ninja: 24, last pushed 1 days ago -->
|
||||
<!-- GSD: 19, last pushed 13 days ago -->
|
||||
<!-- pyinstrument_cext: 10, last pushed 283 days ago -->
|
||||
<!-- xmlstarlet: 9, last pushed 7 days ago -->
|
||||
<!-- CorrectionLib: 9, last pushed 12 days ago -->
|
||||
<!-- SiPM: 6, last pushed 47 days ago -->
|
||||
|
||||
<!-- END bin/projects.py -->
|
||||
|
||||
|
||||
@@ -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.8.0
|
||||
install: python -m pip install cibuildwheel==2.8.1
|
||||
|
||||
build_script: python -m cibuildwheel --output-dir wheelhouse
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ jobs:
|
||||
- bash: |
|
||||
set -o errexit
|
||||
python3 -m pip install --upgrade pip
|
||||
pip3 install cibuildwheel==2.8.0
|
||||
pip3 install cibuildwheel==2.8.1
|
||||
displayName: Install dependencies
|
||||
- bash: cibuildwheel --output-dir wheelhouse .
|
||||
displayName: Build wheels
|
||||
@@ -14,13 +14,13 @@ jobs:
|
||||
inputs: {pathtoPublish: 'wheelhouse'}
|
||||
|
||||
- job: macos
|
||||
pool: {vmImage: 'macOS-10.15'}
|
||||
pool: {vmImage: 'macOS-11'}
|
||||
steps:
|
||||
- task: UsePythonVersion@0
|
||||
- bash: |
|
||||
set -o errexit
|
||||
python3 -m pip install --upgrade pip
|
||||
python3 -m pip install cibuildwheel==2.8.0
|
||||
python3 -m pip install cibuildwheel==2.8.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.8.0
|
||||
pip install cibuildwheel==2.8.1
|
||||
displayName: Install dependencies
|
||||
- bash: cibuildwheel --output-dir wheelhouse .
|
||||
displayName: Build wheels
|
||||
|
||||
@@ -11,7 +11,7 @@ jobs:
|
||||
- run:
|
||||
name: Build the Linux wheels.
|
||||
command: |
|
||||
pip3 install --user cibuildwheel==2.8.0
|
||||
pip3 install --user cibuildwheel==2.8.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.8.0
|
||||
pip3 install cibuildwheel==2.8.1
|
||||
cibuildwheel --output-dir wheelhouse
|
||||
- store_artifacts:
|
||||
path: wheelhouse/
|
||||
|
||||
@@ -4,13 +4,13 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build_wheels_macos:
|
||||
name: Build wheels on macos-10.15
|
||||
runs-on: macos-10.15
|
||||
name: Build wheels on macos-11
|
||||
runs-on: macos-11
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.8.0
|
||||
uses: pypa/cibuildwheel@v2.8.1
|
||||
env:
|
||||
CIBW_ARCHS_MACOS: x86_64 universal2
|
||||
|
||||
|
||||
@@ -16,13 +16,13 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macos-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macos-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.8.0
|
||||
uses: pypa/cibuildwheel@v2.8.1
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -8,20 +8,20 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macos-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macos-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.8.0
|
||||
uses: pypa/cibuildwheel@v2.8.1
|
||||
# env:
|
||||
# CIBW_SOME_OPTION: value
|
||||
# ...
|
||||
# with:
|
||||
# package-dir: .
|
||||
# output-dir: wheelhouse
|
||||
# config-file: {package}/pyproject.toml
|
||||
# config-file: "{package}/pyproject.toml"
|
||||
|
||||
- uses: actions/upload-artifact@v3
|
||||
with:
|
||||
|
||||
@@ -8,7 +8,7 @@ jobs:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: [ubuntu-20.04, windows-2019, macos-10.15]
|
||||
os: [ubuntu-20.04, windows-2019, macos-11]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
platforms: all
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.8.0
|
||||
uses: pypa/cibuildwheel@v2.8.1
|
||||
env:
|
||||
# configure cibuildwheel to build native archs ('auto'), and some
|
||||
# emulated ones
|
||||
|
||||
@@ -12,7 +12,7 @@ linux:
|
||||
DOCKER_TLS_CERTDIR: ""
|
||||
script:
|
||||
- curl -sSL https://get.docker.com/ | sh
|
||||
- python -m pip install cibuildwheel==2.8.0
|
||||
- python -m pip install cibuildwheel==2.8.1
|
||||
- cibuildwheel --output-dir wheelhouse
|
||||
artifacts:
|
||||
paths:
|
||||
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
||||
|
||||
install:
|
||||
- python3 -m pip install cibuildwheel==2.8.0
|
||||
- python3 -m pip install cibuildwheel==2.8.1
|
||||
|
||||
script:
|
||||
# build the wheels, put them into './dist'
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
||||
|
||||
install:
|
||||
- python3 -m pip install cibuildwheel==2.8.0
|
||||
- python3 -m pip install cibuildwheel==2.8.1
|
||||
|
||||
script:
|
||||
# build the wheels, put them into './wheelhouse'
|
||||
|
||||
@@ -55,7 +55,7 @@ jobs:
|
||||
- stage: deploy
|
||||
name: Build and deploy Linux wheels
|
||||
services: docker
|
||||
install: python3 -m pip install cibuildwheel==2.8.0 twine
|
||||
install: python3 -m pip install cibuildwheel==2.8.1 twine
|
||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||
# Deploy on windows
|
||||
@@ -63,7 +63,7 @@ jobs:
|
||||
name: Build and deploy Windows wheels
|
||||
os: windows
|
||||
language: shell
|
||||
install: python3 -m pip install cibuildwheel==2.8.0 twine
|
||||
install: python3 -m pip install cibuildwheel==2.8.1 twine
|
||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||
after_success: python3 -m twine upload --skip-existing wheelhouse/*.whl
|
||||
|
||||
|
||||
+2
-1
@@ -92,12 +92,13 @@ def update_proj(session: nox.Session) -> None:
|
||||
)
|
||||
|
||||
|
||||
@nox.session
|
||||
@nox.session(python="3.9")
|
||||
def docs(session: nox.Session) -> None:
|
||||
"""
|
||||
Build the docs.
|
||||
"""
|
||||
session.install("-e", ".[docs]")
|
||||
session.run("pip", "list")
|
||||
|
||||
if session.posargs:
|
||||
if "serve" in session.posargs:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = cibuildwheel
|
||||
version = 2.8.0
|
||||
version = 2.8.1
|
||||
description = Build Python wheels on CI with minimal configuration.
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
||||
@@ -3,10 +3,11 @@ from setuptools import setup
|
||||
extras = {
|
||||
"docs": [
|
||||
"mkdocs-include-markdown-plugin==2.8.0",
|
||||
"mkdocs==1.0.4",
|
||||
"mkdocs==1.0.4", # Doesn't support Python 3.10+
|
||||
"jinja2==3.0.3",
|
||||
"pymdown-extensions",
|
||||
"mkdocs-macros-plugin",
|
||||
"markdown<3.4", # Breaks mkdocs 1.0.4
|
||||
],
|
||||
"test": [
|
||||
"jinja2",
|
||||
|
||||
@@ -133,3 +133,36 @@ def test_universal2_testing(tmp_path, capfd, skip_arm64_test):
|
||||
expected_wheels = [w for w in ALL_MACOS_WHEELS if "cp39" in w and "universal2" in w]
|
||||
|
||||
assert set(actual_wheels) == set(expected_wheels)
|
||||
|
||||
|
||||
def test_cp38_arm64_testing(tmp_path, capfd):
|
||||
if utils.platform != "macos":
|
||||
pytest.skip("this test is only relevant to macos")
|
||||
if get_xcode_version() < (12, 2):
|
||||
pytest.skip("this test only works with Xcode 12.2 or greater")
|
||||
if platform.machine() != "arm64":
|
||||
pytest.skip("this test only works on arm64")
|
||||
|
||||
project_dir = tmp_path / "project"
|
||||
basic_project.generate(project_dir)
|
||||
|
||||
actual_wheels = utils.cibuildwheel_run(
|
||||
project_dir,
|
||||
add_env={
|
||||
"CIBW_BUILD": "cp38-*",
|
||||
"CIBW_TEST_COMMAND": '''python -c "import platform; print('running tests on ' + platform.machine())"''',
|
||||
"CIBW_ARCHS": "x86_64,universal2,arm64",
|
||||
},
|
||||
)
|
||||
|
||||
captured = capfd.readouterr()
|
||||
|
||||
assert "running tests on x86_64" in captured.out
|
||||
assert "running tests on arm64" not in captured.out
|
||||
|
||||
warning_message = "While cibuildwheel can build CPython 3.8 universal2/arm64 wheels, we cannot test the arm64 part of them"
|
||||
assert warning_message in captured.err
|
||||
|
||||
expected_wheels = [w for w in ALL_MACOS_WHEELS if "cp38" in w]
|
||||
|
||||
assert set(actual_wheels) == set(expected_wheels)
|
||||
|
||||
+3
-3
@@ -154,8 +154,8 @@ def expected_wheels(
|
||||
python_abi_tags += ["pp37-pypy37_pp73", "pp38-pypy38_pp73", "pp39-pypy39_pp73"]
|
||||
|
||||
if platform == "macos" and machine_arch == "arm64":
|
||||
# currently, arm64 macs are only supported by cp39, cp310 & cp311
|
||||
python_abi_tags = ["cp39-cp39", "cp310-cp310", "cp311-cp311"]
|
||||
# arm64 macs are only supported by cp38+
|
||||
python_abi_tags = ["cp38-cp38", "cp39-cp39", "cp310-cp310", "cp311-cp311"]
|
||||
|
||||
wheels = []
|
||||
|
||||
@@ -193,7 +193,7 @@ def expected_wheels(
|
||||
platform_tags = ["win32", "win_amd64"]
|
||||
|
||||
elif platform == "macos":
|
||||
if python_abi_tag == "cp39-cp39" and machine_arch == "arm64":
|
||||
if machine_arch == "arm64":
|
||||
arm64_macosx_deployment_target = _get_arm64_macosx_deployment_target(
|
||||
macosx_deployment_target
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user