[MNT]: Which NumPy version to use for the weekly build? · Issue #26730 · matplotlib/matplotlib · GitHub
Skip to content

[MNT]: Which NumPy version to use for the weekly build? #26730

Description

@oscargus

Summary

We install both NumPy -pre-version (1.26) and 2.0, but still build MPL with 1.25:

Install Python dependencies:

Collecting numpy
  Obtaining dependency information for numpy from https://files.pythonhosted.org/packages/f9/86/7b6d8e66fa9c2138516b33f6dab9854eae0736c5ab89205398c4622ed37f/numpy-1.26.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
  Downloading numpy-1.26.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (58 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 58.5/58.5 kB 19.2 MB/s eta 0:00:00
...
Downloading numpy-1.26.0rc1-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.2 MB)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.2/18.2 MB 98.3 MB/s eta 0:00:00

Install the nightly dependencies

Collecting numpy
  Downloading https://pypi.anaconda.org/scientific-python-nightly-wheels/simple/numpy/2.0.0.dev0/numpy-2.0.0.dev0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.3/18.3 MB 14.8 MB/s eta 0:00:00

Install Matplotlib


Collecting numpy>=1.25
    Obtaining dependency information for numpy>=1.25 from https://files.pythonhosted.org/packages/69/1f/c95b1108a9972a52d7b1b63ed8ca704[66](https://github.com/matplotlib/matplotlib/actions/runs/6129239432/job/16637131200#step:11:67)b59b8c1811bd121f1e6[67](https://github.com/matplotlib/matplotlib/actions/runs/6129239432/job/16637131200#step:11:68)cc45d8/numpy-1.25.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata
    Downloading numpy-1.25.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (5.6 kB)
...
  Downloading numpy-1.25.2-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (18.3 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 18.3/18.3 MB 107.1 MB/s eta 0:00:00

Proposed fix

Wouldn't it make sense to also use one of the upcoming versions during installation?

Activity

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions