setuptools: Unloading of setuptools and distutils in run_setup leads to broken types in modules that reference setuptools directly
Originally reported by: jaraco (Bitbucket: jaraco, GitHub: jaraco)
In #315, I added a function hide_setuptools
to the setup_context
in which dependency installation is run (f29ad5f78ef7).
As reported in that ticket, this monkeying of the sys.modules
context has some serious consequences for packages that keep reference to setuptools or distutils objects.
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 15 (2 by maintainers)
I’m thinking that between declarative config superseding the d2to1 work and Python 2 going into sunset, there’s little more to try to address here.