File tree 3 files changed +8
-1
lines changed
astroid/interpreter/_import 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,8 @@ Release date: TBA
29
29
30
30
Closes PyCQA/pylint#4715
31
31
32
+ * Add dependency on setuptools and a guard to prevent related exceptions.
33
+
32
34
33
35
What's New in astroid 2.6.2?
34
36
============================
Original file line number Diff line number Diff line change 7
7
8
8
9
9
def is_namespace (modname ):
10
- return pkg_resources is not None and modname in pkg_resources ._namespace_packages
10
+ return (
11
+ pkg_resources is not None
12
+ and hasattr (pkg_resources , "_namespace_packages" )
13
+ and modname in pkg_resources ._namespace_packages
14
+ )
Original file line number Diff line number Diff line change @@ -38,6 +38,7 @@ packages = find:
38
38
install_requires =
39
39
lazy_object_proxy>=1.4.0
40
40
wrapt>=1.11,<1.13
41
+ setuptools>=56.0
41
42
typed-ast>=1.4.0,<1.5; implementation_name=="cpython" and python_version<"3.8"
42
43
typing-extensions>=3.7.4; python_version<"3.8"
43
44
python_requires = ~=3.6
You can’t perform that action at this time.
0 commit comments