Skip to content

Installing matplotlib from sources downloads jquery-ui anyway #14585

Closed

Description

@jdemeyer

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

Activity

  1. added 3 commits that reference this issue on Jul 29, 2019
    bd8a8f0
    de16d97
    aa0a84f
  2. added this to the v2.2.5 milestone on Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions