15
0
forked from pool/python-mkdocs

Accepting request 1170315 from home:ojkastl_buildservice:Branch_devel_languages_python

update to 1.6.0

OBS-URL: https://build.opensuse.org/request/show/1170315
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mkdocs?expand=0&rev=25
This commit is contained in:
2024-04-29 13:22:03 +00:00
committed by Git OBS Bridge
parent 9e276d9c29
commit 92f9b55c44
4 changed files with 52 additions and 23 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1542e09f0c07aca03629337a25ca198f67bb8139380ada9ab3b5adaa5205419b
size 4057780

3
mkdocs-1.6.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1b137b0a3f9cd92a2c4454fa2a80d530ce3388585dbd17ff88979073a0295e2c
size 4494411

View File

@@ -1,3 +1,33 @@
-------------------------------------------------------------------
Thu Apr 25 19:48:16 UTC 2024 - Johannes Kastl <opensuse_buildservice@ojkastl.de>
- update to 1.6.0:
Big update, see full changelog at
https://github.com/mkdocs/mkdocs/releases/tag/1.6.0
* Deprecations
- Python 3.7 is no longer supported, Python 3.12 is officially
supported. Context: #3429
- The theme config file mkdocs_theme.yml no longer executes
YAML tags. Context: #3465
- The plugin event on_page_read_source is soft-deprecated
because there is always a better alternative to it (see the
new File API or just on_page_markdown, depending on the
desired interaction).
- When multiple plugins/hooks apply this event handler, they
trample over each other, so now there is a warning in that
case.
- See documentation. Context: #3503
* API deprecations
- It is no longer allowed to set File.page to a type other than
Page or a subclass thereof. Context: #3443 - following the
deprecation in version 1.5.3 and #3381.
- Theme._vars is deprecated - use theme['foo'] instead of
theme._vars['foo']
- utils: modified_time(), get_html_path(), get_url_path(),
is_html_file(), is_template_file() are removed. path_to_url()
is deprecated.
- LiveReloadServer.watch() no longer accepts a custom callback.
-------------------------------------------------------------------
Tue Sep 19 04:43:11 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-mkdocs
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-mkdocs
Version: 1.5.3
Version: 1.6.0
Release: 0
Summary: Project documentation with Markdown
License: BSD-2-Clause
@@ -26,19 +26,18 @@ URL: https://www.mkdocs.org
Source: https://github.com/mkdocs/mkdocs/archive/%{version}.tar.gz#/mkdocs-%{version}.tar.gz
BuildRequires: %{python_module Babel >= 2.9.0}
BuildRequires: %{python_module Jinja2 >= 2.11.1}
BuildRequires: %{python_module Markdown >= 3.2.1}
# https://github.com/mkdocs/mkdocs/blob/master/pyproject.toml#L38
#BuildRequires: %{python_module Markdown <3.4}
BuildRequires: %{python_module Markdown >= 3.3.6}
BuildRequires: %{python_module MarkupSafe}
BuildRequires: %{python_module PyYAML}
BuildRequires: %{python_module PyYAML >= 5.1}
BuildRequires: %{python_module click >= 7.0}
BuildRequires: %{python_module ghp-import >= 1.0}
BuildRequires: %{python_module ghp-import >= 1.0}
BuildRequires: %{python_module hatchling}
BuildRequires: %{python_module importlib_metadata if python-base < 3.10}
BuildRequires: %{python_module mergedeep >= 1.3.4}
BuildRequires: %{python_module mkdocs-get-deps >= 0.2.0}
BuildRequires: %{python_module packaging >= 20.5}
BuildRequires: %{python_module pathspec >= 0.11.1}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module platformdirs}
BuildRequires: %{python_module pyyaml_env_tag >= 0.1}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module watchdog >= 2.0}
@@ -48,21 +47,21 @@ BuildRequires: fontawesome-fonts-web
BuildRequires: python-rpm-macros
Requires: fontawesome-fonts
Requires: fontawesome-fonts-web
Requires: python-Jinja2
Requires: python-Markdown
Requires: python-Jinja2 >= 2.11.1
Requires: python-Markdown >= 3.3.6
Requires: python-MarkupSafe
Requires: python-PyYAML
Requires: python-click
Requires: python-ghp-import
Requires: python-PyYAML >= 5.1
Requires: python-click >= 7.0
Requires: python-ghp-import >= 1.0
Requires: python-importlib_metadata
Requires: python-mergedeep
Requires: python-packaging
Requires: python-pathspec
Requires: python-platformdirs
Requires: python-pyyaml_env_tag
Requires: python-watchdog
Requires: python-mergedeep >= 1.3.4
Requires: python-mkdocs-get-deps >= 0.2.0
Requires: python-packaging >= 20.5
Requires: python-pathspec >= 0.11.1
Requires: python-pyyaml_env_tag >= 0.1
Requires: python-watchdog >= 2.0
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
Suggests: python-babel
BuildArch: noarch
%python_subpackages