From 783dedad22fbb0483f2944ecf17af749581d94f6 Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sat, 2 May 2020 17:55:50 +0100 Subject: [PATCH] Bump version: v1.4.0 --- README.md | 32 +++++++++++++++++++++++++- cibuildwheel/__init__.py | 2 +- examples/appveyor-minimal.yml | 2 +- examples/azure-pipelines-minimal.yml | 6 ++--- examples/circleci-minimal.yml | 4 ++-- examples/github-minimal.yml | 2 +- examples/travis-ci-deploy-only.yml | 2 +- examples/travis-ci-minimal.yml | 2 +- examples/travis-ci-test-and-deploy.yml | 6 ++--- setup.py | 2 +- 10 files changed, 45 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index a1a2b95c..5a216999 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,7 @@ env: # Note: TWINE_PASSWORD is set to a PyPI API token in Travis settings install: - - python3 -m pip install cibuildwheel==1.3.0 + - python3 -m pip install cibuildwheel==1.4.0 script: # build the wheels, put them into './wheelhouse' @@ -143,6 +143,36 @@ This is similar to static linking, so it might have some licence implications. C Changelog ========= +### 1.4.0 + +_2 May 2020_ + +- ✨ 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 + environment on macOS and Windows, where the version of Xcode and Visual + Studio can still effect things. + + This can be controlled using the [CIBW_DEPENDENCY_VERSIONS](https://cibuildwheel.readthedocs.io/en/stable/options/#dependency-versions) + and [manylinux image](https://cibuildwheel.readthedocs.io/en/stable/options/#manylinux-image) + options - if you always want to use the latest toolchain, you can still do + that, or you can specify your own pip constraints file and manylinux image. + (#256) +- ✨ Added `package_dir` command line option, meaning we now support building + a package that lives in a subdirectory and pulls in files from the wider + project. See [the `package_dir` option help](https://cibuildwheel.readthedocs.io/en/stable/options/#command-line-options) + for more information. + + Note that this change makes the working directory (where you call + cibuildwheel from) relevant on Linux, as it's considered the 'project' and + will be copied into the Docker container. If your builds are slower on this + version, that's likely the reason. `cd` to your project and then call + `cibuildwheel` from there. (#319, #295) +- 🛠 On macOS, we make `MACOSX_DEPLOYMENT_TARGET` default to `10.9` if it's + not set. This should make things more consistent between Python versions. +- 🛠 Dependency updates - CPython 3.7.7, CPython 2.7.18, Pypy 7.3.1. + ### 1.3.0 _12 March 2020_ diff --git a/cibuildwheel/__init__.py b/cibuildwheel/__init__.py index 19b4f1d6..96e3ce8d 100644 --- a/cibuildwheel/__init__.py +++ b/cibuildwheel/__init__.py @@ -1 +1 @@ -__version__ = '1.3.0' +__version__ = '1.4.0' diff --git a/examples/appveyor-minimal.yml b/examples/appveyor-minimal.yml index 3314fba6..b916c300 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.3.0 +install: python -m pip install cibuildwheel==1.4.0 build_script: python -m cibuildwheel --output-dir wheelhouse diff --git a/examples/azure-pipelines-minimal.yml b/examples/azure-pipelines-minimal.yml index 98cf1471..49803fe5 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.3.0 + pip3 install cibuildwheel==1.4.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.3.0 + pip3 install cibuildwheel==1.4.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.3.0 + pip install cibuildwheel==1.4.0 cibuildwheel --output-dir wheelhouse . - task: PublishBuildArtifacts@1 inputs: {pathtoPublish: 'wheelhouse'} diff --git a/examples/circleci-minimal.yml b/examples/circleci-minimal.yml index 7748d362..d629d02c 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.3.0 + pip3 install --user cibuildwheel==1.4.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.3.0 + pip3 install --user cibuildwheel==1.4.0 cibuildwheel --output-dir wheelhouse - store_artifacts: path: wheelhouse/ diff --git a/examples/github-minimal.yml b/examples/github-minimal.yml index 30913057..50ade5d4 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.3.0 + python -m pip install cibuildwheel==1.4.0 - name: Install Visual C++ for Python 2.7 if: startsWith(matrix.os, 'windows') diff --git a/examples/travis-ci-deploy-only.yml b/examples/travis-ci-deploy-only.yml index a27968fe..713efa70 100644 --- a/examples/travis-ci-deploy-only.yml +++ b/examples/travis-ci-deploy-only.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.3.0 + - python3 -m pip install cibuildwheel==1.4.0 script: # build the wheels, put them into './wheelhouse' diff --git a/examples/travis-ci-minimal.yml b/examples/travis-ci-minimal.yml index ede3d173..f48db82b 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.3.0 + - python3 -m pip install cibuildwheel==1.4.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 9fff17e0..6dd854ad 100644 --- a/examples/travis-ci-test-and-deploy.yml +++ b/examples/travis-ci-test-and-deploy.yml @@ -56,7 +56,7 @@ jobs: - stage: deploy name: Build and deploy Linux wheels services: docker - install: python3 -m pip install cibuildwheel==1.3.0 + install: python3 -m pip install cibuildwheel==1.4.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine @@ -66,7 +66,7 @@ jobs: name: Build and deploy macOS wheels os: osx language: shell - install: python3 -m pip install cibuildwheel==1.3.0 + install: python3 -m pip install cibuildwheel==1.4.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine @@ -76,7 +76,7 @@ jobs: name: Build and deploy Windows wheels os: windows language: shell - install: python3 -m pip install cibuildwheel==1.3.0 + install: python3 -m pip install cibuildwheel==1.4.0 script: python3 -m cibuildwheel --output-dir wheelhouse after_success: | python3 -m pip install twine diff --git a/setup.py b/setup.py index 89fbce52..8b2f42bf 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ with io.open(os.path.join(this_directory, 'README.md'), encoding='utf-8') as f: setup( name='cibuildwheel', - version='1.3.0', + version='1.4.0', install_requires=['bashlex!=0.13'], description="Build Python wheels on CI with minimal configuration.", long_description=long_description,