-
-
Notifications
You must be signed in to change notification settings - Fork 17.8k
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
DEPS: remove distutils #41199
Comments
We mostly use distutils for its version checking, and the alternative for that is |
What is the rush? Won't there will be a Python-provided equivalent of LooseVersion before distutils is removed? |
There doesn't seem to be any plan for that, they point to |
Mostly due to old Pandas versions: pandas-dev/pandas#41199 pandas-dev/pandas#32056 pandas-dev/pandas#34848 In one instance, also due to Lark using sre_* modules: lark-parser/lark#1140 Those filters could also be set to `ignore` to not show the warnings at all. This sets them to `default`, restoring the previous behavior of showing the warnings but not failing the test run. Perhaps it might make sense to use older Numpy versions for testing the older Pandas versions too?
distutils is deprecated in Python 3.10, it will be removed in 3.12.
https://www.python.org/dev/peps/pep-0632/ has a section about migration.
xref #41113
The text was updated successfully, but these errors were encountered: