diff --git a/README.md b/README.md index 3412159ea..31cc943c4 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,7 @@ env: # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - - python3 -m pip install cibuildwheel==1.4.2 + - python3 -m pip install cibuildwheel==1.5.0 script: # build the wheels, put them into './wheelhouse' @@ -152,6 +152,24 @@ This is similar to static linking, so it might have some licence implications. C Changelog ========= +### 1.5.0 + +_24 June 2020_ + +- 🌟 Add [`CIBW_BEFORE_ALL`](https://cibuildwheel.readthedocs.io/en/stable/options/#before-all) + option, which lets you run a command on the build machine before any wheels + are built. This is especially useful when building on Linux, to `make` + something external to Python, or to `yum install` a dependency. (#342) +- ✨ Added support for projects using pyproject.toml instead of setup.py + (#360, #358) +- ✨ Added workaround to allow Python 3.5 on Windows to pull dependencies from + pyproject.toml. (#358) +- 📚 Improved Github Actions examples and docs (#354, #362) +- 🐛 Ensure pip wheel uses the specified package, and doesn't build a wheel + from PyPI (#369) +- 🛠 Internal changes: using pathlib.Path, precommit hooks, testing + improvements. + ### 1.4.2 _25 May 2020_ @@ -174,7 +192,7 @@ _4 May 2020_ _2 May 2020_ -- ✨ Deterministic builds. cibuildwheel now locks the versions of the tools it +- 🌟 Deterministic builds. cibuildwheel now locks the versions of the tools it uses. This means that pinning your version of cibuildwheel pins the versions of pip, setuptools, manylinux etc. that are used under the hood. This should make things more reliable. But note that we don't control the entire build @@ -204,7 +222,7 @@ _2 May 2020_ _12 March 2020_ -- ✨ Add support for building on Github Actions! Check out the +- 🌟 Add support for building on Github Actions! Check out the [docs](https://cibuildwheel.readthedocs.io/en/stable/setup/#github-actions) for information on how to set it up. (#194) - ✨ Add the `CIBW_BEFORE_TEST` option, which lets you run a command to @@ -214,9 +232,9 @@ _12 March 2020_ _8 March 2020_ -- ✨ Add support for building PyPy wheels, across Manylinux, macOS, and +- 🌟 Add support for building PyPy wheels, across Manylinux, macOS, and Windows. (#185) -- ✨ Added the ability to build ARM64 (aarch64), ppc64le, and s390x wheels, +- 🌟 Added the ability to build ARM64 (aarch64), ppc64le, and s390x wheels, using manylinux2014 and Travis CI. (#273) - ✨ You can now build macOS wheels on Appveyor. (#230) - 🛠 Changed default macOS minimum target to 10.9, from 10.6. This allows the @@ -237,7 +255,7 @@ _8 March 2020_ _7 December 2019_ -- ✨ Add support for building manylinux2014 wheels. To use, set +- 🌟 Add support for building manylinux2014 wheels. To use, set `CIBW_MANYLINUX_X86_64_IMAGE` and CIBW_MANYLINUX_I686_IMAGE to `manylinux2014`. - ✨ Add support for [Linux on Appveyor](https://www.appveyor.com/blog/2018/03/06/appveyor-for-linux/) (#204, #207) @@ -250,8 +268,8 @@ _7 December 2019_ _10 November 2019_ -- ✨ Add support for building Python 3.8 wheels! (#180) -- ✨ Add support for building manylinux2010 wheels. cibuildwheel will now +- 🌟 Add support for building Python 3.8 wheels! (#180) +- 🌟 Add support for building manylinux2010 wheels. cibuildwheel will now build using the manylinux2010 images by default. If your project is still manylinux1 compatible, you should get both manylinux1 and manylinux2010 wheels - you can upload both to PyPI. If you always require manylinux1 wheels, you can @@ -287,7 +305,7 @@ _28 May 2019_ _26 May 2019_ -- ✨ Add support for building on Azure pipelines! This lets you build all +- 🌟 Add support for building on Azure pipelines! This lets you build all Linux, Mac and Windows wheels on one service, so it promises to be the easiest to set up! Check out the quickstart in the docs, or [cibuildwheel-azure-example](https://github.com/joerick/cibuildwheel-azure-example) @@ -317,8 +335,8 @@ _3 February 2019_ _23 September 2018_ -- ✨ Add `CIBW_BUILD` option, for specifying which specific builds to perform (#101) -- ✨ Add support for building Mac and Linux on CircleCI (#91, #97) +- 🌟 Add `CIBW_BUILD` option, for specifying which specific builds to perform (#101) +- 🌟 Add support for building Mac and Linux on CircleCI (#91, #97) - 🛠 Improved support for building universal wheels (#95) - 🛠 Ensure log output is unbuffered and therefore in the correct order (#92) - 🛠 Improved error reporting for errors that occur inside a package's setup.py (#88) diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index 98d186bed..77f1c8e63 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1 +1 @@ -__version__ = '1.4.2' +__version__ = '1.5.0' diff --git a/examples/appveyor-minimal.yml b/examples/appveyor-minimal.yml index 849fe2743..47bfde21d 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.4.2 +install: python -m pip install cibuildwheel==1.5.0 build_script: python -m cibuildwheel --output-dir wheelhouse diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 3266e8881..c6597d130 100644 --- a/examples/azure-pipelines-minimal.yml +++ b/examples/azure-pipelines-minimal.yml @@ -5,7 +5,7 @@ jobs: - task: UsePythonVersion@0 - bash: | python3 -m pip install --upgrade pip - pip3 install cibuildwheel==1.4.2 + pip3 install cibuildwheel==1.5.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -16,7 +16,7 @@ jobs: - task: UsePythonVersion@0 - bash: | python3 -m pip install --upgrade pip - pip3 install cibuildwheel==1.4.2 + pip3 install cibuildwheel==1.5.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} @@ -29,7 +29,7 @@ jobs: displayName: Install Visual C++ for Python 2.7 - bash: | python -m pip install --upgrade pip - pip install cibuildwheel==1.4.2 + pip install cibuildwheel==1.5.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index 747b3f8e9..fb11ff3b0 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.4.2 + pip3 install --user cibuildwheel==1.5.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ @@ -25,7 +25,7 @@ jobs: - run: name: Build the OS X wheels. command: | - pip3 install --user cibuildwheel==1.4.2 + pip3 install --user cibuildwheel==1.5.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/github-deploy.yml b/examples/github-deploy.yml index 746c5847b..d86eccde5 100644 --- a/examples/github-deploy.yml +++ b/examples/github-deploy.yml @@ -28,7 +28,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.4.2 + python -m pip install cibuildwheel==1.5.0 - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 8501cb841..30c20f608 100644 --- a/examples/github-minimal.yml +++ b/examples/github-minimal.yml @@ -20,7 +20,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel==1.4.2 + python -m pip install cibuildwheel==1.5.0 - name: Install Visual C++ for Python 2.7 if: runner.os == 'Windows' diff --git a/examples/travis-ci-deploy.yml b/examples/travis-ci-deploy.yml index 5e82149f2..c9c085f58 100644 --- a/examples/travis-ci-deploy.yml +++ b/examples/travis-ci-deploy.yml @@ -25,7 +25,7 @@ env: # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - - python3 -m pip install cibuildwheel==1.4.2 + - python3 -m pip install cibuildwheel==1.5.0 script: # build the wheels, put them into './wheelhouse' diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index b03a0da55..2be04ce2a 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.4.2 + - python3 -m pip install cibuildwheel==1.5.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 b9d920f6a..f29ea81b6 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.4.2 + install: python3 -m pip install cibuildwheel==1.5.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.4.2 + install: python3 -m pip install cibuildwheel==1.5.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.4.2 + install: python3 -m pip install cibuildwheel==1.5.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine diff --git a/setup.py b/setup.py index 542d29f73..4396b9285 100644 --- a/setup.py +++ b/setup.py @@ -11,7 +11,7 @@ setup( name='cibuildwheel', - version='1.4.2', + version='1.5.0', install_requires=['bashlex!=0.13', 'toml'], description="Build Python wheels on CI with minimal configuration.", long_description=long_description,