Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-mkdocs-get-deps for
openSUSE:Factory checked in at 2026-03-24 18:48:53
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-mkdocs-get-deps (Old)
and /work/SRC/openSUSE:Factory/.python-mkdocs-get-deps.new.8177 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mkdocs-get-deps"
Tue Mar 24 18:48:53 2026 rev:2 rq:1342112 version:0.2.2
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-mkdocs-get-deps/python-mkdocs-get-deps.changes
2024-04-29 17:58:51.964505516 +0200
+++
/work/SRC/openSUSE:Factory/.python-mkdocs-get-deps.new.8177/python-mkdocs-get-deps.changes
2026-03-24 18:49:42.232523166 +0100
@@ -1,0 +2,11 @@
+Mon Mar 23 21:44:46 UTC 2026 - Dirk Müller <[email protected]>
+
+- Update to 0.2.2:
+ * Drop support for Python 3.8.
+ * Add support for Python 3.13.
+ * Update project description.
+ * Use functools.cache instead of lru_cache.
+ * Modernize typing imports and code style.
+ * Extensive CI and linting configuration updates.
+
+-------------------------------------------------------------------
Old:
----
mkdocs_get_deps-0.2.0.tar.gz
New:
----
mkdocs_get_deps-0.2.2.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-mkdocs-get-deps.spec ++++++
--- /var/tmp/diff_new_pack.F0L6GS/_old 2026-03-24 18:49:44.432613943 +0100
+++ /var/tmp/diff_new_pack.F0L6GS/_new 2026-03-24 18:49:44.444614439 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-mkdocs-get-deps
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 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
@@ -18,25 +18,25 @@
%{?sle15_python_module_pythons}
Name: python-mkdocs-get-deps
-Version: 0.2.0
+Version: 0.2.2
Release: 0
Summary: MkDocs extension that lists all dependencies according to a
mkdocsyml file
License: MIT
URL: https://github.com/mkdocs/get-deps
Source:
https://files.pythonhosted.org/packages/source/m/mkdocs-get-deps/mkdocs_get_deps-%{version}.tar.gz
-BuildRequires: python-rpm-macros
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module pip}
+BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module PyYAML >= 5.1}
BuildRequires: %{python_module mergedeep >= 1.3.4}
BuildRequires: %{python_module platformdirs >= 2.2.0}
-BuildRequires: %{python_module PyYAML >= 5.1}
# /SECTION
BuildRequires: fdupes
+Requires: python-PyYAML >= 5.1
Requires: python-mergedeep >= 1.3.4
Requires: python-platformdirs >= 2.2.0
-Requires: python-PyYAML >= 5.1
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
++++++ mkdocs_get_deps-0.2.0.tar.gz -> mkdocs_get_deps-0.2.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_get_deps-0.2.0/PKG-INFO
new/mkdocs_get_deps-0.2.2/PKG-INFO
--- old/mkdocs_get_deps-0.2.0/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
+++ new/mkdocs_get_deps-0.2.2/PKG-INFO 2020-02-02 01:00:00.000000000 +0100
@@ -1,7 +1,7 @@
-Metadata-Version: 2.1
+Metadata-Version: 2.4
Name: mkdocs-get-deps
-Version: 0.2.0
-Summary: MkDocs extension that lists all dependencies according to a
mkdocs.yml file
+Version: 0.2.2
+Summary: An extra command for MkDocs that infers required PyPI packages from
`plugins` in mkdocs.yml
Project-URL: Source, https://github.com/mkdocs/get-deps
Project-URL: Issues, https://github.com/mkdocs/get-deps/issues
Project-URL: History, https://github.com/mkdocs/get-deps/releases
@@ -16,14 +16,14 @@
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
-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: Programming Language :: Python :: 3.13
Classifier: Topic :: Software Development :: Documentation
Classifier: Typing :: Typed
-Requires-Python: >=3.8
+Requires-Python: >=3.9
Requires-Dist: importlib-metadata>=4.3; python_version < '3.10'
Requires-Dist: mergedeep>=1.3.4
Requires-Dist: platformdirs>=2.2.0
@@ -35,7 +35,7 @@
**An extra command for [MkDocs][] that infers required PyPI packages from
`plugins` in mkdocs.yml.**
[](https://pypi.org/project/mkdocs-get-deps/)
-[](https://github.com/mkdocs/get-deps/blob/master/LICENSE.md)
+[](https://github.com/mkdocs/get-deps/blob/master/LICENSE.md)
[](https://github.com/mkdocs/get-deps/actions?query=event%3Apush+branch%3Amaster)
<table>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_get_deps-0.2.0/README.md
new/mkdocs_get_deps-0.2.2/README.md
--- old/mkdocs_get_deps-0.2.0/README.md 2020-02-02 01:00:00.000000000 +0100
+++ new/mkdocs_get_deps-0.2.2/README.md 2020-02-02 01:00:00.000000000 +0100
@@ -3,7 +3,7 @@
**An extra command for [MkDocs][] that infers required PyPI packages from
`plugins` in mkdocs.yml.**
[](https://pypi.org/project/mkdocs-get-deps/)
-[](https://github.com/mkdocs/get-deps/blob/master/LICENSE.md)
+[](https://github.com/mkdocs/get-deps/blob/master/LICENSE.md)
[](https://github.com/mkdocs/get-deps/actions?query=event%3Apush+branch%3Amaster)
<table>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_get_deps-0.2.0/mkdocs_get_deps/__init__.py
new/mkdocs_get_deps-0.2.2/mkdocs_get_deps/__init__.py
--- old/mkdocs_get_deps-0.2.0/mkdocs_get_deps/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_get_deps-0.2.2/mkdocs_get_deps/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,6 +1,6 @@
from __future__ import annotations
-__version__ = "0.2.0"
+__version__ = "0.2.2"
import dataclasses
import datetime
@@ -10,7 +10,8 @@
import os
import sys
import urllib.parse
-from typing import IO, Any, BinaryIO, Collection, Mapping, Sequence
+from collections.abc import Collection, Mapping, Sequence
+from typing import IO, Any, BinaryIO
import yaml
@@ -23,7 +24,26 @@
BUILTIN_THEMES = {"mkdocs", "readthedocs"}
BUILTIN_PLUGINS = {"search"}
-_BUILTIN_EXTENSIONS = "abbr admonition attr_list codehilite def_list extra
fenced_code footnotes md_in_html meta nl2br sane_lists smarty tables toc
wikilinks legacy_attrs legacy_em".split()
+_BUILTIN_EXTENSIONS = [
+ "abbr",
+ "admonition",
+ "attr_list",
+ "codehilite",
+ "def_list",
+ "extra",
+ "fenced_code",
+ "footnotes",
+ "md_in_html",
+ "meta",
+ "nl2br",
+ "sane_lists",
+ "smarty",
+ "tables",
+ "toc",
+ "wikilinks",
+ "legacy_attrs",
+ "legacy_em",
+]
BUILTIN_EXTENSIONS = {
*_BUILTIN_EXTENSIONS,
*(f"markdown.extensions.{e}" for e in _BUILTIN_EXTENSIONS),
@@ -63,7 +83,7 @@
return tuple(obj)
[email protected]_cache(maxsize=None)
[email protected]
def _entry_points(group: str) -> Mapping[str, Any]:
if sys.version_info >= (3, 10):
from importlib.metadata import entry_points
@@ -159,7 +179,7 @@
if projects_file is None:
projects_file = get_projects_file()
with projects_file:
- projects = yaml.load(projects_file,
Loader=yaml_util.SafeLoader)["projects"]
+ projects = yaml.load(projects_file,
Loader=yaml_util.SafeLoader)["projects"] # noqa: S506
for project in projects:
for kind, wanted in wanted_plugins:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_get_deps-0.2.0/mkdocs_get_deps/yaml_util.py
new/mkdocs_get_deps-0.2.2/mkdocs_get_deps/yaml_util.py
--- old/mkdocs_get_deps-0.2.0/mkdocs_get_deps/yaml_util.py 2020-02-02
01:00:00.000000000 +0100
+++ new/mkdocs_get_deps-0.2.2/mkdocs_get_deps/yaml_util.py 2020-02-02
01:00:00.000000000 +0100
@@ -5,13 +5,13 @@
import os.path
from typing import IO, Any
-import mergedeep # type: ignore
+import mergedeep # type: ignore[import-untyped]
import yaml
try:
from yaml import CSafeLoader as SafeLoader
except ImportError:
- from yaml import SafeLoader # type: ignore
+ from yaml import SafeLoader # type: ignore[assignment]
log = logging.getLogger(f"mkdocs.{__name__}")
@@ -21,8 +21,8 @@
# Prevent errors from trying to access external modules which may not be
installed yet.
-YamlLoader.add_constructor("!ENV", lambda loader, node: None) # type: ignore
-YamlLoader.add_constructor("!relative", lambda loader, node: None) # type:
ignore
+YamlLoader.add_constructor("!ENV", lambda loader, node: None)
+YamlLoader.add_constructor("!relative", lambda loader, node: None)
YamlLoader.add_multi_constructor(
"tag:yaml.org,2002:python/name:", lambda loader, suffix, node: None
)
@@ -33,7 +33,7 @@
def yaml_load(source: IO | str) -> dict[str, Any]:
"""Return dict of source YAML file using loader, recursively deep merging
inherited parent."""
- result = yaml.load(source, Loader=YamlLoader)
+ result = yaml.load(source, Loader=YamlLoader) # noqa: S506
if result is None:
return {}
if (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/mkdocs_get_deps-0.2.0/pyproject.toml
new/mkdocs_get_deps-0.2.2/pyproject.toml
--- old/mkdocs_get_deps-0.2.0/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
+++ new/mkdocs_get_deps-0.2.2/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
@@ -4,7 +4,7 @@
[project]
name = "mkdocs-get-deps"
-description = "MkDocs extension that lists all dependencies according to a
mkdocs.yml file"
+description = "An extra command for MkDocs that infers required PyPI packages
from `plugins` in mkdocs.yml"
readme = "README.md"
license = "MIT"
keywords = ["mkdocs"]
@@ -19,16 +19,18 @@
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python",
- "Programming Language :: Python :: 3.8",
+ # Begin Python versions
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
+ # End Python versions
"Topic :: Software Development :: Documentation",
"Typing :: Typed",
]
dynamic = ["version"]
-requires-python = ">=3.8"
+requires-python = ">=3.9"
dependencies = [
"importlib-metadata >=4.3; python_version < '3.10'",
"mergedeep >=1.3.4",
@@ -50,6 +52,9 @@
[tool.hatch.build.targets.sdist]
include = ["/mkdocs_get_deps", "/tests"]
+[tool.hatch.env]
+requires = ["hatch-pip-compile >=1.7.0"]
+
[tool.hatch.envs.default.scripts]
all = [
"hatch run style:fix",
@@ -63,7 +68,7 @@
]
[tool.hatch.envs.test.scripts]
test = [
- "pytest -q",
+ "pytest -q {args}",
]
[tool.hatch.envs.types]
@@ -72,41 +77,57 @@
"types-PyYAML",
]
[tool.hatch.envs.types.scripts]
-check = [
- "mypy mkdocs_get_deps"
-]
+check = "mypy {args} mkdocs_get_deps"
[tool.hatch.envs.style]
-skip-install = true
+type = "pip-compile"
+detached = true
dependencies = [
"ruff",
]
[tool.hatch.envs.style.scripts]
+check = "ruff check mkdocs_get_deps tests {args}"
+format = "ruff format -q mkdocs_get_deps tests"
fix = [
- "ruff check --fix mkdocs_get_deps tests",
+ "check --fix --unsafe-fixes",
"format",
]
-format = [
- "ruff format -q mkdocs_get_deps tests",
-]
[tool.ruff]
line-length = 100
+[tool.ruff.lint]
+preview = true
select = [
- "I",
- "F", "W", "E", "UP", "YTT", "C4", "DTZ", "FA", "ISC", "PIE", "T20", "RSE",
"TCH",
- "B002", "B003", "B005", "B007", "B009", "B012", "B013", "B014", "B015",
"B018", "B020", "B021", "B023", "B026", "B033", "B034", "B905",
+ "F", "E", "W", "I", "UP", "YTT", "ASYNC", "FBT", "C4", "DTZ", "T10", "FA",
"ISC", "PIE", "T20", "RSE",
+ "N803", "N804", "N805", "N806", "N807", "N815", "N816", "N999",
+ "S201", "S202", "S303", "S304", "S305", "S306", "S506", "S602", "S604",
"S605", "S612",
+ "B002", "B003", "B004", "B005", "B007", "B008", "B009", "B010", "B011",
"B012", "B013", "B014", "B015", "B016", "B017", "B018", "B019", "B020", "B021",
"B022", "B023", "B025", "B026", "B029", "B030", "B031", "B032", "B033", "B034",
"B035", "B039", "B905", "B909", "B911",
"COM818",
- "PERF101",
- "PGH002", "PGH004", "PGH005",
+ "LOG001", "LOG007", "LOG009", "LOG015",
+ "G001", "G002", "G003", "G010", "G101", "G201", "G202",
+ "PYI001", "PYI002", "PYI003", "PYI004", "PYI005", "PYI006", "PYI007",
"PYI008", "PYI009", "PYI010", "PYI011", "PYI012", "PYI013", "PYI014", "PYI015",
"PYI016", "PYI017", "PYI018", "PYI019", "PYI020", "PYI021", "PYI024", "PYI025",
"PYI026", "PYI029", "PYI030", "PYI032", "PYI033", "PYI034", "PYI035", "PYI036",
"PYI041", "PYI042", "PYI043", "PYI044", "PYI045", "PYI046", "PYI047", "PYI048",
"PYI049", "PYI050", "PYI051", "PYI052", "PYI053", "PYI054", "PYI055", "PYI056",
"PYI057", "PYI058", "PYI059", "PYI061", "PYI062", "PYI063", "PYI064", "PYI066",
+ "Q004",
+ "RET502", "RET503", "RET504",
+ "SIM101", "SIM103", "SIM105", "SIM107", "SIM109", "SIM110", "SIM113",
"SIM114", "SIM118", "SIM201", "SIM202", "SIM208", "SIM210", "SIM211", "SIM212",
"SIM220", "SIM221", "SIM222", "SIM223", "SIM300", "SIM401", "SIM905", "SIM910",
"SIM911",
+ "TC001", "TC002", "TC003", "TC004", "TC005", "TC006", "TC007", "TC008",
"TC010",
+ "PTH201",
+ "TD004", "TD005", "TD006", "TD007",
+ "PGH003", "PGH004", "PGH005",
+ "PLC0105", "PLC0131", "PLC0132", "PLC0205", "PLC0206", "PLC0208",
"PLC0414", "PLC2401", "PLC2403", "PLC2701", "PLC2801", "PLC3002",
+ "PLR0124", "PLR0133", "PLR0202", "PLR0203", "PLR0206", "PLR0402",
"PLR1716", "PLR1722", "PLR1733", "PLR1736", "PLR2044", "PLR6301",
+ "TRY201", "TRY203", "TRY401",
"FLY002",
- "PLC", "PLE", "PLR0124", "PLR0133", "PLR0206", "PLR0402", "PLR1701",
"PLR1722", "PLW0120", "PLW0127", "PLW0129", "PLW0131", "PLW0406", "PLW0602",
"PLW0603", "PLW0711",
- "RUF001", "RUF005", "RUF007", "RUF010", "RUF013", "RUF100", "RUF200",
- "SIM101", "SIM107", "SIM201", "SIM202", "SIM208", "SIM210", "SIM211",
"SIM300", "SIM401", "SIM910",
-]
-ignore = ["E501", "E731"]
-[tool.ruff.flake8-comprehensions]
+ "PERF101", "PERF102", "PERF402", "PERF403",
+ "FURB105", "FURB110", "FURB116", "FURB118", "FURB129", "FURB131",
"FURB132", "FURB136", "FURB142", "FURB145", "FURB148", "FURB154", "FURB156",
"FURB157", "FURB161", "FURB163", "FURB164", "FURB166", "FURB167", "FURB168",
"FURB169", "FURB171", "FURB177", "FURB180", "FURB181", "FURB188", "FURB192",
+ "RUF001", "RUF002", "RUF003", "RUF005", "RUF006", "RUF007", "RUF008",
"RUF009", "RUF010", "RUF012", "RUF013", "RUF015", "RUF016", "RUF017", "RUF018",
"RUF019", "RUF020", "RUF021", "RUF022", "RUF023", "RUF024", "RUF026", "RUF028",
"RUF029", "RUF030", "RUF031", "RUF032", "RUF033", "RUF034", "RUF035", "RUF036",
"RUF037", "RUF038", "RUF039", "RUF040", "RUF041", "RUF043", "RUF046", "RUF047",
"RUF048", "RUF049", "RUF051", "RUF052", "RUF055", "RUF056", "RUF057", "RUF058",
"RUF100", "RUF101", "RUF200",
+]
+ignore = ["E501", "E731", "UP038"]
+[tool.ruff.lint.per-file-ignores]
+"tests/**" = ["PLC2701", "PLR6301"]
+[tool.ruff.lint.flake8-comprehensions]
allow-dict-calls-with-keyword-arguments = true
+[tool.ruff.lint.flake8-type-checking]
+exempt-modules = ["typing", "collections.abc"]
[tool.mypy]
warn_unreachable = true