Bug 2240107 - python-setuptools_scm_git_archive is obsoleted
Summary: python-setuptools_scm_git_archive is obsoleted
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-setuptools_scm_git_archive
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Athos Ribeiro
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 2248711 2248706 2248707 2248708 2248709 2248712 2272638
Blocks: F40FTBFS PYTHON3.13 F41FTBFS, RAWHIDEFTBFS
TreeView+ depends on / blocked
 
Reported: 2023-09-21 20:07 UTC by Lumír Balhar
Modified: 2024-05-29 15:09 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Lumír Balhar 2023-09-21 20:07:24 UTC
According to upstream, this plugin is obsolete because setuptools_scm >= 7.0.0 supports Git archives by itself.

I'm opening this BZ because we're gonna update setuptools_scm to version 8 and this package will fail to build and it won't get any more fixes or updates upstream. Packages buildrequiring this plugin should be migrated to the new setuptools_scm.

Reproducible: Always

Comment 2 Miro Hrončok 2023-09-22 09:37:10 UTC
For the record:

$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-setuptools_scm_git_archive 
packit-0:0.80.0-1.fc40.src
python-aiomysql-0:0.1.1-5.fc39.src
python-animatplot-0:0.4.3-1.fc39.src
python-ansi2html-0:1.8.0-5.fc39.src
python-boutdata-0:0.1.10-4.fc39.src
python-boututils-0:0.1.10-4.fc39.src
python-enrich-0:1.2.7-8.fc39.src
python-molecule-docker-0:2.1.0-2.fc38.src
python-molecule-podman-0:2.0.3-2.fc38.src
python-ogr-0:0.46.0-1.fc40.src
python-pyclipper-0:1.2.0-10.fc39.src
python-pyocr-0:0.8.2-8.fc39.src
python-requre-0:0.8.2-6.fc39.src
python-specfile-0:0.22.0-1.fc40.src
python-xbout-0:0.3.5-8.fc39.src
rebase-helper-0:0.28.0-3.fc39.src
sagemath-0:9.8-2.fc39.src

Comment 3 Lumír Balhar 2023-09-22 12:34:52 UTC
I did an impact check with the latest setuptools_scm and even if this package fails to build, the dependants don't and seem to not be impacted.

