Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-myst-parser for 
openSUSE:Factory checked in at 2025-10-03 15:43:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-myst-parser (Old)
 and      /work/SRC/openSUSE:Factory/.python-myst-parser.new.11973 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-myst-parser"

Fri Oct  3 15:43:12 2025 rev:8 rq:1308493 version:4.0.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-myst-parser/python-myst-parser.changes    
2025-08-21 17:00:31.924987273 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-myst-parser.new.11973/python-myst-parser.changes
 2025-10-03 15:44:11.634446722 +0200
@@ -1,0 +2,12 @@
+Thu Oct  2 04:36:38 UTC 2025 - Steve Kowalik <[email protected]>
+
+- Update to 4.0.1:
+  * Minor fix for sphinx 8.2 compat
+  * Fix type of MockIncludeDirective’s klass parameter
+  * Support python>=3.10, sphinx >=7,<9, docutils>=0.19,<0.22
+  * Improve footnote def/ref warnings and translations
+- Add patch support-docutils-0.22.patch:
+  * Support docutils output changes.
+- Sprinkle in pytest-param-files, since it's packaged now.
+
+-------------------------------------------------------------------

Old:
----
  python-myst-parser-3.0.1.tar.gz

New:
----
  python-myst-parser-4.0.1.tar.gz
  support-docutils-0.22.patch

----------(New B)----------
  New:  * Improve footnote def/ref warnings and translations
- Add patch support-docutils-0.22.patch:
  * Support docutils output changes.
