Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-plumbum for openSUSE:Factory 
checked in at 2022-01-21 01:25:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-plumbum (Old)
 and      /work/SRC/openSUSE:Factory/.python-plumbum.new.1938 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-plumbum"

Fri Jan 21 01:25:36 2022 rev:6 rq:947672 version:1.7.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-plumbum/python-plumbum.changes    
2020-04-27 23:37:09.823381014 +0200
+++ /work/SRC/openSUSE:Factory/.python-plumbum.new.1938/python-plumbum.changes  
2022-01-21 01:26:16.502235561 +0100
@@ -1,0 +2,38 @@
+Wed Jan 19 22:56:55 UTC 2022 - Ben Greiner <[email protected]>
+
+- Update to 1.7.2
+  * This is the final release for Python 2 and 3.5.
+  * Some DeprecationWarnings changed to FutureWarnings (#567)
+- Version 1.7.1
+  * Paths: glob with local paths no longer expands the existing
+    path too (#552)
+  * Paramiko: support reverse tunnels (#562)
+  * SSHMachine: support forwarding Unix sockets in .tunnel() (#550)
+  * CLI: Support COLOR_GROUP_TITLES (#553)
+  * Fix a deprecated in Python 3.10 warning (#563)
+  * Extended testing and checking on Python 3.10 and various PyPy
+    versions. Nox is supported for easier new-user development.
+- Version 1.7.0
+  * Commands: support .with_cwd() (#513)
+  * Commands: make iter_lines deal with decoding errors during
+    iteration (#525)
+  * Commands: fix handling of env-vars passed to plumbum
+    BoundEnvCommands (#513)
+  * Paths: fix incorrect __getitem__ method in Path (#506)
+  * Paths: Remote path stat had odd OSError (#505)
+  * Paths: Fix RemotePath.copy() (#527)
+  * Paths: missing __fspath__ added (#498)
+  * SSH: better error reporting on SshSession error (#515)
+  * Internal: redesigned CI, major cleanup to setuptools
+    distribution, Black formatting, style checking throughout.
+  * If you install from the auto-generated tarball for Git
+    releases, you should either use
+    SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} pip install . (where
+    pkgver is the package version, 1.7.0 in this case), or (not
+    recommended) install setuptools_scm before running
+    SETUPTOOLS_SCM_PRETEND_VERSION=${pkgver} python setup.py
+    install. PyPI SDists have the version file already, and git
+    checkouts will get the version from git tags.
+- Drop no-python2.patch merged upstream
+
+-------------------------------------------------------------------

Old:
----
  no-python2.patch
  v1.6.9.tar.gz

New:
----
  plumbum-1.7.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-plumbum.spec ++++++
--- /var/tmp/diff_new_pack.F3223z/_old  2022-01-21 01:26:16.950232490 +0100
+++ /var/tmp/diff_new_pack.F3223z/_new  2022-01-21 01:26:16.954232463 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-plumbum
 #
-# Copyright (c) 2020 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
@@ -18,13 +18,13 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-plumbum
-Version:        1.6.9
+Version:        1.7.2
 Release:        0
 Summary:        Shell combinators library
 License:        MIT
 URL:            https://github.com/tomerfiliba/plumbum
-Source:         
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz
-Patch0:         no-python2.patch
+Source:         
https://github.com/tomerfiliba/plumbum/archive/v%{version}.tar.gz#/plumbum-%{version}.tar.gz
+BuildRequires:  %{python_module setuptools_scm}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
@@ -32,8 +32,8 @@
 # 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-timeout}
 BuildRequires:  %{python_module pytest}
 BuildRequires:  openssh
 BuildRequires:  sudo
@@ -51,25 +51,27 @@
 
 %prep
 %setup -q -n plumbum-%{version}
-%patch0 -p1
-# remote tests won't work in OBS
-rm tests/test_remote.py
+sed -i '/addopts/d' setup.cfg
 
 %build
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %python_build
 
 %install
+export SETUPTOOLS_SCM_PRETEND_VERSION=%{version}
 %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)'
+# timeouts too fast on obs
+donttest="test_iter_lines_line_timeout"
+%pytest --ignore tests/test_remote.py -k "not ($donttest)"
 
 %files %{python_files}
 %doc README.rst
 %license LICENSE
-%{python_sitelib}/*
+%{python_sitelib}/plumbum
+%{python_sitelib}/plumbum-%{version}*-info
 
 %changelog

Reply via email to