forked from pool/python-invoke
Accepting request 974913 from home:pgajdos:python
- version update to 1.7.0 * [Feature] #845: Env vars explicitly supplied to sudo (via its env kwarg) are now explicitly preserved via sudo’s --preserve-env argument. Patch courtesy of Benno Rice. * [Feature] #793: Add a new tasks.ignore_unknown_help config option for users who hand their tasks centrally-defined argument help dictionaries; it defaults to False but such users may set it to True to avoid exceptions. Thanks to @Allu2 for the report. * [Support]: Switch our continuous integration service from Travis-CI to Circle-CI, plus related and necessary updates to various administrative config files, management tasks and metadata. Including but not limited to: * Enhanced PyPI-level metadata/links * Split out tool config data from setup.cfg * Enhance execution & coverage of unit vs integration tests under CI * [Support] #803: Upgrade our vendored PyYAML from 3.11 to 5.4.1; this should both supply a number of security fixes, and address problems loading project-level YAML config files under Python 3.10. Fix via Andreas Rammhold. * [Support]: Switch to using yaml.safe_load for loading config files. This avoids some warnings under newer PyYAML versions and is also, in a shocking twist, more secure. - do not require python-mock for build, testsuite is not run - modified patches % 0001-Make-test-fallback-to-system-modules-when-vendorized.patch (refreshed) - deleted patches - fix-yaml-loader.patch (upstreamed) OBS-URL: https://build.opensuse.org/request/show/974913 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-invoke?expand=0&rev=29
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-invoke
|
||||
#
|
||||
# Copyright (c) 2021 SUSE LLC
|
||||
# Copyright (c) 2022 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||
Name: python-invoke
|
||||
Version: 1.6.0
|
||||
Version: 1.7.0
|
||||
Release: 0
|
||||
Summary: Pythonic Task Execution
|
||||
License: BSD-2-Clause
|
||||
@@ -30,8 +30,6 @@ URL: http://www.pyinvoke.org
|
||||
Source: https://files.pythonhosted.org/packages/source/i/invoke/invoke-%{version}.tar.gz
|
||||
Patch0: 0001-Make-test-fallback-to-system-modules-when-vendorized.patch
|
||||
Patch1: pytest4.patch
|
||||
# PATCH-FIX-OPENSUSE fix-yaml-loader.patch -- we devendorize PyYAML, which requires the Loader flag now. code@bnavigator.de
|
||||
Patch2: fix-yaml-loader.patch
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
@@ -47,7 +45,6 @@ BuildArch: noarch
|
||||
BuildRequires: %{python_module PyYAML}
|
||||
BuildRequires: %{python_module fluidity-sm}
|
||||
BuildRequires: %{python_module lexicon}
|
||||
BuildRequires: %{python_module mock}
|
||||
BuildRequires: %{python_module pexpect}
|
||||
# pytest < 6.1 to resolve pytest-relaxed constraint
|
||||
# https://github.com/bitprophet/pytest-relaxed/issues/12
|
||||
|
Reference in New Issue
Block a user