diff --git a/README.md b/README.md index 0462f995..c5a15a40 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ jobs: - uses: actions/setup-python@v2 - name: Install cibuildwheel - run: python -m pip install cibuildwheel==1.8.0 + run: python -m pip install cibuildwheel==1.9.0 - name: Build wheels run: python -m cibuildwheel --output-dir wheelhouse @@ -310,9 +310,9 @@ Changelog -### Next version +### v1.9.0 -_Some point in the future..._ +_5 February 2021_ - 🌟 Added support for Apple Silicon wheels on macOS! You can now cross-compile `universal2` and `arm64` wheels on your existing macOS Intel @@ -332,6 +332,19 @@ _Some point in the future..._ cibuildwheel a bit easier. If you need to override this for any reason, look at [`CIBW_PROJECT_REQUIRES_PYTHON`](https://cibuildwheel.readthedocs.io/en/stable/options/#requires-python). (#536) +- 🌟 cibuildwheel can now be invoked as a native GitHub Action! You can now + invoke cibuildwheel in a GHA build step like: + + ```yaml + - name: Build wheels + uses: joerick/cibuildwheel@v1.9.0 + with: + output-dir: wheelhouse + # env: + # CIBW_SOME_OPTION: value + ``` + This saves a bit of boilerplate, and you can [use Dependabot to keep the + pinned version up-to-date](https://cibuildwheel.readthedocs.io/en/stable/faq/#automatic-updates). - ✨ Added `auto64` and `auto32` shortcuts to the [CIBW_ARCHS](https://cibuildwheel.readthedocs.io/en/stable/options/#archs) option. (#553) diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index b2809757..e5102d30 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1 +1 @@ -__version__ = '1.8.0' +__version__ = '1.9.0' diff --git a/docs/faq.md b/docs/faq.md index d0175775..ade83687 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -203,7 +203,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: joerick/cibuildwheel@v1.8.0 +uses: joerick/cibuildwheel@v1.9.0 ``` 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. @@ -229,7 +229,7 @@ The second option, and the only one that supports other CI systems, is using a ` ```bash # requirements-cibw.txt -cibuildwheel==1.8.0 +cibuildwheel==1.9.0 ``` Then your install step would have `python -m pip install -r requirements-cibw.txt` in it. Your `dependabot.yml` file could look like this: diff --git a/docs/setup.md b/docs/setup.md index 934d782b..cdc2880f 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -17,7 +17,7 @@ For more info on this file, check out the [docs](https://help.github.com/en/acti [`examples/github-deploy.yml`](https://github.com/joerick/cibuildwheel/blob/master/examples/github-deploy.yml) extends this minimal example with a demonstration of how to automatically upload the built wheels to PyPI. -You can also use cibuildwheel directly as an action with `uses: joerick/cibuildwheel@v1.8.0`; this combines the download and run steps into a single action, and command line arguments are available via `with:`. This makes it easy to manage cibuildwheel updates via normal actions update mechanisms like dependabot, see [Automatic updates](faq.md#automatic-updates). +You can also use cibuildwheel directly as an action with `uses: joerick/cibuildwheel@v1.9.0`; this combines the download and run steps into a single action, and command line arguments are available via `with:`. This makes it easy to manage cibuildwheel updates via normal actions update mechanisms like dependabot, see [Automatic updates](faq.md#automatic-updates). # Azure Pipelines [linux/mac/windows] {: #azure-pipelines} diff --git a/examples/appveyor-minimal.yml b/examples/appveyor-minimal.yml index f4db3b03..b32de6af 100644 --- a/examples/appveyor-minimal.yml +++ b/examples/appveyor-minimal.yml @@ -12,7 +12,7 @@ stack: python 3.7 init: - cmd: set PATH=C:\Python37;C:\Python37\Scripts;%PATH% -install: python -m pip install cibuildwheel==1.8.0 +install: python -m pip install cibuildwheel==1.9.0 build_script: python -m cibuildwheel --output-dir wheelhouse diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 492debde..ceacabcc 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -6,7 +6,7 @@ jobs: - bash: | set -o errexit python3 -m pip install --upgrade pip - pip3 install cibuildwheel==1.8.0 + pip3 install cibuildwheel==1.9.0 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==1.8.0 + python3 -m pip install cibuildwheel==1.9.0 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels @@ -36,7 +36,7 @@ jobs: - bash: | set -o errexit python -m pip install --upgrade pip - pip install cibuildwheel==1.8.0 + pip install cibuildwheel==1.9.0 displayName: Install dependencies - bash: cibuildwheel --output-dir wheelhouse . displayName: Build wheels diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index 6dfad537..af36da09 100644 --- a/examples/circleci-minimal.yml +++ b/examples/circleci-minimal.yml @@ -11,7 +11,7 @@ jobs: - run: name: Build the Linux wheels. command: | - pip3 install --user cibuildwheel==1.8.0 + pip3 install --user cibuildwheel==1.9.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -25,7 +25,7 @@ jobs: - run: name: Build the OS X wheels. command: | - pip3 install cibuildwheel==1.8.0 + pip3 install cibuildwheel==1.9.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/github-apple-silicon.yml b/examples/github-apple-silicon.yml index 558ccbbc..303e9b1a 100644 --- a/examples/github-apple-silicon.yml +++ b/examples/github-apple-silicon.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2 - name: Build wheels - uses: joerick/cibuildwheel@v1.8.0 + uses: joerick/cibuildwheel@v1.9.0 env: CIBW_ARCHS_MACOS: x86_64 universal2 diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 81fea41d..81e7b476 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -31,7 +31,7 @@ jobs: run: choco install vcpython27 -f -y - name: Build wheels - uses: joerick/cibuildwheel@v1.8.0 + uses: joerick/cibuildwheel@v1.9.0 - uses: actions/upload-artifact@v2 with: diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index c6884fcd..87b27267 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -18,7 +18,7 @@ jobs: run: choco install vcpython27 -f -y - name: Build wheels - uses: joerick/cibuildwheel@v1.8.0 + uses: joerick/cibuildwheel@v1.9.0 # to supply options, put them in 'env', like: # env: # CIBW_SOME_OPTION: value diff --git a/examples/github-with-qemu.yml b/examples/github-with-qemu.yml index ad03e490..272f1975 100644 --- a/examples/github-with-qemu.yml +++ b/examples/github-with-qemu.yml @@ -29,7 +29,7 @@ jobs: platforms: all - name: Build wheels - uses: joerick/cibuildwheel@v1.8.0 + uses: joerick/cibuildwheel@v1.9.0 env: # configure cibuildwheel to build native archs ('auto'), and some # emulated ones diff --git a/examples/travis-ci-deploy.yml b/examples/travis-ci-deploy.yml index a6e6b15b..01cc7280 100644 --- a/examples/travis-ci-deploy.yml +++ b/examples/travis-ci-deploy.yml @@ -20,7 +20,7 @@ jobs: - ln -s /c/Python38/python.exe /c/Python38/python3.exe install: - - python3 -m pip install cibuildwheel==1.8.0 + - python3 -m pip install cibuildwheel==1.9.0 script: # build the wheels, put them into './wheelhouse' diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index 0d9b7e0b..ef098485 100644 --- a/examples/travis-ci-minimal.yml +++ b/examples/travis-ci-minimal.yml @@ -26,7 +26,7 @@ jobs: - ln -s /c/Python38/python.exe /c/Python38/python3.exe install: - - python3 -m pip install cibuildwheel==1.8.0 + - python3 -m pip install cibuildwheel==1.9.0 script: # build the wheels, put them into './wheelhouse' diff --git a/examples/travis-ci-test-and-deploy.yml b/examples/travis-ci-test-and-deploy.yml index 83fed3e9..a4bd9f00 100644 --- a/examples/travis-ci-test-and-deploy.yml +++ b/examples/travis-ci-test-and-deploy.yml @@ -55,7 +55,7 @@ jobs: - stage: deploy name: Build and deploy Linux wheels services: docker - install: python3 -m pip install cibuildwheel==1.8.0 + install: python3 -m pip install cibuildwheel==1.9.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine @@ -65,7 +65,7 @@ jobs: name: Build and deploy macOS wheels os: osx language: shell - install: python3 -m pip install cibuildwheel==1.8.0 + install: python3 -m pip install cibuildwheel==1.9.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine @@ -75,7 +75,7 @@ jobs: name: Build and deploy Windows wheels os: windows language: shell - install: python3 -m pip install cibuildwheel==1.8.0 + install: python3 -m pip install cibuildwheel==1.9.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine diff --git a/setup.cfg b/setup.cfg index 89d0ec02..8e4303b4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,7 +1,7 @@ [metadata] name = cibuildwheel -version = 1.8.0 +version = 1.9.0 description = Build Python wheels on CI with minimal configuration. long_description = file: README.md long_description_content_type = text/markdown