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
66cfdfe017
2 changed files with 7 additions and 2 deletions
  1. 5 1
      Pipfile
  2. 2 1
      Pipfile.lock

+ 5 - 1
Pipfile

@@ -16,18 +16,22 @@ pycairo = "<1.20"
 # https://github.com/psf/black/commit/e74117f172e29e8a980e2c9de929ad50d3769150#diff-2eeaed663bd0d25b7e608891384b7298R51
 black = {version = "==20.8b1", markers = "python_version >= '3.6'"}
 mypy = "*"
-pylint = "*"
+#pylint = "*"
 # >=2.0.3 to skip PyGObject's custom loader & fix broken wheel
 pylint-import-requirements = ">=2.0.3"
 #pytest = "*"
 pytest-cov = "*"
 
 # python3.5 compatibility
+# https://github.com/PyCQA/astroid/commit/d81f07becf3243a84e0baaa3493ce74cafed8022#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7R52
+astroid = "<2.5"
 # 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'"}
+# 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": "23f9685145ed5be53bf0b00fbf3eacd39a9c09d1fba0cc9aed5f123c161f187d"
+            "sha256": "5b980316ba33005056fa7d196c8532b18120d7d87d2332ba25918d35d07ff679"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -59,6 +59,7 @@
                 "sha256:2f4078c2a41bf377eea06d71c9d2ba4eb8f6b1af2135bec27bbbb7d8f12bb703",
                 "sha256:bc58d83eb610252fd8de6363e39d4f1d0619c894b0ed24603b881c02e64c7386"
             ],
+            "index": "pypi",
             "version": "==2.4.2"
         },
         "attrs": {