Bug 2220313 - F39FailsToInstall: python3-logutils
Summary: F39FailsToInstall: python3-logutils
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-logutils
Version: 39
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
Assignee: Justin Caratzas
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: AcceptedFreezeException
: 2154998 (view as bug list)
Depends On:
Blocks: F39FailsToInstall PYTHON3.12 F39FinalFreezeException 2220401 2223832
TreeView+ depends on / blocked
 
Reported: 2023-07-05 19:14 UTC by Fedora Fails To Install
Modified: 2023-10-07 03:23 UTC (History)
10 users (show)

Fixed In Version: python-logutils-0.3.5-24.fc39
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-10-07 03:23:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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/

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

can't install python3-logutils:
  - nothing provides python(abi) = 3.11 needed by python3-logutils-0.3.5-21.fc38.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-logutils


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 1 Fedora Fails To Install 2023-07-13 11:54:26 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.

Comment 2 Kevin Fenzi 2023-07-27 20:44:01 UTC
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. :)

Comment 3 Fedora Fails To Install 2023-08-05 09:27:03 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 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.

Comment 4 Alfredo Moralejo 2023-08-09 09:03:28 UTC
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.

Comment 5 Kevin Fenzi 2023-08-10 01:52:57 UTC
That looks plausable/reasonable to me. 

Would you be willing to make a PR?

Comment 6 Alfredo Moralejo 2023-08-14 10:56:07 UTC
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#

Comment 7 Fedora Release Engineering 2023-08-16 07:17:02 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 39 development cycle.
Changing version to 39.

Comment 8 Miro Hrončok 2023-09-21 08:18:16 UTC
*** Bug 2154998 has been marked as a duplicate of this bug. ***

Comment 9 Miro Hrončok 2023-09-21 08:22:59 UTC
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.

Comment 10 Kevin Fenzi 2023-09-25 16:49:00 UTC
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).

Comment 11 Miro Hrončok 2023-10-02 08:38:02 UTC
Will this be built before the Final Freeze tomorrow?

Comment 12 Justin Caratzas 2023-10-02 19:41:22 UTC
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

Comment 14 Fedora Update System 2023-10-02 23:03:58 UTC
FEDORA-2023-65a0de9877 has been submitted as an update to Fedora 39. https://bodhi.fedoraproject.org/updates/FEDORA-2023-65a0de9877

Comment 15 Fedora Update System 2023-10-03 03:41:01 UTC
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.

Comment 16 Miro Hrončok 2023-10-03 08:21:49 UTC
Justin, could you please also build this for rawhide?

Comment 17 Justin Caratzas 2023-10-03 15:41:18 UTC
Done! https://bodhi.fedoraproject.org/updates/FEDORA-2023-0379c41004

Comment 18 Lukas Ruzicka 2023-10-06 09:40:37 UTC
Install just fine. Verified.

Comment 19 Kamil Páral 2023-10-06 10:13:58 UTC
(In reply to Lukas Ruzicka from comment #18)
> Install just fine. Verified.

Please also give karma to the bodhi update, thanks.

Comment 20 Adam Williamson 2023-10-06 19:18:33 UTC
+4 in https://pagure.io/fedora-qa/blocker-review/issue/1376 , marking accepted.

Comment 21 Fedora Update System 2023-10-07 03:23:30 UTC
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.


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