forked from pool/python-enrich
- Add remove_rich_constraint.patch
remove the constraint on rich < 12.5, the tests also succeed with rich 14.0 https://github.com/pycontribs/enrich/issues/40 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-enrich?expand=0&rev=10
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Sep 17 15:17:44 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
- Add remove_rich_constraint.patch
|
||||
remove the constraint on rich < 12.5, the tests also succeed with rich 14.0 https://github.com/pycontribs/enrich/issues/40
|
||||
-------------------------------------------------------------------
|
||||
Mon Sep 8 20:48:59 UTC 2025 - Sebastian Wagner <sebix@sebix.at>
|
||||
|
||||
- Update to version 1.3.0:
|
||||
|
||||
@@ -24,7 +24,10 @@ Summary: Extends the python-rich library functionality
|
||||
License: MIT
|
||||
URL: https://github.com/pycontribs/enrich
|
||||
Source0: https://github.com/pycontribs/enrich/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
# PATCH-FIX-OPENSUSE remove_setuptools_scm.patch -- remove dependency on setuptools-scm
|
||||
Patch0: remove_setuptools_scm.patch
|
||||
# PATCH-FIX-UPSTREAM remove_rich_constraint.patch -- remove the constraint on rich < 12.5, the tests also succeed with rich 14.0 https://github.com/pycontribs/enrich/issues/40
|
||||
Patch1: remove_rich_constraint.patch
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module pytest-mock}
|
||||
BuildRequires: %{python_module pytest}
|
||||
@@ -42,7 +45,7 @@ Extends the python-rich library functionality
|
||||
with a set of changes that were not accepted to rich itself.
|
||||
|
||||
%prep
|
||||
%autosetup -n enrich-%{version}
|
||||
%autosetup -n enrich-%{version} -p1
|
||||
sed -i 's/__VERSION__/%{version}/' pyproject.toml
|
||||
|
||||
%build
|
||||
|
||||
5
remove_rich_constraint.patch
Normal file
5
remove_rich_constraint.patch
Normal file
@@ -0,0 +1,5 @@
|
||||
--- a/.config/requirements.in 2024-06-14 14:49:49.000000000 +0200
|
||||
+++ b/.config/requirements.in 2025-09-17 17:15:41.785371328 +0200
|
||||
@@ -1 +1 @@
|
||||
-rich>=10.0.0,<12.5.0 # https://github.com/pycontribs/enrich/issues/40
|
||||
+rich>=10.0.0
|
||||
@@ -1,5 +1,5 @@
|
||||
--- pyproject.toml 2024-06-14 14:49:49.000000000 +0200
|
||||
+++ pyproject.toml 2025-09-08 22:56:54.944216329 +0200
|
||||
--- a/pyproject.toml 2024-06-14 14:49:49.000000000 +0200
|
||||
+++ b/pyproject.toml 2025-09-08 22:56:54.944216329 +0200
|
||||
@@ -1,14 +1,14 @@
|
||||
[build-system]
|
||||
requires = [
|
||||
|
||||
Reference in New Issue
Block a user