Skip to content

Replace distutils (removed in Python 3.12)#1618

Merged
nsoranzo merged 1 commit intogalaxyproject:masterfrom
nsoranzo:drop_distutils
Feb 20, 2026
Merged

Replace distutils (removed in Python 3.12)#1618
nsoranzo merged 1 commit intogalaxyproject:masterfrom
nsoranzo:drop_distutils

Conversation

@nsoranzo
Copy link
Member

import tarfile
import tempfile
import time
from distutils.dir_util import copy_tree
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FYI the reason why this didn't break (yet) is that we are installing setuptools (currently a requirement of ephemeris, but that will stop once ephemeris is moved from setup.py to pyproject.toml), which includes a deprecated vendored version of distutils.

@nsoranzo nsoranzo merged commit 7fa096c into galaxyproject:master Feb 20, 2026
14 of 15 checks passed
@nsoranzo nsoranzo deleted the drop_distutils branch February 20, 2026 19:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants