3 Commits

Author SHA256 Message Date
Steve Kowalik
1ad4edf6fe 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.
2025-11-24 14:52:04 +11:00
22de683723 Accepting request 1275110 from devel:languages:python:pytest
- Switch to pyproject macros.
- Be more explicit about directories in %files.

OBS-URL: https://build.opensuse.org/request/show/1275110
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-regressions?expand=0&rev=7
2025-05-07 17:15:53 +00:00
a6d45ba394 - Switch to pyproject macros.
- Be more explicit about directories in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-regressions?expand=0&rev=14
2025-05-07 07:05:53 +00:00
4 changed files with 37 additions and 11 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,26 @@
-------------------------------------------------------------------
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>
- Switch to pyproject macros.
- Be more explicit about directories in %files.
-------------------------------------------------------------------
Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-regressions
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,15 +18,17 @@
%{?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}
BuildRequires: %{python_module wheel}
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest >= 6.2.0}
@@ -55,13 +57,13 @@ BuildArch: noarch
Python fixtures to write regression tests.
%prep
%autosetup -p1 -n pytest-regressions-%{version}
%autosetup -p1 -n pytest_regressions-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -79,6 +81,7 @@ donttest+=" or test_different_data_types"
%files %{python_files}
%doc CHANGELOG.rst README.rst
%license LICENSE
%{python_sitelib}/pytest_regressions*
%{python_sitelib}/pytest_regressions
%{python_sitelib}/pytest_regressions-%{version}.dist-info
%changelog