Hello community,
here is the log from the commit of package python-pytest-relaxed for
openSUSE:Leap:15.2 checked in at 2020-04-28 20:09:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Leap:15.2/python-pytest-relaxed (Old)
and /work/SRC/openSUSE:Leap:15.2/.python-pytest-relaxed.new.2738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-relaxed"
Tue Apr 28 20:09:46 2020 rev:11 rq:795984 version:1.1.5
Changes:
--------
---
/work/SRC/openSUSE:Leap:15.2/python-pytest-relaxed/python-pytest-relaxed.changes
2020-01-15 15:52:18.919559110 +0100
+++
/work/SRC/openSUSE:Leap:15.2/.python-pytest-relaxed.new.2738/python-pytest-relaxed.changes
2020-04-28 20:09:49.056367383 +0200
@@ -1,0 +2,19 @@
+Wed Jan 15 12:51:01 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Skip test test_tests_are_colorized_by_test_result as pytest 5.3
+ tweaked color output a bit
+
+-------------------------------------------------------------------
+Mon Jun 17 10:49:38 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.1.5:
+ * Fix compatibility with pytest versions 3.3 and above.
+
+-------------------------------------------------------------------
+Thu Feb 14 15:30:39 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.1.4:
+ * Various tiny fixes in formating/metadata/etc.
+- Drop patch python3_fix.patch
+
+-------------------------------------------------------------------
Old:
----
pytest-relaxed-1.0.0.tar.gz
python3_fix.patch
New:
----
pytest-relaxed-1.1.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-relaxed.spec ++++++
--- /var/tmp/diff_new_pack.xGnqIO/_old 2020-04-28 20:09:49.352367997 +0200
+++ /var/tmp/diff_new_pack.xGnqIO/_new 2020-04-28 20:09:49.356368005 +0200
@@ -1,7 +1,7 @@
#
-# spec file for package python-pytest-pythonpath
+# spec file for package python-pytest-relaxed
#
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,26 +12,26 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-relaxed
-Version: 1.0.0
+Version: 1.1.5
Release: 0
Summary: Relaxed test discovery/organization for pytest
License: BSD-2-Clause
-Group: Development/Languages/Python
URL: https://github.com/bitprophet/pytest-relaxed
-Source:
https://files.pythonhosted.org/packages/source/p/pytest_relaxed/pytest-relaxed-%{version}.tar.gz
-Patch0: python3_fix.patch
+Source:
https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz
+BuildRequires: %{python_module decorator >= 4}
+BuildRequires: %{python_module pytest >= 3}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-decorator
+Requires: python-decorator >= 4
+Requires: python-pytest >= 3
Requires: python-six
-Requires: python-pytest
BuildArch: noarch
%python_subpackages
@@ -40,16 +40,23 @@
%prep
%setup -q -n pytest-relaxed-%{version}
-%patch0 -p1
+# do not hardcode deps
+sed -i setup.py \
+ -e 's:pytest>=3,<3.3:pytest>=3:g' \
+ -e 's:decorator>=4,<5:decorator>=4:g'
%build
+export LANG=en_US.UTF-8
%python_build
%install
+export LANG=en_US.UTF-8
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
-
+%check
+# test_tests_are_colorized_by_test_result upstream changed color output
slightly in pytest 5.3
+%pytest -k 'not test_tests_are_colorized_by_test_result'
%files %{python_files}
%license LICENSE
++++++ pytest-relaxed-1.0.0.tar.gz -> pytest-relaxed-1.1.5.tar.gz ++++++
++++ 1678 lines of diff (skipped)