Hello community,

here is the log from the commit of package python-requirementslib for 
openSUSE:Factory checked in at 2020-10-20 16:01:05
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-requirementslib (Old)
 and      /work/SRC/openSUSE:Factory/.python-requirementslib.new.3486 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-requirementslib"

Tue Oct 20 16:01:05 2020 rev:7 rq:842436 version:1.5.13

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-requirementslib/python-requirementslib.changes
    2020-08-25 12:38:13.765408385 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-requirementslib.new.3486/python-requirementslib.changes
  2020-10-20 16:04:10.037832414 +0200
@@ -1,0 +2,13 @@
+Sat Oct 17 08:31:16 UTC 2020 - John Vandenberg <jay...@gmail.com>
+
+- Set minimum version attrs>=19.2.0
+
+-------------------------------------------------------------------
+Thu Oct 15 15:36:19 UTC 2020 - Benjamin Greiner <c...@bnavigator.de>
+
+- Update to version 1.5.13 
+  * Don't copy whole tree for local directory dependencies. #259
+- need to skip test_no_duplicate_egg_info
+  gh#sarugaku/requirementslib#270
+
+-------------------------------------------------------------------

Old:
----
  requirementslib-1.5.12.tar.gz

New:
----
  requirementslib-1.5.13.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-requirementslib.spec ++++++
--- /var/tmp/diff_new_pack.DQcO8V/_old  2020-10-20 16:04:15.661835078 +0200
+++ /var/tmp/diff_new_pack.DQcO8V/_new  2020-10-20 16:04:15.661835078 +0200
@@ -19,7 +19,7 @@
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %bcond_without python2
 Name:           python-requirementslib
-Version:        1.5.12
+Version:        1.5.13
 Release:        0
 Summary:        A tool for converting between pip-style and pipfile 
requirements
 License:        MIT
@@ -36,7 +36,7 @@
 # Cerberus is suggested by plette, but required by requirementslib
 Requires:       python-Cerberus
 Requires:       python-appdirs
-Requires:       python-attrs >= 18.2
+Requires:       python-attrs >= 19.2.0
 Requires:       python-boltons >= 19.0.0
 Requires:       python-cached-property
 Requires:       python-distlib >= 0.2.8
@@ -60,7 +60,7 @@
 # SECTION test requirements
 BuildRequires:  %{python_module Cerberus}
 BuildRequires:  %{python_module appdirs}
-BuildRequires:  %{python_module attrs >= 18.2}
+BuildRequires:  %{python_module attrs >= 19.2.0}
 BuildRequires:  %{python_module boltons >= 19.0.0}
 BuildRequires:  %{python_module cached-property}
 BuildRequires:  %{python_module dateutil}
@@ -120,9 +120,12 @@
 skip_tests+=" or test_get_local_ref"
 skip_tests+=" or test_get_requirements"
 skip_tests+=" or (test_convert_from_pipfile and requirement10)"
-# unkown reason
+# unknown reason
 skip_tests+=" or test_parse_function_call_as_name"
+# no packaged test artifact
 skip_tests+=" or test_ast_parser_handles_exceptions"
+# https://github.com/sarugaku/requirementslib/issues/270
+skip_tests+=" or test_no_duplicate_egg_info"
 # increase test deadline for slow obs executions architectures (e.g. on s390x)
 cat >> tests/conftest.py <<EOF
 

++++++ requirementslib-1.5.12.tar.gz -> requirementslib-1.5.13.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requirementslib-1.5.12/CHANGELOG.rst 
new/requirementslib-1.5.13/CHANGELOG.rst
--- old/requirementslib-1.5.12/CHANGELOG.rst    2020-07-10 09:32:18.000000000 
+0200
+++ new/requirementslib-1.5.13/CHANGELOG.rst    2020-08-12 08:06:56.000000000 
+0200
@@ -1,3 +1,12 @@
+1.5.13 (2020-08-12)
+===================
+
+Bug Fixes
+---------
+
+- Don't copy whole tree for local directory dependencies.  `#259 
<https://github.com/sarugaku/requirementslib/issues/259>`_
+
+
 1.5.12 (2020-07-10)
 ===================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/requirementslib-1.5.12/Pipfile.lock 
