Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[wip] Add machinery to generate test-only wheels.#11732

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
anntzer wants to merge1 commit intomatplotlib:mainfromanntzer:testonlywheels

Conversation

anntzer
Copy link
Contributor

@anntzeranntzer commentedJul 22, 2018
edited
Loading

Generate a matplotlib.tests wheel that can be uploaded to PyPI as a
separate PyPI package ("distribution", in distutils parlance), to make
it possible to install tests and test data from PyPI.

This is useful e.g. for mplcairo, whose test suite relies on
matplotlib's one.

attn@tacaswell (I think I remember there were also some discussions re: installing test data or not for conda packages.)
Basically undoing#11055, but in a way that now works...

Would be nice to have for 3.0, but heh :)

As a side point, note that the 2.2.2 manylinux wheel currently on PyPI contains baseline images for mpl_toolkits, but not for matplotlib itself...


Edit: Looks like there can be funny issues if matplotlib is editably installed as this PR causes matplotlib.tests.egg-info to end up in lib, next to matplotlib.egg-info...

PR Summary

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

Generate a matplotlib.tests wheel that can be uploaded to PyPI as aseparate PyPI package ("distribution", in distutils parlance), to makeit possible to install tests and test data from PyPI.This is useful e.g. for mplcairo, whose test suite relies onmatplotlib's one.
@tacaswelltacaswell added this to thev3.0 milestoneJul 22, 2018
@anntzeranntzer changed the titleAdd machinery to generate test-only wheels.[wip] Add machinery to generate test-only wheels.Jul 25, 2018
@jklymakjklymak modified the milestones:v3.0,v3.1Aug 13, 2018
@tacaswelltacaswell reopened thisFeb 24, 2019
@tacaswell
Copy link
Member

power-cycled to run against current master.

Copy link
Contributor

@dopplershiftdopplershift left a comment

Choose a reason for hiding this comment

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

This seems reasonable to me.

@anntzer
Copy link
ContributorAuthor

Needs some small additional changes to remove the tests from the default wheels and the configurability for that (so that the matplotlib.tests wheel doesn't overwrite stuff from the matplotlib wheel).

@anntzer
Copy link
ContributorAuthor

anntzer commentedMar 4, 2019
edited
Loading

Probably needs a bit more wrangling with our handling of setup.cfg/MANIFEST.in so remilestoning...

@tacaswelltacaswell modified the milestones:v3.5.0,v3.6.0Aug 5, 2021
@timhoffmtimhoffm modified the milestones:v3.6.0,unassignedApr 30, 2022
@story645story645 modified the milestones:unassigned,needs sortingOct 6, 2022
@github-actions
Copy link

Since this Pull Request has not been updated in 60 days, it has been marked "inactive." This does not mean that it will be closed, though it may be moved to a "Draft" state. This helps maintainers prioritize their reviewing efforts. You can pick the PR back up anytime - please ping us if you need a review or guidance to move the PR forward! If you do not plan on continuing the work, please let us know so that we can either find someone to take the PR over, or close it.

@github-actionsgithub-actionsbot added the status: inactiveMarked by the “Stale” Github Action labelMay 9, 2023
@anntzer
Copy link
ContributorAuthor

This will likely be superseded by the new work on testing machinery.

@anntzeranntzer closed thisMay 9, 2023
@QuLogicQuLogic removed the status: inactiveMarked by the “Stale” Github Action labelMay 9, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@tacaswelltacaswelltacaswell approved these changes

@dopplershiftdopplershiftdopplershift approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
future releases
Development

Successfully merging this pull request may close these issues.

7 participants
@anntzer@tacaswell@dopplershift@QuLogic@story645@jklymak@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp