Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 846272 - sci-libs/plplot: needs upgrade to Python 3.10 (PythonCompatUpdate)
Summary: sci-libs/plplot: needs upgrade to Python 3.10 (PythonCompatUpdate)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo Science Related Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: py310, python3.10-compat
  Show dependency tree
 
Reported: 2022-05-18 19:05 UTC by Sam James
Modified: 2022-06-14 13:06 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Test log with USE="X cairo cxx dynamic fortran jpeg latex ocaml pdf png python qt5 svg test threads truetype -doc -examples -gd -java -lua -octave -qhull -shapefile -tcl -tk -wxwidgets" (LastTest.log,94.45 KB, text/x-log)
2022-06-14 06:07 UTC, Jouni Kosonen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-05-18 19:05:49 UTC
This package does not support Python 3.10. Please test it with Python 3.10 as a matter of urgency as the default will change in early June, as per message on gentoo-dev: https://archives.gentoo.org/gentoo-dev/message/13aa993921f19b6b095297721ffb0d0b. Ask in #gentoo-python on IRC if need any help.

$ pkgcheck scan -k PythonCompatUpdate sci-libs/plplot
sci-libs/plplot
  PythonCompatUpdate: version 5.15.0-r102: PYTHON_COMPAT update available: python3_10
Comment 1 Jouni Kosonen 2022-06-14 06:01:36 UTC
The package builds with python 3.10 here, but two of the tests fail. Both failures involve connecting to a Xvfb display.
Comment 2 Jouni Kosonen 2022-06-14 06:07:59 UTC
Created attachment 784685 [details]
Test log with USE="X cairo cxx dynamic fortran jpeg latex ocaml pdf png python qt5 svg test threads truetype -doc -examples -gd -java -lua -octave -qhull -shapefile -tcl -tk -wxwidgets"

11/24 Test: examples_pdfqt
17/24 Testing: examples_svgqt

Both fail with 
> qt.qpa.xcb: could not connect to display :1
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
> This application failed to start because no Qt platform plugin could be > initialized. Reinstalling the application may fix this problem.
Comment 3 Jouni Kosonen 2022-06-14 12:55:24 UTC
(In reply to Jouni Kosonen from comment #1)
> The package builds with python 3.10 here, but two of the tests fail. Both
> failures involve connecting to a Xvfb display.

After completing the recompilation of the rest of my system with PYTHON_SINGLE_TARGET="python3_10" all 24 test passed, those two included. At least with my use flags there doesn't seem to be any reason not to just add python3_10 to PYTHON_COMPAT for this package.
Comment 4 Larry the Git Cow gentoo-dev 2022-06-14 13:06:36 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4855111cef6a3ccf8a6f75e6f03e6474ec10e79f

commit 4855111cef6a3ccf8a6f75e6f03e6474ec10e79f
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-14 13:06:25 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-14 13:06:25 +0000

    sci-libs/plplot: enable py3.10
    
    Closes: https://bugs.gentoo.org/846272
    Signed-off-by: Sam James <sam@gentoo.org>

 sci-libs/plplot/plplot-5.15.0-r102.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)