new/requirementslib-1.5.13/Pipfile.lock
--- old/requirementslib-1.5.12/Pipfile.lock     2020-07-10 09:32:18.000000000 
+0200
+++ new/requirementslib-1.5.13/Pipfile.lock     2020-08-12 08:06:56.000000000 
+0200
@@ -781,11 +781,11 @@
         },
         "pip-shims": {
             "hashes": [
-                
"sha256:39193b8c4aa5e4cb82e250be58df4d5eaebe931a33b0df43b369f4ae92ee5753",
-                
"sha256:423978c27d0e24e8ecb3e82b4a6c1f607e2e364153e73d0803c671d48b23195e"
+                
"sha256:16ca9f87485667b16b978b68a1aae4f9cc082c0fa018aed28567f9f34a590569",
+                
"sha256:05b00ade9d1e686a98bb656dd9b0608a933897283dc21913fad6ea5409ff7e91"
             ],
             "markers": "python_version >= '2.7' and python_version not in 
'3.0, 3.1, 3.2, 3.3'",
-            "version": "==0.5.2"
+            "version": "==0.5.3"
         },
         "pkginfo": {
             "hashes": [
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/requirementslib-1.5.12/src/requirementslib/__init__.py 
new/requirementslib-1.5.13/src/requirementslib/__init__.py
--- old/requirementslib-1.5.12/src/requirementslib/__init__.py  2020-07-10 
09:32:18.000000000 +0200
+++ new/requirementslib-1.5.13/src/requirementslib/__init__.py  2020-08-12 
08:06:56.000000000 +0200
@@ -10,7 +10,7 @@
 from .models.pipfile import Pipfile
 from .models.requirements import Requirement
 
-__version__ = "1.5.12"
+__version__ = "1.5.13"
 
 
 logger = logging.getLogger(__name__)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/requirementslib-1.5.12/src/requirementslib/models/setup_info.py 
new/requirementslib-1.5.13/src/requirementslib/models/setup_info.py
--- old/requirementslib-1.5.12/src/requirementslib/models/setup_info.py 
2020-07-10 09:32:18.000000000 +0200
+++ new/requirementslib-1.5.13/src/requirementslib/models/setup_info.py 
2020-08-12 08:06:56.000000000 +0200
@@ -1874,10 +1874,7 @@
             ireq.link, "is_vcs", getattr(ireq.link, "is_artifact", False)
         )
         is_vcs = True if vcs else is_artifact_or_vcs
-        if is_file and not is_vcs and path is not None and os.path.isdir(path):
-            target = os.path.join(kwargs["src_dir"], os.path.basename(path))
-            shutil.copytree(path, target, symlinks=True)
-            ireq.source_dir = target
+
         if not (ireq.editable and is_file and is_vcs):
             if ireq.is_wheel:
                 only_download = True
@@ -1895,10 +1892,12 @@
         if build_location_func is None:
             build_location_func = getattr(ireq, "ensure_build_location", None)
         if not ireq.source_dir:
-            build_kwargs = {"build_dir": kwargs["build_dir"], "autodelete": 
False}
+            build_kwargs = {
+                "build_dir": kwargs["build_dir"],
+                "autodelete": False, "parallel_builds": True
+            }
             call_function_with_correct_args(build_location_func, 
**build_kwargs)
             ireq.ensure_has_source_dir(kwargs["src_dir"])
-            src_dir = ireq.source_dir
             pip_shims.shims.shim_unpack(
                 download_dir=download_dir,
                 ireq=ireq,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/requirementslib-1.5.12/src/requirementslib/models/vcs.py 
new/requirementslib-1.5.13/src/requirementslib/models/vcs.py
--- old/requirementslib-1.5.12/src/requirementslib/models/vcs.py        
2020-07-10 09:32:18.000000000 +0200
+++ new/requirementslib-1.5.13/src/requirementslib/models/vcs.py        
2020-08-12 08:06:56.000000000 +0200
@@ -112,12 +112,18 @@
     @classmethod
     def monkeypatch_pip(cls):
         # type: () -> Tuple[Any, ...]
+        from pip_shims.compat import get_allowed_args
+
         target_module = pip_shims.shims.VcsSupport.__module__
         pip_vcs = importlib.import_module(target_module)
+        args, kwargs = get_allowed_args(pip_vcs.VersionControl.run_command)
         run_command_defaults = pip_vcs.VersionControl.run_command.__defaults__
-        # set the default to not write stdout, the first option sets this value
-        new_defaults = [False] + list(run_command_defaults)[1:]
-        new_defaults = tuple(new_defaults)
+        if "show_stdout" not in args and "show_stdout" not in kwargs:
+            new_defaults = run_command_defaults
+        else:
+            # set the default to not write stdout, the first option sets this 
value
+            new_defaults = [False] + list(run_command_defaults)[1:]
+            new_defaults = tuple(new_defaults)
         if six.PY3:
             try:
                 pip_vcs.VersionControl.run_command.__defaults__ = new_defaults


Reply via email to