Bug 2183390 - freeipa-healthcheck fails to build with the latest setuptools version
Summary: freeipa-healthcheck fails to build with the latest setuptools version
Keywords:
Status: CLOSED DUPLICATE of bug 2183375
Alias: None
Product: Fedora
Classification: Fedora
Component: 389-ds-base
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: mreynolds
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2144132
TreeView+ depends on / blocked
 
Reported: 2023-03-31 00:11 UTC by Charalampos Stratakis
Modified: 2023-03-31 12:23 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2023-03-31 12:23:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Charalampos Stratakis 2023-03-31 00:11:43 UTC
freeipa-healthcheck fails to build with the latest setuptools version.

This report is automated and not very verbose, but we'll try to get back here with details.

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/cstratak/setuptools-67.5.1/fedora-rawhide-x86_64/05726524-freeipa-healthcheck/

For all our attempts to build freeipa-healthcheck with the latest setuptools, see:
https://copr.fedorainfracloud.org/coprs/cstratak/setuptools-67.5.1/package/freeipa-healthcheck/

Let us know here if you have any questions.

Comment 1 Rob Crittenden 2023-03-31 12:13:29 UTC
There is a failure to import part of lib389:

/usr/lib/python3.11/site-packages/lib389/utils.py:47: in <module>
    from pkg_resources.extern.packaging.version import LegacyVersion
E   ImportError: cannot import name 'LegacyVersion' from 'pkg_resources.extern.packaging.version' (/usr/lib/python3.11/site-packages/pkg_resources/_vendor/packaging/version.py)
During handling of the above exception, another exception occurred:
/usr/lib64/python3.11/importlib/__init__.py:126: in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
tests/test_ipa_trust.py:14: in <module>
    from ipahealthcheck.ipa.plugin import registry
src/ipahealthcheck/ipa/plugin.py:11: in <module>
    from ipaserver.install import cainstance
/usr/lib/python3.11/site-packages/ipaserver/install/cainstance.py:59: in <module>
    from ipaserver.install import dsinstance
/usr/lib/python3.11/site-packages/ipaserver/install/dsinstance.py:29: in <module>
    from lib389 import DirSrv
/usr/lib/python3.11/site-packages/lib389/__init__.py:54: in <module>
    from lib389._entry import Entry
/usr/lib/python3.11/site-packages/lib389/_entry.py:20: in <module>
    from lib389.utils import (ensure_str, ensure_bytes, ensure_list_bytes, display_log_data)
/usr/lib/python3.11/site-packages/lib389/utils.py:50: in <module>
    from packaging.version import LegacyVersion
E   ImportError: cannot import name 'LegacyVersion' from 'packaging.version' (/usr/lib/python3.11/site-packages/packaging/version.py)

Comment 2 Viktor Ashirov 2023-03-31 12:23:19 UTC

*** This bug has been marked as a duplicate of bug 2183375 ***


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