Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-Markdown for openSUSE:Factory 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-08-04 13:23:20.368477554 +0200
+++ /work/SRC/openSUSE:Factory/.python-Markdown.new.31432/python-Markdown.changes 2023-03-31 21:14:11.506087020 +0200
@@ -1,0 +2,12 @@
+Fri Mar 24 17:07:05 UTC 2023 - Beno��t 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> 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 @@
#
-%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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/MANIFEST.in new/Markdown-3.4.3/MANIFEST.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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/Markdown.egg-info/PKG-INFO new/Markdown-3.4.3/Markdown.egg-info/PKG-INFO
--- old/Markdown-3.4.1/Markdown.egg-info/PKG-INFO 2022-07-15 21:15:35.000000000 +0200
+++ new/Markdown-3.4.3/Markdown.egg-info/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@gmail.com
-Maintainer: Waylan Limberg
-Maintainer-email: python.markdown@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)
+
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * 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 distribution.
+ * Neither the name of the Python Markdown Project nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN 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 BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+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/issues
+Project-URL: Changelog, https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/inde...
+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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/Markdown.egg-info/SOURCES.txt new/Markdown-3.4.3/Markdown.egg-info/SOURCES.txt
--- old/Markdown-3.4.1/Markdown.egg-info/SOURCES.txt 2022-07-15 21:15:35.000000000 +0200
+++ new/Markdown-3.4.3/Markdown.egg-info/SOURCES.txt 2023-03-23 14:15:38.000000000 +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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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@gmail.com
-Maintainer: Waylan Limberg
-Maintainer-email: python.markdown@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)
+
+ All rights reserved.
+
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions are met:
+
+ * 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 distribution.
+ * Neither the name of the Python Markdown Project nor the
+ names of its contributors may be used to endorse or promote products
+ derived from this software without specific prior written permission.
+
+ THIS SOFTWARE IS PROVIDED BY THE PYTHON MARKDOWN PROJECT ''AS IS'' AND ANY
+ EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
+ DISCLAIMED. IN NO EVENT SHALL ANY CONTRIBUTORS TO THE PYTHON MARKDOWN 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 BUSINESS
+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
+ POSSIBILITY OF SUCH DAMAGE.
+
+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/issues
+Project-URL: Changelog, https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/inde...
+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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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
=========================
+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>` 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).
* Fix an import issue with `importlib.util` (#1274).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 @@
````
To include a set of backticks (or tildes) within a code block, use a different number of backticks for the
-deliminators.
+delimiters.
`````md
````
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/docs/extensions/meta_data.md new/Markdown-3.4.3/docs/extensions/meta_data.md
--- old/Markdown-3.4.1/docs/extensions/meta_data.md 2022-07-15 21:15:31.000000000 +0200
+++ new/Markdown-3.4.3/docs/extensions/meta_data.md 2023-03-23 14:15:27.000000000 +0100
@@ -45,11 +45,11 @@
The first blank line ends all meta-data for the document. Therefore, the first
line of a document must not be blank.
-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 end
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.
All meta-data is stripped from the document prior to any further processing
by Markdown.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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.
- Default: `markdown.extensions.headerid.slugify`
+ Default: `markdown.extensions.toc.slugify`
In order to use a different algorithm to define the id attributes, define 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` attributes.
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`.
* **`separator`**:
Word separator. Character which replaces white space in id. Defaults to "`-`".
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/docs/reference.md new/Markdown-3.4.3/docs/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:
* `"xhtml"`: Outputs XHTML style tags. **Default**.
- * `"html5"`: Outputs HTML style tags.
+ * `"html"`: Outputs HTML style tags.
The values can be in either lowercase or uppercase.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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'
.PHONY : install
install:
- python setup.py install
+ pip install .
.PHONY : deploy
deploy:
rm -rf build
rm -rf dist
- python setup.py bdist_wheel sdist --formats gztar
+ python -m build
twine upload dist/*
.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
.PHONY : docs
docs:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 +0200
+++ new/Markdown-3.4.3/markdown/__meta__.py 2023-03-23 14:15:27.000000000 +0100
@@ -26,7 +26,7 @@
# (1, 2, 0, 'beta', 2) => "1.2b2"
# (1, 2, 0, 'rc', 4) => "1.2rc4"
# (1, 2, 0, 'final', 0) => "1.2"
-__version_info__ = (3, 4, 1, 'final', 0)
+__version_info__ = (3, 4, 3, 'final', 0)
def _get_version(version_info):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/markdown/core.py new/Markdown-3.4.3/markdown/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
__all__ = ['Markdown', 'markdown', 'markdownFromFile']
@@ -72,18 +73,7 @@
self.ESCAPED_CHARS = ['\\', '`', '*', '_', '{', '}', '[', ']',
'(', ')', '>', '#', '+', '-', '.', '!']
- self.block_level_elements = [
- # Elements which are invalid to wrap in a `<p>` tag.
- # See https://w3c.github.io/html/grouping-content.html#the-p-element
- '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 contents of.
- 'canvas', 'colgroup', 'dd', 'body', 'dt', 'group', 'iframe', 'li', 'legend',
- 'math', 'map', 'noscript', 'output', 'object', 'option', 'progress', 'script',
- 'style', 'summary', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'tr', 'video'
- ]
+ self.block_level_elements = BLOCK_LEVEL_ELEMENTS.copy()
self.registeredExtensions = []
self.docType = ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 @@
def hilite(self, shebang=True):
"""
- Pass code to the [Pygments](http://pygments.pocoo.org/) highliter with
+ 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.: <span class="k">).
@@ -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=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/markdown/extensions/footnotes.py new/Markdown-3.4.3/markdown/extensions/footnotes.py
--- old/Markdown-3.4.1/markdown/extensions/footnotes.py 2022-07-15 21:15:31.000000000 +0200
+++ new/Markdown-3.4.3/markdown/extensions/footnotes.py 2023-03-23 14:15:27.000000000 +0100
@@ -256,7 +256,7 @@
return False
def detectTabbed(self, blocks):
- """ Find indented text and remove indent before further proccesing.
+ """ Find indented text and remove indent before further processing.
Returns: a list of blocks with indentation removed.
"""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/markdown/inlinepatterns.py new/Markdown-3.4.3/markdown/inlinepatterns.py
--- old/Markdown-3.4.1/markdown/inlinepatterns.py 2022-07-15 21:15:31.000000000 +0200
+++ new/Markdown-3.4.3/markdown/inlinepatterns.py 2023-03-23 14:15:27.000000000 +0100
@@ -154,7 +154,7 @@
IMAGE_REFERENCE_RE = IMAGE_LINK_RE
# stand-alone * or _
-NOT_STRONG_RE = r'((^|\s)(\*|_)(\s|$))'
+NOT_STRONG_RE = r'((^|(?<=\s))(\*{1,3}|_{1,3})(?=\s|$))'
# http://www.123.com
AUTOLINK_RE = r'<((?:[Ff]|[Hh][Tt])[Tt][Pp][Ss]?://[^<>]*)>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/markdown/util.py new/Markdown-3.4.3/markdown/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', 'legend',
+ 'canvas', 'colgroup', 'dd', 'body', 'dt', 'group', 'html', 'iframe', 'li', 'legend',
'math', 'map', 'noscript', 'output', 'object', 'option', 'progress', 'script',
- 'style', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'tr', 'video'
+ 'style', 'summary', 'tbody', 'td', 'textarea', 'tfoot', 'th', 'thead', 'tr', 'video'
]
# Placeholders
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/mkdocs.yml new/Markdown-3.4.3/mkdocs.yml
--- 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"
use_directory_urls: true
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/Markdown-3.4.1/pyproject.toml new/Markdown-3.4.3/pyproject.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 = ["setuptools>=36.6", "wheel"]
+requires = ["setuptools>=61.2", "wheel"]
build-backend = "setuptools.build_meta"
+
+[project]
+name = 'Markdown'
+dynamic = ['version']
+description = "Python implementation of John Gruber's Markdown."
+readme = {file = 'README.md', content-type='text/markdown'}
+authors = [
+ {name = 'Manfred Stienstra'},
+ {name = 'Yuri Takhteyev'},
+ {name = 'Waylan limberg', email = 'python.markdown@gmail.com'}
+]
+maintainers = [
+ {name = 'Waylan Limberg', email = 'python.markdown@gmail.com'},
+ {name = 'Isaac Muse'}
+]
+license = {file = 'LICENSE.md'}
+requires-python = '>=3.7'
+dependencies = [
+ "importlib-metadata>=4.4;python_version<'3.10'"
+]
+keywords = ['markdown', 'markdown-parser', 'python-markdown', 'markdown-to-html']
+classifiers = [
+ '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 = [
+ 'coverage',
+ 'pyyaml',
+]
+
+[project.urls]
+'Homepage' = 'https://Python-Markdown.github.io/'
+'Documentation' = 'https://Python-Markdown.github.io/'
+'Repository' = 'https://github.com/Python-Markdown/markdown'
+'Issue Tracker' = 'https://github.com/Python-Markdown/markdown/issues'
+'Changelog' = 'https://github.com/Python-Markdown/markdown/blob/master/docs/change_log/inde...'
+
+[project.scripts]
+markdown_py = 'markdown.__main__:run'
+
+[project.entry-points.'markdown.extensions']
+abbr = 'markdown.extensions.abbr:AbbrExtension'
+admonition = 'markdown.extensions.admonition:AdmonitionExtension'
+attr_list = 'markdown.extensions.attr_list:AttrListExtension'
+codehilite = 'markdown.extensions.codehilite:CodeHiliteExtension'
+def_list = 'markdown.extensions.def_list:DefListExtension'
+extra = 'markdown.extensions.extra:ExtraExtension'
+fenced_code = 'markdown.extensions.fenced_code:FencedCodeExtension'
+footnotes = 'markdown.extensions.footnotes:FootnoteExtension'
+md_in_html = 'markdown.extensions.md_in_html:MarkdownInHtmlExtension'
+meta = 'markdown.extensions.meta:MetaExtension'
+nl2br = 'markdown.extensions.nl2br:Nl2BrExtension'
+sane_lists = 'markdown.extensions.sane_lists:SaneListExtension'
+smarty = 'markdown.extensions.smarty:SmartyExtension'
+tables = 'markdown.extensions.tables:TableExtension'
+toc = 'markdown.extensions.toc:TocExtension'
+wikilinks = 'markdown.extensions.wikilinks:WikiLinkExtension'
+legacy_attrs = 'markdown.extensions.legacy_attrs:LegacyAttrExtension'
+legacy_em = 'markdown.extensions.legacy_em:LegacyEmExtension'
+
+[tool.setuptools]
+packages = ['markdown', 'markdown.extensions']
+
+[tool.setuptools.dynamic]
+version = {attr = 'markdown.__meta__.__version__'}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 = LICENSE.md
-
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 = os.path.join(os.path.dirname('__file__'), 'markdown', '__meta__.py')
-
- import importlib.util
- spec = importlib.util.spec_from_file_location('__meta__', module_path)
- meta = importlib.util.module_from_spec(spec)
- spec.loader.exec_module(meta)
- return meta.__version__, meta.__version_info__
-
-
-__version__, __version_info__ = get_version()
-
-# Get development Status for classifiers
-dev_status_map = {
- 'dev': '2 - Pre-Alpha',
- 'alpha': '3 - Alpha',
- 'beta': '4 - Beta',
- 'rc': '4 - Beta',
- 'final': '5 - Production/Stable'
-}
-DEVSTATUS = 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 = 'markdown_py'
-
-with open('README.md') as f:
- long_description = f.read()
-
-setup(
- name='Markdown',
- version=__version__,
- url='https://Python-Markdown.github.io/',
- project_urls={
- 'Documentation': 'https://Python-Markdown.github.io/',
- 'GitHub Project': 'https://github.com/Python-Markdown/markdown',
- 'Issue Tracker': 'https://github.com/Python-Markdown/markdown/issues'
- },
- description='Python implementation of Markdown.',
- long_description=long_description,
- long_description_content_type='text/markdown',
- author='Manfred Stienstra, Yuri takhteyev and Waylan limberg',
- author_email='python.markdown@gmail.com',
- maintainer='Waylan Limberg',
- maintainer_email='python.markdown@gmail.com',
- license='BSD License',
- packages=['markdown', 'markdown.extensions'],
- python_requires='>=3.7',
- install_requires=["importlib-metadata>=4.4;python_version<'3.10'"],
- extras_require={
- 'testing': [
- 'coverage',
- 'pyyaml',
- ],
- },
- entry_points={
- 'console_scripts': [
- '%s = markdown.__main__:run' % SCRIPT_NAME,
- ],
- # Register the built in extensions
- 'markdown.extensions': [
- 'abbr = markdown.extensions.abbr:AbbrExtension',
- 'admonition = markdown.extensions.admonition:AdmonitionExtension',
- 'attr_list = markdown.extensions.attr_list:AttrListExtension',
- 'codehilite = markdown.extensions.codehilite:CodeHiliteExtension',
- 'def_list = markdown.extensions.def_list:DefListExtension',
- 'extra = markdown.extensions.extra:ExtraExtension',
- 'fenced_code = markdown.extensions.fenced_code:FencedCodeExtension',
- 'footnotes = markdown.extensions.footnotes:FootnoteExtension',
- 'md_in_html = markdown.extensions.md_in_html:MarkdownInHtmlExtension',
- 'meta = markdown.extensions.meta:MetaExtension',
- 'nl2br = markdown.extensions.nl2br:Nl2BrExtension',
- 'sane_lists = markdown.extensions.sane_lists:SaneListExtension',
- 'smarty = markdown.extensions.smarty:SmartyExtension',
- 'tables = markdown.extensions.tables:TableExtension',
- 'toc = markdown.extensions.toc:TocExtension',
- 'wikilinks = markdown.extensions.wikilinks:WikiLinkExtension',
- 'legacy_attrs = markdown.extensions.legacy_attrs:LegacyAttrExtension',
- 'legacy_em = markdown.extensions.legacy_em:LegacyEmExtension',
- ]
- },
- classifiers=[
- '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/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'
- ]
-)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 +0200
+++ new/Markdown-3.4.3/tests/test_legacy.py 2023-03-23 14:15:27.000000000 +0100
@@ -66,7 +66,7 @@
Code block in a list item: We match markdown.pl - not sure how php gets that output??
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 = os.path.join(parent_test_dir, 'php')
normalize = True
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.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 21:15:31.000000000 +0200
+++ new/Markdown-3.4.3/tests/test_syntax/inline/test_emphasis.py 2023-03-23 14:15:27.000000000 +0100
@@ -36,6 +36,42 @@
'<p>_</p>'
)
+ def test_standalone_asterisks_consecutive(self):
+ self.assertMarkdownRenders(
+ 'Foo * * * *',
+ '<p>Foo * * * *</p>'
+ )
+
+ def test_standalone_understore_consecutive(self):
+ self.assertMarkdownRenders(
+ 'Foo _ _ _ _',
+ '<p>Foo _ _ _ _</p>'
+ )
+
+ def test_standalone_asterisks_pairs(self):
+ self.assertMarkdownRenders(
+ 'Foo ** ** ** **',
+ '<p>Foo ** ** ** **</p>'
+ )
+
+ def test_standalone_understore_pairs(self):
+ self.assertMarkdownRenders(
+ 'Foo __ __ __ __',
+ '<p>Foo __ __ __ __</p>'
+ )
+
+ def test_standalone_asterisks_triples(self):
+ self.assertMarkdownRenders(
+ 'Foo *** *** *** ***',
+ '<p>Foo *** *** *** ***</p>'
+ )
+
+ def test_standalone_understore_triples(self):
+ self.assertMarkdownRenders(
+ 'Foo ___ ___ ___ ___',
+ '<p>Foo ___ ___ ___ ___</p>'
+ )
+
def test_standalone_asterisk_in_text(self):
self.assertMarkdownRenders(
'foo * bar',
@@ -72,10 +108,16 @@
'<p>foo\n_ bar _\nbaz</p>'
)
- def test_standalone_asterisks_at_end(self):
+ def test_standalone_underscore_at_begin(self):
+ self.assertMarkdownRenders(
+ '_ foo_ bar',
+ '<p>_ foo_ bar</p>'
+ )
+
+ def test_standalone_asterisk_at_end(self):
self.assertMarkdownRenders(
- 'foo * bar *',
- '<p>foo * bar *</p>'
+ 'foo *bar *',
+ '<p>foo *bar *</p>'
)
def test_standalone_understores_at_begin_end(self):