Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mkdocs-material-extensions
for openSUSE:Factory checked in at 2023-09-21 22:22:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mkdocs-material-extensions (Old)
and
/work/SRC/openSUSE:Factory/.python-mkdocs-material-extensions.new.1770 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mkdocs-material-extensions"
Thu Sep 21 22:22:53 2023 rev:3 rq:1112730 version:1.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mkdocs-material-extensions/python-mkdocs-material-extensions.changes
2023-05-06 22:09:25.460794440 +0200
+++
/work/SRC/openSUSE:Factory/.python-mkdocs-material-extensions.new.1770/python-mkdocs-material-extensions.changes
2023-09-21 22:23:02.392846912 +0200
@@ -1,0 +2,8 @@
+Thu Sep 21 04:43:15 UTC 2023 - Johannes Kastl <[email protected]>
+
+- update to 1.2:
+ * NEW Add official support for Python 3.11 and 3.12.
+ * NEW Remove support for Python 3.7.
+ * FIX Update to support latest Material.
+
+-------------------------------------------------------------------
Old:
----
mkdocs_material_extensions-1.1.1.tar.gz
New:
----
mkdocs_material_extensions-1.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mkdocs-material-extensions.spec ++++++
--- /var/tmp/diff_new_pack.vQn9ZE/_old 2023-09-21 22:23:03.616891328 +0200
+++ /var/tmp/diff_new_pack.vQn9ZE/_new 2023-09-21 22:23:03.620891474 +0200
@@ -26,7 +26,7 @@
%endif
%{?sle15_python_module_pythons}
Name: python-mkdocs-material-extensions%{psuffix}
-Version: 1.1.1
+Version: 1.2
Release: 0
Summary: Extension pack for Python Markdown
License: MIT
++++++ _service ++++++
--- /var/tmp/diff_new_pack.vQn9ZE/_old 2023-09-21 22:23:03.660892925 +0200
+++ /var/tmp/diff_new_pack.vQn9ZE/_new 2023-09-21 22:23:03.660892925 +0200
@@ -1,4 +1,4 @@
<services>
- <service name="download_files" mode="disabled"/>
+ <service name="download_files" mode="manual"/>
</services>
++++++ mkdocs_material_extensions-1.1.1.tar.gz ->
mkdocs_material_extensions-1.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_material_extensions-1.1.1/PKG-INFO
new/mkdocs_material_extensions-1.2/PKG-INFO
--- old/mkdocs_material_extensions-1.1.1/PKG-INFO 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,9 +1,10 @@
Metadata-Version: 2.1
Name: mkdocs-material-extensions
-Version: 1.1.1
+Version: 1.2
Summary: Extension pack for Python Markdown and MkDocs Material.
Project-URL: Homepage,
https://github.com/facelessuser/mkdocs-material-extensions
Author-email: Isaac Muse <[email protected]>
+License-Expression: MIT
License-File: LICENSE.md
Keywords: extensions,markdown
Classifier: Development Status :: 5 - Production/Stable
@@ -12,10 +13,11 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.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.12
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Text Processing :: Filters
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_material_extensions-1.1.1/changelog.md
new/mkdocs_material_extensions-1.2/changelog.md
--- old/mkdocs_material_extensions-1.1.1/changelog.md 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/changelog.md 2020-02-02
01:00:00.000000000 +0100
@@ -1,10 +1,16 @@
# Changelog
+## 1.2
+
+- **NEW**: Add official support for Python 3.11 and 3.12.
+- **NEW**: Remove support for Python 3.7.
+- **FIX**: Update to support latest Material.
+
## 1.1.1
- **FIX**: Properly handle special glob characters in path.
-## 1.1.0
+## 1.1
- **NEW**: Drop Python 3.6 and officially support 3.10.
- **NEW**: Cache emoji table to reduce build times.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_material_extensions-1.1.1/hatch_build.py
new/mkdocs_material_extensions-1.2/hatch_build.py
--- old/mkdocs_material_extensions-1.1.1/hatch_build.py 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/hatch_build.py 2020-02-02
01:00:00.000000000 +0100
@@ -15,24 +15,12 @@
return module.__version_info__._get_dev_status()
-def get_requirements(root):
- """Load list of dependencies."""
-
- install_requires = []
- with open(os.path.join(root, "requirements", "project.txt")) as f:
- for line in f:
- if not line.startswith("#"):
- install_requires.append(line.strip())
- return install_requires
-
-
class CustomMetadataHook(MetadataHookInterface):
"""Our metadata hook."""
def update(self, metadata):
"""See https://ofek.dev/hatch/latest/plugins/metadata-hook/ for more
information."""
- metadata["dependencies"] = get_requirements(self.root)
metadata["classifiers"] = [
f"Development Status :: {get_version_dev_status(self.root)}",
"Environment :: Console",
@@ -40,10 +28,11 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"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.12",
"Topic :: Internet :: WWW/HTTP :: Dynamic Content",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Text Processing :: Filters",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/mkdocs_material_extensions-1.1.1/materialx/__meta__.py
new/mkdocs_material_extensions-1.2/materialx/__meta__.py
--- old/mkdocs_material_extensions-1.1.1/materialx/__meta__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/materialx/__meta__.py 2020-02-02
01:00:00.000000000 +0100
@@ -188,5 +188,5 @@
return Version(major, minor, micro, release, pre, post, dev)
-__version_info__ = Version(1, 1, 1, "final")
+__version_info__ = Version(1, 2, 0, "final")
__version__ = __version_info__._get_canonical()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_material_extensions-1.1.1/materialx/emoji.py
new/mkdocs_material_extensions-1.2/materialx/emoji.py
--- old/mkdocs_material_extensions-1.1.1/materialx/emoji.py 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/materialx/emoji.py 2020-02-02
01:00:00.000000000 +0100
@@ -16,13 +16,17 @@
OPTION_SUPPORT = pymdownx.__version_info__ >= (7, 1, 0)
RESOURCES = os.path.dirname(inspect.getfile(material))
+if os.path.exists(os.path.join(RESOURCES, 'templates', '.icons')): # pragma:
no cover
+ RES_PATH = os.path.join(RESOURCES, 'templates', '.icons')
+else: # pragma: no cover
+ RES_PATH = os.path.join(RESOURCES, '.icons')
def _patch_index(options):
"""Patch the given index."""
icon_locations = options.get('custom_icons', [])[:]
- icon_locations.append(os.path.join(RESOURCES, '.icons'))
+ icon_locations.append(RES_PATH)
return _patch_index_for_locations(tuple(icon_locations))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/mkdocs_material_extensions-1.1.1/tests/extensions/test_emoji.py
new/mkdocs_material_extensions-1.2/tests/extensions/test_emoji.py
--- old/mkdocs_material_extensions-1.1.1/tests/extensions/test_emoji.py
2020-02-02 01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/tests/extensions/test_emoji.py
2020-02-02 01:00:00.000000000 +0100
@@ -3,6 +3,7 @@
from materialx import emoji
from bs4 import BeautifulSoup
import markdown
+from pymdownx.emoji import TWEMOJI_SVG_CDN
class TestEmoji(util.MdCase):
@@ -46,5 +47,5 @@
self.check_markdown(
':smile:',
- '<p><img alt="\U0001f604" class="twemoji"
src="https://twemoji.maxcdn.com/v/latest/svg/1f604.svg" title=":smile:" /></p>'
# noqa: E501
+ '<p><img alt="\U0001f604" class="twemoji" src="{}1f604.svg"
title=":smile:" /></p>'.format(TWEMOJI_SVG_CDN) # noqa: E501
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_material_extensions-1.1.1/tox.ini
new/mkdocs_material_extensions-1.2/tox.ini
--- old/mkdocs_material_extensions-1.1.1/tox.ini 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_material_extensions-1.2/tox.ini 2020-02-02 01:00:00.000000000
+0100
@@ -1,12 +1,11 @@
[tox]
isolated_build = true
envlist =
- {py37,py38,py39,py310}, lint, documents
+ {py38,py39,py310,py311,py312}, lint, documents
[testenv]
passenv = LANG
deps=
- -rrequirements/project.txt
-rrequirements/test.txt
commands=
{envbindir}/py.test --cov materialx --cov-append {toxinidir}
@@ -24,7 +23,6 @@
[testenv:lint]
deps=
- -rrequirements/project.txt
-rrequirements/lint.txt
commands=
{envbindir}/flake8 {toxinidir}