14
0
forked from pool/python-Fabric

Accepting request 305339 from home:benoit_monin:branches:devel:languages:python

- update to version 1.10.1:
- increase required version of paramiko to 1.10
- fix html documentation generation

OBS-URL: https://build.opensuse.org/request/show/305339
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-Fabric?expand=0&rev=46
This commit is contained in:
Denisart Benjamin
2015-05-06 23:29:06 +00:00
committed by Git OBS Bridge
parent 347a687dbd
commit f38332b68c
4 changed files with 142 additions and 8 deletions

3
Fabric-1.10.1.tar.gz Normal file
View File

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

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0076c76abeef3ffe9172e1290e6e487e23a7229b676883241bfd57a1933b327a
size 219420

View File

@@ -1,3 +1,137 @@
-------------------------------------------------------------------
Mon May 4 15:13:35 UTC 2015 - benoit.monin@gmx.fr
- update to version 1.10.1:
* [Bug] #1226: Update get to ensure that env.user has access to
tempfiles before changing permissions. Also corrected
permissions from 404 to 0400 to match comment. Patch by Curtis
Mattoon; original report from Daniel Watkins.
* [Support] #1229: Add some missing API doc hyperlink references.
Thanks to Tony Narlock.
* [Support] #958: Remove the Git SHA portion of our version
string generation; it was rarely useful & occasionally caused
issues for users with non-Git-based source checkouts.
* [Bug] #1180: Fix issue with unicode steam outputs crashing if
stream encoding type is None. Thanks to @joekiller for catch &
patch.
* [Bug] #1228: Update the CommandTimeout class so it has a useful
str instead of appearing blank when caught by Fabrics top
level exception handling. Catch & patch from Tomaz Muraus.
* [Support] #1213: Add useful exception message to the implicit
SystemExit raised by Fabrics use of sys.exit inside the abort
function. This allows client code catching SystemExit to have
better introspection into the error. Thanks to Ioannis Panousis.
* [Bug] #1019: (also #1022, #1186) Fix “is a tty” tests in
environments where streams (eg sys.stdout) have been replaced
with objects lacking a .isatty() method. Thanks to Miki Tebeka
for the original report, Lele Long for a subsequent patch, and
Julien Phalip for the final/merged patch.
* [Bug] #1201: Dont naively glob all get targets - only glob
actual directories. This avoids incorrectly yielding permission
errors in edge cases where a requested file is within a
directory lacking the read permission bit. Thanks to Sassa Nf
for the original report.
- additional changes from version 1.10.0:
* [Feature] #975: Fabric can now be invoked via python -m fabric
in addition to the typical use of the fab entrypoint. Patch
courtesy of Jason Coombs.
* [Feature] #1090: Add option to skip unknown tasks. Credit goes
to Jonas Lundberg.
* [Feature] #1098: Add support for dict style roledefs. Thanks to
Jonas Lundberg.
* [Feature] #700: Added use_sudo and temp_dir params to get. This
allows downloading files normally not accessible to the user
using sudo. Thanks to Jason Coombs for initial report and to
Alex Plugaru for the patch (#1121).
* [Bug] #1188: Update local to close non-pipe file descriptors in
the child process so subsequent calls to local arent blocked
on e.g. already-connected network sockets. Thanks to Tolbkni
Kao for catch & patch.
- additional changes from version 1.9.1:
* [Bug] #1167: Add Jinja to test_requires in setup.py for the
couple of newish tests that now require it. Thanks to Kubilay
Kocak for the catch.
* [Bug] #600: Clear out connection caches in full when prepping
parallel-execution subprocesses. This avoids corner cases
causing hangs/freezes due to client/socket reuse. Thanks to
Ruslan Lutsenko for the initial report and Romain Chossart for
the suggested fix.
* [Bug] #1026: Fix a typo preventing quiet operation of is_link.
Caught by @dongweiming.
* [Bug] #1059: Update IPv6 support to work with link-local
address formats. Fix courtesy of @obormot.
* [Bug] #1096: Encode Unicode text appropriately for its target
stream object to avoid issues on non-ASCII systems. Thanks to
Toru Uetani for the original patch.
* [Bug] #852: Fix to respect template_dir for non Jinja2
templates in upload_template. Thanks to Adam Kowalski for the
patch and Alex Plugaru for the initial test case.
* [Bug] #1134: Skip bad hosts when the tasks are executed in
parallel. Thanks to Igor Maravić @i-maravic.
* [Bug] #1146: Fix a bug where upload_template failed to honor
lcd when mirror_local_mode is True. Thanks to Laszlo Marai for
catch & patch.
* [Bug] #1147: Use stat instead of lstat when testing
directory-ness in the SFTP module. This allows recursive
downloads to avoid recursing into symlinks unexpectedly. Thanks
to Igor Kalnitsky for the patch.
* [Bug] #1165: Prevent infinite loop condition when a gateway
host is enabled & the same host is in the regular target host
list. Thanks to @CzBiX for catch & patch.
- additional changes from version 1.9.0:
* [Bug] #965: Tweak IO flushing behavior when in linewise (& thus
parallel) mode so interwoven output is less frequent. Thanks to
@akidata for catch & patch.
* [Feature] #741: Add env.prompts dictionary, allowing users to
set up custom prompt responses (similar to the built-in sudo
prompt auto-responder.) Thanks to Nigel Owens and David Halter
for the patch.
* [Feature] #1082: Add pty passthrough kwarg to upload_template.
* [Support]: Modified packaging data to reflect that Fabric
requires Paramiko < 1.13 (which dropped Python 2.5 support.)
* [Support] #1105: Enhance setup.py to allow Paramiko 1.13+ under
Python 2.6+. Thanks to to @Arfrever for catch & patch.
* [Support] #1106: Fix a misleading/ambiguous example snippet in
the fab usage docs to be clearer. Thanks to @zed.
* [Feature] #1101: Reboot operation now supports custom command.
Thanks to Jonas Lejon.
* [Feature] #938: Add an env var env.effective_roles specifying
roles used in the currently executing command. Thanks to Piotr
Betkier for the patch.
* [Feature] #1078: Add .command and .real_command attributes to
local return value. Thanks to Alexander Teves (@alexanderteves)
and Konrad Hałas (@konradhalas).
- additional changes from version 1.8.4:
* [Support] #1105: Enhance setup.py to allow Paramiko 1.13+ under
Python 2.6+. Thanks to to @Arfrever for catch & patch.
* [Bug] #898: Treat paths that begin with tilde “~” as absolute
paths instead of relative. Thanks to Alex Plugaru for the patch
and Dan Craig for the suggestion.
- additional changes from version 1.8.3:
* [Support]: Modified packaging data to reflect that Fabric
requires Paramiko < 1.13 (which dropped Python 2.5 support.)
- additional changes from version 1.8.2:
* [Bug] #1046: Fix typo preventing use of ProxyCommand in some
situations. Thanks to Keith Yang.
* [Bug] #917: Correct an issue with put(use_sudo=True, mode=xxx)
where the chmod was trying to apply to the wrong location.
Thanks to Remco (@nl5887) for catch & patch.
* [Bug] #955: Quote directories created as part of puts
recursive directory uploads when use_sudo=True so directories
with shell meta-characters (such as spaces) work correctly.
Thanks to John Harris for the catch.
- additional changes from version 1.8.1:
* [Bug] #948: Handle connection failures due to server load and
try connecting to hosts a number of times specified in
env.connection_attempts.
* [Bug] #957: Fix bug preventing use of env.gateway with targets
requiring password authentication. Thanks to Daniel González,
@Bengrunt and @adrianbn for their bug reports.
* [Bug] #956: Fix pty size detection when running inside Emacs.
Thanks to @akitada for catch & patch.
- increase required version of paramiko to 1.10
- fix html documentation generation
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Oct 24 11:05:35 UTC 2013 - speilicke@suse.com Thu Oct 24 11:05:35 UTC 2013 - speilicke@suse.com

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-Fabric # spec file for package python-Fabric
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 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
@@ -17,7 +17,7 @@
Name: python-Fabric Name: python-Fabric
Version: 1.8.0 Version: 1.10.1
Release: 0 Release: 0
Summary: Fabric is a simple, Pythonic tool for remote execution and deployment Summary: Fabric is a simple, Pythonic tool for remote execution and deployment
License: BSD-2-Clause License: BSD-2-Clause
@@ -32,8 +32,8 @@ BuildRequires: python-setuptools
#BuildRequires: python-nose #BuildRequires: python-nose
# Documentation requirements: # Documentation requirements:
BuildRequires: python-Sphinx BuildRequires: python-Sphinx
BuildRequires: python-paramiko >= 1.9.0 BuildRequires: python-paramiko >= 1.10
Requires: python-paramiko >= 1.9.0 Requires: python-paramiko >= 1.10
Requires: python-setuptools Requires: python-setuptools
BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRoot: %{_tmppath}/%{name}-%{version}-build
%if 0%{?suse_version} && 0%{?suse_version} <= 1110 %if 0%{?suse_version} && 0%{?suse_version} <= 1110
@@ -84,7 +84,7 @@ Fabric itself leverages.)
%build %build
python setup.py build python setup.py build
python setup.py build_sphinx && rm -r build/sphinx/html/.buildinfo python setup.py build_sphinx --source-dir=sites/docs && rm -r build/sphinx/html/.buildinfo
%install %install
python setup.py install --prefix=%{_prefix} --root=%{buildroot} python setup.py install --prefix=%{_prefix} --root=%{buildroot}