Imported Upstream version 50.0.2 upstream/50.0.2
authorDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 28 Dec 2020 02:33:52 +0000 (11:33 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Mon, 28 Dec 2020 02:33:52 +0000 (11:33 +0900)
.bumpversion.cfg
CHANGES.rst
_distutils_hack/__init__.py
setup.cfg

index ebb58d3..e297316 100644 (file)
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 50.0.1
+current_version = 50.0.2
 commit = True
 tag = True
 
index 0082b7f..435a7b4 100644 (file)
@@ -1,3 +1,9 @@
+v50.0.2
+-------
+
+* #2352: In distutils hack, use absolute import rather than relative to avoid bpo-30876.
+
+
 v50.0.1
 -------
 
index b8410e1..2bc6df7 100644 (file)
@@ -80,7 +80,7 @@ class DistutilsMetaFinder:
         class DistutilsLoader(importlib.abc.Loader):
 
             def create_module(self, spec):
-                return importlib.import_module('._distutils', 'setuptools')
+                return importlib.import_module('setuptools._distutils')
 
             def exec_module(self, module):
                 pass
index 71839ef..0101bb8 100644 (file)
--- a/setup.cfg
+++ b/setup.cfg
@@ -16,7 +16,7 @@ formats = zip
 
 [metadata]
 name = setuptools
-version = 50.0.1
+version = 50.0.2
 description = Easily download, build, install, upgrade, and uninstall Python packages
 author = Python Packaging Authority
 author_email = distutils-sig@python.org