Bug 2259002 - git-cola: FTBFS with python-setuptools 69.0.3 in Fedora Rawhide
Summary: git-cola: FTBFS with python-setuptools 69.0.3 in Fedora Rawhide
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: git-cola
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: david08741
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: 2250718
TreeView+ depends on / blocked
 
Reported: 2024-01-18 15:04 UTC by Karolina Surma
Modified: 2024-01-26 20:39 UTC (History)
6 users (show)

Fixed In Version: git-cola-4.5.0-1.fc40
Clone Of:
Environment:
Last Closed: 2024-01-26 20:39:13 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Fedora Package Sources git-cola pull-request 8 0 None None None 2024-01-25 21:21:24 UTC

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.


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