17
0

Compare commits

18 Commits

Author SHA256 Message Date
a28944ee6e Accepting request 1296247 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1296247
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=15
2025-07-30 09:44:43 +00:00
17232444ba Accepting request 1296201 from home:benoit_monin:branches:devel:languages:python
update to 10.16.1

OBS-URL: https://build.opensuse.org/request/show/1296201
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=32
2025-07-29 07:31:31 +00:00
ddd112c618 Accepting request 1287797 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1287797
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=14
2025-06-23 13:05:17 +00:00
b2fbdc4c75 Accepting request 1287598 from home:benoit_monin:branches:devel:languages:python
- update to 10.16
- increase minimal python version to 3.9

OBS-URL: https://build.opensuse.org/request/show/1287598
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=30
2025-06-23 05:37:38 +00:00
6dd249a381 Accepting request 1273168 from devel:languages:python
- update to 10.15:
  * **NEW**: SuperFences: Add `relaxed_headers` option which
    can tolerate bad content in the fenced code header. When
    enabled, code blocks with bad content in the header will
    likely still convert into code blocks, often respecting
    the specified language.
  * **NEW**: Add type hints to the Blocks interface and a few
    additional files.
  * **FIX**: Blocks: Fix some corner cases of nested blocks
    with lists.
  * **FIX**: Tab and Tabbed: Fix a case where tabs could fail
    if `combine_header_slug` was enabled and there was no
    header.

OBS-URL: https://build.opensuse.org/request/show/1273168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=13
2025-04-29 14:40:02 +00:00
352ea46677 - update to 10.15:
* **NEW**: SuperFences: Add `relaxed_headers` option which
    can tolerate bad content in the fenced code header. When
    enabled, code blocks with bad content in the header will
    likely still convert into code blocks, often respecting
    the specified language.
  * **NEW**: Add type hints to the Blocks interface and a few
    additional files.
  * **FIX**: Blocks: Fix some corner cases of nested blocks
    with lists.
  * **FIX**: Tab and Tabbed: Fix a case where tabs could fail
    if `combine_header_slug` was enabled and there was no
    header.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=28
2025-04-28 14:07:59 +00:00
231d38b087 Accepting request 1243048 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1243048
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=12
2025-02-04 17:13:44 +00:00
32b25f67a7 Accepting request 1242909 from home:benoit_monin:branches:devel:languages:python
update to 10.14.3

OBS-URL: https://build.opensuse.org/request/show/1242909
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=26
2025-02-04 10:22:15 +00:00
e1a2f74ed4 Accepting request 1241641 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1241641
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=11
2025-01-31 16:19:15 +00:00
6c475e00bd Accepting request 1241511 from home:benoit_monin:branches:devel:languages:python
update to 10.14.2

OBS-URL: https://build.opensuse.org/request/show/1241511
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=24
2025-01-31 13:34:43 +00:00
addf36a35d Accepting request 1239851 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1239851
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=10
2025-01-23 17:02:04 +00:00
9ff938736e Accepting request 1239653 from home:benoit_monin:branches:devel:languages:python
update to 10.14.1

OBS-URL: https://build.opensuse.org/request/show/1239653
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=22
2025-01-23 12:00:19 +00:00
c3b75e41c9 Accepting request 1239014 from home:ecsos:python
- Add %{?sle15_python_module_pythons}
- Fix build requires versions.

OBS-URL: https://build.opensuse.org/request/show/1239014
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=21
2025-01-21 06:55:03 +00:00
26e1094224 Accepting request 1236033 from home:benoit_monin:branches:devel:languages:python
update to 10.14

OBS-URL: https://build.opensuse.org/request/show/1236033
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=20
2025-01-09 01:40:45 +00:00
ab76c786b6 Accepting request 1233504 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1233504
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=9
2024-12-29 10:56:49 +00:00
d4e4511f64 Accepting request 1233172 from home:benoit_monin:branches:devel:languages:python
update to 10.13

