Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-dparse for openSUSE:Factory checked in at 2022-10-29 20:17:42 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-dparse (Old) and /work/SRC/openSUSE:Factory/.python-dparse.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-dparse" Sat Oct 29 20:17:42 2022 rev:5 rq:1032191 version:0.6.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-dparse/python-dparse.changes 2022-09-29 18:12:20.263135753 +0200 +++ /work/SRC/openSUSE:Factory/.python-dparse.new.2275/python-dparse.changes 2022-10-29 20:18:47.426748902 +0200 @@ -1,0 +2,6 @@ +Thu Oct 27 22:55:51 UTC 2022 - Yogalakshmi Arunachalam <yarunacha...@suse.com> + +- Update to 0.6.2 + * Fixed bug: always call the parent from the PATH in the resolve_file function. + +------------------------------------------------------------------- Old: ---- dparse-0.6.1.tar.gz New: ---- dparse-0.6.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-dparse.spec ++++++ --- /var/tmp/diff_new_pack.TI7kff/_old 2022-10-29 20:18:47.862751225 +0200 +++ /var/tmp/diff_new_pack.TI7kff/_new 2022-10-29 20:18:47.870751268 +0200 @@ -20,7 +20,7 @@ %bcond_without test %define skip_python2 1 Name: python-dparse -Version: 0.6.1 +Version: 0.6.2 Release: 0 Summary: Python dependency file parser License: MIT ++++++ dparse-0.6.1.tar.gz -> dparse-0.6.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/HISTORY.rst new/dparse-0.6.2/HISTORY.rst --- old/dparse-0.6.1/HISTORY.rst 2022-09-19 22:10:59.000000000 +0200 +++ new/dparse-0.6.2/HISTORY.rst 2022-09-19 22:38:01.000000000 +0200 @@ -2,6 +2,11 @@ History ======= +0.6.2 (2022-09-19) +------------------ + +* Fixed bug: always call the parent from the PATH in the resolve_file function. + 0.6.1 (2022-09-19) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/PKG-INFO new/dparse-0.6.2/PKG-INFO --- old/dparse-0.6.1/PKG-INFO 2022-09-19 22:11:18.107396800 +0200 +++ new/dparse-0.6.2/PKG-INFO 2022-09-19 22:38:11.193637800 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: dparse -Version: 0.6.1 +Version: 0.6.2 Summary: A parser for Python dependency files Home-page: https://github.com/pyupio/dparse Author: Jannis Gebauer @@ -178,6 +178,11 @@ History ======= +0.6.2 (2022-09-19) +------------------ + +* Fixed bug: always call the parent from the PATH in the resolve_file function. + 0.6.1 (2022-09-19) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/dparse/__init__.py new/dparse-0.6.2/dparse/__init__.py --- old/dparse-0.6.1/dparse/__init__.py 2022-09-19 22:10:59.000000000 +0200 +++ new/dparse-0.6.2/dparse/__init__.py 2022-09-19 22:38:01.000000000 +0200 @@ -4,6 +4,6 @@ __author__ = """Jannis Gebauer""" __email__ = 'supp...@pyup.io' -__version__ = '0.6.1' +__version__ = '0.6.2' from .parser import parse # noqa diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/dparse/parser.py new/dparse-0.6.2/dparse/parser.py --- old/dparse-0.6.1/dparse/parser.py 2022-09-19 22:10:59.000000000 +0200 +++ new/dparse-0.6.2/dparse/parser.py 2022-09-19 22:38:01.000000000 +0200 @@ -203,7 +203,7 @@ normalized_path = PurePath(file_path) if " #" in line: line = line.split("#")[0].strip() - return str(normalized_path.joinpath(line)) + return str(normalized_path.parent.joinpath(line)) class RequirementsTXTParser(Parser): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/dparse.egg-info/PKG-INFO new/dparse-0.6.2/dparse.egg-info/PKG-INFO --- old/dparse-0.6.1/dparse.egg-info/PKG-INFO 2022-09-19 22:11:18.000000000 +0200 +++ new/dparse-0.6.2/dparse.egg-info/PKG-INFO 2022-09-19 22:38:11.000000000 +0200 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: dparse -Version: 0.6.1 +Version: 0.6.2 Summary: A parser for Python dependency files Home-page: https://github.com/pyupio/dparse Author: Jannis Gebauer @@ -178,6 +178,11 @@ History ======= +0.6.2 (2022-09-19) +------------------ + +* Fixed bug: always call the parent from the PATH in the resolve_file function. + 0.6.1 (2022-09-19) ------------------ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/setup.py new/dparse-0.6.2/setup.py --- old/dparse-0.6.1/setup.py 2022-09-19 22:10:59.000000000 +0200 +++ new/dparse-0.6.2/setup.py 2022-09-19 22:38:01.000000000 +0200 @@ -18,7 +18,7 @@ setup( name='dparse', - version='0.6.1', + version='0.6.2', description="A parser for Python dependency files", long_description=readme + '\n\n' + history, long_description_content_type='text/x-rst', diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/dparse-0.6.1/tests/test_parse.py new/dparse-0.6.2/tests/test_parse.py --- old/dparse-0.6.1/tests/test_parse.py 2022-09-19 22:10:59.000000000 +0200 +++ new/dparse-0.6.2/tests/test_parse.py 2022-09-19 22:38:01.000000000 +0200 @@ -3,6 +3,7 @@ from __future__ import unicode_literals import sys +from pathlib import PurePath from dparse.errors import MalformedDependencyFileError @@ -93,6 +94,11 @@ line = "-r req.txt" assert Parser.resolve_file("", line) == "req.txt" + line = "-r req_2.txt" + path = PurePath("safety", "tests", "foo.txt") + assert Parser.resolve_file(str(path), line) == str( + PurePath("safety", "tests", "req_2.txt")) + def test_index_server(): line = "--index-url https://some.foo/"