I’m not entirely sure if this is the expected behavior or not. I have tried to find the root cause of this, but I lack the knowledge of how the internals work and I’m not able to find the cause. As far as I can see https://pypi.org/project/itk/#history lists all the versions and do not mention anything regarding python versions.
Currently I am using the latest itk version for python 3.9: 5.2.1.post1, when switching to python 3.10 the latest version is 5.0.1.
I have tested this using both my popos/ubuntu 22.04 installed python 3.10 version and using a conda environment as described below, both returns the same list of available versions.
conda create -n py310 python=3.10
conda activate py310
pip install itk==5.2.1.post1
ERROR: Could not find a version that satisfies the requirement itk==5.2.1.post1 (from versions: 4.12.0.post1, 4.13.0, 4.13.1.post1, 5.0a1, 5.0a2, 5.0b1, 5.0b3, 5.0rc1, 5.0rc2, 5.0.0, 5.0.0.post1, 5.0.1, 5.3rc2, 5.3rc2.post1, 5.3rc3, 5.3rc4, 5.3rc4.post1, 5.3rc4.post2, 5.3rc4.post3)
ERROR: No matching distribution found for itk==5.2.1.post1
Listing version for a python 3.9 environment:
conda create -n py39 python=3.9
conda activate py39
pip install itk==
ERROR: Could not find a version that satisfies the requirement itk== (from versions: 4.12.0.post1, 4.13.0, 4.13.1.post1, 5.0a1, 5.0a2, 5.0b1, 5.0b3, 5.0rc1, 5.0rc2, 5.0.0, 5.0.0.post1, 5.0.1, 5.1.1.post1, 5.1.2, 5.2rc1, 5.2rc2, 5.2rc3, 5.2.0, 5.2.0.post1, 5.2.0.post2, 5.2.0.post3, 5.2.1, 5.2.1.post1, 5.3rc1, 5.3rc2, 5.3rc2.post1, 5.3rc3, 5.3rc4, 5.3rc4.post1, 5.3rc4.post2, 5.3rc4.post3)
ERROR: No matching distribution found for itk==
the following versions are missing from the pip output when using python 3.10:
5.1.1.post1, 5.1.2, 5.2rc1, 5.2rc2, 5.2rc3, 5.2.0, 5.2.0.post1, 5.2.0.post2, 5.2.0.post3, 5.2.1, 5.2.1.post1
any suggestions as to why this is happening and/or what the cause could be would be greatly appreciated.