Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-regressions for 
openSUSE:Factory checked in at 2026-04-13 23:18:00
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-regressions (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-regressions.new.21863 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-regressions"

Mon Apr 13 23:18:00 2026 rev:10 rq:1345283 version:2.10.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-regressions/python-pytest-regressions.changes
      2026-01-21 14:13:39.653596131 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-regressions.new.21863/python-pytest-regressions.changes
   2026-04-13 23:18:03.078056850 +0200
@@ -1,0 +2,6 @@
+Wed Apr  8 20:49:27 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 2.10.0:
+  * Add support for Pandas 3.0 to `dataframe_regression`
+
+-------------------------------------------------------------------

Old:
----
  pytest_regressions-2.9.1.tar.gz

New:
----
  pytest_regressions-2.10.0.tar.gz

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

Other differences:
------------------
++++++ python-pytest-regressions.spec ++++++
--- /var/tmp/diff_new_pack.ia371K/_old  2026-04-13 23:18:03.758084891 +0200
+++ /var/tmp/diff_new_pack.ia371K/_new  2026-04-13 23:18:03.758084891 +0200
@@ -18,7 +18,7 @@
 
 %{?sle15_python_module_pythons}
 Name:           python-pytest-regressions
-Version:        2.9.1
+Version:        2.10.0
 Release:        0
 License:        MIT
 Summary:        Python fixtures to write regression tests

++++++ _scmsync.obsinfo ++++++
--- /var/tmp/diff_new_pack.ia371K/_old  2026-04-13 23:18:03.806086870 +0200
+++ /var/tmp/diff_new_pack.ia371K/_new  2026-04-13 23:18:03.814087200 +0200
@@ -1,6 +1,6 @@
-mtime: 1768782793
-commit: 755a45b82e017c4dc6bdfb2ea23ef1eb9b81b826d8c7615fef84ed7f05e17ea7
+mtime: 1775681552
+commit: 9e2900e5bca64a25ba58d5375fcf17745ffb8f1c2a1f9893c180119a3a35723b
 url: https://src.opensuse.org/python-pytest/python-pytest-regressions.git
-revision: 755a45b82e017c4dc6bdfb2ea23ef1eb9b81b826d8c7615fef84ed7f05e17ea7
+revision: 9e2900e5bca64a25ba58d5375fcf17745ffb8f1c2a1f9893c180119a3a35723b
 projectscmsync: https://src.opensuse.org/python-pytest/_ObsPrj.git
 

++++++ build.specials.obscpio ++++++

++++++ build.specials.obscpio ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/.gitignore new/.gitignore
--- old/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/.gitignore      2026-04-08 22:53:00.000000000 +0200
@@ -0,0 +1 @@
+.osc

++++++ pytest_regressions-2.9.1.tar.gz -> pytest_regressions-2.10.0.tar.gz 
++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest_regressions-2.9.1/.github/workflows/test.yml 
new/pytest_regressions-2.10.0/.github/workflows/test.yml
--- old/pytest_regressions-2.9.1/.github/workflows/test.yml     2026-01-09 
17:47:28.000000000 +0100
+++ new/pytest_regressions-2.10.0/.github/workflows/test.yml    2026-02-10 
14:36:36.000000000 +0100
@@ -34,6 +34,10 @@
       matrix:
         python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
         os: [ubuntu-latest, windows-latest]
+        pandas-version: [pd2, pd3]
+        exclude:
+          - python-version: "3.10" # pd3 requires python >= 3.11
+            pandas-version: pd3
 
     steps:
       - uses: actions/checkout@v6
@@ -57,4 +61,4 @@
       - name: Test
         shell: bash
         run: |
-          tox run -e py --installpkg `find dist/*.tar.gz`
+          tox run -e ${{ matrix.pandas-version }} --installpkg `find 
dist/*.tar.gz`
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest_regressions-2.9.1/.pre-commit-config.yaml 
new/pytest_regressions-2.10.0/.pre-commit-config.yaml
--- old/pytest_regressions-2.9.1/.pre-commit-config.yaml        2026-01-09 
17:47:28.000000000 +0100
+++ new/pytest_regressions-2.10.0/.pre-commit-config.yaml       2026-02-10 
14:36:36.000000000 +0100
@@ -19,7 +19,7 @@
     -   id: reorder-python-imports
         args: ['--application-directories=.:src', --py36-plus]
 -   repo: https://github.com/psf/black-pre-commit-mirror
-    rev: 25.12.0
+    rev: 26.1.0
     hooks:
     -   id: black
         args: [--safe, --quiet]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest_regressions-2.9.1/CHANGELOG.rst 
new/pytest_regressions-2.10.0/CHANGELOG.rst
--- old/pytest_regressions-2.9.1/CHANGELOG.rst  2026-01-09 17:47:28.000000000 
+0100
+++ new/pytest_regressions-2.10.0/CHANGELOG.rst 2026-02-10 14:36:36.000000000 
+0100
@@ -1,3 +1,10 @@
+2.10.0
+------
+
+*2026-02-10*
+
+* `#225 <https://github.com/ESSS/pytest-regressions/issues/225>`__: Add 
support for Pandas 3.0 to `dataframe_regression`.
+
 2.9.1
 -----
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest_regressions-2.9.1/PKG-INFO 
new/pytest_regressions-2.10.0/PKG-INFO
--- old/pytest_regressions-2.9.1/PKG-INFO       2026-01-09 17:47:32.461976300 
+0100
+++ new/pytest_regressions-2.10.0/PKG-INFO      2026-02-10 14:36:39.981401200 
+0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: pytest-regressions
-Version: 2.9.1
+Version: 2.10.0
 Summary: Easy to use fixtures to write regression tests.
 Home-page: https://github.com/ESSS/pytest-regressions
 Author: ESSS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest_regressions-2.9.1/src/pytest_regressions/dataframe_regression.py 
new/pytest_regressions-2.10.0/src/pytest_regressions/dataframe_regression.py
--- old/pytest_regressions-2.9.1/src/pytest_regressions/dataframe_regression.py 
2026-01-09 17:47:28.000000000 +0100
+++ 
new/pytest_regressions-2.10.0/src/pytest_regressions/dataframe_regression.py    
    2026-02-10 14:36:36.000000000 +0100
@@ -59,8 +59,8 @@
             raise ModuleNotFoundError(import_error_message("NumPy"))
 
         __tracebackhide__ = True
-        obtained_data_type = obtained_column.values.dtype
-        expected_data_type = expected_column.values.dtype
+        obtained_data_type = obtained_column.values.dtype.type
+        expected_data_type = expected_column.values.dtype.type
         if obtained_data_type != expected_data_type:
             # Check if both data types are comparable as numbers (float, int, 
short, bytes, etc...)
             if np.issubdtype(obtained_data_type, np.number) and np.issubdtype(
@@ -134,7 +134,7 @@
             self._check_data_types(k, obtained_column, expected_column)
             self._check_data_shapes(obtained_column, expected_column)
 
-            if np.issubdtype(obtained_column.values.dtype, np.inexact):
+            if np.issubdtype(obtained_column.values.dtype.type, np.inexact):
                 not_close_mask = ~np.isclose(
                     obtained_column.values,
                     expected_column.values,
@@ -156,7 +156,10 @@
                 diff_expected_data = expected_column[diff_ids]
                 if obtained_column.values.dtype == bool:
                     diffs = np.logical_xor(obtained_column, 
expected_column)[diff_ids]
-                elif obtained_column.values.dtype == object:
+                elif (
+                    obtained_column.values.dtype == object
+                    or obtained_column.values.dtype == "str"
+                ):
                     diffs = diff_obtained_data.copy()
                     diffs[:] = "?"
                 else:
@@ -173,7 +176,10 @@
             error_msg += "To update values, use --force-regen option.\n\n"
             for k, comparison_table in comparison_tables_dict.items():
                 error_msg += f"{k}:\n{comparison_table}\n\n"
-            if obtained_column.values.dtype == object:
+            if (
+                obtained_column.values.dtype == object
+                or obtained_column.values.dtype == "str"
+            ):
                 error_msg += (
                     "WARNING: diffs for this kind of data type cannot be 
computed."
                 )
@@ -255,7 +261,7 @@
                 continue
 
             # Arrays of strings are supported.
-            if (array.dtype == "O") and (type(array.iloc[0]) is str):
+            if (array.dtype.kind == "O") and (type(array.iloc[0]) is str):
                 continue
             # Rejected: timedelta, objects, zero-terminated bytes, unicode 
strings and raw data
             assert array.dtype.kind not in ["m", "O", "S", "U", "V"], (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest_regressions-2.9.1/src/pytest_regressions/ndarrays_regression.py 
new/pytest_regressions-2.10.0/src/pytest_regressions/ndarrays_regression.py
--- old/pytest_regressions-2.9.1/src/pytest_regressions/ndarrays_regression.py  
2026-01-09 17:47:28.000000000 +0100
+++ new/pytest_regressions-2.10.0/src/pytest_regressions/ndarrays_regression.py 
2026-02-10 14:36:36.000000000 +0100
@@ -148,7 +148,7 @@
                 else:
                     diff_ids = np.array(
                         np.nonzero(not_close_mask)
-                    ).T  # type:ignore[unreachable]
+                    ).T  # type: ignore[unreachable]
                 comparison_tables_dict[k] = (
                     expected_array.size,
                     expected_array.shape,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest_regressions-2.9.1/src/pytest_regressions.egg-info/PKG-INFO 
new/pytest_regressions-2.10.0/src/pytest_regressions.egg-info/PKG-INFO
--- old/pytest_regressions-2.9.1/src/pytest_regressions.egg-info/PKG-INFO       
2026-01-09 17:47:32.000000000 +0100
+++ new/pytest_regressions-2.10.0/src/pytest_regressions.egg-info/PKG-INFO      
2026-02-10 14:36:39.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 2.4
 Name: pytest-regressions
-Version: 2.9.1
+Version: 2.10.0
 Summary: Easy to use fixtures to write regression tests.
 Home-page: https://github.com/ESSS/pytest-regressions
 Author: ESSS
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest_regressions-2.9.1/tests/test_data_regression.py 
new/pytest_regressions-2.10.0/tests/test_data_regression.py
--- old/pytest_regressions-2.9.1/tests/test_data_regression.py  2026-01-09 
17:47:28.000000000 +0100
+++ new/pytest_regressions-2.10.0/tests/test_data_regression.py 2026-02-10 
14:36:36.000000000 +0100
@@ -113,9 +113,7 @@
         def test(data_regression) -> None:
             contents = {'data': [1, 2]}
             data_regression.check(contents, fullpath=%s)
-    """ % (
-        repr(str(fullpath))
-    )
+    """ % (repr(str(fullpath)))
     pytester.makepyfile(test_foo=source)
     # First run fails because there's no yml file yet
     result = pytester.inline_run()
@@ -160,8 +158,7 @@
     result.assertoutcome(failed=1)
 
     yaml_file_contents = 
pytester.path.joinpath("test_file/test.yml").read_text()
-    assert yaml_file_contents == dedent(
-        """\
+    assert yaml_file_contents == dedent("""\
         color1:
         - 255
         - 0
@@ -186,8 +183,7 @@
         - 0
         - 0
         - 255
-        """
-    )
+        """)
     result = pytester.inline_run()
     result.assertoutcome(passed=1)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest_regressions-2.9.1/tests/test_file_regression.py 
new/pytest_regressions-2.10.0/tests/test_file_regression.py
--- old/pytest_regressions-2.9.1/tests/test_file_regression.py  2026-01-09 
17:47:28.000000000 +0100
+++ new/pytest_regressions-2.10.0/tests/test_file_regression.py 2026-02-10 
14:36:36.000000000 +0100
@@ -8,12 +8,10 @@
 
 
 def test_simple_text_file(file_regression: FileRegressionFixture):
-    contents = textwrap.dedent(
-        """\
+    contents = textwrap.dedent("""\
         # Title
         Another line: olá
-    """
-    )
+    """)
     file_regression.check(contents, encoding="latin1", extension=".md")
 
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest_regressions-2.9.1/tox.ini 
new/pytest_regressions-2.10.0/tox.ini
--- old/pytest_regressions-2.9.1/tox.ini        2026-01-09 17:47:28.000000000 
+0100
+++ new/pytest_regressions-2.10.0/tox.ini       2026-02-10 14:36:36.000000000 
+0100
@@ -1,5 +1,5 @@
 [tox]
-envlist = py310,py311,py312,py313,py314,pytest6
+envlist = py310,py311,py312,py313,py314,pytest6,pd2,pd3
 
 [testenv]
 download = true
@@ -7,6 +7,8 @@
 commands = pytest {posargs:tests}
 deps =
     pytest6: pytest ~= 6.2
+    pd2: pandas < 3.0.0
+    pd3: pandas >= 3.0.0
 
 
 [pytest]

Reply via email to