14
0
forked from pool/python-Fabric

Accepting request 1096368 from home:ecsos:python

- Update to 3.0.1
  * [Bug] #2241: A typo prevented Fabric’s command runner from properly
    calling its superclass stop() method, which in tandem with a related
    Invoke bug meant messy or long shutdowns in many scenarios.
- Changes from 3.0.0
  * [Feature]: Change the default configuration value for inline_ssh_env
    from False to True, to better align with the practicalities of common
    SSH server configurations.
    - Warning
      This change is backwards incompatible if you were using 
      environment-variable-setting kwargs or config settings,
      such as Connection.run(command, env={'SOME': 'ENV VARS'}),
      and were not already explicitly specifying the value of inline_ssh_env.
  * [Bug] #1981: (fixed in #2195) Automatically close any open SFTP session
    during fabric.connection.Connection.close; this avoids issues encountered
    upon re-opening a previously-closed connection object.
  * [Support]: Drop support for Python <3.6, including Python 2.
    - Warning
      This is a backwards incompatible change if you are not yet on
      Python 3.6 or above; however, pip shouldn’t offer you this
      version of Fabric as long as your pip version understands
      python_requires metadata.
- Drop remove-mock.patch because now in upstream.
- Drop remove-pathlib2.patch because now in upstream.

OBS-URL: https://build.opensuse.org/request/show/1096368
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=83
This commit is contained in:
2023-07-02 15:04:14 +00:00
committed by Git OBS Bridge
parent 7fdb9b3d51
commit 2ae0f5e7d1
6 changed files with 35 additions and 228 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-Fabric
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 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 @@
%{?sle15_python_module_pythons}
Name: python-Fabric
Version: 2.7.1
Version: 3.0.1
Release: 0
Summary: A Pythonic tool for remote execution and deployment
License: BSD-2-Clause
@@ -26,13 +26,9 @@ URL: https://fabfile.org
Source: https://files.pythonhosted.org/packages/source/f/fabric/fabric-%{version}.tar.gz
# PATCH-FIX-UPSTREAM gh#fabric/fabric#2209
Patch0: fix-executable.patch
# PATCH-FIX-UPSTREAM gh#fabric/fabric#2210
Patch1: remove-mock.patch
# PATCH-FIX-OPENSUSE remove pathlib2 requirement gh#fabric/fabric#2180
Patch2: remove-pathlib2.patch
BuildRequires: %{python_module cryptography >= 1.1}
BuildRequires: %{python_module decorator}
BuildRequires: %{python_module invoke >= 1.3}
BuildRequires: %{python_module invoke >= 2.0}
BuildRequires: %{python_module paramiko >= 2.4}
BuildRequires: %{python_module pytest-relaxed}
BuildRequires: %{python_module setuptools}
@@ -41,7 +37,7 @@ BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-cryptography >= 1.1
Requires: python-decorator
Requires: python-invoke >= 1.3
Requires: python-invoke >= 2.0
Requires: python-paramiko >= 2.4
Requires: python-setuptools
Requires: python-six