OBS-URL: https://build.opensuse.org/request/show/1233172
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=18
2024-12-27 09:25:00 +00:00
86760b9a5b Accepting request 1220383 from devel:languages:python
- Update to 10.12:
  * NEW: Blocks: Blocks extensions no longer considered in beta.
  * NEW: Details: Details is marked as "legacy" in documentation in favor
    of the new pymdownx.blocks.details approach.
  * NEW: Tabbed: Tabbed is marked as "legacy" in documentation in favor of
    the new pymdownx.blocks.tab approach.
  * NEW: Caption: Add new "blocks" style extension called Caption which
    helps with specifying figures with captions.
  * NEW: Emoji: Add a new strict option that will raise an exception if an
    emoji is used whose name has changed, removed, or never existed.
  * FIX: Emoji: Emoji links should be generated such that they point to the
    new CDN version.
  * FIX: SuperFences: Fix a regression where certain patterns could cause
    a hang.
  * FIX: SuperFences: Fix regression where an omitted language in conjunction
    with options in the fenced header can cause a fence to not be parsed.
  * FIX: BetterEm: Add better support for *em, **em,strong*** and _em,
    __em,strong___ cases.
  * FIX: Caret: Add better support for *sup, **sup,ins***.
  * FIX: Tilde: Add better support for *sub, **sub,del***.
  * FIX: FancyLists: Remove a mistaken semicolon from injected classes.
  * NEW: FancyLists: Add new FancyLists extension.
  * NEW: Emoji: Update Twemoji data to the latest.
  * FIX: PathConverter: Fixes for latest changes in Python regarding
    urlunparse.
  * NEW: Officially support Python 3.13.
  * FIX: Snippets: Better handling of cases where URL snippet requests
    contain no header length.
  * FIX: Snippets: Fix snippet line range with a start of line 1.
  * NEW: Require Python Markdown 3.6+.

OBS-URL: https://build.opensuse.org/request/show/1220383
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pymdown-extensions?expand=0&rev=8
2024-11-03 06:18:20 +00:00
b815f019b0 - Update to 10.12:
* NEW: Blocks: Blocks extensions no longer considered in beta.
  * NEW: Details: Details is marked as "legacy" in documentation in favor
    of the new pymdownx.blocks.details approach.
  * NEW: Tabbed: Tabbed is marked as "legacy" in documentation in favor of
    the new pymdownx.blocks.tab approach.
  * NEW: Caption: Add new "blocks" style extension called Caption which
    helps with specifying figures with captions.
  * NEW: Emoji: Add a new strict option that will raise an exception if an
    emoji is used whose name has changed, removed, or never existed.
  * FIX: Emoji: Emoji links should be generated such that they point to the
    new CDN version.
  * FIX: SuperFences: Fix a regression where certain patterns could cause
    a hang.
  * FIX: SuperFences: Fix regression where an omitted language in conjunction
    with options in the fenced header can cause a fence to not be parsed.
  * FIX: BetterEm: Add better support for *em, **em,strong*** and _em,
    __em,strong___ cases.
  * FIX: Caret: Add better support for *sup, **sup,ins***.
  * FIX: Tilde: Add better support for *sub, **sub,del***.
  * FIX: FancyLists: Remove a mistaken semicolon from injected classes.
  * NEW: FancyLists: Add new FancyLists extension.
  * NEW: Emoji: Update Twemoji data to the latest.
  * FIX: PathConverter: Fixes for latest changes in Python regarding
    urlunparse.
  * NEW: Officially support Python 3.13.
  * FIX: Snippets: Better handling of cases where URL snippet requests
    contain no header length.
  * FIX: Snippets: Fix snippet line range with a start of line 1.
  * NEW: Require Python Markdown 3.6+.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pymdown-extensions?expand=0&rev=16
2024-11-03 02:38:55 +00:00
5 changed files with 142 additions and 23 deletions

View File

