15
0

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

- Add pygments.patch to fix test failure with new pygments

- Update to 4.1.0
  * Incompatible change: Python 3.9 is no longer supported
  * Made the order of Markdown extensions deterministic
  * Adopted ruff for code quality checks and auto-formatting

OBS-URL: https://build.opensuse.org/request/show/1239543
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markups?expand=0&rev=21
This commit is contained in:
2025-01-23 17:49:03 +00:00
committed by Git OBS Bridge
parent 43342082f9
commit e274121fd6
5 changed files with 45 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Markups
#
# 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
@@ -17,12 +17,14 @@
Name: python-Markups
Version: 4.0.0
Version: 4.1.0
Release: 0
Summary: A wrapper around various text markups
License: BSD-3-Clause
URL: https://github.com/mitya57/pymarkups
Source: https://files.pythonhosted.org/packages/source/M/Markups/Markups-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/m/markups/markups-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/retext-project/pymarkups/pull/20 adapt to Pygments 2.19
Patch: pygments.patch
BuildRequires: %{python_module Markdown >= 3}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module Pygments}
@@ -45,7 +47,7 @@ This module provides a wrapper around the various text markup languages,
such as Markdown and reStructuredText (these two are supported by default).
%prep
%autosetup -p1 -n Markups-%{version}
%autosetup -p1 -n markups-%{version}
%build
%pyproject_wheel