14
0

Accepting request 1239062 from home:mcalabkova:branches:devel:languages:python

- Add pygments.patch to fix test failure with Pygments 2.19

OBS-URL: https://build.opensuse.org/request/show/1239062
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-readme_renderer?expand=0&rev=35
This commit is contained in:
2025-01-21 03:48:54 +00:00
committed by Git OBS Bridge
parent a3e097ffc4
commit dcbdd0520a
3 changed files with 103 additions and 1 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-readme_renderer
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -24,6 +24,8 @@ Summary: A library for rendering "readme" descriptions
License: Apache-2.0
URL: https://github.com/pypa/readme_renderer
Source: https://files.pythonhosted.org/packages/source/r/readme_renderer/readme_renderer-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/pypa/readme_renderer/pull/325 fix: update test outputs to fix tests fail
Patch: pygments.patch
BuildRequires: %{python_module Pygments >= 2.5.1}
BuildRequires: %{python_module cmarkgfm >= 0.7.0}
BuildRequires: %{python_module docutils >= 0.13.1}