Bug 2246130 - python-cvxopt fails to build with Python 3.13: error: implicit declaration of function ‘_PyUnicode_AsString’
Summary: python-cvxopt fails to build with Python 3.13: error: implicit declaration of...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-cvxopt
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jerry James
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2023-10-25 14:22 UTC by Karolina Surma
Modified: 2023-10-25 16:07 UTC (History)
3 users (show)

Fixed In Version: python-cvxopt-1.3.2-2.fc40
Clone Of:
Environment:
Last Closed: 2023-10-25 16:07:11 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2023-10-25 14:22:20 UTC
python-cvxopt fails to build with Python 3.13.0a1.

  src/C/dsdp.c: In function ‘solvesdp’:
  src/C/dsdp.c:192:22: error: implicit declaration of function ‘_PyUnicode_AsString’; did you mean ‘PyUnicode_Substring’? [-Werror=implicit-function-declaration]
    192 |             keystr = _PyUnicode_AsString(key);
        |                      ^~~~~~~~~~~~~~~~~~~
        |                      PyUnicode_Substring

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/06557883-python-cvxopt/

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

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 Fedora Update System 2023-10-25 16:05:08 UTC
FEDORA-2023-7005863454 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-7005863454

Comment 2 Fedora Update System 2023-10-25 16:07:11 UTC
FEDORA-2023-7005863454 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


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