cschwan / sage-on-gentoo

(Unofficial) Gentoo Overlay for Sage- and Sage-related ebuilds
78 stars 26 forks source link

Python 3.11 and Maxima #738

Closed kcning closed 1 year ago

kcning commented 1 year ago

Hello,

Thank you so much for maintaining this overlay.

A few days ago the default Python target has become 3.11. It would be nice to only keep 1 Python version on a system. Currently, the only dependency of sage-9.8 that isn't compatible with Python 3.11 is maxima-5.45.1-r4.

Would it be possible to:

  1. either make maxima-5.45.1-r4 compatible with Python 3.11
  2. or bump maxima version to 5.46.0-r1 maintained officially by Gentoo?
kiwifb commented 1 year ago

Yes, I had that issue on my radar for some time. Mainly because maxima 5.45.1 doesn't support python 3.11. For a stupid reason, and I think we may be able to solve it now. So, the reminder is timely. If I remember correctly, the issue was that automake could not detect and use python 3.11 (it stopped at 3.10), but I think we may now have a release supporting it.

kiwifb commented 1 year ago

Fixed by ae9cc401d0df4a55528c623767b18c07e4a30c93 I am wondering if I had in fact sorted it long ago and just forgot to bump PYTHON_COMPAT. Let me know if there are any issues.

kcning commented 1 year ago

So far no issues. Thank you!