Bug 2259644

Summary: python-autocommand FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide)
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-autocommandAssignee: Ondrej Mosnáček <omosnacek>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: omosnacek
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-autocommand-2.2.2-3.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-22 20:06:19 UTC Type: Bug
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: 2250718    

Description Karolina Surma 2024-01-22 14:19:27 UTC
python-autocommand FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide).

/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `license` defined outside of `pyproject.toml` is ignored.
!!

        ********************************************************************************
        The following seems to be defined outside of `pyproject.toml`:

        `license = 'LGPLv3'`

        According to the spec (see the link below), however, setuptools CANNOT
        consider this value unless `license` is listed as `dynamic`.

        https://packaging.python.org/en/latest/specifications/declaring-project-metadata/

        To prevent this problem, you can list `license` under `dynamic` or alternatively
        remove the `[project]` table from your file and rely entirely on other means of
        configuration.
        ********************************************************************************

Build logs:
https://download.copr.fedorainfracloud.org/results/ksurma/setuptools-69.0.3:custom:isolated/fedora-rawhide-x86_64/06907257-python-autocommand/builder-live.log.gz

All build attempts:
https://copr.fedorainfracloud.org/coprs/ksurma/setuptools-69.0.3/package/python-autocommand/

Comment 2 Ondrej Mosnáček 2024-01-22 17:02:02 UTC
Thanks for the report! Can you please check if this PR fixes it?
https://src.fedoraproject.org/rpms/python-autocommand/pull-request/2

Comment 3 Karolina Surma 2024-01-22 19:41:30 UTC
Hello, yes, it does: https://copr.fedorainfracloud.org/coprs/ksurma/setuptools-69.0.3/build/6940566/

Comment 4 Ondrej Mosnáček 2024-01-22 19:55:01 UTC
Great :) I'll merge it and build then.

Comment 5 Fedora Update System 2024-01-22 20:04:53 UTC
FEDORA-2024-2e17f145ce has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-2e17f145ce

Comment 6 Fedora Update System 2024-01-22 20:06:19 UTC
FEDORA-2024-2e17f145ce has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.