Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-relaxed for
openSUSE:Factory checked in at 2023-01-15 17:57:51
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-relaxed (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-relaxed.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-relaxed"
Sun Jan 15 17:57:51 2023 rev:11 rq:1057683 version:2.0.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-relaxed/python-pytest-relaxed.changes
2022-04-16 00:14:09.913642369 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-relaxed.new.32243/python-pytest-relaxed.changes
2023-01-15 17:57:57.742130349 +0100
@@ -1,0 +2,18 @@
+Wed Jan 11 01:52:18 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Update to 2.0.0:
+ * Prior to version 2, we failed to correctly support true Pytest
+ setup/teardown methods (i.e. setup_method and teardown_method) and
+ these would not get copied to inner class scopes. This has been fixed.
+ We still support old nose-style setup/teardown for now, despite them
+ going away in Pytest 8.
+ * Modernize codebase/project a bunch:
+ + Dropped support for Python <3.6 (including 2.7)
+ + Pytest support upgraded to support, and require, Pytest >=7.
+ + Behavioral changes in Pytest internals have fixed a handful of
+ sorta-bugs present in pytest-relaxed under Pytest versions 3 and 4.
+- Dropped patches pytest-6.1-and-7.patch, pytest-relaxed-pr10.patch:
+ * No longer required.
+- Removed six from BuildRequires, is no longer used.
+
+-------------------------------------------------------------------
Old:
----
pytest-6.1-and-7.patch
pytest-relaxed-1.1.5.tar.gz
pytest-relaxed-pr10.patch
New:
----
pytest-relaxed-2.0.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-relaxed.spec ++++++
--- /var/tmp/diff_new_pack.Q9gcDS/_old 2023-01-15 17:57:58.658135787 +0100
+++ /var/tmp/diff_new_pack.Q9gcDS/_new 2023-01-15 17:57:58.662135811 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-relaxed
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,27 +16,20 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-relaxed
-Version: 1.1.5
+Version: 2.0.0
Release: 0
Summary: Relaxed test discovery/organization for pytest
License: BSD-2-Clause
URL: https://github.com/bitprophet/pytest-relaxed
Source:
https://files.pythonhosted.org/packages/source/p/pytest-relaxed/pytest-relaxed-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM pytest-relaxed-pr10.patch --
gh#bitprophet/pytest-relaxed#10
-Patch0: pytest-relaxed-pr10.patch
-# PATCH-FIX-UPSTREAM pytest-6.1-and-7.patch -- gh#bitprophet/pytest-relaxed#21
+ gh#s-t-e-v-e-n-k/pytest-relaxed#1
-Patch1: pytest-6.1-and-7.patch
BuildRequires: %{python_module decorator >= 4}
-BuildRequires: %{python_module pytest}
+BuildRequires: %{python_module pytest >= 7}
BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-decorator >= 4
-Requires: python-pytest
-Requires: python-six
+Requires: python-pytest >= 7
BuildArch: noarch
%python_subpackages
@@ -45,10 +38,6 @@
%prep
%autosetup -p1 -n pytest-relaxed-%{version}
-# do not hardcode deps
-sed -i setup.py \
- -e 's:pytest>=3,<5:pytest>=3:' \
- -e 's:decorator>=4,<5:decorator>=4:'
%build
export LANG=en_US.UTF-8
@@ -60,7 +49,7 @@
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
-%pytest
+%pytest tests
%files %{python_files}
%license LICENSE
++++++ pytest-relaxed-1.1.5.tar.gz -> pytest-relaxed-2.0.0.tar.gz ++++++
++++ 2177 lines of diff (skipped)