AIM-Harvard / pyradiomics

Open-source python package for the extraction of Radiomics features from 2D and 3D images and binary masks. Support: https://discourse.slicer.org/c/community/radiomics
http://pyradiomics.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.14k stars 492 forks source link

Support for newer python versions? #745

Open jamesobutler opened 2 years ago

jamesobutler commented 2 years ago

The current classifiers which are viewed on the package's pypi page (https://pypi.org/project/pyradiomics/) specifies support for Python 2 and Python 3.4-3.6. These are all versions of Python that have gone End-Of-Life (see https://endoflife.date/python). Python 2 went End-Of-Life on January 1st 2020 and Python 3.6 went End-Of-Life on December 23rd 2021. https://github.com/AIM-Harvard/pyradiomics/blob/2e0b76edefa60616c880ec0fbc54433ac03743db/setup.py#L105-L111

Are there plans for pyradiomics to officially support newer versions of Python?

If pyradiomics cares to follow NEP29 (https://numpy.org/neps/nep-0029-deprecation_policy.html), Python 3.8+ should be supported in new releases as of Dec 26, 2021. Some of the latest versions of the python packages that pyradiomics depends on have dropped support for these older Python versions. Numpy 1.22 requires Python 3.8+, PyWavelets 1.2 requires Python 3.7+

As it relates to pyradiomics relationship to 3D Slicer, latest 3D Slicer preview builds use Python 3.9.10.

cc'ing top contributors @JoostJM @fedorov

jamesobutler commented 2 years ago

Also asked by another user in https://github.com/AIM-Harvard/pyradiomics/issues/653#issuecomment-889861680

faildeny commented 2 years ago

I have also faced problems connected with this issue. CI pipelines and fresh installs fail when trying to install pyradiomics. Can we speed this up? I am willing to contribute.

JoostJM commented 2 years ago

I am currently updating the pipelines, currently updated 2/3 pipelines to run correctly. I opened up a PR for status/discussion etc (#753)

JoostJM commented 2 years ago

@jamesobutler, I have the Mac OS CI now moved to Circle CI, including newer python versions (up to 3.9). I have to conduct some additional tests for the deployment step (including conda deployment).