Browse Source

dev env: re-add exceptiongroup for pipeline

Fabian Peter Hammerle 1 year ago
parent
commit
73686da373
2 changed files with 15 additions and 1 deletions
  1. 5 0
      Pipfile
  2. 10 1
      Pipfile.lock

+ 5 - 0
Pipfile

@@ -23,6 +23,11 @@ pytest-cov = "*"
 typing-extensions = {markers = ""}
 # mypy on python<3.8
 typed-ast = {markers = "python_version < '3.8'"}
+# python<3.11 compatibility
+# >    File "[...]/lib/python3.10/site-packages/_pytest/_code/code.py", line 60, in <module>
+# >     from exceptiongroup import BaseExceptionGroup
+# > ModuleNotFoundError: No module named 'exceptiongroup'
+exceptiongroup = {markers = "python_version < '3.11'"}
 
 [requires]
 python_version = "3"

+ 10 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "55569d66663c71ee0da950143205904a10451bcb22a8617e86814df0a31d446c"
+            "sha256": "0089c385f85dc6b827db534d94132781c14ae1838fd7a0b741bb728957cae52d"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -200,6 +200,15 @@
             "markers": "python_version >= '3.7'",
             "version": "==0.3.6"
         },
+        "exceptiongroup": {
+            "hashes": [
+                "sha256:4d6c0aa6dd825810941c792f53d7b8d71da26f5e5f84f20f9508e8f2d33b140a",
+                "sha256:73866f7f842ede6cb1daa42c4af078e2035e5f7607f0e2c762cc51bb31bbe7b2"
+            ],
+            "index": "pypi",
+            "markers": "python_version < '3.11'",
+            "version": "==1.0.1"
+        },
         "idna": {
             "hashes": [
                 "sha256:814f528e8dead7d329833b91c5faa87d60bf71824cd12a7530b5526063d02cb4",