Bug 2264873 - python-h5io fails to build with Python 3.13: AttributeError: property '_raw_path' of 'PosixPath' object has no setter
Summary: python-h5io fails to build with Python 3.13: AttributeError: property '_raw_p...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-h5io
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON3.13
TreeView+ depends on / blocked
 
Reported: 2024-02-19 12:45 UTC by Karolina Surma
Modified: 2024-02-22 13:38 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github h5io h5io issues 86 0 None open Test test_state_with_pathlib fails on Python 3.13.0a4 2024-02-22 13:38:04 UTC

Description Karolina Surma 2024-02-19 12:45:11 UTC
python-h5io fails to build with Python 3.13.0a4.

=================================== FAILURES ===================================
___________________________ test_state_with_pathlib ____________________________
h5io/tests/test_io.py:415: in test_state_with_pathlib
    path_obj_reload = read_hdf5(
h5io/_h5io.py:529: in read_hdf5
    return _read(fid)
h5io/_h5io.py:523: in _read
    return _triage_read(fid[title], slash=slash)
h5io/_h5io.py:596: in _triage_read
    return _setstate(
h5io/_h5io.py:944: in _setstate
    setattr(obj, k, v)
E   AttributeError: property '_raw_path' of 'PosixPath' object has no setter
- generated xml file: /builddir/build/BUILD/h5io-h5io-0.2.2/junit-results.xml --
=========================== short test summary info ============================
SKIPPED [1] h5io/tests/test_io.py:30: could not import 'tables': No module named 'tables'
SKIPPED [1] h5io/tests/test_io.py:489: only python3.11 or lower
FAILED h5io/tests/test_io.py::test_state_with_pathlib - AttributeError: property '_raw_path' of 'PosixPath' object has no setter
=================== 1 failed, 13 passed, 2 skipped in 0.52s ====================

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/07033803-python-h5io/

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

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 Ben Beasley 2024-02-22 13:38:05 UTC
Reported upstream in https://github.com/h5io/h5io/issues/86.


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