From ac958239e78f8554f92f7c2978768de65ad3401f5c33adf3156fd22b55c372e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mark=C3=A9ta=20Machov=C3=A1?= Date: Thu, 12 Aug 2021 14:45:39 +0000 Subject: [PATCH] Accepting request 911821 from home:glaubitz:branches:devel:languages:python MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Update to 2.6.0: * [Feature] #1999: Add sudo support to Group. Thanks to Bonnie Hardin for the report and to Winston Nolan for an early patchset. * [Feature] #1810: Add put/get support to Group. * [Feature] #1868: Ported a feature from v1: interpolating the local path argument in Transfer.get with connection and remote filepath attributes. For example, cxn.get(remote="/var/log/foo.log", local="{host}/") is now feasible for storing a file in per-host-named directories or files, and in fact Group.get does this by default. * [Feature]: When the local path argument to Transfer.get contains nonexistent directories, they are now created instead of raising an error. Warning: This change introduces a new runtime dependency: pathlib2. * [Bug]: Fix a handful of issues in the handling and mocking of SFTP local paths and os.path members within fabric.testing; this should remove some occasional “useless Mocks” as well as hewing closer to the real behavior of things like os.path.abspath re: path normalization. - Update Requires from setup.py OBS-URL: https://build.opensuse.org/request/show/911821 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=69 --- fabric-2.5.0.tar.gz | 3 --- fabric-2.6.0.tar.gz | 3 +++ python-Fabric.changes | 21 +++++++++++++++++++++ python-Fabric.spec | 5 +++-- 4 files changed, 27 insertions(+), 5 deletions(-) delete mode 100644 fabric-2.5.0.tar.gz create mode 100644 fabric-2.6.0.tar.gz diff --git a/fabric-2.5.0.tar.gz b/fabric-2.5.0.tar.gz deleted file mode 100644 index c304f9a..0000000 --- a/fabric-2.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:24842d7d51556adcabd885ac3cf5e1df73fc622a1708bf3667bf5927576cdfa6 -size 161421 diff --git a/fabric-2.6.0.tar.gz b/fabric-2.6.0.tar.gz new file mode 100644 index 0000000..64c942f --- /dev/null +++ b/fabric-2.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:47f184b070272796fd2f9f0436799e18f2ccba4ee8ee587796fca192acd46cd2 +size 163880 diff --git a/python-Fabric.changes b/python-Fabric.changes index b2f6997..69e025e 100644 --- a/python-Fabric.changes +++ b/python-Fabric.changes @@ -1,3 +1,24 @@ +------------------------------------------------------------------- +Thu Aug 12 11:15:13 UTC 2021 - John Paul Adrian Glaubitz + +- Update to 2.6.0: + * [Feature] #1999: Add sudo support to Group. Thanks to Bonnie Hardin for + the report and to Winston Nolan for an early patchset. + * [Feature] #1810: Add put/get support to Group. + * [Feature] #1868: Ported a feature from v1: interpolating the local path + argument in Transfer.get with connection and remote filepath attributes. + For example, cxn.get(remote="/var/log/foo.log", local="{host}/") is now + feasible for storing a file in per-host-named directories or files, and + in fact Group.get does this by default. + * [Feature]: When the local path argument to Transfer.get contains nonexistent + directories, they are now created instead of raising an error. + Warning: This change introduces a new runtime dependency: pathlib2. + * [Bug]: Fix a handful of issues in the handling and mocking of SFTP local paths + and os.path members within fabric.testing; this should remove some occasional + “useless Mocks” as well as hewing closer to the real behavior of things like + os.path.abspath re: path normalization. +- Update Requires from setup.py + ------------------------------------------------------------------- Tue Oct 13 10:33:07 UTC 2020 - Benjamin Greiner diff --git a/python-Fabric.spec b/python-Fabric.spec index 6595b54..42a207b 100644 --- a/python-Fabric.spec +++ b/python-Fabric.spec @@ -1,7 +1,7 @@ # # spec file for package python-Fabric # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2021 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 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-Fabric -Version: 2.5.0 +Version: 2.6.0 Release: 0 Summary: A Pythonic tool for remote execution and deployment License: BSD-2-Clause @@ -43,6 +43,7 @@ Requires: python-cryptography >= 1.1 Requires: python-decorator Requires: python-invoke >= 1.3 Requires: python-paramiko >= 2.4 +Requires: python-pathlib2 Requires: python-setuptools Requires: python-six Conflicts: python-Fabric3