Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 929786

Summary: sci-libs/plplot: needs upgrade to Python 3.12 (PythonCompatUpdate)
Product: Gentoo Linux Reporter: Michał Górny <mgorny>
Component: Current packagesAssignee: Gentoo Science Related Packages <sci>
Status: CONFIRMED ---    
Severity: normal CC: pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 921826    
Attachments: plplot-5.15.0_p11.ebuild
plplot-5.15.0_p6-numpy2.patch

Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-13 08:52:05 UTC
This package does not support Python 3.12.  Please test it with Python 3.12 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://www.mail-archive.com/gentoo-dev@lists.gentoo.org/msg99104.html.  Please check the information provided in the tracker.  Ask in #gentoo-python on IRC if need any help.
Comment 1 Pacho Ramos gentoo-dev 2024-07-31 08:05:44 UTC
Something weird is happening:
>>> import plplot
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3.12/site-packages/plplot.py", line 22, in <module>
    from plplotc import *
  File "/usr/lib/python3.12/site-packages/plplotc.py", line 12, in <module>
    import _plplotc
ImportError: /usr/lib/python3.12/site-packages/_plplotc.so: undefined symbol: PyArray_FromDimsAndData
Comment 2 Pacho Ramos gentoo-dev 2024-07-31 08:17:32 UTC
Created attachment 898689 [details]
plplot-5.15.0_p11.ebuild
Comment 3 Pacho Ramos gentoo-dev 2024-07-31 08:17:58 UTC
Created attachment 898690 [details, diff]
plplot-5.15.0_p6-numpy2.patch