Python 3.14 support
3.14 released earlier this week. The last release of scikit-learn was in February and there aren't 3.14 wheels available. Is there a plan for a new release soonish? Do you need or want any help from an outside contributor to get this done?
it seems our CIs run 3.14.
I would be ok with a release 0.26.0 or 0.25.3 this month to get something out.
There's a PR from @Czaki for updates to builds including 3.14: https://github.com/scikit-image/scikit-image/pull/7877
is there any update of release plan ? when will be version with Python 3.14 support released? Thank you
Hey @jamescze, we are planning to release for Python 3.14 as soon as possible.
But before we do that we want to merge
- A refactor of our wheel building CI configuration:
https://github.com/scikit-image/scikit-image/pull/7877 - Support Windows ARM: https://github.com/scikit-image/scikit-image/pull/7847
- And maybe a few items from the 0.26 milestone.
We might put release candidates out before that but no promises.
If you need Python 3.14 support right now you'll need to build such a version yourself. Sorry.
A gentle nudge here - Fedora 43 is out (as of 10/25) with Python3.14 as the default interpreter!
We've been working on it, and we're close. We hit the same issue as SciPy did with Pythran and the latest NumPy, but that should be sorted out soon then will tag rc0. Hopefully get the full release out next week.
FYI - installing scikit-image with Python 3.14 seems to be working on Linux (ubuntu) and Macos, but not Windows.
This is from windows my guthub runner that's still failing on Python 3.14 when installing scikit-image, Unfortunately because this is a github runner I don't have access to the meson-log.txt mentioned, but hopefully the log information below is helpful.
Collecting scikit-image>=0.25.0 (from robotframework-doctestlibrary->-r Tests/Regression/Reporter/pip_requirements_windows.txt (line 5))
Downloading scikit_image-0.25.2.tar.gz (22.7 MB)
---------------------------------------- 22.7/22.7 MB 41.8 MB/s 0:00:00
Installing build dependencies: started
Installing build dependencies: finished with status 'done'
Getting requirements to build wheel: started
Getting requirements to build wheel: finished with status 'done'
Preparing metadata (pyproject.toml): started
Preparing metadata (pyproject.toml): finished with status 'error'
error: subprocess-exited-with-error
Preparing metadata (pyproject.toml) did not run successfully.
exit code: 1
[65 lines of output]
+ meson setup C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248 C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248\.mesonpy-6g0jbx21 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248\.mesonpy-6g0jbx21\meson-python-native-file.ini
The Meson build system
Version: 1.9.1
Source dir: C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248
Build dir: C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248\.mesonpy-6g0jbx21
Build type: native build
Project name: scikit-image
Project version: 0.25.2
..\meson.build:1:0: ERROR: Unable to get gcc pre-processor defines:
Compiler stdout:
-----
Compiler stderr:
-----
A full log can be found at C:\Users\runneradmin\AppData\Local\Temp\pip-install-pqxy1l5c\scikit-image_3cc83f7bea484266885e4f1881af1248\.mesonpy-6g0jbx21\meson-logs\meson-log.txt
==== CI platform detected, click here for meson-log.txt contents. ====
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
Encountered error while generating package metadata.
scikit-image
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Ah sorry I just noticed it's installing scikit_image-0.25.2 and this fix is targeted for scikit_image-0.26
For now, please use nightly wheels as per https://anaconda.org/channels/scientific-python-nightly-wheels/packages/scikit-image/overview
I am tagging the rc0 today, and we'll have the wheel out soon. Sorry, we ran into some trouble with our build system and unexpected ARM chipset failures, but that's all resolved now.
See https://pypi.org/project/scikit-image/0.26.0rc0/#files. It seems like wheels for Python 3.14 were not included in the release candidate? Am I missing something? 3.14 is included in the nightly uploads...
Ah, maybe it failed while trying to upload the Pyodide wheel and therefore failed to upload any remaining ones after that. We need to exclude that Pyodide wheel from being pushed to PyPI.
See #7969 for a fix.
We just released another candidate (v0.26.0rc2). It seems that that one finally includes all previously missing wheels on PyPI.
We want to make the final release before the holidays. Thank you for your patience so far!