From autobuild@suse.de Fri Mar 31 19:14:49 2023 From: Source-Sync To: commit@lists.opensuse.org Subject: commit python-Markdown for openSUSE:Factory Date: Fri, 31 Mar 2023 21:14:12 +0200 Message-ID: <168029005587.8439.14788144774920063118@mailman3.infra.opensuse.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3917051233118329064==" --===============3917051233118329064== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-Markdown for openSUSE:Facto= ry checked in at 2023-03-31 21:14:07 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-Markdown (Old) and /work/SRC/openSUSE:Factory/.python-Markdown.new.31432 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "python-Markdown" Fri Mar 31 21:14:07 2023 rev:40 rq:1074478 version:3.4.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-Markdown/python-Markdown.changes 2022-0= 8-04 13:23:20.368477554 +0200 +++ /work/SRC/openSUSE:Factory/.python-Markdown.new.31432/python-Markdown.cha= nges 2023-03-31 21:14:11.506087020 +0200 @@ -1,0 +2,12 @@ +Fri Mar 24 17:07:05 UTC 2023 - Beno=EF=BF=BD=EF=BF=BDt Monin + +- update to version 3.4.3: bug-fix release + * Restore console script (#1327). +- additional changes from version 3.4.2: bug-fix release + * Improve standalone * and _ parsing (#1300). + * Consider HTML tag a block-level element (#1309). + * Officially support Python 3.11. + * Switch from setup.py to pyproject.toml. +- drop macros in spec file: already provided by python-rpm-macros + +------------------------------------------------------------------- Old: ---- Markdown-3.4.1.tar.gz New: ---- Markdown-3.4.3.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-Markdown.spec ++++++ --- /var/tmp/diff_new_pack.HTRWTq/_old 2023-03-31 21:14:12.010088817 +0200 +++ /var/tmp/diff_new_pack.HTRWTq/_new 2023-03-31 21:14:12.014088831 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-Markdown # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,8 @@ # =20 =20 -%define skip_python2 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define oldpython python Name: python-Markdown -Version: 3.4.1 +Version: 3.4.3 Release: 0 Summary: Python implementation of Markdown License: BSD-3-Clause ++++++ Markdown-3.4.1.tar.gz -> Markdown-3.4.3.tar.gz ++++++ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/MANIFEST.in new/Markdown-3.4.3/MANIFES= T.in --- old/Markdown-3.4.1/MANIFEST.in 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/MANIFEST.in 2023-03-23 14:15:27.000000000 +0100 @@ -1,8 +1,6 @@ recursive-include markdown *.py recursive-include docs * recursive-include tests *.txt *.html *.py -include setup.py -include setup.cfg include makefile include LICENSE.md include README.md diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/Markdown.egg-info/PKG-INFO new/Markdow= n-3.4.3/Markdown.egg-info/PKG-INFO --- old/Markdown-3.4.1/Markdown.egg-info/PKG-INFO 2022-07-15 21:15:35.0000000= 00 +0200 +++ new/Markdown-3.4.3/Markdown.egg-info/PKG-INFO 2023-03-23 14:15:38.0000000= 00 +0100 @@ -1,16 +1,47 @@ Metadata-Version: 2.1 Name: Markdown -Version: 3.4.1 -Summary: Python implementation of Markdown. -Home-page: https://Python-Markdown.github.io/ -Author: Manfred Stienstra, Yuri takhteyev and Waylan limberg -Author-email: python.markdown(a)gmail.com -Maintainer: Waylan Limberg -Maintainer-email: python.markdown(a)gmail.com -License: BSD License +Version: 3.4.3 +Summary: Python implementation of John Gruber's Markdown. +Author: Manfred Stienstra, Yuri Takhteyev +Author-email: Waylan limberg +Maintainer: Isaac Muse +Maintainer-email: Waylan Limberg +License: Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) + Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) + Copyright 2004 Manfred Stienstra (the original version) + =20 + All rights reserved. + =20 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions a= re met: + =20 + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distributio= n. + * Neither the name of the Python Markdown Project nor the + names of its contributors may be used to endorse or promote produc= ts + derived from this software without specific prior written permissi= on. + =20 + THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' A= ND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM= PLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE A= RE + DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOW= N PROJECT + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, = OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSI= NESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER= IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWI= SE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED = OF THE + POSSIBILITY OF SUCH DAMAGE. + =20 +Project-URL: Homepage, https://Python-Markdown.github.io/ Project-URL: Documentation, https://Python-Markdown.github.io/ -Project-URL: GitHub Project, https://github.com/Python-Markdown/markdown +Project-URL: Repository, https://github.com/Python-Markdown/markdown Project-URL: Issue Tracker, https://github.com/Python-Markdown/markdown/issu= es +Project-URL: Changelog, https://github.com/Python-Markdown/markdown/blob/mas= ter/docs/change_log/index.md +Keywords: markdown,markdown-parser,python-markdown,markdown-to-html Classifier: Development Status :: 5 - Production/Stable Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent @@ -20,6 +51,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/Markdown.egg-info/SOURCES.txt new/Mark= down-3.4.3/Markdown.egg-info/SOURCES.txt --- old/Markdown-3.4.1/Markdown.egg-info/SOURCES.txt 2022-07-15 21:15:35.0000= 00000 +0200 +++ new/Markdown-3.4.3/Markdown.egg-info/SOURCES.txt 2023-03-23 14:15:38.0000= 00000 +0100 @@ -6,8 +6,6 @@ makefile mkdocs.yml pyproject.toml -setup.cfg -setup.py Markdown.egg-info/PKG-INFO Markdown.egg-info/SOURCES.txt Markdown.egg-info/dependency_links.txt diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/PKG-INFO new/Markdown-3.4.3/PKG-INFO --- old/Markdown-3.4.1/PKG-INFO 2022-07-15 21:15:35.000000000 +0200 +++ new/Markdown-3.4.3/PKG-INFO 2023-03-23 14:15:38.000000000 +0100 @@ -1,16 +1,47 @@ Metadata-Version: 2.1 Name: Markdown -Version: 3.4.1 -Summary: Python implementation of Markdown. -Home-page: https://Python-Markdown.github.io/ -Author: Manfred Stienstra, Yuri takhteyev and Waylan limberg -Author-email: python.markdown(a)gmail.com -Maintainer: Waylan Limberg -Maintainer-email: python.markdown(a)gmail.com -License: BSD License +Version: 3.4.3 +Summary: Python implementation of John Gruber's Markdown. +Author: Manfred Stienstra, Yuri Takhteyev +Author-email: Waylan limberg +Maintainer: Isaac Muse +Maintainer-email: Waylan Limberg +License: Copyright 2007, 2008 The Python Markdown Project (v. 1.7 and later) + Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) + Copyright 2004 Manfred Stienstra (the original version) + =20 + All rights reserved. + =20 + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions a= re met: + =20 + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distributio= n. + * Neither the name of the Python Markdown Project nor the + names of its contributors may be used to endorse or promote produc= ts + derived from this software without specific prior written permissi= on. + =20 + THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' A= ND ANY + EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IM= PLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE A= RE + DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOW= N PROJECT + BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, = OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSI= NESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER= IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWI= SE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED = OF THE + POSSIBILITY OF SUCH DAMAGE. + =20 +Project-URL: Homepage, https://Python-Markdown.github.io/ Project-URL: Documentation, https://Python-Markdown.github.io/ -Project-URL: GitHub Project, https://github.com/Python-Markdown/markdown +Project-URL: Repository, https://github.com/Python-Markdown/markdown Project-URL: Issue Tracker, https://github.com/Python-Markdown/markdown/issu= es +Project-URL: Changelog, https://github.com/Python-Markdown/markdown/blob/mas= ter/docs/change_log/index.md +Keywords: markdown,markdown-parser,python-markdown,markdown-to-html Classifier: Development Status :: 5 - Production/Stable Classifier: License :: OSI Approved :: BSD License Classifier: Operating System :: OS Independent @@ -20,6 +51,7 @@ Classifier: Programming Language :: Python :: 3.8 Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 +Classifier: Programming Language :: Python :: 3.11 Classifier: Programming Language :: Python :: 3 :: Only Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Programming Language :: Python :: Implementation :: PyPy diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/docs/change_log/index.md new/Markdown-= 3.4.3/docs/change_log/index.md --- old/Markdown-3.4.1/docs/change_log/index.md 2022-07-15 21:15:31.000000000= +0200 +++ new/Markdown-3.4.3/docs/change_log/index.md 2023-03-23 14:15:27.000000000= +0100 @@ -3,6 +3,17 @@ Python-Markdown Change Log =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =20 +March 23, 2023: version 3.4.3 (a bug-fix release). + +* Restore console script (#1327). + +March 22, 2023: version 3.4.2 (a bug-fix release). + +* Improve standalone * and _ parsing (#1300). +* Consider `` HTML tag a block-level element (#1309). +* Officially support Python 3.11. +* Switch from `setup.py` to `pyproject.toml`. + July 15, 2022: version 3.4.1 (a bug-fix release). =20 * Fix an import issue with `importlib.util` (#1274). diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/docs/extensions/fenced_code_blocks.md = new/Markdown-3.4.3/docs/extensions/fenced_code_blocks.md --- old/Markdown-3.4.1/docs/extensions/fenced_code_blocks.md 2022-07-15 21:15= :31.000000000 +0200 +++ new/Markdown-3.4.3/docs/extensions/fenced_code_blocks.md 2023-03-23 14:15= :27.000000000 +0100 @@ -37,7 +37,7 @@ ```` =20 To include a set of backticks (or tildes) within a code block, use a differe= nt number of backticks for the -deliminators. +delimiters. =20 `````md ```` diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/docs/extensions/meta_data.md new/Markd= own-3.4.3/docs/extensions/meta_data.md --- old/Markdown-3.4.1/docs/extensions/meta_data.md 2022-07-15 21:15:31.00000= 0000 +0200 +++ new/Markdown-3.4.3/docs/extensions/meta_data.md 2023-03-23 14:15:27.00000= 0000 +0100 @@ -45,11 +45,11 @@ The first blank line ends all meta-data for the document. Therefore, the fir= st line of a document must not be blank. =20 -Alternatively, You may use YAML style deliminators to mark the start and/or = end +Alternatively, You may use YAML style delimiters to mark the start and/or end of your meta-data. When doing so, the first line of your document must be `-= --`. The meta-data ends at the first blank line or the first line containing an e= nd deliminator (either `---` or `...`), whichever comes first. Even though YAML -deliminators are supported, meta-data is not parsed as YAML. +delimiters are supported, meta-data is not parsed as YAML. =20 All meta-data is stripped from the document prior to any further processing by Markdown. diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/docs/extensions/toc.md new/Markdown-3.= 4.3/docs/extensions/toc.md --- old/Markdown-3.4.1/docs/extensions/toc.md 2022-07-15 21:15:31.000000000 += 0200 +++ new/Markdown-3.4.3/docs/extensions/toc.md 2023-03-23 14:15:27.000000000 += 0100 @@ -195,7 +195,7 @@ * **`slugify`**: Callable to generate anchors. =20 - Default: `markdown.extensions.headerid.slugify` + Default: `markdown.extensions.toc.slugify` =20 In order to use a different algorithm to define the id attributes, defin= e and pass in a callable which takes the following two arguments: @@ -206,7 +206,7 @@ The callable must return a string appropriate for use in HTML `id` attri= butes. =20 An alternate version of the default callable supporting Unicode strings = is also - provided as `markdown.extensions.headerid.slugify_unicode`. + provided as `markdown.extensions.toc.slugify_unicode`. =20 * **`separator`**: Word separator. Character which replaces white space in id. Defaults to = "`-`". diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/docs/reference.md new/Markdown-3.4.3/d= ocs/reference.md --- old/Markdown-3.4.1/docs/reference.md 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/docs/reference.md 2023-03-23 14:15:27.000000000 +0100 @@ -169,7 +169,7 @@ Supported formats are: =20 * `"xhtml"`: Outputs XHTML style tags. **Default**. - * `"html5"`: Outputs HTML style tags. + * `"html"`: Outputs HTML style tags. =20 The values can be in either lowercase or uppercase. =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/makefile new/Markdown-3.4.3/makefile --- old/Markdown-3.4.1/makefile 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/makefile 2023-03-23 14:15:27.000000000 +0100 @@ -8,31 +8,26 @@ @echo ' install Install Python-Markdown locally' @echo ' deploy Register and upload a new release to PyPI' @echo ' build Build a source distribution' - @echo ' build-win Build a Windows exe distribution' @echo ' docs Build documentation' @echo ' test Run all tests' @echo ' clean Clean up the source directories' =20 .PHONY : install install: - python setup.py install + pip install . =20 .PHONY : deploy deploy: rm -rf build rm -rf dist - python setup.py bdist_wheel sdist --formats gztar + python -m build twine upload dist/* =20 .PHONY : build build: rm -rf build rm -rf dist - python setup.py bdist_wheel sdist --formats gztar - -.PHONY : build-win -build-win: - python setup.py bdist_wininst + python -m build =20 .PHONY : docs docs: diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/__meta__.py new/Markdown-3.4.= 3/markdown/__meta__.py --- old/Markdown-3.4.1/markdown/__meta__.py 2022-07-15 21:15:31.000000000 +02= 00 +++ new/Markdown-3.4.3/markdown/__meta__.py 2023-03-23 14:15:27.000000000 +01= 00 @@ -26,7 +26,7 @@ # (1, 2, 0, 'beta', 2) =3D> "1.2b2" # (1, 2, 0, 'rc', 4) =3D> "1.2rc4" # (1, 2, 0, 'final', 0) =3D> "1.2" -__version_info__ =3D (3, 4, 1, 'final', 0) +__version_info__ =3D (3, 4, 3, 'final', 0) =20 =20 def _get_version(version_info): diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/core.py new/Markdown-3.4.3/ma= rkdown/core.py --- old/Markdown-3.4.1/markdown/core.py 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/markdown/core.py 2023-03-23 14:15:27.000000000 +0100 @@ -31,6 +31,7 @@ from .postprocessors import build_postprocessors from .extensions import Extension from .serializers import to_html_string, to_xhtml_string +from .util import BLOCK_LEVEL_ELEMENTS =20 __all__ =3D ['Markdown', 'markdown', 'markdownFromFile'] =20 @@ -72,18 +73,7 @@ self.ESCAPED_CHARS =3D ['\\', '`', '*', '_', '{', '}', '[', ']', '(', ')', '>', '#', '+', '-', '.', '!'] =20 - self.block_level_elements =3D [ - # Elements which are invalid to wrap in a `

