Bug 2259653

Summary: python-vkbasalt-cli FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide)
Product: [Fedora] Fedora Reporter: Karolina Surma <ksurma>
Component: python-vkbasalt-cliAssignee: Sandro <gui1ty>
Status: CLOSED ERRATA QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: gui1ty
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: python-vkbasalt-cli-3.1.1.post2-1.fc40 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2024-01-25 15:00:33 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:38:18 UTC
python-vkbasalt-cli FTBFS with python-setuptools 69.0.3 (coming to Fedora Rawhide).

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

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

          `scripts = ['vkbasalt=vkbasalt.cli:vkbasalt_cli']`

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

          https://packaging.python.org/en/latest/specifications/pyproject-toml/#declaring-project-metadata-the-project-table

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

This results in:
    File not found: /builddir/build/BUILDROOT/python-vkbasalt-cli-3.1.1.post1-3.fc40.x86_64/usr/bin/vkbasalt


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

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

Comment 1 Fedora Update System 2024-01-25 14:53:40 UTC
FEDORA-2024-ff1bf9d08e has been submitted as an update to Fedora 40. https://bodhi.fedoraproject.org/updates/FEDORA-2024-ff1bf9d08e

Comment 2 Fedora Update System 2024-01-25 15:00:33 UTC
FEDORA-2024-ff1bf9d08e has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.