Bug 2271403

Summary: python-scikit-misc fails to build with Python 3.13: ERROR: Command `/usr/bin/python3 -c 'import os...` failed with status 1.
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-scikit-miscAssignee: Sandro <gui1ty>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gui1ty, ksurma, mhroncok, neuro-sig
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-03-25 13:26:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 2244836    

Description Karolina Surma 2024-03-25 13:10:49 UTC
python-scikit-misc fails to build with Python 3.13.0a5.


  ../skmisc/meson.build:22:15: ERROR: Command `/usr/bin/python3 -c 'import os
  os.chdir(os.path.join("..", "tools"))
  import numpy as np
  try:
    incdir = os.path.relpath(np.get_include())
  except Exception:
    incdir = np.get_include()
  print(incdir)
  '` failed with status 1.

https://docs.python.org/3.13/whatsnew/3.13.html

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/07198546-python-scikit-misc/

For all our attempts to build python-scikit-misc with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-scikit-misc/

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Sandro 2024-03-25 13:20:54 UTC
This is a duplicate of bug 2260318, which I re-assigned to `python-meson-python`.

I suspect the automation didn't account for that. But it's really an issue with the build backend not with the package itself.

Comment 2 Karolina Surma 2024-03-25 13:22:41 UTC
Apologies, I've got it in my notes but not in git. Hopefully that's the last duplicate.

Comment 3 Sandro 2024-03-25 13:26:39 UTC
Mondays be like that ... ;)

*** This bug has been marked as a duplicate of bug 2260318 ***