Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Remove mpl_examples symlink. #11141

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

Merged
merged 2 commits into from
May 6, 2018
Merged

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Apr 29, 2018

AFAICT we're not using it for anything, we don't have a similar symlink
to the tutorials, and it annoys my tab-completion when I try to get into
mpl_toolkits...

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

AFAICT we're not using it for anything, we don't have a similar symlink
to the tutorials, and it annoys my tab-completion when I try to get into
mpl_toolkits...
@anntzer anntzer added this to the v3.0 milestone Apr 29, 2018
@tacaswell
Copy link
Member

does this affect what goes into the build products when we release?

@jklymak
Copy link
Member

jklymak commented Apr 29, 2018

The docs look fine. Is it there to maintain links? Or maybe archived links instead of returning a 404?

@anntzer
Copy link
Contributor Author

anntzer commented Apr 29, 2018

The sdist actually contains 2 copies of the examples, as the tgz (or probably the distutils archiver) doesn't keep mpl_examples as a symlink.
Other than that, I don't think anything changes.

@tacaswell
Copy link
Member

This will need a deprecation note then is case down-stream consumers are expecting this directory.

@anntzer
Copy link
Contributor Author

anntzer commented Apr 29, 2018

Not sure how you want to word this, can you directly push to the PR?

@tacaswell
Copy link
Member

tacaswell commented Apr 30, 2018

This is the second time you have removed this symlink... #9708 🐑

nvm, I can't read, that symlink was in doc, not in lib.

@tacaswell
Copy link
Member

@sandrotosi @QuLogic Can you verify this won't mess up debian and fedora packaging?

@QuLogic
Copy link
Member

QuLogic commented May 1, 2018

We don't install it, and currently don't even build the docs, so I'm not sure it's really needed here.

@sandrotosi
Copy link
Contributor

thanks @tacaswell for checking with the distro packagers! yes this should be fine for debian (you plan on keep distributing the examples/ dir in the tarballs right?)

@efiring efiring merged commit cefc5c7 into matplotlib:master May 6, 2018
@anntzer anntzer deleted the mpl_examples branch May 6, 2018 09:36
@tacaswell
Copy link
Member

@sandrotosi Yes

QuLogic added a commit to QuLogic/matplotlib that referenced this pull request Jun 22, 2018
Due to the removal of the symlink in matplotlib#11141, pytest was no longer
picking up the examples and running pep8 on them.
QuLogic added a commit to QuLogic/matplotlib that referenced this pull request Jun 23, 2018
Due to the removal of the symlink in matplotlib#11141, pytest was no longer
picking up the examples and running pep8 on them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants