Browse Source

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

https://github.com/fphammerle/ical2vdir/commit/b0b88179c6783cb54fbcc62f1804cb9823587387
Fabian Peter Hammerle 1 year ago
parent
commit
61b13f558b
2 changed files with 8 additions and 2 deletions
  1. 5 0
      Pipfile
  2. 3 2
      Pipfile.lock

+ 5 - 0
Pipfile

@@ -45,6 +45,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 = {markers = "python_version >= '0'"}
 
 [requires]
 python_version = "3"

+ 3 - 2
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "6a171259cd7ef2b26ebb808b31687dd21fcbfcbe01de06f6d6c152dc58f0f8b8"
+            "sha256": "a8f737346048bcf08e1f7bedc934ed04225ea0cfe473be9e97ea10c676068dc2"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -280,7 +280,8 @@
                 "sha256:a07ffd2351b8c678dfc4a856a3005f8067aea51d6ba6c700796a4d9e280f39f0",
                 "sha256:e5db55f3687856d8fbdab002ed78544e1c4559a130302693d839dfe8f93f2373"
             ],
-            "markers": "python_version >= '3.11'",
+            "index": "pypi",
+            "markers": "python_version >= '0'",
             "version": "==0.3.6"
         },
         "exceptiongroup": {