Comment 4 Ben Beasley 2023-09-22 16:54:15 UTC
(In reply to Lumír Balhar from comment #3)
> I did an impact check with the latest setuptools_scm and even if this
> package fails to build, the dependants don't and seem to not be impacted.

Not *immediately* impacted, that is. It would be nice to file bugs on dependent packages so they don’t have to scramble to remove the dependency when this package finally stops being installable. Most upstreams will just plod on with setuptools_scm pinned to <8 rather than removing the dependency in the next few months.

Comment 5 Lumír Balhar 2023-09-22 21:30:43 UTC
This plugin is obsolete since setuptools_scm version 7 was released and built for Fedora 37 15 months ago. I will open upstream issues where appropriate but not all upstream use that plugin.

Comment 6 Lumír Balhar 2023-09-23 08:03:19 UTC
packit - issue exists since November 2022 https://github.com/packit/packit/issues/1795
python-aiomysql - issue exists since June 2022 https://github.com/aio-libs/aiomysql/issues/809
python-animatplot - new issue created https://github.com/boutproject/animatplot-ng/issues/15
python-ansi2html - no setuptools_scm_git_archive in the dependencies
python-boutdata - no setuptools_scm_git_archive in the dependencies
python-boututils - no setuptools_scm_git_archive in the dependencies
python-enrich - no setuptools_scm_git_archive in the dependencies
python-molecule-docker - archived project
python-molecule-podman - no setuptools_scm_git_archive in the dependencies
python-ogr - new issue created https://github.com/packit/ogr/issues/805
python-pyclipper - new issue created https://github.com/fonttools/pyclipper/issues/52
python-pyocr - the latest version doesn't need the plugin anymore
python-requre - new issue created https://github.com/packit/requre/issues/273
python-specfile - new issue created https://github.com/packit/specfile/issues/289
python-xbout - new issue created https://github.com/boutproject/xBOUT/issues/297
rebase-helper - new issue created https://github.com/rebase-helper/rebase-helper/issues/912
sagemath - issue created https://github.com/sagemath/sage/issues/36317

I'm gonna check the projects where the plugin is not in the list of dependencies upstream.

Comment 7 Lumír Balhar 2023-09-23 08:21:20 UTC
python-ansi2html - The latest release no longer needs it but there is no final release, only 1.9.0rc1
python-boutdata - removed upstream, not yet released
python-boututils - removed upstream, not yet released
python-enrich - removed upstream, not yet released
python-molecule-podman - the project is archived but there is one release newer than what we have in Fedora and it doesn't require the plugin

Comment 8 Ben Beasley 2023-09-23 12:16:40 UTC
Nice! Thank you.

Comment 9 Karolina Surma 2023-10-26 09:46:46 UTC
This package has stopped building in Rawhide, there are still some packages that BuildRequire it:

❯ repoquery -q --repo=rawhide{,-source} --whatrequires python3-setuptools_scm_git_archive 
packit-0:0.84.0-1.fc40.src
python-aiomysql-0:0.1.1-5.fc39.src
python-ansi2html-0:1.8.0-5.fc39.src
python-boutdata-0:0.1.10-4.fc39.src
python-boututils-0:0.1.10-4.fc39.src
python-enrich-0:1.2.7-8.fc39.src
python-pyclipper-0:1.2.0-10.fc39.src
python-requre-0:0.8.2-6.fc39.src
python-xbout-0:0.3.5-8.fc39.src
rebase-helper-0:0.28.0-3.fc39.src

I'm adding FTBFS40 and PYTHON3.13 blockers for now to increase visibility.
Let's then iterate on the packages and try to get rid of the dependency.

Comment 10 Aoife Moloney 2024-02-15 22:58:14 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Comment 11 Miro Hrončok 2024-04-02 11:00:47 UTC
$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-setuptools_scm_git_archive
python-ansi2html-0:1.8.0-7.fc40.src
python-boututils-0:0.2.1-3.fc40.src
python-pyclipper-0:1.2.0-10.fc39.src
python-trx-python-0:0.2.9-1.fc41.src
python-xbout-0:0.3.5-8.fc39.src


Looks like python-trx-python is new in the list.

Comment 12 Miro Hrončok 2024-04-02 15:27:02 UTC
All the remaining dependents have upstream fixes available (and linked in Bugzilla). I suggest we announce the intent to retire this package in a ~week and then do it. Making the package FTBFS before the actual Python 3.13 update will reduce the amount of unrelated breakage once the update is actually happening.

Comment 13 Ben Beasley 2024-04-02 16:33:11 UTC
(In reply to Miro Hrončok from comment #11)
> Looks like python-trx-python is new in the list.

Fixed.

Comment 14 Karolina Surma 2024-05-28 09:41:58 UTC
(In reply to Miro Hrončok from comment #12)
> All the remaining dependents have upstream fixes available (and linked in
> Bugzilla). I suggest we announce the intent to retire this package in a
> ~week and then do it. Making the package FTBFS before the actual Python 3.13
> update will reduce the amount of unrelated breakage once the update is
> actually happening.

Should we do this now extending the provenpackers rights? The admins of the package have not been active in the conversation and it's not one of the @python-packagers-sig packages.

Comment 15 Miro Hrončok 2024-05-28 10:46:11 UTC
Considering the planned time of the Python 3.13 rebuild, I'd say it no longer gains us much benefit.

Comment 16 Miro Hrončok 2024-05-28 10:47:50 UTC
$ repoquery -q --repo=rawhide{,-source} --whatrequires python3-setuptools_scm_git_archive
python-ansi2html-0:1.8.0-7.fc40.src
python-pyclipper-0:1.2.0-10.fc39.src

Comment 17 Athos Ribeiro 2024-05-29 15:09:24 UTC
python-pyclipper no longer requires python3-setuptools_scm_git_archive. Thanks, Miro.


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