Skip to content

Installing matplotlib from sources downloads jquery-ui anyway #14585

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

Closed
jdemeyer opened this issue Jun 20, 2019 · 0 comments · Fixed by #14915
Closed

Installing matplotlib from sources downloads jquery-ui anyway #14585

jdemeyer opened this issue Jun 20, 2019 · 0 comments · Fixed by #14915
Milestone

Comments

@jdemeyer
Copy link

Bug report

Bug summary

I'm trying to install matplotlib-2.2.4 on a system which doesn't have internet access. I downloaded the matplotlib sources from PyPI, but the installation gets stuck when trying to download jquery-ui.

#11246 (comment) by @tacaswell seems to indicate that the PyPI source tarball should already have jquery-ui vendored. I do indeed see the jquery-ui sources in that tarball, but those don't actually get installed by setup.py so it still tries to download jquery-ui anyway.

Code for reproduction

pip install --verbose --no-binary :all: 'matplotlib==2.2.4'

Actual outcome

[...lots of console output, nothing mentioning jquery-ui at all...]
    byte-compiling /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/tri/triinterpolate.py to triinterpolate.pyc
    byte-compiling /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/tri/tricontour.py to tricontour.pyc
    error: Failed to download jquery-ui.  Please download https://jqueryui.com/resources/download/jquery-ui-1.12.1.zip and extract it to /usr/local/src/sage-config/local/lib/python2.7/site-packages/matplotlib/backends/web_backend/.

Expected outcome

setup.py should install the vendored copy of jquery-ui instead of downloading it.

Matplotlib version

  • Operating system: Linux
  • Matplotlib version: 2.2.4
  • Python version: 2.7.15

Downloaded from https://files.pythonhosted.org/packages/1e/20/2032ad99f0dfe0f60970941af36e8d0942d3713f442bb3df37ac35d67358/matplotlib-2.2.4.tar.gz

AWhetter added a commit to AWhetter/matplotlib that referenced this issue Jul 29, 2019
AWhetter added a commit to AWhetter/matplotlib that referenced this issue Jul 31, 2019
AWhetter added a commit to AWhetter/matplotlib that referenced this issue Jul 31, 2019
@QuLogic QuLogic added this to the v2.2.5 milestone Aug 5, 2019
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 a pull request may close this issue.

2 participants