Isort: Setuptools UserWarning

Created on 16 Jul 2020  路  2Comments  路  Source: PyCQA/isort

/home/kwat/miniconda3/lib/python3.7/site-packages/setuptools/distutils_patch.py:26: UserWarning: Distutils was imported before Setuptools. This usage is discouraged and may exhibit undesirable behaviors or errors. Please use Setuptools' objects directly or at least import Setuptools first.
  "Distutils was imported before Setuptools. This usage is discouraged "

Most helpful comment

Hi @KwatME, this should be fixed in the latest release, see:

https://github.com/timothycrosley/isort/commit/ef2d3933087eb115ae7dc818de919c7263a3f49d

All 2 comments

Hi @KwatME, this should be fixed in the latest release, see:

https://github.com/timothycrosley/isort/commit/ef2d3933087eb115ae7dc818de919c7263a3f49d

I'm still getting this warning with isort==5.5.4

Was this page helpful?
0 / 5 - 0 ratings