17
0

12 Commits

Author SHA256 Message Date
e3c005830d Accepting request 1315694 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1315694
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=58
2025-11-07 17:19:25 +00:00
0695aff0ff - update to version 3.10
- increase the minimum python version to 3.10 as required by upstream
- stop requiring importlib-metadata: it was only needed for python < 3.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=116
2025-11-05 10:22:51 +00:00
6feee112f6 Accepting request 1303175 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1303175
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=57
2025-09-10 15:29:34 +00:00
f307ad0975 - update to version 3.9
- increase the minimum python version to 3.9 as required by upstream
- drop fix-py314.patch: fixed upstream

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=114
2025-09-08 10:17:17 +00:00
fd38e31626 Accepting request 1300744 from devel:languages:python
- Convert to libalternatives on SLE-16-based and newer systems only

OBS-URL: https://build.opensuse.org/request/show/1300744
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=56
2025-08-22 15:46:57 +00:00
4738bd322a - Convert to libalternatives on SLE-16-based and newer systems only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=112
2025-08-21 09:31:19 +00:00
0142136134 Accepting request 1299147 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1299147
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=55
2025-08-13 14:23:27 +00:00
9cf6958d47 - Add fix-py314.patch to fix failing tests on 3.14.* or 3.13.6+
(gh#Python-Markdown/markdown#1547).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=110
2025-08-12 20:30:50 +00:00
57080521f5 Accepting request 1298181 from devel:languages:python
Forwarded request #1298010 from benoit_monin

set the minimum version of setuptools to 77.0 to match upstream pyproject.toml

OBS-URL: https://build.opensuse.org/request/show/1298181
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=54
2025-08-09 17:58:44 +00:00
332a35be5e set the minimum version of setuptools to 77.0 to match upstream pyproject.toml
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=108
2025-08-07 16:08:56 +00:00
f7c02c0b85 Accepting request 1291952 from devel:languages:python
- Convert to libalternatives

OBS-URL: https://build.opensuse.org/request/show/1291952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-Markdown?expand=0&rev=53
2025-07-15 14:42:35 +00:00
46514c9bbf - Convert to libalternatives
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Markdown?expand=0&rev=106
2025-07-11 10:57:25 +00:00
4 changed files with 77 additions and 13 deletions

3
markdown-3.10.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:37062d4f2aa4b2b6b32aefb80faa300f82cc790cb949a35b8caede34f2b68c0e
size 364931

Binary file not shown.

View File

@@ -1,3 +1,56 @@
-------------------------------------------------------------------
Tue Nov 4 19:45:00 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 3.10:
* Officially support Python 3.14 and PyPy 3.11 and drop support
for Python 3.9 and PyPy 3.9.
* Fix an HTML comment parsing case in some Python versions that
can cause an infinite loop (#1554).
* Revert the default behavior of USE_DEFINITION_ORDER (to True).
The new behavior introduced in 3.9.0 is experimental and
results are inconsistent. It should not have been made the
default behavior (#1561).
- increase the minimum python version to 3.10 as required by
upstream
- stop requiring importlib-metadata:
it was only needed for python < 3.10
-------------------------------------------------------------------
Fri Sep 5 15:36:45 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to version 3.9:
* Footnotes are now ordered by the occurrence of their references
in the document (#1367).
* Ensure inline processing iterates through elements in document
order (#1546).
* Fix handling of incomplete HTML tags in code spans in Python
3.14 (#1547).
- increase the minimum python version to 3.9 as required by
upstream
- drop fix-py314.patch: fixed upstream
-------------------------------------------------------------------
Thu Aug 21 09:30:43 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives on SLE-16-based and newer systems only
-------------------------------------------------------------------
Tue Aug 12 18:28:43 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
- Add fix-py314.patch to fix failing tests on 3.14.* or 3.13.6+
(gh#Python-Markdown/markdown#1547).
-------------------------------------------------------------------
Wed Aug 6 18:16:02 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- set the minimum version of setuptools to 77.0 to match upstream
pyproject.toml
-------------------------------------------------------------------
Fri Jul 11 10:56:26 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Convert to libalternatives
-------------------------------------------------------------------
Thu Jun 19 19:01:44 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Markdown
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%{?sle15_python_module_pythons}
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
@@ -26,8 +25,14 @@
%define psuffix %{nil}
%bcond_with test
%endif
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-Markdown%{psuffix}
Version: 3.8.2
Version: 3.10
Release: 0
Summary: Python implementation of Markdown
License: BSD-3-Clause
@@ -35,21 +40,24 @@ Group: Development/Languages/Python
URL: https://python-markdown.github.io/
Source: https://files.pythonhosted.org/packages/source/m/markdown/markdown-%{version}.tar.gz
Patch0: markdown-3.0-python37.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module importlib-metadata >= 4.4 if %python-base < 3.10}
BuildRequires: %{python_module base >= 3.10}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module setuptools >= 77.0}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildArch: noarch
%if %{with libalternatives}
BuildRequires: alts
Requires: alts
%else
Requires(post): update-alternatives
Requires(postun): update-alternatives
%endif
%if %{with test}
BuildRequires: %{python_module Markdown = %{version}}
BuildRequires: %{python_module PyYAML}
%endif
Requires: (python-importlib-metadata >= 4.4 if python-base < 3.10)
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
%python_subpackages
%description
@@ -87,6 +95,9 @@ supported by the [Available Extensions][].
%postun
%python_uninstall_alternative markdown_py
%pre
%python_libalternatives_reset_alternative markdown_py
%files %{python_files}
%license LICENSE.md
%doc README.md docs/*