Browse Source

test env: add upper version constraint for pandas (to keep compatibility with python3.7)

https://github.com/fphammerle/freesurfer-stats/commit/ddfe2251747dd2946da8fe8d413091a5dd3f675a
Fabian Peter Hammerle 2 years ago
parent
commit
425fd8465d
3 changed files with 4 additions and 2 deletions
  1. 1 0
      Pipfile
  2. 2 2
      Pipfile.lock
  3. 1 0
      setup.py

+ 1 - 0
Pipfile

@@ -7,6 +7,7 @@ name = "pypi"
 freesurfer-volume-reader = {editable = true, path = "."}
 
 # python3.7 compatibility
+pandas = "<1.4"
 numpy = "<1.22"
 
 [dev-packages]

+ 2 - 2
Pipfile.lock

@@ -1,7 +1,7 @@
 {
     "_meta": {
         "hash": {
-            "sha256": "a7be5441adfca51a733f881412ab301906edd81de15ca54198445cc2bcb2558a"
+            "sha256": "bc60580e67bffde25acb27e7aef39760c855e2a551b94c84de6fc833bdd7b512"
         },
         "pipfile-spec": 6,
         "requires": {
@@ -84,7 +84,7 @@
                 "sha256:fd541ab09e1f80a2a1760032d665f6e032d8e44055d602d65eeea6e6e85498cb",
                 "sha256:fe95bae4e2d579812865db2212bb733144e34d0c6785c0685329e5b60fcb85dd"
             ],
-            "markers": "python_full_version >= '3.7.1'",
+            "index": "pypi",
             "version": "==1.3.5"
         },
         "python-dateutil": {

+ 1 - 0
setup.py

@@ -34,6 +34,7 @@ setuptools.setup(
         "Development Status :: 3 - Alpha",
         "Intended Audience :: Healthcare Industry",
         "Intended Audience :: Science/Research",
+        # .github/workflows/python.yml
         "Programming Language :: Python :: 3.7",
         "Programming Language :: Python :: 3.8",
         "Programming Language :: Python :: 3.9",