Browse Source

dev env: added upper version constraints for astroid & pylint to keep compatibility with python3.5

https://github.com/fphammerle/ical2vdir/commit/b2f23fe0294c82e44ffcbaee6ad607cfb0c3e95a
Fabian Peter Hammerle 3 years ago
parent
commit
a2a4874ff3
2 changed files with 7 additions and 2 deletions
  1. 5 1
      Pipfile
  2. 2 1
      Pipfile.lock

+ 5 - 1
Pipfile

@@ -17,13 +17,15 @@ numpy = "<1.19.0"
 # https://github.com/psf/black/commit/e74117f172e29e8a980e2c9de929ad50d3769150#diff-2eeaed663bd0d25b7e608891384b7298R51
 black = {version = "==20.8b1", markers = "python_version >= '3.6'"}
 mypy = "*"
-pylint = "*"
+#pylint = "*"
 pylint-import-requirements = "*"
 #pytest = "*"
 # >=2 for --cov-fail-under
 pytest-cov = ">=2"
 
 # python3.5 compatibility
+# https://github.com/PyCQA/astroid/commit/d81f07becf3243a84e0baaa3493ce74cafed8022#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R52
+astroid = "<2.5"
 # <2 for:
 # > pkg_resources.VersionConflict: (importlib-metadata 2.1.1 (/home/travis/virtualenv/python3.5.10/lib/python3.5/site-packages),
 # > Requirement.parse('importlib-metadata<2,>=0.12; python_version < "3.8"'))
@@ -32,6 +34,8 @@ importlib-metadata = "<2,<3"
 isort = "<5"
 # workaround https://github.com/pytest-dev/pytest/issues/3953
 pathlib2 = {version = "*", markers="python_version < '3.6'"}
+# https://github.com/PyCQA/pylint/commit/6e2de8e3a2e2c5586e876ca305f0844bdd822db3
+pylint = "<2.7"
 # https://github.com/pytest-dev/pytest/commit/179f4326df2b644f0ab73f78e4770dafcbdcd89f#diff-fa602a8a75dc9dcc92261bac5f533c2a85e34fcceaff63b3a3a81d9acde2fc52R52
 pytest = "<6.2"
 # https://github.com/jaraco/zipp/commit/05a3c52b4d41690e0471a2e283cffb500dc0329a

+ 2 - 1
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "a0893fbd40134ffd44b18fa24de408e08103d376d60274214b84c5ed15546b92"
+            "sha256": "05134b39cf9fa77c9d74b63e4cb1e3ddeb24ebf0cb320f170ea18bf0beaf9a83"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -107,6 +107,7 @@
                 "sha256:2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703",
                 "sha256:bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386"
             ],
+            "index": "pypi",
             "version": "==2.4.2"
         },
         "attrs": {