rfswarm icon indicating copy to clipboard operation
rfswarm copied to clipboard

scikit-image fails to build with Python 3.14 on windows

Open damies13 opened this issue 2 months ago • 1 comments

Describe the bug scikit-image fails to build with Python 3.14 on windows

Collecting scikit-image>=0.25.0 (from robotframework-doctestlibrary->-r Tests/Regression/Reporter/pip_requirements_windows.txt

scikit-image seems to be a dependency of robotframework-doctestlibrary which is required in Tests/Regression/Reporter/pip_requirements_windows.txt

To Reproduce Steps to reproduce the behavior:

  1. run Python 3.14 build of Reporter

Expected behavior all requirements install sucessfully and tests run

Desktop (please complete the following information):

  • OS: Windows
  • Version github runner

Additional context

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 71.5 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-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe C:\Users\runneradmin\AppData\Local\Temp\pip-install-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe\.mesonpy-p7qodytf -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=C:\Users\runneradmin\AppData\Local\Temp\pip-install-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe\.mesonpy-p7qodytf\meson-python-native-file.ini
  The Meson build system
  Version: 1.9.1
  Source dir: C:\Users\runneradmin\AppData\Local\Temp\pip-install-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe
  Build dir: C:\Users\runneradmin\AppData\Local\Temp\pip-install-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe\.mesonpy-p7qodytf
  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-e4iyajhv\scikit-image_ef11066e17fa487a90a077185a36e3fe\.mesonpy-p7qodytf\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.

See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.
Error: Process completed with exit code 1.

damies13 avatar Oct 19 '25 21:10 damies13

Just need to wait a bit longer there's a fix coming in a new release

Issue #388 is dependant on this

damies13 avatar Nov 02 '25 14:11 damies13