Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Meta-ticket: Replace imports from deprecated distutils #31295

Open
mkoeppe opened this issue Jan 26, 2021 · 15 comments
Open

Meta-ticket: Replace imports from deprecated distutils #31295

mkoeppe opened this issue Jan 26, 2021 · 15 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Jan 26, 2021

distutils is marked deprecated in Python 3.10, 3.11 - see https://www.python.org/dev/peps/pep-0632/ and https://setuptools.pypa.io/en/latest/deprecated/distutils-legacy.html?, which also lists some replacements

Tickets:

Other issues:

CC: @fchapoton @kiwifb @tornaria

Component: python3

Issue created by migration from https://trac.sagemath.org/ticket/31295

@mkoeppe mkoeppe added this to the sage-9.4 milestone Jan 26, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@kiwifb
Copy link
Member

kiwifb commented Feb 12, 2021

comment:7

The plan seems to be for removal in python 3.12. Somewhat connected, does sage depend on python packages that are in a somewhat abandoned state and therefore will just stop being buildable? Do we have some kind of audit?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 12, 2021

comment:8

We just caught one such package that does not work with 3.9 in #31372.

The closest thing we have to an audit is upgrade tickets for python versions in alpha development state, such as #30766.

@kiwifb
Copy link
Member

kiwifb commented Feb 12, 2021

comment:9

Replying to @mkoeppe:

We just caught one such package that does not work with 3.9 in #31372.

The closest thing we have to an audit is upgrade tickets for python versions in alpha development state, such as #30766.

OK, I could have flagged pari_jupyter earlier, but I am more worried about packages sage_lib depends on. pari_jupyter not working is probably affecting a very small number of users and not an obstacle to sage itself. I guess in the back of my mind I see cysignals going out of maintenance since Jeroen disappeared. cypari has somewhat been rescued but could also be a concern.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Feb 12, 2021

comment:10

cysignals is likely going to be the biggest problem at some point. I see hints of trouble in #31350 (Julia package providing Sage) already

@mkoeppe mkoeppe modified the milestones: sage-9.4, sage-9.5 Jul 19, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.5, sage-9.6 Dec 27, 2021
@mkoeppe

This comment has been minimized.

@tobiasdiez

This comment has been minimized.

@mkoeppe mkoeppe modified the milestones: sage-9.6, sage-9.7 Apr 17, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.7, sage-9.8 Aug 31, 2022
@mkoeppe mkoeppe modified the milestones: sage-9.8, sage-9.9 Jan 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants