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

[BUG] Latest stable SimpleITK removed Python 3.7 from packaging #856

Open
kwsp opened this issue Dec 4, 2023 · 1 comment
Open

[BUG] Latest stable SimpleITK removed Python 3.7 from packaging #856

kwsp opened this issue Dec 4, 2023 · 1 comment
Labels

Comments

@kwsp
Copy link

kwsp commented Dec 4, 2023

Describe the bug

In a clean Python 3.7 environment (which as far as I'm aware is the latest version of Python supported by pyradiomics), pip install pyradiomics is broken on Windows (and I assume most other platforms), because pyradiomics currently doesn't pin the SimpleITK version, and the SimpleITK>=2.3.0 removed Python 3.7 from packaging because Python 3.7 reached EOL in June 2023, meaning no more wheels are available and pip will default to building from the sdist. This requires building C extensions and won't work out of the box for most users.

Pyradiomics has 2 options:

  1. Support newer versions of Python (3.8 is the oldest version SimpleITK still builds wheels for)
  2. Pin SimpleITK==2.2.1, which is the latest version of SimpleITK with 3.7 wheels, so users don't have to manually install SimpleITK==2.2.1 manually first.

Version (please complete the following information):

  • OS: Windows 11
  • Python version: 3.7.12
  • PyRadiomics version [e.g. 2.2.0]
@kwsp kwsp added the bug label Dec 4, 2023
@kwsp
Copy link
Author

kwsp commented Dec 4, 2023

I was actually able to pip install pyradiomics in Python 3.10 and run without problem. Is the documentation that specified 3.7 out of date? https://pyradiomics.readthedocs.io/en/latest/installation.html

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

No branches or pull requests

1 participant