-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Deprecation issues in tests with too-new setuptools versions #24350
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
Comments
We don't use the troublesome parts of tempita, and in fact they don't run :) The version in Cython is no better in that regard. Maybe be can just get rid of much of it. EDIT: The pkg_resources bit can be removed, our version is not distributed as a package. Or we could just hardwire it to '3.5.2' |
We should probably just skip testing |
Skipping the problematic tests in |
|
Closes numpygh-24350 [skip circle] [skip travis]
Closes numpygh-24350 [skip circle] [skip travis]
We have setuptools pinned in various ways in several locations
I'm wondering if we should change those pins? That essentially locks us into meson builds, but I think that is already the case. |
I'd much prefer not to touch them right now. Most of that is still needed. We should be able to get rid of all them in a few months. |
Closes numpygh-24350 [skip circle] [skip travis]
There are two deprecation issues when running
python -mspin test
with Python 3.11:sre_constants
andsre_parse
are deprecated. This breaks test collection but can by fixedby using recent setuptools.
pkg_resources
is deprecated in recent setuptools, this causesnumpy/distutils/tests/test_system_info.py
to fail
Note that we have several other uses of
pkg_resources
tools/npy_tempita/__init__.py
In numpy/_utils/_pep440.py (copied from SciPy)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.
The text was updated successfully, but these errors were encountered: