Hello community,
here is the log from the commit of package python-plumbum for openSUSE:Factory checked in at 2019-06-06 18:15:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plumbum (Old)
and /work/SRC/openSUSE:Factory/.python-plumbum.new.4811 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-plumbum"
Thu Jun 6 18:15:51 2019 rev:3 rq:707129 version:1.6.7
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes 2018-12-24 11:41:19.349455828 +0100
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.4811/python-plumbum.changes 2019-06-06 18:15:53.448711179 +0200
@@ -1,0 +2,12 @@
+Mon Jun 3 10:34:35 UTC 2019 - Tomáš Chvátal
+
+- Update to 1.6.7:
+ * Commands: Added run_* methods as an alternative to modifiers (#386)
+ * CLI: Added support for ALLOW_ABREV (#401)
+ * CLI: Added DESCRIPTION_MORE, preserves spacing (#378)
+ * Color: Avoid throwing error in atexit in special cases (like pytest) (#393)
+ * Including Python 3.7 in testing matrix.
+ * Smaller bugfixes and other testing improvements.
+- Switch to github archive for tests
+
+-------------------------------------------------------------------
Old:
----
plumbum-1.6.6.tar.gz
New:
----
v1.6.7.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-plumbum.spec ++++++
--- /var/tmp/diff_new_pack.MqBw67/_old 2019-06-06 18:15:54.016711013 +0200
+++ /var/tmp/diff_new_pack.MqBw67/_new 2019-06-06 18:15:54.020711012 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-plumbum
#
-# 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
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,24 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-plumbum
-Version: 1.6.6
+Version: 1.6.7
Release: 0
Summary: Shell combinators library
License: MIT
Group: Development/Languages/Python
Url: https://github.com/tomerfiliba/plumbum
-Source: https://files.pythonhosted.org/packages/source/p/plumbum/plumbum-%{version}.tar.gz
+Source: https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module paramiko}
+BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
+BuildRequires: openssh
+BuildRequires: sudo
# /SECTION
BuildArch: noarch
@@ -47,9 +50,10 @@
manipulation, and a programmatic Command-Line Interface (CLI)
application toolkit.
-
%prep
%setup -q -n plumbum-%{version}
+# remote tests won't work in OBS
+rm tests/test_remote.py
%build
%python_build
@@ -58,6 +62,11 @@
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
+%check
+export LANG=en_US.UTF8
+# the skipped tests need running local SSH server or root privs
+%pytest -k 'not (test_iterdir or test_iter_lines_timeout or test_iter_lines_error or test_atomic_file2 or test_pid_file or test_atomic_counter or test_as_user or test_copy_move_delete)'
+
%files %{python_files}
%doc README.rst
%license LICENSE