File tree 3 files changed +9
-3
lines changed
3 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,10 @@ pluggy>=0.13.0
23
23
# colorama 0.4.0 removed support for Python 3.4
24
24
colorama>=0.3.9,<0.4.0; python_version <= '3.4'
25
25
colorama>=0.4.0; python_version >= '3.5'
26
+ # flake8 fails with AttributeError in importlib-metadata 5.0.0 on Python >=3.7
27
+ # tox 3.14 requires importlib-metadata<1,>=0.12 on Python <=3.7
28
+ importlib-metadata>=0.22,<5.0.0; python_version <= '3.7'
29
+ importlib-metadata>=1.1.0; python_version >= '3.8'
26
30
27
31
# more-itertools version 8.11 requires python 3.6, See issue #2796
28
32
more-itertools>=4.0.0,!=8.11.0; python_version < '3.6'
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ Released: not yet
30
30
* Fixed issue that causes failure of tests with pwbem 1.5.0 because of
31
31
CIMInstanceName host attribute. (see issue #1203)
32
32
33
+ * Fixed a flake8 AttributeError when using importlib-metadata 5.0.0 on
34
+ Python>=3.7, by pinning importlib-metadata to <5.0.0 on these Python versions.
35
+
33
36
**Enhancements: **
34
37
35
38
**Cleanup: **
Original file line number Diff line number Diff line change @@ -162,6 +162,8 @@ pluggy==0.13.0
162
162
funcsigs==1.0.2; python_version == '2.7'
163
163
colorama==0.3.9; python_version <= '3.4'
164
164
colorama==0.4.0; python_version >= '3.5'
165
+ importlib-metadata==0.22; python_version <= '3.7'
166
+ importlib-metadata==1.1.0; python_version >= '3.8'
165
167
166
168
# Coverage reporting (no imports, invoked via coveralls script):
167
169
# We exclude Python 3.4 from coverage testing and reporting.
@@ -180,8 +182,6 @@ dparse==0.5.2; python_version >= '3.5'
180
182
# Tox
181
183
tox==2.5.0
182
184
# tox 3.17 requires six>=1.14.0
183
- # tox 3.14 requires importlib-metadata<1,>=0.12 on py<3.8
184
- importlib-metadata==0.12; python_version <= '3.7'
185
185
186
186
# Sphinx (no imports, invoked via sphinx-build script):
187
187
Sphinx==1.7.6; python_version <= '3.4'
@@ -286,7 +286,6 @@ gitdb2==2.0.0
286
286
html5lib==0.999999999
287
287
idna==2.5
288
288
imagesize==0.7.1
289
- importlib-metadata==0.12
290
289
isort==4.3.5
291
290
Jinja2==2.8.1; python_version <= '3.9'
292
291
Jinja2==2.10.2; python_version >= '3.10'
You can’t perform that action at this time.
0 commit comments