Bug 2328017 - python-opytimark fails to build with Python 3.14: test_hosaki, test_pen_holder: AssertionError
Summary: python-opytimark fails to build with Python 3.14: test_hosaki, test_pen_holde...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-opytimark
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Iztok Fister, Jr.
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.14
TreeView+ depends on / blocked
 
Reported: 2024-11-22 11:23 UTC by Karolina Surma
Modified: 2024-11-23 04:50 UTC (History)
4 users (show)

Fixed In Version: python-opytimark-1.0.8-18.fc42
Clone Of:
Environment:
Last Closed: 2024-11-23 04:50:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Karolina Surma 2024-11-22 11:23:46 UTC
python-opytimark fails to build with Python 3.14.0a2.
=================================== FAILURES ===================================
_________________________________ test_hosaki __________________________________

    def test_hosaki():
        f = two_dimensional.Hosaki()
    
        x = np.array([4, 2])
    
        y = f(x)
    
>       assert y == -2.345811576101292
E       assert -2.3458115761012914 == -2.345811576101292

tests/opytimark/markers/test_two_dimensional.py:363: AssertionError
_______________________________ test_pen_holder ________________________________

    def test_pen_holder():
        f = two_dimensional.PenHolder()
    
        x = np.array([-9.646167671043401, -9.646167671043401])
    
        y = f(x)
    
>       assert y == -0.9635348327265058
E       assert -0.9635348327265059 == -0.9635348327265058

tests/opytimark/markers/test_two_dimensional.py:493: AssertionError
=========================== short test summary info ============================
FAILED tests/opytimark/markers/test_two_dimensional.py::test_hosaki - assert ...
FAILED tests/opytimark/markers/test_two_dimensional.py::test_pen_holder - ass...

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

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.14/fedora-rawhide-x86_64/08292179-python-opytimark/

For all our attempts to build python-opytimark with Python 3.14, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/package/python-opytimark/

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.14:
https://copr.fedorainfracloud.org/coprs/g/python/python3.14/

Let us know here if you have any questions.

Python 3.14 is planned to be included in Fedora 43.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.14.
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 2024-11-23 04:47:01 UTC
FEDORA-2024-323d8010da (python-opytimark-1.0.8-18.fc42) has been submitted as an update to Fedora 42.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-323d8010da

Comment 2 Fedora Update System 2024-11-23 04:50:29 UTC
FEDORA-2024-323d8010da (python-opytimark-1.0.8-18.fc42) has been pushed to the Fedora 42 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.