Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 2220313
Summary: | F39FailsToInstall: python3-logutils | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fedora Fails To Install <fti-bugs> |
Component: | python-logutils | Assignee: | Justin Caratzas <jcaratza> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | urgent | Docs Contact: | |
Priority: | unspecified | ||
Version: | 39 | CC: | amoralej, awilliam, infra-sig, jcaratza, kevin, kparal, lruzicka, mhroncok, thrnciar, tomek |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | python-logutils-0.3.5-24.fc39 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2023-10-07 03:23:30 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: | |||
Bug Blocks: | 2168845, 2135404, 2143447, 2220401, 2223832 |
Description
Fedora Fails To Install
2023-07-05 19:14:40 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/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 7+ weeks. This is the first reminder (step 3) from the policy. Don't hesitate to ask for help on devel.org if you are unsure how to fix this bug. This package isn't used by anything that I can tell anymore, uses distutils (removed in python 3.12), hasn't had a non mass rebuild/mass python build comment since 2018 and is not at all very active upstream anymore. ;) So, I am going to remove myself and infra-sig from it. @jcarataza you're welcome to try and fix this if you like, or orphan/retire it. :) 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/ This package fails to install and maintainers are advised to take one of the following actions: - Fix this bug and close this bugzilla once the update makes it to the repository. (The same script that posted this comment will eventually close this bugzilla when the fixed package reaches the repository, so you don't have to worry about it.) or - Move this bug to ASSIGNED if you plan on fixing this, but simply haven't done so yet. or - Orphan the package if you no longer plan to maintain it. If you do not take one of these actions, the process at https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs will continue. This package may be orphaned in 4+ weeks. This is the second reminder (step 4) from the policy. Don't hesitate to ask for help on https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/ if you are unsure how to fix this bug. Note logutils is used by python-pecan which is currently blocked by this issue. I've sent a PR upstream: https://bitbucket.org/vinay.sajip/logutils/pull-requests/4 I think it may be used as patch in the package to unblock. That looks plausable/reasonable to me. Would you be willing to make a PR? Adding python3-setuptools as BR fixes the issue with distutils as it provides a wrapper to use distutils in setup.py. I've had to disable unit tests. https://src.fedoraproject.org/rpms/python-logutils/pull-request/2# This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle. Changing version to 39. *** Bug 2154998 has been marked as a duplicate of this bug. *** Adding this:
+BuildRequires: python3-setuptools
+BuildRequires: python3-pytest
+BuildRequires: python3-redis
+BuildRequires: /usr/bin/redis-server
And this:
+# AttributeError: 'ConfigDictTest' object has no attribute 'assertEquals'. Did you mean: 'assertEqual'?
+sed -i 's/assertEquals/assertEqual/' tests/test_dictconfig.py
And using %pytest in %check, I ended up with:
=================================== FAILURES ===================================
_________________________ AdapterTest.test_hashandlers _________________________
self = <test_adapter.AdapterTest testMethod=test_hashandlers>
def test_hashandlers(self):
"Test of hasHandlers() functionality."
self.assertTrue(self.adapter.hasHandlers())
self.logger.removeHandler(self.handler)
> self.assertFalse(self.adapter.hasHandlers())
E AssertionError: True is not false
tests/test_adapter.py:64: AssertionError
Anyway, folks, is it probable that this will be fixed (or worked around) in time for the Fedora 39 Final Freeze (2023-10-03)? If not, could you please consider retiring the package, so we can obsolete it and unblock clean upgrades to Fedora 39? A retired package can be reintroduced later during the lifetime of Fedora 39.
So, I think this package was used by fedora infra many ages ago, but no longer is at all. So, I am going to remove the infra-sig from this package. I think it's up to the ceph stack folks to fix this (and thus python-pecan thats used by ceph). Will this be built before the Final Freeze tomorrow? I've gotten to build by applying your changes and removing the test_hashandlers(). The function still works, but the unit test creates 4 handlers, and while one does get removed correctly, the rest are there to fail the assertion. I wonder if related to distutils -> setuptools, but I'm removing the test for now in the interest of getting this built Merged https://src.fedoraproject.org/rpms/python-logutils/pull-request/3 https://bodhi.fedoraproject.org/updates/FEDORA-2023-65a0de9877 FEDORA-2023-65a0de9877 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-65a0de9877 FEDORA-2023-65a0de9877 has been pushed to the Fedora 39 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-65a0de9877` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-65a0de9877 See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates. Justin, could you please also build this for rawhide? Install just fine. Verified. (In reply to Lukas Ruzicka from comment #18) > Install just fine. Verified. Please also give karma to the bodhi update, thanks. +4 in https://pagure.io/fedora-qa/blocker-review/issue/1376 , marking accepted. FEDORA-2023-65a0de9877 has been pushed to the Fedora 39 stable repository. If problem still persists, please make note of it in this bug report. |