Explorar el Código

dev env: remove unexpected `python_version` marker from dill that broke pylint

Fabian Peter Hammerle hace 1 año
padre
commit
3668137b47
Se han modificado 2 ficheros con 8 adiciones y 2 borrados
  1. 5 0
      Pipfile
  2. 3 2
      Pipfile.lock

+ 5 - 0
Pipfile

@@ -36,6 +36,11 @@ tomli = {markers = "python_version < '3.11'"}
 # >     import wrapt
 # > ModuleNotFoundError: No module named 'wrapt'
 wrapt = "*"
+# remove `"markers": "python_version >= '3.11'"` to workaround:
+# >   File "[...]/lib/python3.7/site-packages/pylint/lint/parallel.py", line 13, in <module>
+# >     import dill
+# > ModuleNotFoundError: No module named 'dill'
+dill = "*"
 
 [requires]
 python_version = "3"

+ 3 - 2
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "bec8888b43f746d887cda28aaba3919a0ea1cb05ccaa1eda45dfd16c50e23f2a"
+            "sha256": "2347c90d65747dc267c95bdf8516b2e210a0d0b7517b5831dce7125353485fd7"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -107,7 +107,8 @@
                 "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0",
                 "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"
             ],
-            "markers": "python_version >= '3.11'",
+            "index": "pypi",
+            "markers": "python_version < '3.11'",
             "version": "==0.3.6"
         },
         "exceptiongroup": {