Update to 2.8.3

* Fixed support for pandas.CategoricalDtype, regressed in 2.8.1.
  * Reintroduced support for datetime columns in dataframe_regression.
  * Removed check against numpy-2.0-deprecated a dtype alias.
  * Replaced datadir with the lazy_datadir fixture for improved performance
    in test suites with large data directories.
  * Python 3.12 and 3.13 are now officially supported.
  * Python 3.8 (EOL) is no longer supported.
  * Added fullpath parameter to image_regression.check.
  * Added documentation for specifying custom data directories.
  * Added new round_digits to data_regression.check, which when given will
    round all float values to the given number of dicts (recursively) before
    saving the data to disk.
This commit is contained in:
Steve Kowalik
2025-11-24 14:52:04 +11:00
parent 22de683723
commit 1ad4edf6fe
4 changed files with 24 additions and 7 deletions

BIN
pytest-regressions-2.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_regressions-2.8.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,20 @@
-------------------------------------------------------------------
Mon Nov 24 03:50:29 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 2.8.3:
* Fixed support for pandas.CategoricalDtype, regressed in 2.8.1.
* Reintroduced support for datetime columns in dataframe_regression.
* Removed check against numpy-2.0-deprecated a dtype alias.
* Replaced datadir with the lazy_datadir fixture for improved performance
in test suites with large data directories.
* Python 3.12 and 3.13 are now officially supported.
* Python 3.8 (EOL) is no longer supported.
* Added fullpath parameter to image_regression.check.
* Added documentation for specifying custom data directories.
* Added new round_digits to data_regression.check, which when given will
round all float values to the given number of dicts (recursively) before
saving the data to disk.
-------------------------------------------------------------------
Wed May 7 06:58:19 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

View File

@@ -18,13 +18,13 @@
%{?sle15_python_module_pythons}
Name: python-pytest-regressions
Version: 2.5.0
Version: 2.8.3
Release: 0
License: MIT
Summary: Python fixtures to write regression tests
URL: https://github.com/ESSS/pytest-regressions
Group: Development/Languages/Python
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest-regressions-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pytest-regressions/pytest_regressions-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
@@ -57,7 +57,7 @@ BuildArch: noarch
Python fixtures to write regression tests.
%prep
%autosetup -p1 -n pytest-regressions-%{version}
%autosetup -p1 -n pytest_regressions-%{version}
%build
%pyproject_wheel