Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python requirements need to be updated for latest Slicer python version #26

Open
jamesobutler opened this issue Feb 6, 2022 · 0 comments

Comments

@jamesobutler
Copy link

Slicer recently upgraded from Python 3.6.7 to Python 3.9.10 in Slicer/Slicer@34e48e8. There are now observed build errors of the MFSDA Slicer extension as seen at https://slicer.cdash.org/viewBuildError.php?buildid=2581568. This is because the python requirements file in the repo is including hashes that are only for Python 3.6 wheels. These need to be updated for Python 3.9 wheels which also means the actual version of packages here will need to be updated as some older versions simply don't have Python 3.9 wheels because that version was released before Python 3.9 was even released.

file(WRITE ${requirements_file} [===[
# Hashes correspond to the following packages:
# - python_dateutil-2.8.1-py2.py3-none-any.whl
python-dateutil==2.8.1 --hash=sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a
# Hashes correspond to the following packages:
# - pytz-2020.1-py2.py3-none-any.whl
pytz==2020.1 --hash=sha256:a494d53b6d39c3c6e44c3bec237336e14305e4f29bbf800b599253057fbb79ed
# Hashes correspond to the following packages:
# - pandas-1.0.5-cp36-cp36m-win_amd64.whl
# - pandas-1.0.5-cp36-cp36m-macosx_10_9_x86_64.whl
# - pandas-1.0.5-cp36-cp36m-manylinux1_x86_64.whl
pandas==1.0.5 --hash=sha256:35b670b0abcfed7cad76f2834041dcf7ae47fd9b22b63622d67cdc933d79f453 \
--hash=sha256:faa42a78d1350b02a7d2f0dbe3c80791cf785663d6997891549d0f86dc49125e \
--hash=sha256:8778a5cc5a8437a561e3276b85367412e10ae9fff07db1eed986e427d9a674f8
# Hashes correspond to the following packages:
# - patsy-0.5.1-py2.py3-none-any.whl
patsy==0.5.1 --hash=sha256:5465be1c0e670c3a965355ec09e9a502bf2c4cbe4875e8528b0221190a8a5d40
# Hashes correspond to the following packages:
# - statsmodels-0.11.1-cp36-none-win_amd64.whl
# - statsmodels-0.11.1-cp36-cp36m-macosx_10_13_x86_64.whl
# - statsmodels-0.11.1-cp36-cp36m-manylinux1_x86_64.whl
statsmodels==0.11.1 --hash=sha256:49aa8ffbe0b0e2e86afa58dec6bd5c483898e9b8223d8a7d13b69b5ad144b674 \
--hash=sha256:5e7afc596164c1c7464ba3943721a9668aa0ce07853ce9881ac49d3a043784dd \
--hash=sha256:9efd2e27c08077330cecdbfb589cf84d735abface94e9a6387282a6a7c91362d
]===])

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant