-
-
Notifications
You must be signed in to change notification settings - Fork 11.9k
Closed
Description
There are two deprecation issues when running python -mspin test with Python 3.11:
sre_constantsandsre_parseare deprecated. This breaks test collection but can by fixed
by using recent setuptools.pkg_resourcesis deprecated in recent setuptools, this causesnumpy/distutils/tests/test_system_info.py
to fail
Note that we have several other uses of pkg_resources
- In
tools/npy_tempita/__init__.py In numpy/_utils/_pep440.py (copied from SciPy)- In
versioneer.py(going away)
We should fix the usage in the first file.
The easiest quick solution is to upgrade the setuptools version requirement and ignore the test_system_info error.