Browse Source

pipeline env: add importlib-metadata to fix ModuleNotFoundError in site-packages/pluggy/manager.py

Fabian Peter Hammerle 3 years ago
parent
commit
dfe8831ede
2 changed files with 12 additions and 1 deletions
  1. 2 0
      Pipfile
  2. 10 1
      Pipfile.lock

+ 2 - 0
Pipfile

@@ -17,6 +17,8 @@ pytest-timeout = "<2"
 
 # workaround https://github.com/pytest-dev/pytest/issues/3953
 pathlib2 = {version = "*", markers="python_version < '3.6'"}
+# fix pluggy/manager.py (v0.13.1): import importlib_metadata => ModuleNotFoundError
+importlib_metadata = {version = "*", markers="python_version < '3.8'"}
 # zipp v2.0.0 dropped support for python3.5
 # https://github.com/jaraco/zipp/commit/05a3c52b4d41690e0471a2e283cffb500dc0329a
 zipp = "<2"

+ 10 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "a30f1f6aa09ca855148ede1dc6878e203e920d28d976f8759be6bcee439161e0"
+            "sha256": "51932d034c29a540dcd8d09efd4f2c43079bcf192dfabf29791864e215e0fad8"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -154,6 +154,15 @@
             ],
             "version": "==5.2"
         },
+        "importlib-metadata": {
+            "hashes": [
+                "sha256:90bb658cdbbf6d1735b6341ce708fc7024a3e14e99ffdc5783edea9f9b077f83",
+                "sha256:dc15b2969b4ce36305c51eebe62d418ac7791e9a157911d58bfb1f9ccd8e2070"
+            ],
+            "index": "pypi",
+            "markers": "python_version < '3.8'",
+            "version": "==1.7.0"
+        },
         "isort": {
             "hashes": [
                 "sha256:54da7e92468955c4fceacd0c86bd0ec997b0e1ee80d97f67c35a78b719dccab1",