----------(New E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-myst-parser.spec ++++++
--- /var/tmp/diff_new_pack.hTQOIs/_old  2025-10-03 15:44:14.398560846 +0200
+++ /var/tmp/diff_new_pack.hTQOIs/_new  2025-10-03 15:44:14.414561507 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-myst-parser
 #
-# 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
@@ -23,7 +23,7 @@
 %endif
 %{?sle15_python_module_pythons}
 Name:           python-myst-parser
-Version:        3.0.1
+Version:        4.0.1
 Release:        0
 Summary:        An extended commonmark compliant parser, with bridges to 
docutils & sphinx
 License:        MIT
@@ -31,11 +31,14 @@
 Source:         
https://github.com/executablebooks/MyST-Parser/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
 # PyPI tarball does not contain tests
 #Source:         
https://files.pythonhosted.org/packages/source/m/myst-parser/myst-parser-%%{version}.tar.gz
+# PATCH-FIX-OPENSUSE Regenerate failing files with --regen-file-failure
+Patch0:         support-docutils-0.22.patch
 BuildRequires:  %{python_module Jinja2}
 BuildRequires:  %{python_module PyYAML}
 BuildRequires:  %{python_module Sphinx}
-BuildRequires:  %{python_module docutils >= 0.18 with %python-docutils < 0.22}
+BuildRequires:  %{python_module docutils >= 0.18 with %python-docutils < 0.23}
 BuildRequires:  %{python_module flit-core}
+BuildRequires:  %{python_module linkify-it-py}
 BuildRequires:  %{python_module markdown-it-py}
 BuildRequires:  %{python_module mdit-py-plugins}
 BuildRequires:  %{python_module pip}
@@ -59,6 +62,7 @@
 # SECTION tests
 BuildRequires:  %{python_module beautifulsoup4}
 BuildRequires:  %{python_module pygments}
+BuildRequires:  %{python_module pytest-param-files}
 BuildRequires:  %{python_module pytest-regressions}
 BuildRequires:  %{python_module pytest}
 # /SECTION
@@ -79,7 +83,7 @@
 It contains an extended CommonMark (https://commonmark.org)-compliant parser 
using markdown-it-py (https://markdown-it-py.readthedocs.io/), as well as a 
Sphinx (https://www.sphinx-doc.org) extension that allows to write MyST 
Markdown in Sphinx.
 
 %prep
-%setup -q -n MyST-Parser-%{version}
+%autosetup -p1 -n MyST-Parser-%{version}
 rm docs/.gitignore
 
 %build
@@ -108,13 +112,7 @@
 ignore="--ignore=tests/test_renderers/test_fixtures_sphinx.py"
 ignore+=" --ignore=tests/test_renderers/test_myst_refs.py"
 ignore+=" --ignore=tests/test_sphinx/test_sphinx_builds.py"
-# no python-pytest-param-files package
-ignore+=" --ignore=tests/test_renderers/test_myst_config.py"
-
-# no python-pytest-param-files package
-donttest="test_parsing or test_errors or test_render or test_html_to_nodes or 
test_html_ast or test_html_round_trip"
-
-%pytest $ignore -k "not ($donttest)"
+%pytest $ignore
 
 %pre
 %python_libalternatives_reset_alternative myst-anchors
@@ -127,7 +125,7 @@
 
 %files %{python_files}
 %{python_sitelib}/myst_parser/
-%{python_sitelib}/myst_parser-%{version}*-info
+%{python_sitelib}/myst_parser-%{version}.dist-info
 %license LICENSE
 %doc CHANGELOG.md README.md
 %python_alternative %{_bindir}/myst-anchors

++++++ python-myst-parser-3.0.1.tar.gz -> python-myst-parser-4.0.1.tar.gz ++++++
++++ 3317 lines of diff (skipped)

++++++ support-docutils-0.22.patch ++++++
diff -urNP 
MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_link_resolution.md 
MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_link_resolution.md
--- 
MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_link_resolution.md 
    2025-02-12 10:49:14.000000000 +0000
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_link_resolution.md  
2025-10-02 04:20:54.949806711 +0000
@@ -24,23 +24,23 @@
 .
 <document source="<src>/index.md">
     <paragraph>
-        <reference id_link="True" refid="test">
+        <reference id_link="1" refid="test">
             <system_message level="2" line="1" source="<src>/index.md" 
type="WARNING">
                 <paragraph>
                     'myst' reference target not found: 'test' 
[myst.xref_missing]
 
-        <reference id_link="True" refid="test">
+        <reference id_link="1" refid="test">
             <system_message level="2" line="1" source="<src>/index.md" 
type="WARNING">
                 <paragraph>
                     'myst' reference target not found: 'test' 
[myst.xref_missing]
 
-        <reference id_link="True" refid="test">
+        <reference id_link="1" refid="test">
             explicit
             <system_message level="2" line="1" source="<src>/index.md" 
type="WARNING">
                 <paragraph>
                     'myst' reference target not found: 'test' 
[myst.xref_missing]
 
-        <reference id_link="True" refid="name%20with%20spaces">
+        <reference id_link="1" refid="name%20with%20spaces">
             <system_message level="2" line="1" source="<src>/index.md" 
type="WARNING">
                 <paragraph>
                     'myst' reference target not found: 'name with spaces' 
[myst.xref_missing]
@@ -76,15 +76,15 @@
             <title>
                 Non-anchor heading
             <paragraph>
-                <reference id_link="True" refid="title">
+                <reference id_link="1" refid="title">
                     <inline classes="std std-ref">
                         Title
 
-                <reference id_link="True" 
refid="longer-title-with-nested-syntax">
+                <reference id_link="1" refid="longer-title-with-nested-syntax">
                     <inline classes="std std-ref">
                         Longer title with nested (syntax)
 
-                <reference id_link="True" refid="title">
+                <reference id_link="1" refid="title">
                     explicit
 .
 
@@ -102,15 +102,15 @@
         Test
     <target refid="target">
     <paragraph>
-        <reference id_link="True" refid="target">
+        <reference id_link="1" refid="target">
             <inline classes="std std-ref">
                 Test
 
-        <reference id_link="True" refid="target">
+        <reference id_link="1" refid="target">
             <inline classes="std std-ref">
                 Test
 
-        <reference id_link="True" refid="target">
+        <reference id_link="1" refid="target">
             explicit
 .
 
@@ -128,12 +128,9 @@
         Test
     <subtitle ids="other test-1" names="other test">
         Other
-    <system_message backrefs="test-1" level="1" line="3" 
source="<src>/index.md" type="INFO">
-        <paragraph>
-            Duplicate implicit target name: "test".
     <target refid="test-1">
     <paragraph>
-        <reference id_link="True" refid="test-1">
+        <reference id_link="1" refid="test-1">
             <inline classes="std std-ref">
                 Other
 .
@@ -150,7 +147,7 @@
     <paragraph ids="name-with-spaces" names="name\ with\ spaces">
         Paragraph
     <paragraph>
-        <reference id_link="True" refid="name-with-spaces">
+        <reference id_link="1" refid="name-with-spaces">
             <inline classes="std std-ref">
                 #name with spaces
 .
@@ -192,14 +189,14 @@
                         <paragraph>
                             d
     <paragraph>
-        <reference id_link="True" refid="table">
+        <reference id_link="1" refid="table">
             <inline classes="std std-ref">
                 caption
 
-        <reference id_link="True" refid="table">
+        <reference id_link="1" refid="table">
             <inline classes="std std-ref">
                 caption
 
-        <reference id_link="True" refid="table">
+        <reference id_link="1" refid="table">
             explicit
 .
diff -urNP 
MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_syntax_extensions.txt
 MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_syntax_extensions.txt
--- 
MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/docutil_syntax_extensions.txt
  2025-02-12 10:49:14.000000000 +0000
+++ 
MyST-Parser-4.0.1/tests/test_renderers/fixtures/docutil_syntax_extensions.txt   
    2025-10-02 04:20:55.090824403 +0000
@@ -25,12 +25,12 @@
             foo
             bar
          b
-    <math_block nowrap="False" number="True" xml:space="preserve">
+    <math_block nowrap="0" number="True" xml:space="preserve">
         foo
-    <math_block nowrap="False" number="True" xml:space="preserve">
+    <math_block nowrap="0" number="True" xml:space="preserve">
 
         a = 1
-    <math_block ids="label" names="label" nowrap="False" number="True" 
xml:space="preserve">
+    <math_block ids="label" names="label" nowrap="0" number="True" 
xml:space="preserve">
 
         b = 2
 .
@@ -48,13 +48,13 @@
 \end{equation*}
 .
 <document source="<string>">
-    <math_block classes="amsmath" nowrap="True" numbered="True" 
xml:space="preserve">
+    <math_block classes="amsmath" nowrap="1" numbered="1" xml:space="preserve">
         \begin{equation} a \end{equation}
-    <math_block classes="amsmath" nowrap="True" numbered="True" 
xml:space="preserve">
+    <math_block classes="amsmath" nowrap="1" numbered="1" xml:space="preserve">
         \begin{equation}
         a
         \end{equation}
-    <math_block classes="amsmath" nowrap="True" xml:space="preserve">
+    <math_block classes="amsmath" nowrap="1" xml:space="preserve">
         \begin{equation*}
         a
         \end{equation*}
diff -urNP MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/myst-config.txt 
MyST-Parser-4.0.1/tests/test_renderers/fixtures/myst-config.txt
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/myst-config.txt        
2025-02-12 10:49:14.000000000 +0000
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/myst-config.txt     
2025-10-02 04:20:55.345046213 +0000
@@ -219,7 +219,7 @@
     <title>
         My title
     <paragraph>
-        <reference id_link="True" refid="my-title">
+        <reference id_link="1" refid="my-title">
             <inline classes="std std-ref">
                 My title
 .
@@ -263,6 +263,12 @@
 <document source="<string>">
     <paragraph>
         a
+    <section classes="system-messages">
+        <title>
+            Docutils System Messages
+        <system_message level="2" source="<string>" type="WARNING">
+            <paragraph>
+                The `attrs_image` extension is deprecated, please use 
`attrs_inline` instead. [myst.deprecated]
 
 <string>:: (WARNING/2) The `attrs_image` extension is deprecated, please use 
`attrs_inline` instead. [myst.deprecated]
 .
@@ -381,7 +387,7 @@
             Chris Sewell
 .
 
-[inv_link]
+[inv_link] 
 .
 <inv:#index>
 [](inv:#index)
@@ -397,42 +403,42 @@
 .
 <document source="<string>">
     <paragraph>
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             <emphasis>
                 explicit
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:label:search" 
reftitle="Python" refuri="https://example.com/search.html";>
+        <reference internal="0" inv_match="key:std:label:search" 
reftitle="Python" refuri="https://example.com/search.html";>
             Search Page
 
-        <reference internal="False" inv_match="key:std:label:search" 
reftitle="Python" refuri="https://example.com/search.html";>
+        <reference internal="0" inv_match="key:std:label:search" 
reftitle="Python" refuri="https://example.com/search.html";>
             Search Page
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 
-        <reference internal="False" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
+        <reference internal="0" inv_match="key:std:doc:index" 
reftitle="Python" refuri="https://example.com/index.html";>
             Title
 .
 
-[inv_link_error]
+[inv_link_error] 
 .
 <inv:#other>
 
@@ -447,7 +453,7 @@
         <system_message level="2" line="3" source="<string>" type="WARNING">
             <paragraph>
                 Multiple matches for '*:*:*:*index': key:std:label:genindex, 
key:std:label:modindex, key:std:label:py-modindex, ... [myst.iref_ambiguous]
-        <reference internal="False" inv_match="key:std:label:genindex" 
reftitle="Python" refuri="https://example.com/genindex.html";>
+        <reference internal="0" inv_match="key:std:label:genindex" 
reftitle="Python" refuri="https://example.com/genindex.html";>
             Index
 
 <string>:1: (WARNING/2) No matches for '*:*:*:other' [myst.iref_missing]
@@ -486,7 +492,7 @@
             <title>
                 other
             <paragraph>
-                <reference id_link="True" refid="title">
+                <reference id_link="1" refid="title">
                     reversed
 .
 
diff -urNP 
MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/reporter_warnings.md 
MyST-Parser-4.0.1/tests/test_renderers/fixtures/reporter_warnings.md
--- MyST-Parser-4.0.1.orig/tests/test_renderers/fixtures/reporter_warnings.md   
2025-02-12 10:49:14.000000000 +0000
+++ MyST-Parser-4.0.1/tests/test_renderers/fixtures/reporter_warnings.md        
2025-10-02 04:20:54.751283034 +0000
@@ -116,7 +116,7 @@
 
 [^a]
 .
-<string>:3: (ERROR/3) Too many autonumbered footnote references: only 0 
corresponding footnotes available.
+<string>:3: (ERROR/3) Too many autonumbered footnote references: only 0 
corresponding footnote available.
 <string>:1: (ERROR/3) Unknown target name: "1".
 <string>:3: (ERROR/3) Unknown target name: "a".
 .

Reply via email to