diff --git a/invoke-1.2.0.tar.gz b/invoke-1.2.0.tar.gz deleted file mode 100644 index ff74bf2..0000000 --- a/invoke-1.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:dc492f8f17a0746e92081aec3f86ae0b4750bf41607ea2ad87e5a7b5705121b7 -size 319116 diff --git a/invoke-1.3.0.tar.gz b/invoke-1.3.0.tar.gz new file mode 100644 index 0000000..24444fc --- /dev/null +++ b/invoke-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c52274d2e8a6d64ef0d61093e1983268ea1fc0cd13facb9448c4ef0c9a7ac7da +size 326196 diff --git a/pytest4.patch b/pytest4.patch index 013b746..129a716 100644 --- a/pytest4.patch +++ b/pytest4.patch @@ -41,19 +41,20 @@ index 18cf0afd..cbe106b9 100644 -import inspect import types - from .util import six -@@ -14,6 +13,11 @@ + from .context import Context +@@ -15,6 +15,11 @@ if six.PY3: else: from itertools import izip_longest as zip_longest - + +try: + from inspect import getfullargspec as getargspec +except AttributeError: + from inspect import getargspec + - from .context import Context - from .parser import Argument, translate_underscores - + + #: Sentinel object representing a truly blank value (vs ``None``). + NO_DEFAULT = object() + @@ -151,7 +155,7 @@ def argspec(self, body): # TODO: __call__ exhibits the 'self' arg; do we manually nix 1st result # in argspec, or is there a way to get the "really callable" spec? @@ -78,11 +79,11 @@ index cbe106b9..ad08c893 100644 --- a/invoke/tasks.py +++ b/invoke/tasks.py @@ -15,7 +15,7 @@ - + try: from inspect import getfullargspec as getargspec -except AttributeError: +except ImportError: from inspect import getargspec - - from .context import Context + + diff --git a/python-invoke.changes b/python-invoke.changes index ba0c7f9..4ec9ab6 100644 --- a/python-invoke.changes +++ b/python-invoke.changes @@ -1,3 +1,15 @@ +------------------------------------------------------------------- +Mon Aug 12 11:36:59 UTC 2019 - Marketa Calabkova + +- Update to version 1.3.0 + * Allow the configuration system to override which Executor + subclass to use when executing tasks. + * Add support for command timeouts, i.e. the ability to add an + upper bound on how long a call to run may take to execute. + * Add basic dry-run support, in the form of a new --dry CLI option. + * Add a new Runner method, close_proc_stdin, and call it when + standard input processing detects an EOF. + ------------------------------------------------------------------- Wed Jul 24 07:25:08 UTC 2019 - Tomáš Chvátal diff --git a/python-invoke.spec b/python-invoke.spec index 67f9a51..3474f9b 100644 --- a/python-invoke.spec +++ b/python-invoke.spec @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-invoke -Version: 1.2.0 +Version: 1.3.0 Release: 0 Summary: Pythonic Task Execution License: BSD-2-Clause @@ -56,8 +56,6 @@ inspiration from various sources to arrive at a powerful & clean feature set. %setup -q -n invoke-%{version} # Remove bundled libs, import will fallback to system provided libs rm -fr invoke/vendor/* -# remove pycache dir -rm -r invoke/completion/__pycache__/ %patch0 -p1 %patch1 -p1