Bug 2259644 - python-autocommand FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide)
Summary: python-autocommand FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawh...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-autocommand
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ondrej Mosnáček
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 2250718
TreeView+ depends on / blocked
 
Reported: 2024-01-22 14:19 UTC by Karolina Surma
Modified: 2024-01-22 20:06 UTC (History)
1 user (show)

Fixed In Version: python-autocommand-2.2.2-3.fc40
Clone Of:
Environment:
Last Closed: 2024-01-22 20:06:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


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