@@ -1,12 +0,0 @@
Index: pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py
===================================================================
--- pymdown-extensions-10.7.1.orig/tests/test_extensions/test_smartsymbols.py
+++ pymdown-extensions-10.7.1/tests/test_extensions/test_smartsymbols.py
@@ -139,4 +139,6 @@ class TestSmartSymbols(util.MdCase):
md = markdown.Markdown(extensions=['toc', 'pymdownx.smartsymbols'])
md.convert('# *Foo* =/= `bar`')
- self.assertEqual(md.toc_tokens, [{'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}])
+ contains = {'level': 1, 'id': 'foo-bar', 'name': 'Foo ≠ bar', 'children': []}
+ self.assertEqual(len(md.toc_tokens), 1)
+ self.assertLessEqual(contains.items(), md.toc_tokens[0].items())

View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:065d6a7844b79d729a52e02717a79309b45158904b305c5fa350266e5256b59b
size 1098210

View File

@@ -1,3 +1,132 @@
-------------------------------------------------------------------
Mon Jul 28 18:31:44 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.16.1:
* FIX: Inefficient regular expression pattern for figure caption
numbers.
-------------------------------------------------------------------
Sat Jun 21 18:39:56 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.16:
* NEW: Add early support for Python 3.14.
* NEW: Drop support for Python 3.8.
* NEW: Snippets: Added max_retries and backoff_retries options to
configure new retry logic for HTTP 429 errors (Too Many
Requests client error).
* NEW: Caption: Prefix templates are now preserved exactly as
specified allowing the insertion of HTML tags if desired.
* FIX: Caption: Fix issue where manual numbers in auto were not
respected appropriately.
- increase minimal python version to 3.9
-------------------------------------------------------------------
Mon Apr 28 14:07:33 UTC 2025 - Dirk Müller <dmueller@suse.com>
- update to 10.15:
* **NEW**: SuperFences: Add `relaxed_headers` option which
can tolerate bad content in the fenced code header. When
enabled, code blocks with bad content in the header will
likely still convert into code blocks, often respecting
the specified language.
* **NEW**: Add type hints to the Blocks interface and a few
additional files.
* **FIX**: Blocks: Fix some corner cases of nested blocks
with lists.
* **FIX**: Tab and Tabbed: Fix a case where tabs could fail
if `combine_header_slug` was enabled and there was no
header.
-------------------------------------------------------------------
Mon Feb 3 16:27:25 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.14.3:
* FIX: Blocks: An empty, raw block type should not cause an error
-------------------------------------------------------------------
Thu Jan 30 17:10:59 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.14.2:
* FIX: Blocks: Fix some corner cases with md_in_html.
-------------------------------------------------------------------
Wed Jan 22 19:33:20 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.14.1:
* FIX: MagicLink: Ensure that repo names that start with . are
handled correctly.
* FIX: FancyLists: Fix case were lists could be falsely created
when a line started with . or ).
-------------------------------------------------------------------
Sat Jan 18 15:52:16 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
- Fix build requires versions.
-------------------------------------------------------------------
Wed Jan 8 20:08:07 UTC 2025 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.14:
* NEW: Blocks.HTML: Add new custom option to specify tags and the
assumed handling for them when automatic mode is assumed. This
can also be used to override the handling for recognized tags
with automatic handling.
* FIX: Fix tests to pass with Pygments 2.19+.
-------------------------------------------------------------------
Mon Dec 23 19:32:33 UTC 2024 - Benoît Monin <benoit.monin@gmx.fr>
- update to 10.13:
* NEW: Snippets: Allow multiple line numbers or line number
blocks separated by ,.
* NEW: Snippets: Allow using a negative index for number start
indexes and end indexes. Negative indexes are converted to
positive indexes based on the number of lines in the snippet.
* FIX: Snippets: Properly capture empty newline at end of file.
* FIX: Snippets: Fix issue where when non sections of files are
included, section labels are not stripped.
* FIX: BetterEm: Fixes for complex cases.
* FIX: Blocks: More consistent handling of empty newlines in
block processor extensions
-------------------------------------------------------------------
Sun Nov 3 02:33:53 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 10.12:
* NEW: Blocks: Blocks extensions no longer considered in beta.
* NEW: Details: Details is marked as "legacy" in documentation in favor
of the new pymdownx.blocks.details approach.
* NEW: Tabbed: Tabbed is marked as "legacy" in documentation in favor of
the new pymdownx.blocks.tab approach.
* NEW: Caption: Add new "blocks" style extension called Caption which
helps with specifying figures with captions.
* NEW: Emoji: Add a new strict option that will raise an exception if an
emoji is used whose name has changed, removed, or never existed.
* FIX: Emoji: Emoji links should be generated such that they point to the
new CDN version.
* FIX: SuperFences: Fix a regression where certain patterns could cause
a hang.
* FIX: SuperFences: Fix regression where an omitted language in conjunction
with options in the fenced header can cause a fence to not be parsed.
* FIX: BetterEm: Add better support for *em, **em,strong*** and _em,
__em,strong___ cases.
* FIX: Caret: Add better support for *sup, **sup,ins***.
* FIX: Tilde: Add better support for *sub, **sub,del***.
* FIX: FancyLists: Remove a mistaken semicolon from injected classes.
* NEW: FancyLists: Add new FancyLists extension.
* NEW: Emoji: Update Twemoji data to the latest.
* FIX: PathConverter: Fixes for latest changes in Python regarding
urlunparse.
* NEW: Officially support Python 3.13.
* FIX: Snippets: Better handling of cases where URL snippet requests
contain no header length.
* FIX: Snippets: Fix snippet line range with a start of line 1.
* NEW: Require Python Markdown 3.6+.
* FIX: Fix some test cases.
* FIX: Fix warnings due to recent changes in Python Markdown.
- Drop patch fix-toc-list-check.patch, no longer required.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 22 02:46:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com> Fri Mar 22 02:46:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pymdown-extensions # spec file for package python-pymdown-extensions
# #
# Copyright (c) 2024 SUSE LLC # 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
@@ -16,28 +16,30 @@
# #
%define skip_python2 1
%define skip_python36 1
%{?sle15_python_module_pythons}
Name: python-pymdown-extensions Name: python-pymdown-extensions
Version: 10.7.1 Version: 10.16.1
Release: 0 Release: 0
Summary: Extension pack for Python Markdown Summary: Extension pack for Python Markdown
License: MIT License: MIT
URL: https://github.com/facelessuser/pymdown-extensions URL: https://github.com/facelessuser/pymdown-extensions
Source: https://github.com/facelessuser/pymdown-extensions/archive/refs/tags/%{version}.tar.gz#/pymdown-extensions-%{version}.tar.gz Source: https://github.com/facelessuser/pymdown-extensions/archive/refs/tags/%{version}.tar.gz#/pymdown-extensions-%{version}.tar.gz
# PATCH-FIX-OPENSUSE Assert toc_tokens is a superset of what we want to check BuildRequires: %{python_module Markdown >= 3.6}
Patch0: fix-toc-list-check.patch BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module Markdown >= 3.2}
BuildRequires: %{python_module hatchling} BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip} BuildRequires: %{python_module pip}
# test requirements # test requirements
BuildRequires: %{python_module PyYAML >= 3.10} BuildRequires: %{python_module PyYAML >= 3.10}
BuildRequires: %{python_module Pygments >= 2.12} BuildRequires: %{python_module Pygments >= 2.19.1}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
# #
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-Markdown >= 3.2 Requires: python-Markdown >= 3.6
Requires: python-PyYAML >= 3.10 Requires: python-PyYAML >= 3.10
Recommends: python-Pygments >= 2.12 Recommends: python-Pygments >= 2.19.1
BuildArch: noarch BuildArch: noarch
%python_subpackages %python_subpackages