You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In pypa/setuptools#2865 (comment), I learned that pytest-virtualenv is importing distutils, which raises Warnings (treated as errors) in the Setuptools test suite when Setuptools is attempting to supply the distutils module. Distutils is deprecated in Python 3.10 and slated for removal in Python 3.12, so should be removed from this package.
The text was updated successfully, but these errors were encountered:
In pypa/setuptools#2865 (comment), I learned the issue is more complicated on PyPy, because pytest-virtualenv imports pkg_resources, which implicitly loads the working set which triggers behavior of invoking sysconfig.get_platform(), which on PyPy imports distutils.spawn.
So to fully get rid of distutils import behavior including PyPy, one will also need to avoid pkg_resources.
In pypa/setuptools#2865 (comment), I learned that pytest-virtualenv is importing distutils, which raises Warnings (treated as errors) in the Setuptools test suite when Setuptools is attempting to supply the distutils module. Distutils is deprecated in Python 3.10 and slated for removal in Python 3.12, so should be removed from this package.
The text was updated successfully, but these errors were encountered: