Bug 2259002

Summary: git-cola: FTBFS with python-setuptools 69.0.3 in Fedora Rawhide
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: git-colaAssignee: david08741
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rawhideCC: david08741, davvid, fedora, gui1ty, moceap, oliver
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Linux   
URL: https://koschei.fedoraproject.org/package/git-cola
Whiteboard:
Fixed In Version: git-cola-4.5.0-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-26 20:39:13 UTC Type: ---
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-18 15:04:12 UTC
Description of problem:
Package git-cola fails to build from source python-setuptools 69.0.3 in Fedora Rawhide.

Version-Release number of selected component (if applicable):
4.4.0-2.fc40

See logs:
https://download.copr.fedorainfracloud.org/results/ksurma/setuptools-69.0.3:custom:isolated/fedora-rawhide-x86_64/06907134-git-cola/builder-live.log.gz

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

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

        `dependencies = ['importlib_metadata; python_version<"3.8"', 'polib >= 1.1.1', 'PyQt5 >= 5.6.0; python_version>="3.0"', 'qtpy >= 1.1.0']`

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

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

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

!!
  _handle_missing_dynamic(dist, project_table)
/usr/lib/python3.12/site-packages/setuptools/config/_apply_pyprojecttoml.py:75: _MissingDynamic: `optional-dependencies` defined outside of `pyproject.toml` is ignored.
!!

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

        `optional-dependencies = {'testing': ['pytest >= 3.5, !=3.7.3', 'pytest-checkdocs >= 1.2.3', 'pytest-cov', 'pytest-enabler >= 1.0.1'], 'docs': ['sphinx', 'jaraco.packaging >= 9', 'rst.linker >= 1.9']}`

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

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

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


Additional info:
This seems to have been resolved upstream in https://github.com/git-cola/git-cola/commit/b53983c7fa7d29dd6f474177015fcb6f2ee0e6d1
Version 4.4.1 should include the necessary changes. Please consider updating the package.

Reproducible: Always

Comment 1 Fedora Update System 2024-01-26 20:37:02 UTC
FEDORA-2024-bf28bfba68 has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-bf28bfba68

Comment 2 Fedora Update System 2024-01-26 20:39:13 UTC
FEDORA-2024-bf28bfba68 has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.