Răsfoiți Sursa

examples env: add upper version constraints for ipython & traitlets to keep compatibility with python3.5

Fabian Peter Hammerle 3 ani în urmă
părinte
comite
74c4afba0c
2 a modificat fișierele cu 9 adăugiri și 1 ștergeri
  1. 6 0
      examples/Pipfile
  2. 3 1
      examples/Pipfile.lock

+ 6 - 0
examples/Pipfile

@@ -8,6 +8,12 @@ freesurfer-surface = {editable = true, path = "./.."}
 pandas = "*"
 notebook = "*"
 
+# python3.5 compatibility
+# https://github.com/ipython/ipython/commit/0f6d2f42f2a10eeb5f78c57314b2f8cc026aed19#diff-60f61ab7a8d1910d86d9fda2261620314edcae5894d5aaa236b821c7256badd7L232
+ipython = "<7.10.0"
+# https://github.com/ipython/traitlets/commit/8c2554364bd80af917aff1a7725a967ab1203fed
+traitlets = "<5"
+
 [dev-packages]
 
 [requires]

+ 3 - 1
examples/Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "3bf413160ab16683a2d1f30d5c94159287cb1f92773fedecc1428dd950b78402"
+            "sha256": "3185b27b628a56f1353768bf482bf472a6dd1b618de0bde8120f4b06277c2930"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -151,6 +151,7 @@
                 "sha256:dfd303b270b7b5232b3d08bd30ec6fd685d8a58cabd54055e3d69d8f029f7280",
                 "sha256:ed7ebe1cba899c1c3ccad6f7f1c2d2369464cc77dba8eebc65e2043e19cda995"
             ],
+            "index": "pypi",
             "markers": "python_version >= '3.5'",
             "version": "==7.9.0"
         },
@@ -559,6 +560,7 @@
                 "sha256:70b4c6a1d9019d7b4f6846832288f86998aa3b9207c6821f3578a6a6a467fe44",
                 "sha256:d023ee369ddd2763310e4c3eae1ff649689440d4ae59d7485eb4cfbbe3e359f7"
             ],
+            "index": "pypi",
             "version": "==4.3.3"
         },
         "wcwidth": {