Skip to content

Upload wheel artifacts from the correct directory#23401

Merged
dstansby merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-wheel-artifacts
Jul 8, 2022
Merged

Upload wheel artifacts from the correct directory#23401
dstansby merged 1 commit intomatplotlib:mainfrom
QuLogic:fix-wheel-artifacts

Conversation

@QuLogic
Copy link
Copy Markdown
Member

@QuLogic QuLogic commented Jul 8, 2022

PR Summary

The cibuildwheel Action is not passed an argument specifying an output directory (as was done when installing manually), so it defaults to wheelhouse, not dist.

This broke in #23146, but I only noticed because nightly uploads failed to find anything just now. Apparently not having any artifacts to upload is not fatal by default, so I've set that to error as well.

PR Checklist

Tests and Styling

  • [n/a] Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • [n/a] New features are documented, with examples if plot related.
  • [n/a] New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • [n/a] API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • [n/a] Documentation is sphinx and numpydoc compliant (the docs should build without error).

The cibuildwheel Action is not passed an argument specifying an output
directory (as was done when installing manually), so it defaults to
`wheelhouse`, not `dist`.

Also, error instead of warn if no artifacts were found.
@QuLogic QuLogic added Build CI: Run cibuildwheel Run wheel building tests on a PR labels Jul 8, 2022
@QuLogic QuLogic added this to the v3.6.0 milestone Jul 8, 2022
@dstansby dstansby merged commit 516d9e7 into matplotlib:main Jul 8, 2022
@QuLogic QuLogic deleted the fix-wheel-artifacts branch July 8, 2022 20:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Build CI: Run cibuildwheel Run wheel building tests on a PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants