Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932149 - sci-mathematics/maxima needs upgrade to Python 3.12
Summary: sci-mathematics/maxima needs upgrade to Python 3.12
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andrey Grozin
URL:
Whiteboard:
Keywords:
Depends on: 929788
Blocks:
  Show dependency tree
 
Reported: 2024-05-18 10:18 UTC by Klaus Kusche
Modified: 2024-06-04 06:33 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Klaus Kusche 2024-05-18 10:18:37 UTC
maxima still has PYTHON_COMPAT=( python3_{10..11} ),
which causes emerge to fail if PYTHON_SINGLE_TARGET is set to 3_12.

Default python will switch to python 3.12 on Jun 1st,
so please make the ebuild support 3.12 asap.
Comment 1 Andrey Grozin gentoo-dev 2024-05-20 04:40:07 UTC
Is here somebody who uses maxima with USE=vtk? I don't. maxima needs python only if the USE flag vtk is set. If you do, could you please check if vtk support in maxima works with python-3.12?
Comment 2 Klaus Kusche 2024-05-20 07:32:13 UTC
No vtk here.

And without vtk, maxima seems to emerge and run fine without python 3.11
(i.e. with PYTHON_SINGLE_TARGET set to 3_12).
Don't know why it refused to do so 2 days ago...
Comment 3 Andrey Grozin gentoo-dev 2024-05-30 14:01:08 UTC
OK, I've tried to add python3_12 and got

  NonsolvableDepsInDev: version 5.47.0: nonsolvable depset(rdepend) keyword(~amd64) dev profile (default/linux/amd64/17.0/musl) (16 total): solutions: [ sci-libs/vtk[python,python_single_target_python3_10(-),python_single_target_python3_11(-),python_single_target_python3_12(-),rendering] ]
  NonsolvableDepsInStable: version 5.47.0: nonsolvable depset(rdepend) keyword(~amd64) stable profile (default/linux/amd64/17.1) (72 total): solutions: [ sci-libs/vtk[python,python_single_target_python3_10(-),python_single_target_python3_11(-),python_single_target_python3_12(-),rendering] ]
Comment 4 Larry the Git Cow gentoo-dev 2024-06-04 06:33:15 UTC
The bug has been closed via the following commit(s):

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

commit d216290a5a2cb86dd5ad9f1b9b0146d924d9b9d1
Author:     Andrey Grozin <grozin@gentoo.org>
AuthorDate: 2024-06-04 06:32:47 +0000
Commit:     Andrey Grozin <grozin@gentoo.org>
CommitDate: 2024-06-04 06:32:47 +0000

    sci-mathematics/maxima: add python3_12
    
    Closes: https://bugs.gentoo.org/932149
    Signed-off-by: Andrey Grozin <grozin@gentoo.org>

 sci-mathematics/maxima/maxima-5.47.0-r1.ebuild | 233 +++++++++++++++++++++++++
 1 file changed, 233 insertions(+)