Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-findpython for openSUSE:Factory checked in at 2023-02-01 16:39:09 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-findpython (Old) and /work/SRC/openSUSE:Factory/.python-findpython.new.32243 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-findpython" Wed Feb 1 16:39:09 2023 rev:5 rq:1062290 version:0.2.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-findpython/python-findpython.changes 2023-01-20 17:40:00.872964047 +0100 +++ /work/SRC/openSUSE:Factory/.python-findpython.new.32243/python-findpython.changes 2023-02-01 16:52:13.854096977 +0100 @@ -1,0 +2,6 @@ +Tue Jan 31 15:18:19 UTC 2023 - Dirk Müller <[email protected]> + +- update to 0.2.4: + * Check path access before is_dir to prevent PermissionError exceptions + +------------------------------------------------------------------- Old: ---- findpython-0.2.3.tar.gz New: ---- findpython-0.2.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-findpython.spec ++++++ --- /var/tmp/diff_new_pack.kR6BJO/_old 2023-02-01 16:52:14.218098170 +0100 +++ /var/tmp/diff_new_pack.kR6BJO/_new 2023-02-01 16:52:14.222098182 +0100 @@ -17,7 +17,7 @@ Name: python-findpython -Version: 0.2.3 +Version: 0.2.4 Release: 0 Summary: Utility to find python versions on your system License: MIT ++++++ findpython-0.2.3.tar.gz -> findpython-0.2.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/findpython-0.2.3/PKG-INFO new/findpython-0.2.4/PKG-INFO --- old/findpython-0.2.3/PKG-INFO 2023-01-18 09:43:57.604261600 +0100 +++ new/findpython-0.2.4/PKG-INFO 2023-01-31 05:43:09.920751000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: findpython -Version: 0.2.3 +Version: 0.2.4 Summary: A utility to find python versions on your system License: MIT Author-email: Frost Ming <[email protected]> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/findpython-0.2.3/pyproject.toml new/findpython-0.2.4/pyproject.toml --- old/findpython-0.2.3/pyproject.toml 2023-01-18 09:43:43.168459200 +0100 +++ new/findpython-0.2.4/pyproject.toml 2023-01-31 05:42:55.856444000 +0100 @@ -17,7 +17,7 @@ "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", ] -version = "0.2.3" +version = "0.2.4" [project.license] text = "MIT" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/findpython-0.2.3/src/findpython/providers/base.py new/findpython-0.2.4/src/findpython/providers/base.py --- old/findpython-0.2.3/src/findpython/providers/base.py 2023-01-18 09:43:43.168459200 +0100 +++ new/findpython-0.2.4/src/findpython/providers/base.py 2023-01-31 05:42:55.856444000 +0100 @@ -38,7 +38,7 @@ If the pythons might be a wrapper script, don't set this to True. :returns: An iterable of PythonVersion objects """ - if not path.is_dir() or not path_is_readable(path): + if not path_is_readable(path) or not path.is_dir(): logger.debug("Invalid path or unreadable: %s", path) return iter([]) return (
