Browse Source

dev env: add upper version constraint for importlib-metadata to keep compatibility with python3.5

https://github.com/fphammerle/ical2vdir/commit/79ba44e313c5b16df3c4fe150a21ceab72b45403
Fabian Peter Hammerle 3 years ago
parent
commit
4e97ea0736
2 changed files with 4 additions and 1 deletions
  1. 2 0
      Pipfile
  2. 2 1
      Pipfile.lock

+ 2 - 0
Pipfile

@@ -21,6 +21,8 @@ pylint-import-requirements = "*"
 pytest-cov = "*"
 
 # python3.5 compatibility
+# https://github.com/python/importlib_metadata/commit/107f9029fd5807c6579b881db19e11a0488f0675
+importlib-metadata = "<3"
 isort = "<5"
 # workaround https://github.com/pytest-dev/pytest/issues/3953
 pathlib2 = {version = "*", markers="python_version < '3.6'"}

+ 2 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "5e08bc3b950e30030f65bc25b6f8b03ca48a84bbd1d9dcefbbc29254e4490d03"
+            "sha256": "4aedc5a2da35720201778a64b28355aca43fab360d47015252411ff4f3636b21"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -129,6 +129,7 @@
                 "sha256:77a540690e24b0305878c37ffd421785a6f7e53c8b5720d211b211de8d0e95da",
                 "sha256:cefa1a2f919b866c5beb7c9f7b0ebb4061f30a8a9bf16d609b000e2dfaceb9c3"
             ],
+            "index": "pypi",
             "version": "==2.0.0"
         },
         "iniconfig": {