Bug 2239998 - python-d2to1 is uncompatible with the latest setuptools
Summary: python-d2to1 is uncompatible with the latest setuptools
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-d2to1
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Sergio Pascual
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 2208644
TreeView+ depends on / blocked
 
Reported: 2023-09-21 07:45 UTC by Lumír Balhar
Modified: 2023-09-27 09:19 UTC (History)
4 users (show)

Fixed In Version: python-d2to1-0.2.12-28.post1.fc40
Clone Of:
Environment:
Last Closed: 2023-09-27 09:19:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2023-09-21 07:45:48 UTC
We are working on updating python-setuptools to its latest version and it seems that the d2to1 package is not compatible with it.

The problem is:

  File "/usr/lib/python3.12/site-packages/d2to1/core.py", line 30, in d2to1
    from setuptools.dist import _get_unpatched
ImportError: cannot import name '_get_unpatched' from 'setuptools.dist' (/usr/lib/python3.12/site-packages/setuptools/dist.py). Did you mean: 'get_unpatched'?

The alias `_get_unpatched` is no longer available but the function is without the private prefix in the name.

I'd propose a fix upstream but the github repo has been archived since 2020.

COPR build: https://copr.fedorainfracloud.org/coprs/lbalhar/python-setuptools/build/6427223/

Reproducible: Always

Comment 2 Fedora Update System 2023-09-27 09:17:03 UTC
FEDORA-2023-c8fd199fdc has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2023-c8fd199fdc

Comment 3 Fedora Update System 2023-09-27 09:19:44 UTC
FEDORA-2023-c8fd199fdc has been pushed to the Fedora 40 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.