Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest for openSUSE:Factory 
checked in at 2024-08-17 12:40:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest.new.2698 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest"

Sat Aug 17 12:40:58 2024 rev:86 rq:1193499 version:8.3.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest/python-pytest.changes      
2024-06-21 16:02:58.225548249 +0200
+++ /work/SRC/openSUSE:Factory/.python-pytest.new.2698/python-pytest.changes    
2024-08-17 12:41:19.959732062 +0200
@@ -1,0 +2,49 @@
+Mon Aug 12 17:34:45 UTC 2024 - Dirk Müller <dmuel...@suse.com>
+
+- update to 8.3.2:
+  * Resolve regression where `conda` environments where no longer
+    being automatically detected
+
+-------------------------------------------------------------------
+Tue Jul 23 04:34:06 UTC 2024 - Steve Kowalik <steven.kowa...@suse.com>
+
+- Update to 8.3.1:
+  * New features
+    + Added `--xfail-tb` flag, which turns on traceback output for XFAIL
+      results.
+    + Added support for keyword matching in marker expressions.
+    + Added ``--no-fold-skipped`` command line option.
+  * Improvements
+    + The console output now uses the "third-party plugins" terminology.
+    + Python virtual environment detection was improved by checking for a
+      pyvenv.cfg file
+    + Do not truncate arguments to functions in output when running with -vvv.
+    + The readability of assertion introspection of bound methods has been
+      enhanced.
+    + Added timezone information to the testsuite timestamp in the JUnit XML
+      report.
+  * Bug Fixes
+    + Fixed reporting of teardown errors in higher-scoped fixtures when
+      using `--maxfail` or `--stepwise`.
+    + pytest.approx now correctly handles Sequence-like objects.
+    + Fixed a regression in pytest 8.0 where tracebacks get longer and
+      longer when multiple tests fail due to a shared higher-scope fixture
+      which raised
+    + Fixed collection error upon encountering an abstract class, including
+      abstract unittest.TestCase subclasses.
+    + Fixed a regression in pytest 8.0.0 where package-scoped parameterized
+      items were not correctly reordered to minimize setups/teardowns in
+      some cases.
+    + Fixed crash with `assert testcase is not None` assertion failure when
+      re-running unittest tests using plugins like pytest-rerunfailures.
+    + Fixed a crash when returning category ``"error"`` or ``"failed"`` with
+      a custom test status from :hook:`pytest_report_teststatus` hook.
+    + Improved handling of invalid regex patterns in
+      pytest.raises(match=r'...') by providing a clear error message.
+    + Parametrization parameters are now compared using == instead of is
+      (is is still used as a fallback if the parameter does not support ==).
+    + Fixed progress percentages sometimes not aligning correctly when
+      running with pytest-xdist -n.
+- Drop patch allow-re-run-regression.patch: Included.
+
+-------------------------------------------------------------------

Old:
----
  allow-re-run-regression.patch
  pytest-8.2.2.tar.gz

New:
----
  pytest-8.3.2.tar.gz

BETA DEBUG BEGIN:
  Old:      running with pytest-xdist -n.
- Drop patch allow-re-run-regression.patch: Included.
BETA DEBUG END:

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

Other differences:
------------------
++++++ python-pytest.spec ++++++
--- /var/tmp/diff_new_pack.GSG64Z/_old  2024-08-17 12:41:20.499754508 +0200
+++ /var/tmp/diff_new_pack.GSG64Z/_new  2024-08-17 12:41:20.499754508 +0200
@@ -33,15 +33,13 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pytest%{psuffix}
-Version:        8.2.2
+Version:        8.3.2
 Release:        0
 Summary:        Simple powerful testing with Python
 License:        MIT
 URL:            https://github.com/pytest-dev/pytest
 Source:         
https://files.pythonhosted.org/packages/source/p/pytest/pytest-%{version}.tar.gz
-# FIX-PATCH-UPSTREAM gh#pytest-dev/pytest#12438
-Patch0:         allow-re-run-regression.patch
-BuildRequires:  %{python_module base >= 3.7}
+BuildRequires:  %{python_module base >= 3.8}
 BuildRequires:  %{python_module pip}
 BuildRequires:  %{python_module setuptools_scm >= 6}
 BuildRequires:  %{python_module setuptools}
@@ -52,12 +50,12 @@
 Requires:       python-attrs >= 19.2.0
 %if 0%{?python_version_nodots} < 311
 Requires:       python-exceptiongroup >= 1.0.0
-Requires:       python-tomli >= 1
 %endif
 Requires:       python-iniconfig
 Requires:       python-packaging
 Requires:       python-pluggy >= 1.5
 Requires:       python-setuptools
+Requires:       (python-tomli >= 1 if python-base < 3.11)
 %if %{with libalternatives}
 Requires:       alts
 BuildRequires:  alts
@@ -73,11 +71,8 @@
 BuildRequires:  %{python_module attrs >= 19.2.0}
 BuildRequires:  %{python_module decorator}
 BuildRequires:  %{python_module hypothesis >= 3.56}
-# nose is really not REQUIRED, the test suite skips over particular
-# tests, when the package is not available.
-# BuildRequires:  %%{python_module nose}
-BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module numpy}
+BuildRequires:  %{python_module pexpect}
 BuildRequires:  %{python_module pygments-pytest}
 BuildRequires:  %{python_module pytest >= %{version}}
 BuildRequires:  %{python_module pytest-xdist}
@@ -95,8 +90,6 @@
 %autosetup -p1 -n pytest-%{version}
 # fix gh#pytest-dev/pytest#7891 still happening for Leap
 sed -i '/^\[metadata\]/ a version = %{version}' setup.cfg
-# Tests not failing with our current version of packages 
gh#pytest-dev/pytest#10042
-sed -i '/pytest.mark.xfail(reason="#10042")/d' testing/test_debugging.py
 
 %build
 %pyproject_wheel

++++++ pytest-8.2.2.tar.gz -> pytest-8.3.2.tar.gz ++++++
++++ 24794 lines of diff (skipped)

Reply via email to