Bug 2442356
| Summary: | python-nashpy fails to build with Python 3.15: AssertionError in test_properties_of_scores | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Karolina Surma <ksurma> |
| Component: | python-nashpy | Assignee: | Iztok Fister, Jr. <iztok> |
| Status: | CLOSED ERRATA | QA Contact: | |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | iztok, ksurma, mhroncok |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | python-nashpy-0.0.43-1.fc44 python-nashpy-0.0.43-1.fc43 python-nashpy-0.0.43-1.fc42 | Doc Type: | --- |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-03-16 00:27:03 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: | 2412434 | ||
FEDORA-2026-50928cd9ac (python-nashpy-0.0.43-1.fc42) has been submitted as an update to Fedora 42. https://bodhi.fedoraproject.org/updates/FEDORA-2026-50928cd9ac FEDORA-2026-9b6c7ad3c7 (python-nashpy-0.0.43-1.fc43) has been submitted as an update to Fedora 43. https://bodhi.fedoraproject.org/updates/FEDORA-2026-9b6c7ad3c7 FEDORA-2026-75d2223910 (python-nashpy-0.0.43-1.fc44) has been submitted as an update to Fedora 44. https://bodhi.fedoraproject.org/updates/FEDORA-2026-75d2223910 FEDORA-2026-75d2223910 has been pushed to the Fedora 44 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-75d2223910` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-75d2223910 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-9b6c7ad3c7 has been pushed to the Fedora 43 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-9b6c7ad3c7` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-9b6c7ad3c7 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-50928cd9ac has been pushed to the Fedora 42 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2026-50928cd9ac` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2026-50928cd9ac See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. FEDORA-2026-75d2223910 (python-nashpy-0.0.43-1.fc44) has been pushed to the Fedora 44 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-9b6c7ad3c7 (python-nashpy-0.0.43-1.fc43) has been pushed to the Fedora 43 stable repository. If problem still persists, please make note of it in this bug report. FEDORA-2026-50928cd9ac (python-nashpy-0.0.43-1.fc42) has been pushed to the Fedora 42 stable repository. If problem still persists, please make note of it in this bug report. |
python-nashpy fails to build with Python 3.15.0a6. __________________________ test_properties_of_scores ___________________________ @given(M=arrays(np.int8, (3, 3), unique=True)) > def test_properties_of_scores(M): ^^^ tests/unit/test_moran_process.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ M = array([[ 0, 1, 2], [ 3, 4, 5], [ 6, 7, 102]], dtype=int8) @given(M=arrays(np.int8, (3, 3), unique=True)) def test_properties_of_scores(M): """ Checks that if non negative valued matrices are passed then non negative valued scores are calculated. Parameters ---------- M : array a payoff matrix """ if np.min(M) >= 0: population = np.array((0, 0, 1, 1, 2, 2)) scores = score_all_individuals(A=M, population=population) > assert np.min(scores) >= 0 E assert np.int8(-128) >= 0 E + where np.int8(-128) = <function min at 0x7f540399fab0>(array([ 6, 6, 20, 20, -128, -128], dtype=int8)) E + where <function min at 0x7f540399fab0> = np.min E Falsifying example: test_properties_of_scores( E M=array([[ 0, 1, 2], E [ 3, 4, 5], E [ 6, 7, 102]], dtype=int8), E ) E Explanation: E These lines were always and only run by failing examples: E /usr/lib64/python3.15/site-packages/numpy/_core/arrayprint.py:1308 E /usr/lib64/python3.15/site-packages/numpy/_core/arrayprint.py:1309 Not sure if this is Copr-induced or a genuine issue. https://docs.python.org/3.15/whatsnew/3.15.html For the build logs, see: https://copr-be.cloud.fedoraproject.org/results/@python/python3.15/fedora-rawhide-x86_64/10150477-python-nashpy/ For all our attempts to build python-nashpy with Python 3.15, see: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/package/python-nashpy/ 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.15: https://copr.fedorainfracloud.org/coprs/g/python/python3.15/ Let us know here if you have any questions. Python 3.15 is planned to be included in Fedora 45. To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.15. 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.