Browse Source

env: add upper version constraint for pytest to keep compatibility with python3.5

https://github.com/fphammerle/ical2vdir/pull/26/commits/e28ca1ced412e23083e7adc8d9a936a521c07e88
Fabian Peter Hammerle 3 years ago
parent
commit
e03d4dce85
2 changed files with 6 additions and 8 deletions
  1. 5 6
      Pipfile
  2. 1 2
      Pipfile.lock

+ 5 - 6
Pipfile

@@ -13,8 +13,7 @@ black = {version = "==20.8b1", markers = "python_version >= '3.6'"}
 mypy = "*"
 pylint = "*"
 pylint-import-requirements = "*"
-pytest = "*"
-# pipenv run pytest --cov=tooncher --cov-report=term-missing
+#pytest = "*"
 pytest-cov = "*"
 
 # python3.5 compatibility
@@ -23,12 +22,12 @@ importlib-metadata = "<3"
 isort = "<5"
 # workaround https://github.com/pytest-dev/pytest/issues/3953
 pathlib2 = {version = "*", markers="python_version < '3.6'"}
+# https://github.com/pytest-dev/pytest/commit/179f4326df2b644f0ab73f78e4770dafcbdcd89f#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R52
+pytest = "<6.2"
 # https://github.com/jaraco/zipp/commit/05a3c52b4d41690e0471a2e283cffb500dc0329a
 zipp = "<2"
 
-# python3.8 compatibility
-# workaround pipenv unexpectedly adding marker "python_version < '3.8'"
-typed-ast = "*"
-
 [requires]
 python_version = "3"
+
+# Pipfile syntax: https://github.com/pypa/pipfile#pipfile

+ 1 - 2
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "04a2c49ad876a958de7fa67727a5a6c97d155c2ef2269a69c42de02c8875e140"
+            "sha256": "42511b655c01dede2687a6166b274fae08fdd3d4c0647a15896a7fd9c5661332"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -367,7 +367,6 @@
                 "sha256:fcf135e17cc74dbfbc05894ebca928ffeb23d9790b3167a674921db19082401f",
                 "sha256:fe460b922ec15dd205595c9b5b99e2f056fd98ae8f9f56b888e7a17dc2b757e7"
             ],
-            "index": "pypi",
             "version": "==1.4.1"
         },
         "typing-extensions": {