14
0
forked from pool/python-Fabric

Accepting request 692485 from home:glaubitz:branches:devel:languages:python

- Version update to 2.4.0:
  * [Feature] #1709: Add Group.close to allow closing an entire group’s
    worth of connections at once. Patch via Johannes Löthberg.
  * [Feature] #1780: Add context manager behavior to Group, to match
    the same feature in Connection. Feature request by István Sárándi.
  * [Feature] #1849: Add Connection.from_v1 (and Config.from_v1) for
    easy creation of modern Connection/Config objects from the currently
    configured Fabric 1.x environment. Should make upgrading piecemeal
    much easier for many use cases.
- additional changes from version 2.3.2:
    * [Bug] #1852: Grant internal Connection objects created during
      ProxyJump based gateways/proxies a copy of the outer Connection’s
      configuration object. This was not previously done, which among
      other things meant one could not fully disable SSH config file
      loading (as the internal Connection objects would revert to the
      default behavior). Thanks to Chris Adams for the report.
    * [Bug]: Some debug logging was reusing Invoke’s logger object,
      generating log messages “named” after invoke instead of fabric.
      This has been fixed by using Fabric’s own logger everywhere instead.
    * [Bug] #1850: Skip over ProxyJump configuration directives in SSH
      config data when they would cause self-referential RecursionError
      (e.g. due to wildcard-using Host stanzas which include the jump
      server itself). Reported by Chris Adams.
    * [Bug]: Fix a bug preventing tab completion (using the Invoke-level
      --complete flag) from completing task names correctly (behavior was
      to act as if there were never any tasks present, even if there was
      a valid fabfile nearby).
- Add sed expresion to spec file to remove all vendoring from imports
- Run testsuite using the new %pytest macro

OBS-URL: https://build.opensuse.org/request/show/692485
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=58
This commit is contained in:
Tomáš Chvátal
2019-04-11 09:50:09 +00:00
committed by Git OBS Bridge
parent 3c888908bb
commit db14f619e0
4 changed files with 42 additions and 7 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:178228b94548194c2e6ff008a51b636d5b19b2eb7551996770d7c999188cf88a
size 148829

3
fabric-2.4.0.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:93684ceaac92e0b78faae551297e29c48370cede12ff0f853cdebf67d4b87068
size 156850

View File

@@ -1,3 +1,36 @@
-------------------------------------------------------------------
Tue Apr 9 06:20:04 UTC 2019 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Version update to 2.4.0:
* [Feature] #1709: Add Group.close to allow closing an entire groups
worth of connections at once. Patch via Johannes Löthberg.
* [Feature] #1780: Add context manager behavior to Group, to match
the same feature in Connection. Feature request by István Sárándi.
* [Feature] #1849: Add Connection.from_v1 (and Config.from_v1) for
easy creation of modern Connection/Config objects from the currently
configured Fabric 1.x environment. Should make upgrading piecemeal
much easier for many use cases.
- additional changes from version 2.3.2:
* [Bug] #1852: Grant internal Connection objects created during
ProxyJump based gateways/proxies a copy of the outer Connections
configuration object. This was not previously done, which among
other things meant one could not fully disable SSH config file
loading (as the internal Connection objects would revert to the
default behavior). Thanks to Chris Adams for the report.
* [Bug]: Some debug logging was reusing Invokes logger object,
generating log messages “named” after invoke instead of fabric.
This has been fixed by using Fabrics own logger everywhere instead.
* [Bug] #1850: Skip over ProxyJump configuration directives in SSH
config data when they would cause self-referential RecursionError
(e.g. due to wildcard-using Host stanzas which include the jump
server itself). Reported by Chris Adams.
* [Bug]: Fix a bug preventing tab completion (using the Invoke-level
--complete flag) from completing task names correctly (behavior was
to act as if there were never any tasks present, even if there was
a valid fabfile nearby).
- Add sed expresion to spec file to remove all vendoring from imports
- Run testsuite using the new %pytest macro
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Aug 11 15:01:48 UTC 2018 - tchvatal@suse.com Sat Aug 11 15:01:48 UTC 2018 - tchvatal@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Fabric # spec file for package python-Fabric
# #
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -12,13 +12,13 @@
# license that conforms to the Open Source Definition (Version 1.9) # license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative. # published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/ # Please submit bugfixes or comments via https://bugs.opensuse.org/
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}} %{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-Fabric Name: python-Fabric
Version: 2.3.1 Version: 2.4.0
Release: 0 Release: 0
Summary: A Pythonic tool for remote execution and deployment Summary: A Pythonic tool for remote execution and deployment
License: BSD-2-Clause License: BSD-2-Clause
@@ -66,6 +66,8 @@ Fabric itself leverages).
%prep %prep
%setup -q -n fabric-%{version} %setup -q -n fabric-%{version}
# fix all imports:
sed -i 's/from invoke.vendor\./from\ /' fabric/connection.py fabric/group.py integration/concurrency.py tests/config.py tests/transfer.py tests/_util.py tests/connection.py tests/runners.py
%build %build
%python_build %python_build
@@ -77,7 +79,7 @@ Fabric itself leverages).
%check %check
%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib} %{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
py.test-%{$python_bin_suffix} tests/ %pytest tests/
} }
%post %post