` tag. - # See https://w3c.github.io/html/grouping-content.html#the-p-ele= ment - 'address', 'article', 'aside', 'blockquote', 'details', 'div', '= dl', - 'fieldset', 'figcaption', 'figure', 'footer', 'form', 'h1', 'h2'= , 'h3', - 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'menu', 'nav= ', 'ol', - 'p', 'pre', 'section', 'table', 'ul', - # Other elements which Markdown should not be mucking up the con= tents of. - 'canvas', 'colgroup', 'dd', 'body', 'dt', 'group', 'iframe', 'li= ', 'legend', - 'math', 'map', 'noscript', 'output', 'object', 'option', 'progre= ss', 'script', - 'style', 'summary', 'tbody', 'td', 'textarea', 'tfoot', 'th', 't= head', 'tr', 'video' - ] + self.block_level_elements =3D BLOCK_LEVEL_ELEMENTS.copy() =20 self.registeredExtensions =3D [] self.docType =3D "" diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/extensions/codehilite.py new/= Markdown-3.4.3/markdown/extensions/codehilite.py --- old/Markdown-3.4.1/markdown/extensions/codehilite.py 2022-07-15 21:15:31.= 000000000 +0200 +++ new/Markdown-3.4.3/markdown/extensions/codehilite.py 2023-03-23 14:15:27.= 000000000 +0100 @@ -122,7 +122,7 @@ =20 def hilite(self, shebang=3DTrue): """ - Pass code to the [Pygments](http://pygments.pocoo.org/) highliter wi= th + Pass code to the [Pygments](https://pygments.org/) highliter with optional line numbers. The output should then be styled with css to your liking. No styles are applied by default - only styling hooks (i.e.: ). @@ -182,7 +182,7 @@ def _parseHeader(self): """ Determines language of a code block from shebang line and whether the - said line should be removed or left in place. If the sheband line + said line should be removed or left in place. If the shebang line contains a path (even a single /) then it is assumed to be a real shebang line and left alone. However, if no path is given (e.i.: #!python or :::python) then it is assumed to be a mock shebang diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/extensions/footnotes.py new/M= arkdown-3.4.3/markdown/extensions/footnotes.py --- old/Markdown-3.4.1/markdown/extensions/footnotes.py 2022-07-15 21:15:31.0= 00000000 +0200 +++ new/Markdown-3.4.3/markdown/extensions/footnotes.py 2023-03-23 14:15:27.0= 00000000 +0100 @@ -256,7 +256,7 @@ return False =20 def detectTabbed(self, blocks): - """ Find indented text and remove indent before further proccesing. + """ Find indented text and remove indent before further processing. =20 Returns: a list of blocks with indentation removed. """ diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/inlinepatterns.py new/Markdow= n-3.4.3/markdown/inlinepatterns.py --- old/Markdown-3.4.1/markdown/inlinepatterns.py 2022-07-15 21:15:31.0000000= 00 +0200 +++ new/Markdown-3.4.3/markdown/inlinepatterns.py 2023-03-23 14:15:27.0000000= 00 +0100 @@ -154,7 +154,7 @@ IMAGE_REFERENCE_RE =3D IMAGE_LINK_RE =20 # stand-alone * or _ -NOT_STRONG_RE =3D r'((^|\s)(\*|_)(\s|$))' +NOT_STRONG_RE =3D r'((^|(?<=3D\s))(\*{1,3}|_{1,3})(?=3D\s|$))' =20 # AUTOLINK_RE =3D r'<((?:[Ff]|[Hh][Tt])[Tt][Pp][Ss]?://[^<>]*)>' diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/markdown/util.py new/Markdown-3.4.3/ma= rkdown/util.py --- old/Markdown-3.4.1/markdown/util.py 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/markdown/util.py 2023-03-23 14:15:27.000000000 +0100 @@ -41,9 +41,9 @@ 'h4', 'h5', 'h6', 'header', 'hgroup', 'hr', 'main', 'menu', 'nav', 'ol', 'p', 'pre', 'section', 'table', 'ul', # Other elements which Markdown should not be mucking up the contents of. - 'canvas', 'colgroup', 'dd', 'body', 'dt', 'group', 'iframe', 'li', 'lege= nd', + 'canvas', 'colgroup', 'dd', 'body', 'dt', 'group', 'html', 'iframe', 'li= ', 'legend', 'math', 'map', 'noscript', 'output', 'object', 'option', 'progress', 'sc= ript', - 'style', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'tr', 'video' + 'style', 'summary', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', '= tr', 'video' ] =20 # Placeholders diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/mkdocs.yml new/Markdown-3.4.3/mkdocs.y= ml --- old/Markdown-3.4.1/mkdocs.yml 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/mkdocs.yml 2023-03-23 14:15:27.000000000 +0100 @@ -2,7 +2,7 @@ site_url: https://Python-Markdown.github.io/ repo_url: https://github.com/Python-Markdown/markdown site_author: "The Python-Markdown Project" -copyright: "Copyright © 2010-2017" +copyright: "Copyright © 2010-2023" =20 use_directory_urls: true =20 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/pyproject.toml new/Markdown-3.4.3/pypr= oject.toml --- old/Markdown-3.4.1/pyproject.toml 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/pyproject.toml 2023-03-23 14:15:27.000000000 +0100 @@ -1,4 +1,90 @@ [build-system] # Minimum requirements for the build system to execute. -requires =3D ["setuptools>=3D36.6", "wheel"] +requires =3D ["setuptools>=3D61.2", "wheel"] build-backend =3D "setuptools.build_meta" + +[project] +name =3D 'Markdown' +dynamic =3D ['version'] +description =3D "Python implementation of John Gruber's Markdown." +readme =3D {file =3D 'README.md', content-type=3D'text/markdown'} +authors =3D [ + {name =3D 'Manfred Stienstra'}, + {name =3D 'Yuri Takhteyev'}, + {name =3D 'Waylan limberg', email =3D 'python.markdown(a)gmail.com'} +] +maintainers =3D [ + {name =3D 'Waylan Limberg', email =3D 'python.markdown(a)gmail.com'}, + {name =3D 'Isaac Muse'} +] +license =3D {file =3D 'LICENSE.md'} +requires-python =3D '>=3D3.7' +dependencies =3D [ + "importlib-metadata>=3D4.4;python_version<'3.10'" +] +keywords =3D ['markdown', 'markdown-parser', 'python-markdown', 'markdown-to= -html'] +classifiers =3D [ + 'Development Status :: 5 - Production/Stable', + 'License :: OSI Approved :: BSD License', + 'Operating System :: OS Independent', + 'Programming Language :: Python', + 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.7', + 'Programming Language :: Python :: 3.8', + 'Programming Language :: Python :: 3.9', + 'Programming Language :: Python :: 3.10', + 'Programming Language :: Python :: 3.11', + 'Programming Language :: Python :: 3 :: Only', + 'Programming Language :: Python :: Implementation :: CPython', + 'Programming Language :: Python :: Implementation :: PyPy', + 'Topic :: Communications :: Email :: Filters', + 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libraries= ', + 'Topic :: Internet :: WWW/HTTP :: Site Management', + 'Topic :: Software Development :: Documentation', + 'Topic :: Software Development :: Libraries :: Python Modules', + 'Topic :: Text Processing :: Filters', + 'Topic :: Text Processing :: Markup :: HTML', + 'Topic :: Text Processing :: Markup :: Markdown' +] + +[project.optional-dependencies] +testing =3D [ + 'coverage', + 'pyyaml', +] + +[project.urls] +'Homepage' =3D 'https://Python-Markdown.github.io/' +'Documentation' =3D 'https://Python-Markdown.github.io/' +'Repository' =3D 'https://github.com/Python-Markdown/markdown' +'Issue Tracker' =3D 'https://github.com/Python-Markdown/markdown/issues' +'Changelog' =3D 'https://github.com/Python-Markdown/markdown/blob/master/doc= s/change_log/index.md' + +[project.scripts] +markdown_py =3D 'markdown.__main__:run' + +[project.entry-points.'markdown.extensions'] +abbr =3D 'markdown.extensions.abbr:AbbrExtension' +admonition =3D 'markdown.extensions.admonition:AdmonitionExtension' +attr_list =3D 'markdown.extensions.attr_list:AttrListExtension' +codehilite =3D 'markdown.extensions.codehilite:CodeHiliteExtension' +def_list =3D 'markdown.extensions.def_list:DefListExtension' +extra =3D 'markdown.extensions.extra:ExtraExtension' +fenced_code =3D 'markdown.extensions.fenced_code:FencedCodeExtension' +footnotes =3D 'markdown.extensions.footnotes:FootnoteExtension' +md_in_html =3D 'markdown.extensions.md_in_html:MarkdownInHtmlExtension' +meta =3D 'markdown.extensions.meta:MetaExtension' +nl2br =3D 'markdown.extensions.nl2br:Nl2BrExtension' +sane_lists =3D 'markdown.extensions.sane_lists:SaneListExtension' +smarty =3D 'markdown.extensions.smarty:SmartyExtension' +tables =3D 'markdown.extensions.tables:TableExtension' +toc =3D 'markdown.extensions.toc:TocExtension' +wikilinks =3D 'markdown.extensions.wikilinks:WikiLinkExtension' +legacy_attrs =3D 'markdown.extensions.legacy_attrs:LegacyAttrExtension' +legacy_em =3D 'markdown.extensions.legacy_em:LegacyEmExtension' + +[tool.setuptools] +packages =3D ['markdown', 'markdown.extensions'] + +[tool.setuptools.dynamic] +version =3D {attr =3D 'markdown.__meta__.__version__'} diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/setup.cfg new/Markdown-3.4.3/setup.cfg --- old/Markdown-3.4.1/setup.cfg 2022-07-15 21:15:35.000000000 +0200 +++ new/Markdown-3.4.3/setup.cfg 2023-03-23 14:15:38.000000000 +0100 @@ -1,6 +1,3 @@ -[metadata] -license_file =3D LICENSE.md - [egg_info] tag_build =3D=20 tag_date =3D 0 diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/setup.py new/Markdown-3.4.3/setup.py --- old/Markdown-3.4.1/setup.py 2022-07-15 21:15:31.000000000 +0200 +++ new/Markdown-3.4.3/setup.py 1970-01-01 01:00:00.000000000 +0100 @@ -1,132 +0,0 @@ -#!/usr/bin/env python -""" -Python Markdown - -A Python implementation of John Gruber's Markdown. - -Documentation: https://python-markdown.github.io/ -GitHub: https://github.com/Python-Markdown/markdown/ -PyPI: https://pypi.org/project/Markdown/ - -Started by Manfred Stienstra (http://www.dwerg.net/). -Maintained for a few years by Yuri Takhteyev (http://www.freewisdom.org). -Currently maintained by Waylan Limberg (https://github.com/waylan), -Dmitry Shachnev (https://github.com/mitya57) and Isaac Muse (https://github.= com/facelessuser). - -Copyright 2007-2018 The Python Markdown Project (v. 1.7 and later) -Copyright 2004, 2005, 2006 Yuri Takhteyev (v. 0.2-1.6b) -Copyright 2004 Manfred Stienstra (the original version) - -License: BSD (see LICENSE.md for details). -""" - - -import os -from setuptools import setup - - -def get_version(): - """Get version and version_info from markdown/__meta__.py file.""" - module_path =3D os.path.join(os.path.dirname('__file__'), 'markdown', '_= _meta__.py') - - import importlib.util - spec =3D importlib.util.spec_from_file_location('__meta__', module_path) - meta =3D importlib.util.module_from_spec(spec) - spec.loader.exec_module(meta) - return meta.__version__, meta.__version_info__ - - -__version__, __version_info__ =3D get_version() - -# Get development Status for classifiers -dev_status_map =3D { - 'dev': '2 - Pre-Alpha', - 'alpha': '3 - Alpha', - 'beta': '4 - Beta', - 'rc': '4 - Beta', - 'final': '5 - Production/Stable' -} -DEVSTATUS =3D dev_status_map[__version_info__[3]] - -# The command line script name. Currently set to "markdown_py" so as not to -# conflict with the perl implementation (which uses "markdown"). -SCRIPT_NAME =3D 'markdown_py' - -with open('README.md') as f: - long_description =3D f.read() - -setup( - name=3D'Markdown', - version=3D__version__, - url=3D'https://Python-Markdown.github.io/', - project_urls=3D{ - 'Documentation': 'https://Python-Markdown.github.io/', - 'GitHub Project': 'https://github.com/Python-Markdown/markdown', - 'Issue Tracker': 'https://github.com/Python-Markdown/markdown/issues' - }, - description=3D'Python implementation of Markdown.', - long_description=3Dlong_description, - long_description_content_type=3D'text/markdown', - author=3D'Manfred Stienstra, Yuri takhteyev and Waylan limberg', - author_email=3D'python.markdown(a)gmail.com', - maintainer=3D'Waylan Limberg', - maintainer_email=3D'python.markdown(a)gmail.com', - license=3D'BSD License', - packages=3D['markdown', 'markdown.extensions'], - python_requires=3D'>=3D3.7', - install_requires=3D["importlib-metadata>=3D4.4;python_version<'3.10'"], - extras_require=3D{ - 'testing': [ - 'coverage', - 'pyyaml', - ], - }, - entry_points=3D{ - 'console_scripts': [ - '%s =3D markdown.__main__:run' % SCRIPT_NAME, - ], - # Register the built in extensions - 'markdown.extensions': [ - 'abbr =3D markdown.extensions.abbr:AbbrExtension', - 'admonition =3D markdown.extensions.admonition:AdmonitionExtensi= on', - 'attr_list =3D markdown.extensions.attr_list:AttrListExtension', - 'codehilite =3D markdown.extensions.codehilite:CodeHiliteExtensi= on', - 'def_list =3D markdown.extensions.def_list:DefListExtension', - 'extra =3D markdown.extensions.extra:ExtraExtension', - 'fenced_code =3D markdown.extensions.fenced_code:FencedCodeExten= sion', - 'footnotes =3D markdown.extensions.footnotes:FootnoteExtension', - 'md_in_html =3D markdown.extensions.md_in_html:MarkdownInHtmlExt= ension', - 'meta =3D markdown.extensions.meta:MetaExtension', - 'nl2br =3D markdown.extensions.nl2br:Nl2BrExtension', - 'sane_lists =3D markdown.extensions.sane_lists:SaneListExtension= ', - 'smarty =3D markdown.extensions.smarty:SmartyExtension', - 'tables =3D markdown.extensions.tables:TableExtension', - 'toc =3D markdown.extensions.toc:TocExtension', - 'wikilinks =3D markdown.extensions.wikilinks:WikiLinkExtension', - 'legacy_attrs =3D markdown.extensions.legacy_attrs:LegacyAttrExt= ension', - 'legacy_em =3D markdown.extensions.legacy_em:LegacyEmExtension', - ] - }, - classifiers=3D[ - 'Development Status :: %s' % DEVSTATUS, - 'License :: OSI Approved :: BSD License', - 'Operating System :: OS Independent', - 'Programming Language :: Python', - 'Programming Language :: Python :: 3', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.9', - 'Programming Language :: Python :: 3.10', - 'Programming Language :: Python :: 3 :: Only', - 'Programming Language :: Python :: Implementation :: CPython', - 'Programming Language :: Python :: Implementation :: PyPy', - 'Topic :: Communications :: Email :: Filters', - 'Topic :: Internet :: WWW/HTTP :: Dynamic Content :: CGI Tools/Libra= ries', - 'Topic :: Internet :: WWW/HTTP :: Site Management', - 'Topic :: Software Development :: Documentation', - 'Topic :: Software Development :: Libraries :: Python Modules', - 'Topic :: Text Processing :: Filters', - 'Topic :: Text Processing :: Markup :: HTML', - 'Topic :: Text Processing :: Markup :: Markdown' - ] -) diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/tests/test_legacy.py new/Markdown-3.4.= 3/tests/test_legacy.py --- old/Markdown-3.4.1/tests/test_legacy.py 2022-07-15 21:15:31.000000000 +02= 00 +++ new/Markdown-3.4.3/tests/test_legacy.py 2023-03-23 14:15:27.000000000 +01= 00 @@ -66,7 +66,7 @@ Code block in a list item: We match markdown.pl - not sure how php gets = that output?? =20 PHP-Specific Bugs: Not sure what to make of the escaping stuff here. - Why is PHP not removing a blackslash? + Why is PHP not removing a backslash? """ location =3D os.path.join(parent_test_dir, 'php') normalize =3D True diff -urN '--exclude=3DCVS' '--exclude=3D.cvsignore' '--exclude=3D.svn' '--ex= clude=3D.svnignore' old/Markdown-3.4.1/tests/test_syntax/inline/test_emphasis= .py new/Markdown-3.4.3/tests/test_syntax/inline/test_emphasis.py --- old/Markdown-3.4.1/tests/test_syntax/inline/test_emphasis.py 2022-07-15 2= 1:15:31.000000000 +0200 +++ new/Markdown-3.4.3/tests/test_syntax/inline/test_emphasis.py 2023-03-23 1= 4:15:27.000000000 +0100 @@ -36,6 +36,42 @@ '

_

' ) =20 + def test_standalone_asterisks_consecutive(self): + self.assertMarkdownRenders( + 'Foo * * * *', + '

Foo * * * *

' + ) + + def test_standalone_understore_consecutive(self): + self.assertMarkdownRenders( + 'Foo _ _ _ _', + '

Foo _ _ _ _

' + ) + + def test_standalone_asterisks_pairs(self): + self.assertMarkdownRenders( + 'Foo ** ** ** **', + '

Foo ** ** ** **

' + ) + + def test_standalone_understore_pairs(self): + self.assertMarkdownRenders( + 'Foo __ __ __ __', + '

Foo __ __ __ __

' + ) + + def test_standalone_asterisks_triples(self): + self.assertMarkdownRenders( + 'Foo *** *** *** ***', + '

Foo *** *** *** ***

' + ) + + def test_standalone_understore_triples(self): + self.assertMarkdownRenders( + 'Foo ___ ___ ___ ___', + '

Foo ___ ___ ___ ___

' + ) + def test_standalone_asterisk_in_text(self): self.assertMarkdownRenders( 'foo * bar', @@ -72,10 +108,16 @@ '

foo\n_ bar _\nbaz

' ) =20 - def test_standalone_asterisks_at_end(self): + def test_standalone_underscore_at_begin(self): + self.assertMarkdownRenders( + '_ foo_ bar', + '

_ foo_ bar

' + ) + + def test_standalone_asterisk_at_end(self): self.assertMarkdownRenders( - 'foo * bar *', - '

foo * bar *

' + 'foo *bar *', + '

foo *bar *

' ) =20 def test_standalone_understores_at_begin_end(self): --===============3917051233118329064==--