Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5e6ffa9f25 | ||
|
|
718335b32d | ||
|
|
55264c914f | ||
|
|
63720bbc67 | ||
|
|
87499d4230 | ||
|
|
0c32cc162e | ||
|
|
4307b52ff2 | ||
|
|
30954282fd | ||
|
|
9e82a3ea32 | ||
|
|
c2ab8392f5 | ||
|
|
a49312635c | ||
|
|
fcf8892abc | ||
|
|
b552fbd016 | ||
|
|
46fd5d9de4 | ||
|
|
79bf489a08 | ||
|
|
ec424751f5 | ||
|
|
f879db2966 | ||
|
|
489d560fff |
@@ -3,7 +3,7 @@ version: 2
|
||||
jobs:
|
||||
osx-python3.6:
|
||||
macos:
|
||||
xcode: 9.4.1
|
||||
xcode: 12.5.1
|
||||
environment:
|
||||
PYTHON: python3
|
||||
steps:
|
||||
|
||||
@@ -14,7 +14,7 @@ repos:
|
||||
- id: trailing-whitespace
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v2.19.4
|
||||
rev: v2.20.0
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
name: PyUpgrade 3.6+
|
||||
@@ -42,7 +42,7 @@ repos:
|
||||
stages: [manual]
|
||||
|
||||
- repo: https://github.com/pre-commit/mirrors-mypy
|
||||
rev: v0.902
|
||||
rev: v0.910
|
||||
hooks:
|
||||
- id: mypy
|
||||
exclude: ^(bin|cibuildwheel/resources|docs)/.*py$
|
||||
@@ -57,7 +57,7 @@ repos:
|
||||
files: ^(bin|docs)/.*py$
|
||||
args: ["--python-version=3.7", "--scripts-are-modules"]
|
||||
additional_dependencies:
|
||||
- packaging
|
||||
- packaging>=21.0
|
||||
- rich
|
||||
- types-jinja2
|
||||
- types-pyyaml
|
||||
|
||||
@@ -85,7 +85,7 @@ jobs:
|
||||
- uses: actions/setup-python@v2
|
||||
|
||||
- name: Install cibuildwheel
|
||||
run: python -m pip install cibuildwheel==2.0.0a4
|
||||
run: python -m pip install cibuildwheel==2.0.0b2
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
@@ -107,14 +107,15 @@ Options
|
||||
|---|--------|-------------|
|
||||
| **Build selection** | [`CIBW_PLATFORM`](https://cibuildwheel.readthedocs.io/en/stable/options/#platform) | Override the auto-detected target platform |
|
||||
| | [`CIBW_BUILD`](https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip) <br> [`CIBW_SKIP`](https://cibuildwheel.readthedocs.io/en/stable/options/#build-skip) | Choose the Python versions to build |
|
||||
| | [`CIBW_ARCHS`](https://cibuildwheel.readthedocs.io/en/stable/options/#archs) | Change the architectures built on your machine by default |
|
||||
| | [`CIBW_ARCHS`](https://cibuildwheel.readthedocs.io/en/stable/options/#archs) | Change the architectures built on your machine by default. |
|
||||
| | [`CIBW_PROJECT_REQUIRES_PYTHON`](https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python) | Manually set the Python compatibility of your project |
|
||||
| | [`CIBW_PRERELEASE_PYTHONS`](https://cibuildwheel.readthedocs.io/en/stable/options/#prerelease-pythons) | Enable building with pre-release versions of Python |
|
||||
| **Build customization** | [`CIBW_ENVIRONMENT`](https://cibuildwheel.readthedocs.io/en/stable/options/#environment) | Set environment variables needed during the build |
|
||||
| **Build customization** | [`CIBW_BUILD_FRONTEND`](https://cibuildwheel.readthedocs.io/en/stable/options/#build-frontend) | Set the tool to use to build, either "pip" (default for now) or "build" |
|
||||
| | [`CIBW_ENVIRONMENT`](https://cibuildwheel.readthedocs.io/en/stable/options/#environment) | Set environment variables needed during the build |
|
||||
| | [`CIBW_BEFORE_ALL`](https://cibuildwheel.readthedocs.io/en/stable/options/#before-all) | Execute a shell command on the build system before any wheels are built. |
|
||||
| | [`CIBW_BEFORE_BUILD`](https://cibuildwheel.readthedocs.io/en/stable/options/#before-build) | Execute a shell command preparing each wheel's build |
|
||||
| | [`CIBW_REPAIR_WHEEL_COMMAND`](https://cibuildwheel.readthedocs.io/en/stable/options/#repair-wheel-command) | Execute a shell command to repair each (non-pure Python) built wheel |
|
||||
| | [`CIBW_MANYLINUX_X86_64_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_I686_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_PYPY_X86_64_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_AARCH64_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_PPC64LE_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_S390X_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_PYPY_AARCH64_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) <br> [`CIBW_MANYLINUX_PYPY_I686_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) | Specify alternative manylinux docker images |
|
||||
| | [`CIBW_MANYLINUX_*_IMAGE`](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) | Specify alternative manylinux Docker images |
|
||||
| | [`CIBW_DEPENDENCY_VERSIONS`](https://cibuildwheel.readthedocs.io/en/stable/options/#dependency-versions) | Specify how cibuildwheel controls the versions of the tools it uses |
|
||||
| **Testing** | [`CIBW_TEST_COMMAND`](https://cibuildwheel.readthedocs.io/en/stable/options/#test-command) | Execute a shell command to test each built wheel |
|
||||
| | [`CIBW_BEFORE_TEST`](https://cibuildwheel.readthedocs.io/en/stable/options/#before-test) | Execute a shell command before testing each wheel |
|
||||
@@ -185,11 +186,11 @@ Here are some repos that use cibuildwheel.
|
||||
| [TgCrypto][] | ![travisci icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Includes a Windows Travis build. |
|
||||
| [pybase64][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | Fast Base64 encoding/decoding in Python |
|
||||
| [etebase-py][] | ![travisci icon][] | ![linux icon][] | Python bindings to a Rust library using `setuptools-rust`, and `sccache` for improved speed. |
|
||||
| [fathon][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | python package for DFA (Detrended Fluctuation Analysis) and related algorithms |
|
||||
| [pyjet][] | ![github icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | The interface between FastJet and NumPy |
|
||||
| [numpythia][] | ![github icon][] | ![apple icon][] ![linux icon][] | The interface between PYTHIA and NumPy |
|
||||
| [fathon][] | ![travisci icon][] | ![apple icon][] ![linux icon][] | python package for DFA (Detrended Fluctuation Analysis) and related algorithms |
|
||||
| [GSD][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Cython and NumPy project with 64-bit wheels. |
|
||||
| [polaroid][] | ![github icon][] | ![apple icon][] ![linux icon][] ![windows icon][] | Full range of wheels for setuptools rust, with auto release and PyPI deploy. |
|
||||
| [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 |
|
||||
| [pyinstrument_cext][] | ![travisci icon][] ![appveyor icon][] | ![windows icon][] ![apple icon][] ![linux icon][] | A simple C extension, without external dependencies |
|
||||
| [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. |
|
||||
@@ -244,11 +245,11 @@ Here are some repos that use cibuildwheel.
|
||||
[TgCrypto]: https://github.com/pyrogram/tgcrypto
|
||||
[pybase64]: https://github.com/mayeut/pybase64
|
||||
[etebase-py]: https://github.com/etesync/etebase-py
|
||||
[fathon]: https://github.com/stfbnc/fathon
|
||||
[pyjet]: https://github.com/scikit-hep/pyjet
|
||||
[numpythia]: https://github.com/scikit-hep/numpythia
|
||||
[fathon]: https://github.com/stfbnc/fathon
|
||||
[GSD]: https://github.com/glotzerlab/gsd
|
||||
[polaroid]: https://github.com/daggy1234/polaroid
|
||||
[GSD]: https://github.com/glotzerlab/gsd
|
||||
[pybind11 scikit_build_example]: https://github.com/pybind/scikit_build_example
|
||||
[pyinstrument_cext]: https://github.com/joerick/pyinstrument_cext
|
||||
[Imagecodecs (fork)]: https://github.com/czaki/imagecodecs_build
|
||||
@@ -266,64 +267,64 @@ 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: 46184, last pushed 0 days ago -->
|
||||
<!-- Matplotlib: 13797, last pushed 0 days ago -->
|
||||
<!-- MyPy: 10905, last pushed 0 days ago -->
|
||||
<!-- psutil: 7420, last pushed 14 days ago -->
|
||||
<!-- scikit-image: 4387, last pushed 0 days ago -->
|
||||
<!-- twisted-iocpsupport: 4280, last pushed 0 days ago -->
|
||||
<!-- websockets: 3418, last pushed 0 days ago -->
|
||||
<!-- pyzmq: 2821, last pushed 3 days ago -->
|
||||
<!-- aiortc: 2441, last pushed 9 days ago -->
|
||||
<!-- River: 1669, last pushed 0 days ago -->
|
||||
<!-- coverage.py: 1630, last pushed 0 days ago -->
|
||||
<!-- numexpr: 1597, last pushed 109 days ago -->
|
||||
<!-- h5py: 1530, last pushed 0 days ago -->
|
||||
<!-- Dependency Injector: 1396, last pushed 0 days ago -->
|
||||
<!-- PyAV: 1279, last pushed 15 days ago -->
|
||||
<!-- PyTables: 1028, last pushed 87 days ago -->
|
||||
<!-- ruptures: 739, last pushed 4 days ago -->
|
||||
<!-- aioquic: 680, last pushed 6 days ago -->
|
||||
<!-- pikepdf: 655, last pushed 0 days ago -->
|
||||
<!-- google neuroglancer: 646, last pushed 0 days ago -->
|
||||
<!-- DeepForest: 621, last pushed 21 days ago -->
|
||||
<!-- AutoPy: 542, last pushed 4 days ago -->
|
||||
<!-- Parselmouth: 521, last pushed 27 days ago -->
|
||||
<!-- python-rapidjson: 423, last pushed 0 days ago -->
|
||||
<!-- Rtree: 408, last pushed 92 days ago -->
|
||||
<!-- python-snappy: 403, last pushed 116 days ago -->
|
||||
<!-- markupsafe: 401, last pushed 4 days ago -->
|
||||
<!-- H3-py: 392, last pushed 8 days ago -->
|
||||
<!-- pybind11 cmake_example: 278, last pushed 21 days ago -->
|
||||
<!-- KDEpy: 276, last pushed 18 days ago -->
|
||||
<!-- cyvcf2: 266, last pushed 53 days ago -->
|
||||
<!-- pybind11 python_example: 255, last pushed 21 days ago -->
|
||||
<!-- sourmash: 250, last pushed 0 days ago -->
|
||||
<!-- dd-trace-py: 248, last pushed 0 days ago -->
|
||||
<!-- iminuit: 181, last pushed 17 days ago -->
|
||||
<!-- time-machine: 173, last pushed 6 days ago -->
|
||||
<!-- CTranslate2: 168, last pushed 0 days ago -->
|
||||
<!-- matrixprofile: 166, last pushed 17 days ago -->
|
||||
<!-- jq.py: 159, last pushed 10 days ago -->
|
||||
<!-- Tokenizer: 146, last pushed 13 days ago -->
|
||||
<!-- PyGLM: 104, last pushed 41 days ago -->
|
||||
<!-- bx-python: 103, last pushed 7 days ago -->
|
||||
<!-- iDynTree: 82, last pushed 6 days ago -->
|
||||
<!-- boost-histogram: 80, last pushed 3 days ago -->
|
||||
<!-- TgCrypto: 66, last pushed 22 days ago -->
|
||||
<!-- pybase64: 62, last pushed 5 days ago -->
|
||||
<!-- etebase-py: 50, last pushed 168 days ago -->
|
||||
<!-- pyjet: 28, last pushed 32 days ago -->
|
||||
<!-- numpythia: 28, last pushed 21 days ago -->
|
||||
<!-- fathon: 26, last pushed 19 days ago -->
|
||||
<!-- GSD: 17, last pushed 17 days ago -->
|
||||
<!-- polaroid: 16, last pushed 12 days ago -->
|
||||
<!-- pybind11 scikit_build_example: 14, last pushed 20 days ago -->
|
||||
<!-- pyinstrument_cext: 10, last pushed 129 days ago -->
|
||||
<!-- Imagecodecs (fork): 9, last pushed 13 days ago -->
|
||||
<!-- xmlstarlet: 7, last pushed 63 days ago -->
|
||||
<!-- CorrectionLib: 6, last pushed 9 days ago -->
|
||||
<!-- SiPM: 3, last pushed 18 days ago -->
|
||||
<!-- scikit-learn: 46313, last pushed 0 days ago -->
|
||||
<!-- Matplotlib: 13847, last pushed 0 days ago -->
|
||||
<!-- MyPy: 10969, last pushed 0 days ago -->
|
||||
<!-- psutil: 7454, last pushed 4 days ago -->
|
||||
<!-- scikit-image: 4405, last pushed 0 days ago -->
|
||||
<!-- twisted-iocpsupport: 4293, last pushed 8 days ago -->
|
||||
<!-- websockets: 3442, last pushed 8 days ago -->
|
||||
<!-- pyzmq: 2832, last pushed 16 days ago -->
|
||||
<!-- aiortc: 2457, last pushed 23 days ago -->
|
||||
<!-- River: 1722, last pushed 5 days ago -->
|
||||
<!-- coverage.py: 1639, last pushed 11 days ago -->
|
||||
<!-- numexpr: 1600, last pushed 123 days ago -->
|
||||
<!-- h5py: 1533, last pushed 6 days ago -->
|
||||
<!-- Dependency Injector: 1422, last pushed 10 days ago -->
|
||||
<!-- PyAV: 1286, last pushed 28 days ago -->
|
||||
<!-- PyTables: 1037, last pushed 101 days ago -->
|
||||
<!-- ruptures: 749, last pushed 6 days ago -->
|
||||
<!-- aioquic: 693, last pushed 20 days ago -->
|
||||
<!-- pikepdf: 671, last pushed 4 days ago -->
|
||||
<!-- google neuroglancer: 655, last pushed 3 days ago -->
|
||||
<!-- DeepForest: 627, last pushed 34 days ago -->
|
||||
<!-- AutoPy: 544, last pushed 17 days ago -->
|
||||
<!-- Parselmouth: 524, last pushed 11 days ago -->
|
||||
<!-- python-rapidjson: 423, last pushed 9 days ago -->
|
||||
<!-- Rtree: 412, last pushed 106 days ago -->
|
||||
<!-- python-snappy: 405, last pushed 129 days ago -->
|
||||
<!-- markupsafe: 402, last pushed 2 days ago -->
|
||||
<!-- H3-py: 397, last pushed 22 days ago -->
|
||||
<!-- pybind11 cmake_example: 285, last pushed 9 days ago -->
|
||||
<!-- KDEpy: 280, last pushed 31 days ago -->
|
||||
<!-- cyvcf2: 265, last pushed 66 days ago -->
|
||||
<!-- pybind11 python_example: 255, last pushed 12 days ago -->
|
||||
<!-- sourmash: 252, last pushed 0 days ago -->
|
||||
<!-- dd-trace-py: 251, last pushed 3 days ago -->
|
||||
<!-- iminuit: 181, last pushed 0 days ago -->
|
||||
<!-- time-machine: 178, last pushed 1 days ago -->
|
||||
<!-- CTranslate2: 170, last pushed 3 days ago -->
|
||||
<!-- matrixprofile: 167, last pushed 9 days ago -->
|
||||
<!-- jq.py: 159, last pushed 12 days ago -->
|
||||
<!-- Tokenizer: 147, last pushed 9 days ago -->
|
||||
<!-- PyGLM: 105, last pushed 54 days ago -->
|
||||
<!-- bx-python: 103, last pushed 20 days ago -->
|
||||
<!-- iDynTree: 82, last pushed 19 days ago -->
|
||||
<!-- boost-histogram: 81, last pushed 4 days ago -->
|
||||
<!-- TgCrypto: 66, last pushed 35 days ago -->
|
||||
<!-- pybase64: 65, last pushed 0 days ago -->
|
||||
<!-- etebase-py: 50, last pushed 181 days ago -->
|
||||
<!-- fathon: 32, last pushed 32 days ago -->
|
||||
<!-- pyjet: 29, last pushed 46 days ago -->
|
||||
<!-- numpythia: 28, last pushed 11 days ago -->
|
||||
<!-- polaroid: 18, last pushed 6 days ago -->
|
||||
<!-- GSD: 16, last pushed 3 days ago -->
|
||||
<!-- pybind11 scikit_build_example: 14, last pushed 12 days ago -->
|
||||
<!-- pyinstrument_cext: 10, last pushed 4 days ago -->
|
||||
<!-- Imagecodecs (fork): 10, last pushed 9 days ago -->
|
||||
<!-- xmlstarlet: 7, last pushed 76 days ago -->
|
||||
<!-- CorrectionLib: 6, last pushed 12 days ago -->
|
||||
<!-- SiPM: 4, last pushed 1 days ago -->
|
||||
|
||||
<!-- END bin/projects.py -->
|
||||
|
||||
@@ -351,11 +352,23 @@ Changelog
|
||||
|
||||
_This release is currently in prerelease. The below release notes will be condensed into a single entry when we do a final release._
|
||||
|
||||
_v2.0.0a3 (22 Jun 2021)_
|
||||
_v2.0.0b2 (9 July 2021)_
|
||||
|
||||
- 🐛 Bug fix to the GitHub action (#753)
|
||||
|
||||
_v2.0.0b1 (9 July 2021)_
|
||||
|
||||
- 🐛 Bug fixes & docs improvements
|
||||
|
||||
_v2.0.0a4 (25 June 2021)_
|
||||
|
||||
- 🌟 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/latest/options/#build-frontend) option.
|
||||
|
||||
_v2.0.0a3 (22 June 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/latest/options/#setting-options) for more info.
|
||||
|
||||
_v2.0.0a2 (1 Jun 2021)_
|
||||
_v2.0.0a2 (1 June 2021)_
|
||||
|
||||
- 🌟 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/latest/options/#prerelease-pythons) to test. (#675)
|
||||
- ✨ Added the ability to build CPython 3.8 wheels for Apple Silicon. (#704)
|
||||
|
||||
+4
-4
@@ -17,12 +17,12 @@ runs:
|
||||
using: composite
|
||||
steps:
|
||||
|
||||
# This needs powershell-core because github.action path is a Windows-style
|
||||
# path on Windows. Powershell-core understands both types of paths.
|
||||
# Redirecting stderr to stdout to fix interleaving issue in Actions.
|
||||
- run: >
|
||||
pipx run
|
||||
--spec ${{ github.action_path }}
|
||||
--spec '${{ github.action_path }}'
|
||||
cibuildwheel
|
||||
${{ inputs.package-dir }}
|
||||
--output-dir ${{ inputs.output-dir }}
|
||||
shell: pwsh
|
||||
2>&1
|
||||
shell: bash
|
||||
|
||||
@@ -6,7 +6,7 @@ import copy
|
||||
import difflib
|
||||
import logging
|
||||
from pathlib import Path
|
||||
from typing import Any, Iterable, Union, cast
|
||||
from typing import Any, Union
|
||||
|
||||
import click
|
||||
import requests
|
||||
@@ -86,7 +86,7 @@ class WindowsVersions:
|
||||
# Specifier.filter selects all non pre-releases that match the spec,
|
||||
# unless there are only pre-releases, then it selects pre-releases
|
||||
# instead (like pip)
|
||||
unsorted_versions = cast(Iterable[Version], spec.filter(self.version_dict))
|
||||
unsorted_versions = spec.filter(self.version_dict)
|
||||
versions = sorted(unsorted_versions, reverse=True)
|
||||
|
||||
log.debug(f"Windows {self.arch} {spec} has {', '.join(str(v) for v in versions)}")
|
||||
@@ -201,7 +201,7 @@ class CPythonVersions:
|
||||
) -> ConfigMacOS | None:
|
||||
|
||||
# see note above on Specifier.filter
|
||||
unsorted_versions = cast(Iterable[Version], spec.filter(self.versions_dict))
|
||||
unsorted_versions = spec.filter(self.versions_dict)
|
||||
sorted_versions = sorted(unsorted_versions, reverse=True)
|
||||
|
||||
if version <= Version("3.8.9999"):
|
||||
|
||||
@@ -1 +1 @@
|
||||
__version__ = "2.0.0a4"
|
||||
__version__ = "2.0.0b2"
|
||||
|
||||
@@ -416,9 +416,8 @@ def build(options: BuildOptions) -> None:
|
||||
config_setting = " ".join(verbosity_flags)
|
||||
build_env = env.copy()
|
||||
if options.dependency_constraints:
|
||||
build_env["PIP_CONSTRAINT"] = str(
|
||||
options.dependency_constraints.get_for_python_version(config.version)
|
||||
)
|
||||
constr = options.dependency_constraints.get_for_python_version(config.version)
|
||||
build_env["PIP_CONSTRAINT"] = constr.as_uri()
|
||||
build_env["VIRTUALENV_PIP"] = get_pip_version(env)
|
||||
call(
|
||||
[
|
||||
|
||||
@@ -37,9 +37,9 @@ python_configurations = [
|
||||
{ identifier = "cp38-macosx_x86_64", version = "3.8", url = "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
|
||||
{ identifier = "cp38-macosx_arm64", version = "3.8", url = "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
|
||||
{ identifier = "cp38-macosx_universal2", version = "3.8", url = "https://www.python.org/ftp/python/3.8.10/python-3.8.10-macosx10.9.pkg" },
|
||||
{ identifier = "cp39-macosx_x86_64", version = "3.9", url = "https://www.python.org/ftp/python/3.9.5/python-3.9.5-macos11.pkg" },
|
||||
{ identifier = "cp39-macosx_arm64", version = "3.9", url = "https://www.python.org/ftp/python/3.9.5/python-3.9.5-macos11.pkg" },
|
||||
{ identifier = "cp39-macosx_universal2", version = "3.9", url = "https://www.python.org/ftp/python/3.9.5/python-3.9.5-macos11.pkg" },
|
||||
{ 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.0b3-macos11.pkg" },
|
||||
{ identifier = "cp310-macosx_arm64", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0b3-macos11.pkg" },
|
||||
{ identifier = "cp310-macosx_universal2", version = "3.10", url = "https://www.python.org/ftp/python/3.10.0/python-3.10.0b3-macos11.pkg" },
|
||||
@@ -54,8 +54,8 @@ python_configurations = [
|
||||
{ identifier = "cp37-win_amd64", version = "3.7.9", arch = "64" },
|
||||
{ identifier = "cp38-win32", version = "3.8.10", arch = "32" },
|
||||
{ identifier = "cp38-win_amd64", version = "3.8.10", arch = "64" },
|
||||
{ identifier = "cp39-win32", version = "3.9.5", arch = "32" },
|
||||
{ identifier = "cp39-win_amd64", version = "3.9.5", 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-b3", arch = "32" },
|
||||
{ identifier = "cp310-win_amd64", version = "3.10.0-b3", arch = "64" },
|
||||
{ identifier = "pp37-win_amd64", version = "3.7", arch = "64", url = "https://downloads.python.org/pypy/pypy3.7-v7.3.5-win64.zip" },
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# This file is autogenerated by pip-compile with python 3.6
|
||||
# To update, run:
|
||||
#
|
||||
# bin/update_dependencies.py
|
||||
@@ -12,9 +12,9 @@ distlib==0.3.2
|
||||
# via virtualenv
|
||||
filelock==3.0.12
|
||||
# via virtualenv
|
||||
importlib-metadata==4.5.0
|
||||
importlib-metadata==4.6.1
|
||||
# via virtualenv
|
||||
importlib-resources==5.1.4
|
||||
importlib-resources==5.2.0
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
@@ -26,13 +26,13 @@ wheel==0.36.2
|
||||
# via
|
||||
# -r cibuildwheel/resources/constraints.in
|
||||
# delocate
|
||||
zipp==3.4.1
|
||||
zipp==3.5.0
|
||||
# via
|
||||
# importlib-metadata
|
||||
# importlib-resources
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.1.2
|
||||
pip==21.1.3
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==57.0.0
|
||||
setuptools==57.1.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# This file is autogenerated by pip-compile with python 3.7
|
||||
# To update, run:
|
||||
#
|
||||
# bin/update_dependencies.py
|
||||
@@ -12,7 +12,7 @@ distlib==0.3.2
|
||||
# via virtualenv
|
||||
filelock==3.0.12
|
||||
# via virtualenv
|
||||
importlib-metadata==4.5.0
|
||||
importlib-metadata==4.6.1
|
||||
# via virtualenv
|
||||
six==1.16.0
|
||||
# via virtualenv
|
||||
@@ -24,11 +24,11 @@ wheel==0.36.2
|
||||
# via
|
||||
# -r cibuildwheel/resources/constraints.in
|
||||
# delocate
|
||||
zipp==3.4.1
|
||||
zipp==3.5.0
|
||||
# via importlib-metadata
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.1.2
|
||||
pip==21.1.3
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==57.0.0
|
||||
setuptools==57.1.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# This file is autogenerated by pip-compile with python 3.8
|
||||
# To update, run:
|
||||
#
|
||||
# bin/update_dependencies.py
|
||||
@@ -22,7 +22,7 @@ wheel==0.36.2
|
||||
# delocate
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.1.2
|
||||
pip==21.1.3
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==57.0.0
|
||||
setuptools==57.1.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# bin/update_dependencies.py
|
||||
@@ -22,7 +22,7 @@ wheel==0.36.2
|
||||
# delocate
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.1.2
|
||||
pip==21.1.3
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==57.0.0
|
||||
setuptools==57.1.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# This file is autogenerated by pip-compile
|
||||
# This file is autogenerated by pip-compile with python 3.9
|
||||
# To update, run:
|
||||
#
|
||||
# bin/update_dependencies.py
|
||||
@@ -22,7 +22,7 @@ wheel==0.36.2
|
||||
# delocate
|
||||
|
||||
# The following packages are considered to be unsafe in a requirements file:
|
||||
pip==21.1.2
|
||||
pip==21.1.3
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
setuptools==57.0.0
|
||||
setuptools==57.1.0
|
||||
# via -r cibuildwheel/resources/constraints.in
|
||||
|
||||
@@ -1,38 +1,38 @@
|
||||
[x86_64]
|
||||
manylinux1 = quay.io/pypa/manylinux1_x86_64:2021-05-31-f12b4c4
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-06-07-00faba2
|
||||
manylinux1 = quay.io/pypa/manylinux1_x86_64:2021-07-04-13bcf48
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-07-04-1e3ce39
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-07-04-1e3ce39
|
||||
|
||||
[i686]
|
||||
manylinux1 = quay.io/pypa/manylinux1_i686:2021-05-31-f12b4c4
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-06-07-00faba2
|
||||
manylinux1 = quay.io/pypa/manylinux1_i686:2021-07-04-13bcf48
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-07-04-1e3ce39
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-07-04-1e3ce39
|
||||
|
||||
[pypy_x86_64]
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-06-07-00faba2
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_x86_64:2021-07-04-1e3ce39
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_x86_64:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_x86_64:2021-07-04-1e3ce39
|
||||
|
||||
[pypy_i686]
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-06-07-00faba2
|
||||
manylinux2010 = quay.io/pypa/manylinux2010_i686:2021-07-04-1e3ce39
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_i686:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_i686:2021-07-04-1e3ce39
|
||||
|
||||
[aarch64]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-07-04-1e3ce39
|
||||
|
||||
[ppc64le]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_ppc64le:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_ppc64le:2021-07-04-1e3ce39
|
||||
|
||||
[s390x]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_s390x:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_s390x:2021-07-04-1e3ce39
|
||||
|
||||
[pypy_aarch64]
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-06-07-00faba2
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-06-07-00faba2
|
||||
manylinux2014 = quay.io/pypa/manylinux2014_aarch64:2021-07-04-1e3ce39
|
||||
manylinux_2_24 = quay.io/pypa/manylinux_2_24_aarch64:2021-07-04-1e3ce39
|
||||
|
||||
|
||||
+40
-23
@@ -23,9 +23,11 @@ from .util import (
|
||||
read_python_configs,
|
||||
)
|
||||
|
||||
CIBW_INSTALL_PATH = Path("C:\\cibw")
|
||||
|
||||
|
||||
def call(
|
||||
args: Sequence[PathOrStr], env: Optional[Dict[str, str]] = None, cwd: Optional[str] = None
|
||||
args: Sequence[PathOrStr], env: Optional[Dict[str, str]] = None, cwd: Optional[PathOrStr] = None
|
||||
) -> None:
|
||||
print("+ " + " ".join(str(a) for a in args))
|
||||
# we use shell=True here, even though we don't need a shell due to a bug
|
||||
@@ -33,7 +35,9 @@ def call(
|
||||
subprocess.run([str(a) for a in args], env=env, cwd=cwd, shell=True, check=True)
|
||||
|
||||
|
||||
def shell(command: str, env: Optional[Dict[str, str]] = None, cwd: Optional[str] = None) -> None:
|
||||
def shell(
|
||||
command: str, env: Optional[Dict[str, str]] = None, cwd: Optional[PathOrStr] = None
|
||||
) -> None:
|
||||
print(f"+ {command}")
|
||||
subprocess.run(command, env=env, cwd=cwd, shell=True, check=True)
|
||||
|
||||
@@ -49,7 +53,7 @@ def get_nuget_args(version: str, arch: str) -> List[str]:
|
||||
"-FallbackSource",
|
||||
"https://api.nuget.org/v3/index.json",
|
||||
"-OutputDirectory",
|
||||
"C:\\cibw\\python",
|
||||
str(CIBW_INSTALL_PATH / "python"),
|
||||
]
|
||||
|
||||
|
||||
@@ -102,9 +106,9 @@ def install_pypy(version: str, arch: str, url: str) -> Path:
|
||||
zip_filename = url.rsplit("/", 1)[-1]
|
||||
extension = ".zip"
|
||||
assert zip_filename.endswith(extension)
|
||||
installation_path = Path("C:\\cibw") / zip_filename[: -len(extension)]
|
||||
installation_path = CIBW_INSTALL_PATH / zip_filename[: -len(extension)]
|
||||
if not installation_path.exists():
|
||||
pypy_zip = Path("C:\\cibw") / zip_filename
|
||||
pypy_zip = CIBW_INSTALL_PATH / zip_filename
|
||||
download(url, pypy_zip)
|
||||
# Extract to the parent directory because the zip file still contains a directory
|
||||
extract_zip(pypy_zip, installation_path.parent)
|
||||
@@ -119,7 +123,7 @@ def setup_python(
|
||||
build_frontend: BuildFrontend,
|
||||
) -> Dict[str, str]:
|
||||
|
||||
nuget = Path("C:\\cibw\\nuget.exe")
|
||||
nuget = CIBW_INSTALL_PATH / "nuget.exe"
|
||||
if not nuget.exists():
|
||||
log.step("Downloading nuget...")
|
||||
download("https://dist.nuget.org/win-x86-commandline/latest/nuget.exe", nuget)
|
||||
@@ -184,7 +188,7 @@ def setup_python(
|
||||
requires_reinstall = not (installation_path / "Scripts" / "pip.exe").exists()
|
||||
if requires_reinstall:
|
||||
# maybe pip isn't installed at all. ensurepip resolves that.
|
||||
call(["python", "-m", "ensurepip"], env=env, cwd="C:\\cibw")
|
||||
call(["python", "-m", "ensurepip"], env=env, cwd=CIBW_INSTALL_PATH)
|
||||
|
||||
# upgrade pip to the version matching our constraints
|
||||
# if necessary, reinstall it to ensure that it's available on PATH as 'pip.exe'
|
||||
@@ -199,7 +203,7 @@ def setup_python(
|
||||
*dependency_constraint_flags,
|
||||
],
|
||||
env=env,
|
||||
cwd="C:\\cibw",
|
||||
cwd=CIBW_INSTALL_PATH,
|
||||
)
|
||||
|
||||
assert (installation_path / "Scripts" / "pip.exe").exists()
|
||||
@@ -313,22 +317,35 @@ def build(options: BuildOptions) -> None:
|
||||
config_setting = " ".join(verbosity_flags)
|
||||
build_env = env.copy()
|
||||
if options.dependency_constraints:
|
||||
build_env["PIP_CONSTRAINT"] = str(
|
||||
options.dependency_constraints.get_for_python_version(config.version)
|
||||
constraints_path = options.dependency_constraints.get_for_python_version(
|
||||
config.version
|
||||
)
|
||||
# Bug in pip <= 21.1.3 - we can't have a space in the
|
||||
# constraints file, and pip doesn't support drive letters
|
||||
# in uhi. After probably pip 21.2, we can use uri. For
|
||||
# now, use a temporary file.
|
||||
if " " in str(constraints_path):
|
||||
tmp_file = tempfile.NamedTemporaryFile(
|
||||
"w", suffix="constraints.txt", delete=False, dir=CIBW_INSTALL_PATH
|
||||
)
|
||||
with tmp_file as new_constraints_file, open(constraints_path) as f:
|
||||
new_constraints_file.write(f.read())
|
||||
constraints_path = Path(new_constraints_file.name)
|
||||
|
||||
build_env["PIP_CONSTRAINT"] = str(constraints_path)
|
||||
build_env["VIRTUALENV_PIP"] = get_pip_version(env)
|
||||
call(
|
||||
[
|
||||
"python",
|
||||
"-m",
|
||||
"build",
|
||||
options.package_dir,
|
||||
"--wheel",
|
||||
f"--outdir={built_wheel_dir}",
|
||||
f"--config-setting={config_setting}",
|
||||
],
|
||||
env=build_env,
|
||||
)
|
||||
build_env["VIRTUALENV_PIP"] = get_pip_version(env)
|
||||
call(
|
||||
[
|
||||
"python",
|
||||
"-m",
|
||||
"build",
|
||||
options.package_dir,
|
||||
"--wheel",
|
||||
f"--outdir={built_wheel_dir}",
|
||||
f"--config-setting={config_setting}",
|
||||
],
|
||||
env=build_env,
|
||||
)
|
||||
else:
|
||||
assert_never(options.build_frontend)
|
||||
|
||||
|
||||
+4
-4
@@ -210,12 +210,12 @@ 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.0a4
|
||||
uses: pypa/cibuildwheel@v2.0.0b2
|
||||
```
|
||||
|
||||
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.
|
||||
|
||||
Then, your `dependabot.yml` file could look like this:
|
||||
Then, your `.github/dependabot.yml` file could look like this:
|
||||
|
||||
```yaml
|
||||
version: 2
|
||||
@@ -236,10 +236,10 @@ The second option, and the only one that supports other CI systems, is using a `
|
||||
|
||||
```bash
|
||||
# requirements-cibw.txt
|
||||
cibuildwheel==2.0.0a4
|
||||
cibuildwheel==2.0.0b2
|
||||
```
|
||||
|
||||
Then your install step would have `python -m pip install -r requirements-cibw.txt` in it. Your `dependabot.yml` file could look like this:
|
||||
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:
|
||||
|
||||
```yaml
|
||||
version: 2
|
||||
|
||||
+2
-2
@@ -330,11 +330,11 @@ This option can also be set using the [command-line option](#command-line) `--ar
|
||||
# Note that the `arm64` wheel and the `arm64` part of the `universal2`
|
||||
# wheel cannot be tested in this configuration.
|
||||
[tool.cibuildwheel.macos]
|
||||
archs: ["x86_64", "universal2", "arm64"]
|
||||
archs = ["x86_64", "universal2", "arm64"]
|
||||
|
||||
# On an Linux Intel runner with qemu installed, build Intel and ARM wheels
|
||||
[tool.cibuildwheel.linux]
|
||||
archs: ["auto", "aarch64"]
|
||||
archs = ["auto", "aarch64"]
|
||||
```
|
||||
|
||||
It is generally recommmended to use the environment variable or
|
||||
|
||||
+2
-2
@@ -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.0a4
|
||||
run: pipx run cibuildwheel==2.0.0b2
|
||||
|
||||
- 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.0a4
|
||||
run: python -m pip install cibuildwheel==2.0.0b2
|
||||
|
||||
- name: Build wheels
|
||||
run: python -m cibuildwheel --output-dir wheelhouse
|
||||
|
||||
@@ -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.0a4
|
||||
install: python -m pip install cibuildwheel==2.0.0b2
|
||||
|
||||
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.0.0a4
|
||||
pip3 install cibuildwheel==2.0.0b2
|
||||
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.0a4
|
||||
python3 -m pip install cibuildwheel==2.0.0b2
|
||||
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.0a4
|
||||
pip install cibuildwheel==2.0.0b2
|
||||
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.0.0a4
|
||||
pip3 install --user cibuildwheel==2.0.0b2
|
||||
cibuildwheel --output-dir wheelhouse
|
||||
- store_artifacts:
|
||||
path: wheelhouse/
|
||||
@@ -19,13 +19,13 @@ jobs:
|
||||
osx-wheels:
|
||||
working_directory: ~/osx-wheels
|
||||
macos:
|
||||
xcode: 10.0.0
|
||||
xcode: 12.5.1
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: Build the OS X wheels.
|
||||
command: |
|
||||
pip3 install cibuildwheel==2.0.0a4
|
||||
pip3 install cibuildwheel==2.0.0b2
|
||||
cibuildwheel --output-dir wheelhouse
|
||||
- store_artifacts:
|
||||
path: wheelhouse/
|
||||
|
||||
@@ -10,7 +10,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.0.0a4
|
||||
uses: pypa/cibuildwheel@v2.0.0b2
|
||||
env:
|
||||
CIBW_ARCHS_MACOS: x86_64 universal2
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ jobs:
|
||||
python-version: '3.8'
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.0.0a4
|
||||
uses: pypa/cibuildwheel@v2.0.0b2
|
||||
|
||||
- uses: actions/upload-artifact@v2
|
||||
with:
|
||||
|
||||
@@ -14,7 +14,7 @@ jobs:
|
||||
- uses: actions/checkout@v2
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.0.0a4
|
||||
uses: pypa/cibuildwheel@v2.0.0b2
|
||||
# to supply options, put them in 'env', like:
|
||||
# env:
|
||||
# CIBW_SOME_OPTION: value
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
platforms: all
|
||||
|
||||
- name: Build wheels
|
||||
uses: pypa/cibuildwheel@v2.0.0a4
|
||||
uses: pypa/cibuildwheel@v2.0.0b2
|
||||
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.0.0a4
|
||||
- python -m pip install cibuildwheel==2.0.0b2
|
||||
- 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.0.0a4
|
||||
- python3 -m pip install cibuildwheel==2.0.0b2
|
||||
|
||||
script:
|
||||
# build the wheels, put them into './wheelhouse'
|
||||
|
||||
@@ -25,7 +25,7 @@ jobs:
|
||||
- ln -s /c/Python38/python.exe /c/Python38/python3.exe
|
||||
|
||||
install:
|
||||
- python3 -m pip install cibuildwheel==2.0.0a4
|
||||
- python3 -m pip install cibuildwheel==2.0.0b2
|
||||
|
||||
script:
|
||||
# build the wheels, put them into './wheelhouse'
|
||||
|
||||
@@ -57,7 +57,7 @@ jobs:
|
||||
- stage: deploy
|
||||
name: Build and deploy Linux wheels
|
||||
services: docker
|
||||
install: python3 -m pip install cibuildwheel==2.0.0a4
|
||||
install: python3 -m pip install cibuildwheel==2.0.0b2
|
||||
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.0a4
|
||||
install: python3 -m pip install cibuildwheel==2.0.0b2
|
||||
script: python3 -m cibuildwheel --output-dir wheelhouse
|
||||
after_success: |
|
||||
python3 -m pip install twine
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
[metadata]
|
||||
name = cibuildwheel
|
||||
version = 2.0.0a4
|
||||
version = 2.0.0b2
|
||||
description = Build Python wheels on CI with minimal configuration.
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
|
||||
@@ -20,7 +20,7 @@ extras = {
|
||||
"pyyaml",
|
||||
"requests",
|
||||
"rich>=9.6",
|
||||
"packaging>=20.8",
|
||||
"packaging>=21.0",
|
||||
],
|
||||
"mypy": [
|
||||
"mypy>=0.901",
|
||||
|
||||
@@ -122,7 +122,7 @@ def test_dependency_constraints_file(tmp_path, build_frontend_env):
|
||||
"virtualenv": "20.0.35",
|
||||
}
|
||||
|
||||
constraints_file = tmp_path / "constraints.txt"
|
||||
constraints_file = tmp_path / "constraints file.txt"
|
||||
constraints_file.write_text(
|
||||
textwrap.dedent(
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user