Bug 2220270

Summary: F39FailsToInstall: python3-hdmf+zarr, python3-hdmf
Product: [Fedora] Fedora Reporter: Fedora Fails To Install <fti-bugs>
Component: python-hdmfAssignee: Luis Bazan <bazanluis20>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bazanluis20, code, neuro-sig
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-hdmf-3.6.1-7.fc39 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-07-13 00:00:55 UTC Type: ---
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: 2220011, 2220576    
Bug Blocks: 2135404, 2168845, 2220438    

Description Fedora Fails To Install 2023-07-05 19:13:19 UTC
Hello,

Please note that this comment was generated automatically by https://pagure.io/releng/blob/main/f/scripts/ftbfs-fti/follow-policy.py
If you feel that this output has mistakes, please open an issue at https://pagure.io/releng/

Your package (python-hdmf) Fails To Install in Fedora 39:

can't install python3-hdmf+zarr:
  - nothing provides python(abi) = 3.11 needed by python3-hdmf+zarr-3.6.1-5.fc39.noarch
  
can't install python3-hdmf:
  - nothing provides python(abi) = 3.11 needed by python3-hdmf-3.6.1-5.fc39.noarch
  - nothing provides python3.11dist(numpy) >= 1.16 needed by python3-hdmf-3.6.1-5.fc39.noarch
  - nothing provides python3.11dist(scipy) >= 1.1 needed by python3-hdmf-3.6.1-5.fc39.noarch
  - nothing provides python3.11dist(ruamel-yaml) >= 0.16 needed by python3-hdmf-3.6.1-5.fc39.noarch
  - nothing provides python3.11dist(pandas) >= 1.0.5 needed by python3-hdmf-3.6.1-5.fc39.noarch
  - nothing provides python3.11dist(jsonschema) >= 2.6 needed by python3-hdmf-3.6.1-5.fc39.noarch
  
If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.


If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.


P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors. To reproduce, use the koji/local repo only, e.g. in mock:

    $ mock -r fedora-39-x86_64 --config-opts mirrored=False install python3-hdmf+zarr python3-hdmf


P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 2 Ben Beasley 2023-07-12 22:21:54 UTC
Looks like a test is just too picky about the message in an excepton.

=================================== FAILURES ===================================
____________ GenericDataChunkIteratorTests.test_abstract_assertions ____________
TypeError: Can't instantiate abstract class TestGenericDataChunkIterator without an implementation for abstract methods '_get_data', '_get_dtype', '_get_maxshape'
During handling of the above exception, another exception occurred:
self = <tests.unit.utils_test.test_core_GenericDataChunkIterator.GenericDataChunkIteratorTests testMethod=test_abstract_assertions>
    def test_abstract_assertions(self):
        class TestGenericDataChunkIterator(GenericDataChunkIterator):
            pass
    
>       with self.assertRaisesWith(
            exc_type=TypeError,
            exc_msg=(
                "Can't instantiate abstract class TestGenericDataChunkIterator with abstract methods "
                "_get_data, _get_dtype, _get_maxshape"
            ),
        ):
E       AssertionError: "^Can't\ instantiate\ abstract\ class\ TestGenericDataChunkIterator\ with\ abstract\ methods\ _get_data,\ _get_dtype,\ _get_maxshape$" does not match "Can't instantiate abstract class TestGenericDataChunkIterator without an implementation for abstract methods '_get_data', '_get_dtype', '_get_maxshape'"
tests/unit/utils_test/test_core_GenericDataChunkIterator.py:88: AssertionError
=============================== warnings summary ===============================
../../../../usr/lib/python3.12/site-packages/pytz/tzinfo.py:27
  /usr/lib/python3.12/site-packages/pytz/tzinfo.py:27: DeprecationWarning: datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.fromtimestamp(timestamp, datetime.UTC).
    _epoch = datetime.utcfromtimestamp(0)
tests/unit/test_container.py: 1 warning
tests/unit/common/test_resources.py: 57 warnings
  /builddir/build/BUILDROOT/python-hdmf-3.6.1-6.fc39.noarch/usr/lib/python3.12/site-packages/hdmf/container.py:204: UserWarning: ExternalResources is experimental -- it may be removed in the future and is not guaranteed to maintain backward compatibility
    warn(_exp_warn_msg(cls))
tests/unit/common/test_table.py: 20 warnings
  /builddir/build/BUILDROOT/python-hdmf-3.6.1-6.fc39.noarch/usr/lib/python3.12/site-packages/hdmf/container.py:204: UserWarning: EnumData is experimental -- it may be removed in the future and is not guaranteed to maintain backward compatibility
    warn(_exp_warn_msg(cls))
tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_progress_bar
tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_progress_bar
tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_progress_bar_assertion
tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_progress_bar_no_options
tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_progress_bar_no_options
  /usr/lib/python3.12/site-packages/tqdm/std.py:465: DeprecationWarning: datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.fromtimestamp(timestamp, datetime.UTC).
    if rate and total else datetime.utcfromtimestamp(0))
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=========================== short test summary info ============================
FAILED tests/unit/utils_test/test_core_GenericDataChunkIterator.py::GenericDataChunkIteratorTests::test_abstract_assertions
====== 1 failed, 1379 passed, 7 skipped, 1 xfailed, 84 warnings in 12.66s ======

Comment 3 Fedora Update System 2023-07-12 23:59:45 UTC
FEDORA-2023-dcf9373719 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-dcf9373719

Comment 4 Fedora Update System 2023-07-13 00:00:55 UTC
FEDORA-2023-dcf9373719 has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.