Bug 2271403 - python-scikit-misc fails to build with Python 3.13: ERROR: Command `/usr/bin/python3 -c 'import os...` failed with status 1.
Summary: python-scikit-misc fails to build with Python 3.13: ERROR: Command `/usr/bin/...
Keywords:
Status: CLOSED DUPLICATE of bug 2260318
Alias: None
Product: Fedora
Classification: Fedora
Component: python-scikit-misc
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Sandro
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-03-25 13:10 UTC by Karolina Surma
Modified: 2024-03-25 13:26 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-03-25 13:26:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.