public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: releng-bot <releng-bot@fedoraproject.org>
To: git-commits@fedoraproject.org
Subject: [rpms/python-enrich] rawhide: Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/2135
Date: Sat, 28 Nov 2026 15:45:53 GMT [thread overview]
Message-ID: <179588075370.1.15787251592017552512.rpms-python-enrich-974c5859d5bd@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/python-enrich
Branch : rawhide
Commit : 974c5859d5bd9cd98dffe2391bdd858ef90dac16
Author : releng-bot <releng-bot@fedoraproject.org>
Date : 2026-11-28T15:45:50+00:00
Stats : +201/-1 in 10 file(s)
URL : https://src.fedoraproject.org/rpms/python-enrich/c/974c5859d5bd9cd98dffe2391bdd858ef90dac16?branch=rawhide
Log:
Unretirement request: https://forge.fedoraproject.org/releng/fedora-scm-requests/issues/2135
---
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..14f7a6b
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,2 @@
+/enrich-1.2.6.tar.gz
+/enrich-1.2.7.tar.gz
diff --git a/0001-remove-unsuported-pytest-option.patch b/0001-remove-unsuported-pytest-option.patch
new file mode 100644
index 0000000..24778cf
--- /dev/null
+++ b/0001-remove-unsuported-pytest-option.patch
@@ -0,0 +1,11 @@
+--- a/setup.cfg 2020-12-22 11:33:09.339309497 +0100
++++ b/setup.cfg 2020-12-22 11:37:33.467283884 +0100
+@@ -77,7 +77,7 @@
+ *.pyi
+
+ [tool:pytest]
+-addopts = --doctest-modules --durations 10 --durations-min=3 --color=yes
++addopts = --doctest-modules --durations 10 --color=yes
+ doctest_optionflags = ALLOW_UNICODE ELLIPSIS
+ norecursedirs = dist doc build .tox .eggs
+ testpaths = src
diff --git a/0002_remove_pytest_plus_dependency.patch b/0002_remove_pytest_plus_dependency.patch
new file mode 100644
index 0000000..823411a
--- /dev/null
+++ b/0002_remove_pytest_plus_dependency.patch
@@ -0,0 +1,10 @@
+--- a/setup.cfg 2022-09-16 13:56:24.309668920 +0100
++++ b/setup.cfg 2022-09-16 13:56:59.415026607 +0100
+@@ -65,7 +65,6 @@
+ mock>=3.0.5
+ pytest-cov>=2.7.1
+ pytest-mock>=3.3.1
+- pytest-plus
+ pytest-xdist>=1.29.0
+ pytest>=5.4.0
+
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..a5ae712
--- /dev/null
+++ b/README.md
@@ -0,0 +1,3 @@
+# python-enrich
+
+The python-enrich package
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..1d6502f
--- /dev/null
+++ b/changelog
@@ -0,0 +1,27 @@
+* Fri Sep 16 2022 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.2.7-5
+- Disabling faulty test and modernizing the spec file
+
+* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-4
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
+
+* Tue Jun 14 2022 Python Maint <python-maint@redhat.com> - 1.2.7-3
+- Rebuilt for Python 3.11
+
+* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.7-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
+
+* Thu Jan 13 2022 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.2.7-1
+- Update to version 1.2.7 (#2038962)
+
+* Tue Jul 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-4
+- Second attempt - Rebuilt for
+ https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
+
+* Fri Jun 04 2021 Python Maint <python-maint@redhat.com> - 1.2.6-3
+- Rebuilt for Python 3.10
+
+* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.6-2
+- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
+
+* Tue Dec 22 2020 Chedi Toueiti <chedi.toueiti@gmail.com> - 1.2.6-1
+- Initial commit
diff --git a/dead.package b/dead.package
deleted file mode 100644
index 5204a84..0000000
--- a/dead.package
+++ /dev/null
@@ -1 +0,0 @@
-Orphaned for 6+ weeks
diff --git a/python-enrich.spec b/python-enrich.spec
new file mode 100644
index 0000000..0a129ea
--- /dev/null
+++ b/python-enrich.spec
@@ -0,0 +1,66 @@
+%global srcname enrich
+%global pkgname python-enrich
+%global forge_url https://github.com/pycontribs/%{srcname}
+%global common_description %{expand:
+rich library functionality with a set of changes that were not accepted
+to rich itself.
+}
+
+%bcond_without tests
+
+Name: %{pkgname}
+Version: 1.2.7
+%forgemeta
+Release: %autorelease
+Summary: Enrich adds few missing features to the wonderful rich library
+URL: %{forge_url}
+Source: %{pypi_source}
+License: MIT
+BuildArch: noarch
+patch: 0001-remove-unsuported-pytest-option.patch
+patch: 0002_remove_pytest_plus_dependency.patch
+# Backport of:
+# 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
+
+%description %{common_description}
+
+%package -n python3-%{srcname}
+Summary: %summary
+
+%description -n python3-%{srcname} %{common_description}
+
+%prep
+%autosetup -p1 -n %{srcname}-%{version}
+
+%generate_buildrequires
+%pyproject_buildrequires -r %{?with_tests: -x test}
+
+%build
+%pyproject_wheel
+
+%install
+%pyproject_install
+%pyproject_save_files %{srcname}
+
+%if %{with tests}
+%check
+PYTHONPATH=src %{python3} -m pytest src/enrich/test -v -k "not test_rich_console_ex"
+%endif
+
+%files -n python3-%{srcname}
+%license LICENSE
+%{python3_sitelib}/enrich/
+%{python3_sitelib}/enrich-%{version}.dist-info/
+
+%changelog
+%autochangelog
diff --git a/remove-python-mock.patch b/remove-python-mock.patch
new file mode 100644
index 0000000..75b20ec
--- /dev/null
+++ b/remove-python-mock.patch
@@ -0,0 +1,23 @@
+From 916c074099c75d02cf1436462710baf63b0709bc Mon Sep 17 00:00:00 2001
+From: David Runge <dave@sleepmap.de>
+Date: Thu, 1 Dec 2022 14:42:27 +0100
+Subject: [PATCH] Remove mock from test dependencies (#46)
+
+Co-authored-by: Sorin Sbarnea <sorin.sbarnea@gmail.com>
+---
+ setup.cfg | 1 -
+ 1 file changed, 1 deletion(-)
+
+diff --git a/setup.cfg b/setup.cfg
+index a0a8c61..5c995cc 100644
+--- a/setup.cfg
++++ b/setup.cfg
+@@ -62,8 +62,7 @@ install_requires =
+
+ [options.extras_require]
+ test =
+- mock>=3.0.5
+ pytest-cov>=2.7.1
+ pytest-mock>=3.3.1
+ pytest-xdist>=1.29.0
+ pytest>=5.4.0
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
+
diff --git a/sources b/sources
new file mode 100644
index 0000000..b6fd8b3
--- /dev/null
+++ b/sources
@@ -0,0 +1 @@
+SHA512 (enrich-1.2.7.tar.gz) = 4e3d8598e82d7d013ff74dd325be02245086159fef819431a1ba7505e2e1557992ccbefc0b5a37d0e81487b4e378bef02179c6b74fd50528d6710ff297f0832a
reply other threads:[~2026-11-28 15:45 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=179588075370.1.15787251592017552512.rpms-python-enrich-974c5859d5bd@fedoraproject.org \
--to=releng-bot@fedoraproject.org \
--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