Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-mkdocs for openSUSE:Factory checked in at 2023-08-02 16:49:38 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-mkdocs (Old) and /work/SRC/openSUSE:Factory/.python-mkdocs.new.22712 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-mkdocs" Wed Aug 2 16:49:38 2023 rev:10 rq:1101761 version:1.5.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-mkdocs/python-mkdocs.changes 2023-07-27 16:53:13.266632148 +0200 +++ /work/SRC/openSUSE:Factory/.python-mkdocs.new.22712/python-mkdocs.changes 2023-08-02 16:51:15.533794741 +0200 @@ -1,0 +2,12 @@ +Tue Aug 1 13:02:20 UTC 2023 - Johannes Kastl <ka...@b1-systems.de> + +- update to 1.5.1: + * Bug fixes + - Bugfix (regression in 1.5.0): Make it possible to treat + ExtraScriptValue as a path. This lets some plugins still work + despite the breaking change. + - Bugfix (regression in 1.5.0): Prevent errors for special + setups that have 3 conflicting files, such as index.html, + index.md and README.md (#3314) + +------------------------------------------------------------------- Old: ---- mkdocs-1.5.0.tar.gz New: ---- mkdocs-1.5.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-mkdocs.spec ++++++ --- /var/tmp/diff_new_pack.2XaykK/_old 2023-08-02 16:51:16.261799140 +0200 +++ /var/tmp/diff_new_pack.2XaykK/_new 2023-08-02 16:51:16.261799140 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-mkdocs -Version: 1.5.0 +Version: 1.5.1 Release: 0 Summary: Project documentation with Markdown License: BSD-2-Clause ++++++ mkdocs-1.5.0.tar.gz -> mkdocs-1.5.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mkdocs-1.5.0/docs/about/release-notes.md new/mkdocs-1.5.1/docs/about/release-notes.md --- old/mkdocs-1.5.0/docs/about/release-notes.md 2023-07-26 22:30:55.000000000 +0200 +++ new/mkdocs-1.5.1/docs/about/release-notes.md 2023-07-28 00:42:51.000000000 +0200 @@ -27,6 +27,14 @@ * [@oprypin](https://github.com/oprypin/) * [@ultrabug](https://github.com/ultrabug/) +## Version 1.5.1 (2023-07-28) + +* Bugfix (regression in 1.5.0): Make it possible to treat `ExtraScriptValue` as a path. This lets some plugins still work despite the breaking change. + +* Bugfix (regression in 1.5.0): Prevent errors for special setups that have 3 conflicting files, such as `index.html`, `index.md` *and* `README.md` (#3314) + +See [commit log](https://github.com/mkdocs/mkdocs/compare/1.5.0...1.5.1). + ## Version 1.5.0 (2023-07-26) ### New command `mkdocs get-deps` diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mkdocs-1.5.0/mkdocs/__init__.py new/mkdocs-1.5.1/mkdocs/__init__.py --- old/mkdocs-1.5.0/mkdocs/__init__.py 2023-07-26 22:30:55.000000000 +0200 +++ new/mkdocs-1.5.1/mkdocs/__init__.py 2023-07-28 00:42:51.000000000 +0200 @@ -2,4 +2,4 @@ # For acceptable version formats, see https://www.python.org/dev/peps/pep-0440/ -__version__ = '1.5.0' +__version__ = '1.5.1' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mkdocs-1.5.0/mkdocs/config/config_options.py new/mkdocs-1.5.1/mkdocs/config/config_options.py --- old/mkdocs-1.5.0/mkdocs/config/config_options.py 2023-07-26 22:30:55.000000000 +0200 +++ new/mkdocs-1.5.1/mkdocs/config/config_options.py 2023-07-28 00:42:51.000000000 +0200 @@ -941,6 +941,9 @@ def __str__(self): return self.path + def __fspath__(self): + return self.path + class ExtraScript(SubConfig[ExtraScriptValue]): def run_validation(self, value: object) -> ExtraScriptValue: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/mkdocs-1.5.0/mkdocs/structure/files.py new/mkdocs-1.5.1/mkdocs/structure/files.py --- old/mkdocs-1.5.0/mkdocs/structure/files.py 2023-07-26 22:30:55.000000000 +0200 +++ new/mkdocs-1.5.1/mkdocs/structure/files.py 2023-07-28 00:42:51.000000000 +0200 @@ -367,9 +367,15 @@ log.warning( f"Excluding '{a.src_uri}' from the site because it conflicts with '{b.src_uri}'." ) - files.remove(a) + try: + files.remove(a) + except ValueError: + pass # Catching this to avoid errors if attempting to remove the same file twice. else: - files.remove(b) + try: + files.remove(b) + except ValueError: + pass return Files(files)