Compare commits
2 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d8c611ff95 | |||
| ad661aa8f2 |
BIN
enrich-1.2.7.tar.gz
LFS
Normal file
BIN
enrich-1.2.7.tar.gz
LFS
Normal file
Binary file not shown.
@@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:1bb0eb2dd3e1419d7d668f74a6132e50275cbaa603c2257877ab185702fe5aab
|
|
||||||
size 11615
|
|
||||||
@@ -1,30 +1,3 @@
|
|||||||
-------------------------------------------------------------------
|
|
||||||
Thu Nov 27 02:50:49 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
|
||||||
|
|
||||||
- Add patch support-pytest-9.patch:
|
|
||||||
* Support pytest 9 pyproject changes.
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
|
||||||
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:
|
|
||||||
* Require python 3.9 or newer (#67)
|
|
||||||
* Externalize package requirments (#65)
|
|
||||||
* RichHandler add omit_repeated_times parameter (#62)
|
|
||||||
* Adopt PEP-621 (#57)
|
|
||||||
* Move tests outside package (#56)
|
|
||||||
* Remove mock from test dependencies (#46)
|
|
||||||
* Update build-system requirement for setuptools-scm to >=7.0.0 (#45)
|
|
||||||
* Packaging fixes (#48)
|
|
||||||
* Enable support for python 3.11 (#42)
|
|
||||||
* Temporary pin down rich version (#43)
|
|
||||||
- Adapt remove_setuptools_scm.patch
|
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon May 26 12:47:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
Mon May 26 12:47:47 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
@@ -42,11 +15,11 @@ Fri May 5 11:56:47 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
|
|||||||
- add sle15_python_module_pythons
|
- add sle15_python_module_pythons
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Jan 28 16:31:22 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
Fri Jan 28 16:31:22 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
- add remove_setuptools_scm.patch to get rid of setuptools-scm and fix the version
|
- add remove_setuptools_scm.patch to get rid of setuptools-scm and fix the version
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jan 23 11:49:58 UTC 2022 - Sebastian Wagner <sebix@sebix.at>
|
Sun Jan 23 11:49:58 UTC 2022 - Sebastian Wagner <sebix+novell.com@sebix.at>
|
||||||
|
|
||||||
- initial package for version 1.2.7
|
- initial package for version 1.2.7
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-enrich
|
# spec file for package python-enrich
|
||||||
#
|
#
|
||||||
# Copyright (c) 2025 SUSE LLC and contributors
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -18,18 +18,13 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-enrich
|
Name: python-enrich
|
||||||
Version: 1.3.0
|
Version: 1.2.7
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extends the python-rich library functionality
|
Summary: Extends the python-rich library functionality
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: https://github.com/pycontribs/enrich
|
URL: https://github.com/pycontribs/enrich
|
||||||
Source0: https://github.com/pycontribs/enrich/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/e/enrich/enrich-%{version}.tar.gz
|
||||||
# PATCH-FIX-OPENSUSE remove_setuptools_scm.patch -- remove dependency on setuptools-scm
|
|
||||||
Patch0: remove_setuptools_scm.patch
|
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
|
|
||||||
# PATCH-FIX-UPSTREAM gh#pycontribs/enrich#74
|
|
||||||
Patch2: support-pytest-9.patch
|
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
BuildRequires: %{python_module pytest-mock}
|
BuildRequires: %{python_module pytest-mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
@@ -47,8 +42,9 @@ Extends the python-rich library functionality
|
|||||||
with a set of changes that were not accepted to rich itself.
|
with a set of changes that were not accepted to rich itself.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n enrich-%{version} -p1
|
%autosetup -p1 -n enrich-%{version}
|
||||||
sed -i 's/__VERSION__/%{version}/' pyproject.toml
|
sed -i 's/__VERSION__/%{version}/' setup.py
|
||||||
|
sed -i '/_scm/ d' setup.cfg
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%pyproject_wheel
|
%pyproject_wheel
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
--- 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,19 +1,11 @@
|
|||||||
--- a/pyproject.toml 2024-06-14 14:49:49.000000000 +0200
|
--- enrich-1.2.7/setup.py 2022-01-28 17:29:54.476189319 +0100
|
||||||
+++ b/pyproject.toml 2025-09-08 22:56:54.944216329 +0200
|
+++ enrich-1.2.7/setup1.py 2022-01-28 17:29:45.739753919 +0100
|
||||||
@@ -1,14 +1,14 @@
|
@@ -12,6 +12,6 @@
|
||||||
[build-system]
|
|
||||||
requires = [
|
|
||||||
"setuptools >= 65.3.0", # required by pyproject+setuptools_scm integration and editable installs
|
|
||||||
- "setuptools_scm[toml] >= 7.0.5", # required for "no-local-version" scheme
|
|
||||||
]
|
|
||||||
build-backend = "setuptools.build_meta"
|
|
||||||
|
|
||||||
[project]
|
if __name__ == "__main__":
|
||||||
# https://peps.python.org/pep-0621/#readme
|
setuptools.setup(
|
||||||
requires-python = ">=3.9"
|
- use_scm_version={"local_scheme": "no-local-version"},
|
||||||
-dynamic = ["version", "dependencies", "optional-dependencies"]
|
- setup_requires=["setuptools_scm[toml]>=3.5.0"],
|
||||||
+version = "__VERSION__"
|
+ name='enrich',
|
||||||
+dynamic = ["dependencies", "optional-dependencies"]
|
+ version='__VERSION__',
|
||||||
name = "enrich"
|
)
|
||||||
description = "enrich"
|
|
||||||
readme = "README.md"
|
|
||||||
|
|||||||
@@ -1,24 +0,0 @@
|
|||||||
From 5169008811ad2837ab4240bee87e0de7e10036d7 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Steve Kowalik <steven@wedontsleep.org>
|
|
||||||
Date: Thu, 27 Nov 2025 13:47:48 +1100
|
|
||||||
Subject: [PATCH] chore: Support pytest 9
|
|
||||||
|
|
||||||
Since pytest 9 now assumes TOML formatting for tool.pytest configuration
|
|
||||||
sections, use the ini style for now.
|
|
||||||
---
|
|
||||||
pyproject.toml | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/pyproject.toml b/pyproject.toml
|
|
||||||
index 530c296..f99ca04 100644
|
|
||||||
--- a/pyproject.toml
|
|
||||||
+++ b/pyproject.toml
|
|
||||||
@@ -62,7 +62,7 @@ warn_redundant_casts = true
|
|
||||||
warn_return_any = true
|
|
||||||
warn_unused_configs = true
|
|
||||||
|
|
||||||
-[tool.pytest]
|
|
||||||
+[tool.pytest.ini_options]
|
|
||||||
addopts = "--doctest-modules --durations 10 --durations-min=3 --color=yes"
|
|
||||||
doctest_optionflags = ["ALLOW_UNICODE", "ELLIPSIS"]
|
|
||||||
norecursedirs = "dist doc build .tox .eggs"
|
|
||||||
Reference in New Issue
Block a user