Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump pypa/cibuildwheel from 2.1.1 to 2.11.2 #2431

Merged
merged 9 commits into from
Dec 15, 2022

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 14, 2022

Bumps pypa/cibuildwheel from 2.1.1 to 2.11.2.

Release notes

Sourced from pypa/cibuildwheel's releases.

v2.11.2

  • πŸ›  Updates CPython 3.11 to 3.11.0 - final release (#1327)
  • πŸ›  Simplify the default macOS repair command (#1322)
  • πŸ›  Fix the default MACOSX_DEPLOYMENT_TARGET on arm64 (#1312)
  • πŸ›  Hide irrelevant pip warnings on linux (#1311)
  • πŸ› Fix a bug that caused the stdout and stderr of commands in containers to be in the wrong order Previously, stdout could appear after stderr. (#1324)
  • πŸ“š Added a FAQ entry describing how to perform native builds of CPython 3.8 wheels on Apple Silicon. (#1323)
  • πŸ“š Other docs improvements

v2.11.1

  • πŸ›  Updates to the latest manylinux images, and updates CPython 3.10 to 3.10.8.

v2.11.0

  • 🌟 Adds support for cross-compiling Windows ARM64 wheels. To use this feature, add ARM64 to the CIBW_ARCHS option on a Windows Intel runner. (#1144)
  • ✨ Adds support for building Linux aarch64 wheels on Circle CI. (#1307)
  • ✨ Adds support for building Windows wheels on Gitlab CI. (#1295)
  • ✨ Adds support for building Linux aarch64 wheels under emulation on Gitlab CI. (#1295)
  • ✨ Adds the ability to test cp38-macosx_arm64 wheels on a native arm64 runner. To do this, you'll need to preinstall the (experimental) universal2 version of CPython 3.8 on your arm64 runner before invoking cibuildwheel. Note: it is not recommended to build x86_64 wheels with this setup, your wheels will have limited compatibility wrt macOS versions. (#1283)
  • πŸ›  Improved error messages when using custom Docker images and Python cannot be found at the correct path. (#1298)
  • πŸ“š Sample configs for Azure Pipelines and Travis CI updated (#1296)
  • πŸ“š Other docs improvements - including more information about using Homebrew for build dependencies (#1290)

v2.10.2

  • πŸ› Fix a bug that caused win32 identifiers to fail when used with --only. (#1282)
  • πŸ› Fix computation of auto/auto64/auto32 archs when targeting a different platform to the one that you're running cibuildwheel on. (#1266)
  • πŸ“š Fix an mistake in the 'how it works' diagram. (#1274)

v2.10.1

  • πŸ› Fix a bug that stopped environment variables specified in TOML from being expanded. (#1273)

v2.10.0

  • 🌟 Adds support for building wheels on Cirrus CI. This is exciting for us, as it's the first public CI platform that natively supports macOS Apple Silicon (aka. M1, arm64) runners. As such, it's the first platform that you can natively build and test macOS arm64 wheels. It also has native Linux ARM (aarch64) runners, for fast, native builds there. (#1191)
  • 🌟 Adds support for running cibuildwheel on Apple Silicon machines. For a while, we've supported cross-compilation of Apple Silicon wheels on x86_64, but now that we have Cirrus CI we can run our test suite and officially support running cibuildwheel on arm64. (#1191)
  • ✨ Adds the --only command line option, to specify a single build to run. Previously, it could be cumbersome to set all the build selection options to target a specific build - for example, you might have to run something like CIBW_BUILD=cp39-manylinux_x86_64 cibuildwheel --platform linux --archs x86_64. The new --only option overrides all the build selection options to simplify running a single build, which now looks like cibuildwheel --only cp39-manylinux_x86_64. (#1098)
  • ✨ Adds the CIBW_CONFIG_SETTINGS option, so you can pass arguments to your package's build backend (#1244)
  • πŸ›  Updates the CPython 3.11 version to the latest release candidate - v3.11.0rc2. (#1265)
  • πŸ› Fix a bug that can cause a RecursionError on Windows when building from an sdist. (#1253)
  • πŸ›  Add support for the s390x architecture on manylinux_2_28 (#1255)

v2.9.0

  • 🌟 CPython 3.11 wheels are now built by default - without the CIBW_PRERELEASE_PYTHONS flag. It's time to build and upload these wheels to PyPI! This release includes CPython 3.11.0rc1, which is guaranteed to be ABI compatible with the final release. (#1226)
  • ⚠️ Removed support for running cibuildwheel in Python 3.6. Python 3.6 is EOL. However, cibuildwheel continues to build CPython 3.6 wheels for the moment. (#1175)
  • ✨ Improved error messages when misspelling TOML options, suggesting close matches (#1205)
  • πŸ›  When running on Apple Silicon (so far, an unsupported mode of operation), cibuildwheel no longer builds universal2 wheels by default - just arm64. See #1204 for discussion. We hope to release official support for native builds on Apple Silicon soon! (#1217)

v2.8.1

  • πŸ› 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 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

... (truncated)

Changelog

Sourced from pypa/cibuildwheel's changelog.

v2.11.2

26 October 2022

  • πŸ›  Updates CPython 3.11 to 3.11.0 - final release (#1327)
  • πŸ›  Simplify the default macOS repair command (#1322)
  • πŸ›  Fix the default MACOSX_DEPLOYMENT_TARGET on arm64 (#1312)
  • πŸ›  Hide irrelevant pip warnings on linux (#1311)
  • πŸ› Fix a bug that caused the stdout and stderr of commands in containers to be in the wrong order Previously, stdout could appear after stderr. (#1324)
  • πŸ“š Added a FAQ entry describing how to perform native builds of CPython 3.8 wheels on Apple Silicon. (#1323)
  • πŸ“š Other docs improvements

v2.11.1

13 October 2022

  • πŸ›  Updates to the latest manylinux images, and updates CPython 3.10 to 3.10.8.

v2.11.0

13 October 2022

  • 🌟 Adds support for cross-compiling Windows ARM64 wheels. To use this feature, add ARM64 to the CIBW_ARCHS option on a Windows Intel runner. (#1144)
  • ✨ Adds support for building Linux aarch64 wheels on Circle CI. (#1307)
  • ✨ Adds support for building Windows wheels on Gitlab CI. (#1295)
  • ✨ Adds support for building Linux aarch64 wheels under emulation on Gitlab CI. (#1295)
  • ✨ Adds the ability to test cp38-macosx_arm64 wheels on a native arm64 runner. To do this, you'll need to preinstall the (experimental) universal2 version of CPython 3.8 on your arm64 runner before invoking cibuildwheel. Note: it is not recommended to build x86_64 wheels with this setup, your wheels will have limited compatibility wrt macOS versions. (#1283)
  • πŸ›  Improved error messages when using custom Docker images and Python cannot be found at the correct path. (#1298)
  • πŸ“š Sample configs for Azure Pipelines and Travis CI updated (#1296)
  • πŸ“š Other docs improvements - including more information about using Homebrew for build dependencies (#1290)

v2.10.2

25 September 2022

  • πŸ› Fix a bug that caused win32 identifiers to fail when used with --only. (#1282)
  • πŸ› Fix computation of auto/auto64/auto32 archs when targeting a different platform to the one that you're running cibuildwheel on. (#1266)
  • πŸ“š Fix an mistake in the 'how it works' diagram. (#1274)

v2.10.1

18 September 2022

  • πŸ› Fix a bug that stopped environment variables specified in TOML from being expanded. (#1273)

v2.10.0

13 September 2022

  • 🌟 Adds support for building wheels on Cirrus CI. This is exciting for us, as it's the first public CI platform that natively supports macOS Apple Silicon (aka. M1, arm64) runners. As such, it's the first platform that you can natively build and test macOS arm64 wheels. It also has native Linux ARM (aarch64) runners, for fast, native builds there. (#1191)

... (truncated)

Commits
  • a6732b1 Bump version: v2.11.2
  • 36a6101 Merge pull request #1311 from henryiii/henryiii/fix/rootpip2
  • 8672fee Merge pull request #1300 from mayeut/gha-3.11
  • b1b8ab5 Merge pull request #1322 from ankith26/update-delocate-default
  • 89a8cac Merge pull request #1324 from pypa/stderr-interleaving
  • db12084 tests: include check for upgrade notice too
  • dfb3e62 tests: use 3.11 final
  • f259bfd tests: add a check in tests for the pip warning
  • f252274 fix: hide root pip warning on Linux again
  • 1aa841b Merge pull request #1323 from pypa/docs-38
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Nov 14, 2022
Bumps [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel) from 2.1.1 to 2.11.2.
- [Release notes](https://github.com/pypa/cibuildwheel/releases)
- [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md)
- [Commits](pypa/cibuildwheel@v2.1.1...v2.11.2)

---
updated-dependencies:
- dependency-name: pypa/cibuildwheel
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/github_actions/pypa/cibuildwheel-2.11.2 branch from c165d29 to 114c546 Compare November 14, 2022 13:11
@djhoese
Copy link
Member

djhoese commented Nov 14, 2022

This looks like a musl build on Python 3.7 (the first musl build) is failing because Pillow can't find JPEG:

         __main__.RequiredDependencyException: jpeg
        
        During handling of the above exception, another exception occurred:
        
        Traceback (most recent call last):
          File "<string>", line 36, in <module>
          File "<pip-setuptools-caller>", line 34, in <module>
          File "/tmp/pip-install-hsrc7n2y/pillow_956850d3d8344312a25d1155c5d37071/setup.py", line 1012, in <module>
            raise RequiredDependencyException(msg)
        __main__.RequiredDependencyException:
        
        The headers or library files could not be found for jpeg,
        a required dependency when compiling Pillow from source.
        
        Please see the install instructions at:
           https://pillow.readthedocs.io/en/latest/installation.html
        

@djhoese
Copy link
Member

djhoese commented Nov 14, 2022

pypa/cibuildwheel#1340

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Dec 12, 2022

A newer version of pypa/cibuildwheel exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@djhoese
Copy link
Member

djhoese commented Dec 12, 2022

I see in the logs that fontconfig is now missing on the musl builds:

     File "/tmp/tmp.cJmOga/venv/lib/python3.7/site-packages/vispy/ext/fontconfig.py", line 12, in <module>
  Error:     raise ImportError('fontconfig not found')

But I am installing it on the apk command:

       + sh -c 'yum install -y fontconfig || apk add fontconfig jpeg-dev; pip install -U pip setuptools; pip install freetype-py'
  sh: yum: not found
  fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/main/x86_64/APKINDEX.tar.gz
  fetch http://dl-cdn.alpinelinux.org/alpine/v3.12/community/x86_64/APKINDEX.tar.gz
  (1/3) Installing libjpeg-turbo (2.1.0-r0)
  (2/3) Installing libjpeg-turbo-dev (2.1.0-r0)
  (3/3) Installing jpeg-dev (9d-r0)
  OK: 497 MiB in 177 packages

But for some reason it isn't installing fontconfig, only libjpeg.

@djhoese
Copy link
Member

djhoese commented Dec 12, 2022

I could be reading the logs wrong but I think it is trying to build numpy from source. Not something we want to do.

This lets vispy know that we expect some tests to fail due to being in a CI environment (texture NaN handling of GPUs in virtual machines).
@djhoese
Copy link
Member

djhoese commented Dec 12, 2022

And how website building is failing:

 The HTML pages are in _build/html.
WARNING: QThread: Destroyed while thread is still running
make: *** [Makefile:41: html] Aborted (core dumped)

Likely from my realtime examples.

@djhoese
Copy link
Member

djhoese commented Dec 12, 2022

It is running against the osmesa backend...I'm not sure how to turn that off.

osmesa was found in the build image, but does not succeed. Also try forcing timer to stop in ex03a_data_sources_timer.py in hopes of fixing website example building warning.
Many of the realtime examples have their own cleanup based on main windows closing
@djhoese
Copy link
Member

djhoese commented Dec 13, 2022

I'm not sure why the wheel building is hanging. I wonder if I should try splitting the musl, aarch, and x86 builds into separate jobs.

@brisvag or @kmuehlbauer have you seen this done with cibuildwheel in other projects?

@brisvag
Copy link
Collaborator

brisvag commented Dec 14, 2022

It seems to be stuck on numpy... Yeah I'm not sure I've seen this before :/ Maybe our resident napari build experts can point us in the right direction? @jaimergp @goanpeca

@djhoese
Copy link
Member

djhoese commented Dec 14, 2022

I could be reading it wrong, but it looks like it is trying to build 32-bit (i686) wheels with musl. I don't think numpy has 32-bit wheels so it is trying to build it from source and taking forever.

@djhoese
Copy link
Member

djhoese commented Dec 14, 2022

Ok @brisvag so looks like numpy doesn't have any musl wheels yet. See:

numpy/numpy#20089

So while we can disable 32-bit ones in the future I've tried just disabling all musl builds for now to get this PR moving.

@djhoese
Copy link
Member

djhoese commented Dec 14, 2022

@brisvag I think I'm ready for this to be merged. Please review and merge when you have the time.

Copy link
Collaborator

@brisvag brisvag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are the actual code changes intended, or some merge error?

@djhoese
Copy link
Member

djhoese commented Dec 15, 2022

Ah yes, sorry. The website building started failing because one of the threads in my realtime examples wasn't being killed anymore. Then the fixes for that started making the pyqt6 environment fail because they were using PyQt5 so I added a skip in this case.

Copy link
Collaborator

@brisvag brisvag left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, just making sure :)

@djhoese djhoese merged commit 7f6718d into main Dec 15, 2022
@djhoese djhoese deleted the dependabot/github_actions/pypa/cibuildwheel-2.11.2 branch December 15, 2022 15:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants