#31808: Django causes latest setuptools to issue "UserWarning: Distutils was
imported before Setuptools."
-----------------------------------------+------------------------
Reporter: Luc Saffre | Owner: nobody
Type: Uncategorized | Status: new
Component: Uncategorized | Version: 3.0
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-----------------------------------------+------------------------
The latest change in setuptools 49.2 (released 2020-07-12,
https://setuptools.readthedocs.io/en/latest/history.html) "now warns the
user when setuptools is imported after distutils modules have been loaded
(exempting PyPy for 3.6), directing the users of packages to import
setuptools first."
That warning is a problem for me because it causes our doctests to fail.
I might of course filter it out, but the proper solution would be to do
what the warning asks. I don't import distutils myself. Is it possible
that Django itself is misbehaving? Has anybody seen this warning as well?
--
Ticket URL: <https://code.djangoproject.com/ticket/31808>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/050.c91bb0b8a8f0fc7a20ddd3afb987eb6f%40djangoproject.com.