wpt icon indicating copy to clipboard operation
wpt copied to clipboard

distutils is deprecated with removal planned for Python 3.12

Open foolip opened this issue 3 years ago • 1 comments

https://docs.python.org/3/library/distutils.html says it's deprecated, linking to https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated.

We'll need to replace our use of distutils before Python 3.12 is in use. Here's one use of it among many:

https://github.com/web-platform-tests/wpt/blob/9dd86c4ac1a7262723bbb9ed56b194bb85a511a6/tools/wpt/virtualenv.py#L5

foolip avatar Mar 22 '22 21:03 foolip

#39820 removes the first-party uses of distutils, although there are still several uses in vendored packages.

jgraham avatar May 04 '23 08:05 jgraham