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

[Bug]: pypy3.9 wheel has hidden dependency on numpy>=1.23.0 #25811

Open
Labels
@jvesely

Description

@jvesely

Bug summary

The pypy3.9 wheel indicates dependency on numpy >=1.20.0, but in fact needs numpy >=1.23.0

Code for reproduction

$~/pypy39/pypy/goal/pypy3.9-c-mvenvtest-venv$source~/test-venv/bin/activate(test-venv) $pipinstall-Upipwheelsetuptools(test-venv) $pipinstallnumpy==1.22.4Collectingnumpy==1.22.4Usingcachednumpy-1.22.4.zip (11.5MB)Installingbuilddependencies ...doneGettingrequirementstobuildwheel ...donePreparingmetadata (pyproject.toml) ...doneBuildingwheelsforcollectedpackages:numpyBuildingwheelfornumpy (pyproject.toml) ...doneCreatedwheelfornumpy:filename=numpy-1.22.4-pp39-pypy39_pp73-linux_x86_64.whlsize=5838730sha256=39acecdee26139b21ea2273993304465c9d67d88ec8b9900ce12630d224a1174Storedindirectory:/home/$USER/.cache/pip/wheels/59/3a/25/8abbffc79457432dd0c73e1616ce79e808d5c92677524655e7SuccessfullybuiltnumpyInstallingcollectedpackages:numpySuccessfullyinstallednumpy-1.22.4(test-venv) $pipinstallmatplotlibCollectingmatplotlibUsingcachedmatplotlib-3.7.1-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (7.5MB)Collectingcontourpy>=1.0.1 (frommatplotlib)Downloadingcontourpy-1.0.7-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (252kB)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━252.2/252.2kB6.2MB/seta0:00:00Collectingcycler>=0.10 (frommatplotlib)Usingcachedcycler-0.11.0-py3-none-any.whl (6.4kB)Collectingfonttools>=4.22.0 (frommatplotlib)Usingcachedfonttools-4.39.3-py3-none-any.whl (1.0MB)Collectingkiwisolver>=1.0.1 (frommatplotlib)Downloadingkiwisolver-1.4.4-pp39-pypy39_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (79kB)     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━79.4/79.4kB7.5MB/seta0:00:00Requirementalreadysatisfied:numpy>=1.20in ./test-venv/lib/pypy3.9/site-packages (frommatplotlib) (1.22.4)Collectingpackaging>=20.0 (frommatplotlib)Usingcachedpackaging-23.1-py3-none-any.whl (48kB)Collectingpillow>=6.2.0 (frommatplotlib)UsingcachedPillow-9.5.0-pp39-pypy39_pp73-manylinux_2_28_x86_64.whl (3.3MB)Collectingpyparsing>=2.3.1 (frommatplotlib)Usingcachedpyparsing-3.0.9-py3-none-any.whl (98kB)Collectingpython-dateutil>=2.7 (frommatplotlib)Usingcachedpython_dateutil-2.8.2-py2.py3-none-any.whl (247kB)Collectingimportlib-resources>=3.2.0 (frommatplotlib)Usingcachedimportlib_resources-5.12.0-py3-none-any.whl (36kB)Collectingzipp>=3.1.0 (fromimportlib-resources>=3.2.0->matplotlib)Usingcachedzipp-3.15.0-py3-none-any.whl (6.8kB)Collectingsix>=1.5 (frompython-dateutil>=2.7->matplotlib)Usingcachedsix-1.16.0-py2.py3-none-any.whl (11kB)Installingcollectedpackages:zipp,six,pyparsing,pillow,packaging,kiwisolver,fonttools,cycler,contourpy,python-dateutil,importlib-resources,matplotlibSuccessfullyinstalledcontourpy-1.0.7cycler-0.11.0fonttools-4.39.3importlib-resources-5.12.0kiwisolver-1.4.4matplotlib-3.7.1packaging-23.1pillow-9.5.0pyparsing-3.0.9python-dateutil-2.8.2six-1.16.0zipp-3.15.0(test-venv) $python-c'from matplotlib._path import affine_transform'

Actual outcome

(test-venv) $ python -c 'from matplotlib._path import affine_transform'RuntimeError: module compiled against API version 0x10 but this version of numpy is 0xf . Check the section C-API incompatibility at the Troubleshooting ImportError section at https://numpy.org/devdocs/user/troubleshooting-importerror.html#c-api-incompatibility for indications on how to solve this problem .Traceback (most recent call last):  File "<string>", line 1, in <module>  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/__init__.py", line 131, in <module>    from . import _api, _version, cbook, _docstring, rcsetup  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/rcsetup.py", line 27, in <module>    from matplotlib.colors import Colormap, is_color_like  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/colors.py", line 56, in <module>    from matplotlib import _api, _cm, cbook, scale  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/scale.py", line 22, in <module>    from matplotlib.ticker import (  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/ticker.py", line 138, in <module>    from matplotlib import transforms as mtransforms  File "/home/$USER/test-venv/lib/pypy3.9/site-packages/matplotlib/transforms.py", line 49, in <module>    from matplotlib._path import (ImportError: numpy.core.multiarray failed to import

Expected outcome

$ python -c 'from matplotlib._path import affine_transform'

Additional information

$ pip install matplotlib --no-build-isolation --no-binary matplotlib

works around the problem

Operating system

No response

Matplotlib Version

3.7.1

Matplotlib Backend

No response

Python version

No response

Jupyter version

No response

Installation

pip

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


      [8]ページ先頭

      ©2009-2025 Movatter.jp