public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-enrich] f45: Remove python3-setuptools-scm-git-archive dependency.
@ 2026-11-28 16:03 Maxwell G
  0 siblings, 0 replies; only message in thread
From: Maxwell G @ 2026-11-28 16:03 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : rpms/python-enrich
            Branch : f45
            Commit : 9b86e70582ebb935e1c3badbd6b15ab4d561c8ce
            Author : Maxwell G <maxwell@gtmx.me>
            Date   : 2024-01-12T22:01:03+00:00
            Stats  : +63/-0 in 2 file(s)
            URL    : https://src.fedoraproject.org/rpms/python-enrich/c/9b86e70582ebb935e1c3badbd6b15ab4d561c8ce?branch=f45

            Log:
            Remove python3-setuptools-scm-git-archive dependency.

- Fixes: rhbz#2248708

---
diff --git a/python-enrich.spec b/python-enrich.spec
index 480a630..0a129ea 100644
--- a/python-enrich.spec
+++ b/python-enrich.spec
@@ -23,6 +23,11 @@ patch:          0002_remove_pytest_plus_dependency.patch
 # Remove mock from test dependencies (#46)
 # https://github.com/pycontribs/enrich/commit/6a21526fed438cdcd3ee0f9be27d8348293adcee
 Patch:          remove-python-mock.patch
+# https://bugzilla.redhat.com/show_bug.cgi?id=2248708
+# Backport of:
+# Update build-system requirement for setuptools-scm to >=7.0.0 (#45)
+# https://github.com/pycontribs/enrich/commit/6a21526fed438cdcd3ee0f9be27d8348293adcee
+Patch:          remove-setuptools-scm-git-archive.patch
 
 BuildRequires:  python3-devel
 BuildRequires:  pyproject-rpm-macros

diff --git a/remove-setuptools-scm-git-archive.patch b/remove-setuptools-scm-git-archive.patch
new file mode 100644
index 0000000..3bd4b89
--- /dev/null
+++ b/remove-setuptools-scm-git-archive.patch
@@ -0,0 +1,58 @@
+From a3611c8d1d9e5b0aa58ee3e47c78013c5be36ec5 Mon Sep 17 00:00:00 2001
+From: David Runge <dave@sleepmap.de>
+Date: Thu, 1 Dec 2022 14:39:54 +0100
+Subject: [PATCH] Update build-system requirement for setuptools-scm to >=7.0.0
+ (#45)
+
+Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
+---
+ pyproject.toml | 7 ++-----
+ setup.cfg      | 3 +--
+ setup.py       | 2 +-
+ 3 files changed, 4 insertions(+), 8 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index 1b5986b..00ccf01 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,10 +1,7 @@
+ [build-system]
+ requires = [
+-  "pip >= 19.3.1",
+-  "setuptools >= 42",
+-  "setuptools_scm[toml] >= 3.5.0",
+-  "setuptools_scm_git_archive >= 1.1",
+-  "wheel >= 0.33.6",
++  "setuptools >= 45",
++  "setuptools_scm[toml] >= 7.0.0",
+ ]
+ build-backend = "setuptools.build_meta"
+ 
+diff --git a/setup.cfg b/setup.cfg
+index 0fc8d3f..847617e 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -55,8 +55,7 @@ packages = find:
+ include_package_data = True
+ zip_safe = False
+ setup_requires = 
+-	setuptools_scm >= 1.15.0
+-	setuptools_scm_git_archive >= 1.0
++	setuptools_scm[toml]>=7.0.0
+ install_requires = 
+ 	rich >= 9.5.1
+ 
+diff --git a/setup.py b/setup.py
+index d58a575..17927f7 100644
+--- a/setup.py
++++ b/setup.py
+@@ -13,5 +13,5 @@ site.ENABLE_USER_SITE = "--user" in sys.argv[1:]
+ if __name__ == "__main__":
+     setuptools.setup(
+         use_scm_version={"local_scheme": "no-local-version"},
+-        setup_requires=["setuptools_scm[toml]>=3.5.0"],
++        setup_requires=["setuptools_scm[toml]>=7.0.0"],
+     )
+-- 
+2.43.0
+

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-11-28 16:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-28 16:03 [rpms/python-enrich] f45: Remove python3-setuptools-scm-git-archive dependency Maxwell G

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox