public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Maxwell G <maxwell@gtmx.me>
To: git-commits@fedoraproject.org
Subject: [rpms/python-enrich] f44: Remove python3-setuptools-scm-git-archive dependency.
Date: Sat, 28 Nov 2026 16:04:09 GMT	[thread overview]
Message-ID: <179588184961.1.3451779371216281390.rpms-python-enrich-9b86e70582eb@fedoraproject.org> (raw)

            A new commit has been pushed.

            Repo   : rpms/python-enrich
            Branch : f44
            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=f44

            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
+

                 reply	other threads:[~2026-11-28 16:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=179588184961.1.3451779371216281390.rpms-python-enrich-9b86e70582eb@fedoraproject.org \
    --to=maxwell@gtmx.me \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox