scikit-image
scikit-image copied to clipboard
Python 3.11 wheels
Build wheels for Python 3.11
Should be just adding cibw_python: "cp311-*" to the build-wheels CI job matrix
Note you'll likely be waiting for the Python 3.11 wheels for:
- scipy: scipy/scipy#16851
- astropy: https://github.com/astropy/astropy/issues?q=3.11
- imread: luispedro/imread#41
- matplotlib: matplotlib/matplotlib#23637
- pywavelets: PyWavelets/pywt#649
- imread: https://github.com/luispedro/imread/issues?q=3.11 (via Add cp311-cp311 to defaults RalfG/python-wheels-manylinux-build#54)
You can add cp311-cp311 to the python-versions, that PR only changes the default. However, you may need to update the version of RalfG/python-wheels-manylinux-build to the latest.
See dulwich/pythonwheels.yml for an example.
Thanks, I was planning to open a PR soon, porting the same changes I did for PyWavelets here. Aside from the small .yaml file updates, we have to update the NumPy version pinnings in our pyproject.toml to be consistent with current Values in SciPy/PyWavelets (where they were recently updated to account for Python 3.11).
I will tag the new PyWavelets release tonight or tomorrow.
For SciPy we definitely won't want it to build from source, but it looks like we can start testing from the nightly 3.11 wheels here.
See #6519 for progress on this.
Scipy has released 3.11 wheels in their latest release.
In progress: https://github.com/scikit-image/scikit-image/pull/6566 After this, we'll enable wheels.
Reopening so that we have an issue tracking this request. See #6581 for the second step of the progress.
FYI: imread just released their 311 wheels, so the last blocker in the original post is gone.
Any updates on this? It seems like all that's left to do is make the release.
Yes, @grlee77 will be working on fixing broken Windows wheels this week.
Is there also an estimate for linux? As I tried it at the beginning of November it looked like the wheels were also broken on linux.
I pushed an update that fixed the AMD64 Windows wheels and dropped 32-bit Windows support. The linux ones were already working aside from a couple of 32-bit ones (also dropped in that PR). See this comment and link therein: https://github.com/scikit-image/scikit-image/pull/6581#issuecomment-1336206370
edit: just remembered that all wheels were initially failing due to failure to import lazy_loader at test time, but that is also now resolved in the PR linked above
Can we close this now that #6581 is merged? Or should we wait until we've actually released 3.11 wheels?
Is there an estimate, when the 3.11 wheels are released?
We have been meaning to release version 0.20 a few weeks ago but it got stalled. I'm not expecting much to happen before the new year but hope that we will push a pre-release candidate soon after that. @sebwr, sorry for the wait.
No hurries, Im also done for this year. Happy holidays for everyone involved.
Any news to the v0.20 update including the 3.11 wheels?
Hey @sebwr, we are working on a release candidate 0.20.0rc1 right now. It's currently blocked by #6667 but after that is resolved, the proper release shouldn't be far away.
Are there infos for the release date?
This appears to be an issue still. I am unable to install scikit-image in Python 3.11 on Windows.
pip install scikit-image --pre works but that also requires me to install it separately, so pip install some_downstream_package that requires scikit-image in Python 3.11 will fail.
The wheels are building just fine, the pre-releases are out on PyPi, and the main release itself will be available in a week.
@pllim If --pre works, then there's nothing else to be done right now.
@stefanv , correct, the pre-release installs fine. I see that RCs are actively being pushed. Good luck in the release!
See https://pypi.org/project/scikit-image/0.20.0rc8/#files
We're about to publish the next release, so I'm going to close this to clear the milestone. Thanks for your feedback, all.