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 2023-09-07 21:12:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-regressions (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-regressions.new.1766 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-regressions"
Thu Sep 7 21:12:19 2023 rev:6 rq:1109484 version:2.5.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-regressions/python-pytest-regressions.changes
2023-06-01 17:19:10.406036980 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-regressions.new.1766/python-pytest-regressions.changes
2023-09-07 21:12:39.041111566 +0200
@@ -1,0 +2,9 @@
+Thu Sep 7 09:51:38 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 2.5.0:
+ * Dropped support for EOL Python 3.6 and Python 3.7.
+ * Added support for Python 3.11.
+ * Make ``dataframe_regression`` compatible with classes inheriting
+ from ``pandas.DataFrame``.
+
+-------------------------------------------------------------------
Old:
----
pytest-regressions-2.4.2.tar.gz
New:
----
pytest-regressions-2.5.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-regressions.spec ++++++
--- /var/tmp/diff_new_pack.p9BtwP/_old 2023-09-07 21:12:40.301156610 +0200
+++ /var/tmp/diff_new_pack.p9BtwP/_new 2023-09-07 21:12:40.301156610 +0200
@@ -18,7 +18,7 @@
%{?sle15_python_module_pythons}
Name: python-pytest-regressions
-Version: 2.4.2
+Version: 2.5.0
Release: 0
License: MIT
Summary: Python fixtures to write regression tests
++++++ pytest-regressions-2.4.2.tar.gz -> pytest-regressions-2.5.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/.github/workflows/main.yml
new/pytest-regressions-2.5.0/.github/workflows/main.yml
--- old/pytest-regressions-2.4.2/.github/workflows/main.yml 2023-01-13
13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/.github/workflows/main.yml 2023-08-31
18:35:22.000000000 +0200
@@ -10,27 +10,17 @@
strategy:
fail-fast: false
matrix:
- python: ["3.7", "3.8", "3.9", "3.10"]
+ python: ["3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest, windows-latest]
include:
- # non-matrix listed runs (python 3.6 is not supported with
ubuntu-latest).
- - python: 3.6
- os: ubuntu-20.04
- tox_env: "py36"
- - python: 3.6
- os: windows-latest
- tox_env: "py36"
- - python: "3.7"
- tox_env: "py37"
- python: "3.8"
tox_env: "py38"
- python: "3.9"
tox_env: "py39"
- python: "3.10"
tox_env: "py310,pytest6"
- exclude:
- - python: "3.6"
- os: windows-latest
+ - python: "3.11"
+ tox_env: "py311"
steps:
- uses: actions/checkout@v3
@@ -59,16 +49,20 @@
- name: Set up Python
uses: actions/setup-python@v1
with:
- python-version: "3.7"
- - name: Install wheel
+ python-version: "3.11"
+ - name: Install dependencies
run: |
python -m pip install --upgrade pip
- pip install wheel
+ pip install build
- name: Build package
run: |
- python setup.py sdist bdist_wheel
+ python -m build
- name: Publish package to PyPI
uses: pypa/gh-action-pypi-publish@master
with:
user: __token__
password: ${{ secrets.pypi_token }}
+ - name: GitHub Release
+ uses: softprops/action-gh-release@v1
+ with:
+ files: dist/*
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/.pre-commit-config.yaml
new/pytest-regressions-2.5.0/.pre-commit-config.yaml
--- old/pytest-regressions-2.4.2/.pre-commit-config.yaml 2023-01-13
13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/.pre-commit-config.yaml 2023-08-31
18:35:22.000000000 +0200
@@ -6,24 +6,23 @@
- id: trailing-whitespace
- id: end-of-file-fixer
- repo: https://github.com/PyCQA/autoflake
- rev: v2.0.0
+ rev: v2.2.0
hooks:
- id: autoflake
name: autoflake
args: ["--in-place", "--remove-unused-variables",
"--remove-all-unused-imports"]
language: python
files: \.py$
-- repo: https://github.com/asottile/reorder_python_imports
- rev: v3.9.0
+- repo: https://github.com/asottile/reorder-python-imports
+ rev: v3.10.0
hooks:
- id: reorder-python-imports
args: ['--application-directories=.:src', --py36-plus]
- repo: https://github.com/psf/black
- rev: 22.12.0
+ rev: 23.7.0
hooks:
- id: black
args: [--safe, --quiet]
- language_version: python3.7
- repo: local
hooks:
- id: rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/CHANGELOG.rst
new/pytest-regressions-2.5.0/CHANGELOG.rst
--- old/pytest-regressions-2.4.2/CHANGELOG.rst 2023-01-13 13:27:47.000000000
+0100
+++ new/pytest-regressions-2.5.0/CHANGELOG.rst 2023-08-31 18:35:22.000000000
+0200
@@ -1,3 +1,14 @@
+2.5.0 (2023-08-31)
+------------------
+
+* Dropped support for EOL Python 3.6 and Python 3.7.
+* Added support for Python 3.11.
+
+2.4.3 (2023-08-30)
+------------------
+
+* `#137 <https://github.com/ESSS/pytest-regressions/pull/137>`__: (Bugfix)
Make ``dataframe_regression`` compatible with classes inheriting from
``pandas.DataFrame``.
+
2.4.2 (2023-01-12)
------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/PKG-INFO
new/pytest-regressions-2.5.0/PKG-INFO
--- old/pytest-regressions-2.4.2/PKG-INFO 2023-01-13 13:27:59.000000000
+0100
+++ new/pytest-regressions-2.5.0/PKG-INFO 2023-08-31 18:35:37.986094000
+0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-regressions
-Version: 2.4.2
+Version: 2.5.0
Summary: Easy to use fixtures to write regression tests.
Home-page: https://github.com/ESSS/pytest-regressions
Author: ESSS
@@ -8,111 +8,110 @@
Maintainer: Bruno Oliveira
Maintainer-email: [email protected]
License: MIT
-Description: ==================
- pytest-regressions
- ==================
-
- .. image:: https://img.shields.io/pypi/v/pytest-regressions.svg
- :target: https://pypi.org/project/pytest-regressions
- :alt: PyPI version
-
- .. image::
https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg
- :target: https://anaconda.org/conda-forge/pytest-regressions
-
- .. image::
https://img.shields.io/pypi/pyversions/pytest-regressions.svg
- :target: https://pypi.org/project/pytest-regressions
- :alt: Python versions
-
- .. image::
https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg
- :target:
https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild
-
- .. image:: https://img.shields.io/readthedocs/pytest-regressions.svg
- :target: https://pytest-regressions.readthedocs.io/en/latest
-
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/ambv/black
-
- .. image::
https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg
- :target:
https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master
- :alt: pre-commit.ci status
-
- Fixtures to write regression tests.
-
- Features
- --------
-
- This plugin makes it simple to test general data, images, files, and
numeric tables by saving *expected*
- data in a *data directory* (courtesy of `pytest-datadir
<https://github.com/gabrielcnr/pytest-datadir>`_) that
- can be used to verify that future runs produce the same data.
-
- See `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_
for examples and API usage.
-
-
- Requirements
- ------------
-
- * ``pytest>=3.5``
- * Python 3.6+.
-
-
- Installation
- ------------
-
- You can install "pytest-regressions" via `pip`_ from `PyPI`_::
-
- $ pip install pytest-regressions
-
-
- Contributing
- ------------
- Contributions are very welcome. Tests can be run with `tox`_, please
ensure
- the coverage at least stays the same before you submit a pull request.
-
- License
- -------
-
- Distributed under the terms of the `MIT`_ license,
"pytest-regressions" is free and open source software
-
-
- Issues
- ------
-
- If you encounter any problems, please `file an issue`_ along with a
detailed description.
-
- ----
-
- This `pytest`_ plugin was generated with `Cookiecutter`_ along with
`@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
-
-
- .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
- .. _`@hackebrot`: https://github.com/hackebrot
- .. _`MIT`: http://opensource.org/licenses/MIT
- .. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
- .. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
- .. _`Apache Software License 2.0`:
http://www.apache.org/licenses/LICENSE-2.0
- .. _`cookiecutter-pytest-plugin`:
https://github.com/pytest-dev/cookiecutter-pytest-plugin
- .. _`file an issue`:
https://github.com/nicoddemus/pytest-regressions/issues
- .. _`pytest`: https://github.com/pytest-dev/pytest
- .. _`tox`: https://tox.readthedocs.io/en/latest/
- .. _`pip`: https://pypi.org/project/pip/
- .. _`PyPI`: https://pypi.org/project
-
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
-Requires-Python: >=3.6
+Requires-Python: >=3.8
Provides-Extra: dev
Provides-Extra: num
Provides-Extra: image
Provides-Extra: dataframe
+License-File: LICENSE
+
+==================
+pytest-regressions
+==================
+
+.. image:: https://img.shields.io/pypi/v/pytest-regressions.svg
+ :target: https://pypi.org/project/pytest-regressions
+ :alt: PyPI version
+
+.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg
+ :target: https://anaconda.org/conda-forge/pytest-regressions
+
+.. image:: https://img.shields.io/pypi/pyversions/pytest-regressions.svg
+ :target: https://pypi.org/project/pytest-regressions
+ :alt: Python versions
+
+.. image:: https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg
+ :target:
https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild
+
+.. image:: https://img.shields.io/readthedocs/pytest-regressions.svg
+ :target: https://pytest-regressions.readthedocs.io/en/latest
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+ :target: https://github.com/ambv/black
+
+.. image::
https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg
+ :target:
https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master
+ :alt: pre-commit.ci status
+
+Fixtures to write regression tests.
+
+Features
+--------
+
+This plugin makes it simple to test general data, images, files, and numeric
tables by saving *expected*
+data in a *data directory* (courtesy of `pytest-datadir
<https://github.com/gabrielcnr/pytest-datadir>`_) that
+can be used to verify that future runs produce the same data.
+
+See `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_ for
examples and API usage.
+
+
+Requirements
+------------
+
+* ``pytest>=3.5``
+* Python 3.6+.
+
+
+Installation
+------------
+
+You can install "pytest-regressions" via `pip`_ from `PyPI`_::
+
+ $ pip install pytest-regressions
+
+
+Contributing
+------------
+Contributions are very welcome. Tests can be run with `tox`_, please ensure
+the coverage at least stays the same before you submit a pull request.
+
+License
+-------
+
+Distributed under the terms of the `MIT`_ license, "pytest-regressions" is
free and open source software
+
+
+Issues
+------
+
+If you encounter any problems, please `file an issue`_ along with a detailed
description.
+
+----
+
+This `pytest`_ plugin was generated with `Cookiecutter`_ along with
`@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
+
+
+.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
+.. _`@hackebrot`: https://github.com/hackebrot
+.. _`MIT`: http://opensource.org/licenses/MIT
+.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
+.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
+.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
+.. _`cookiecutter-pytest-plugin`:
https://github.com/pytest-dev/cookiecutter-pytest-plugin
+.. _`file an issue`: https://github.com/nicoddemus/pytest-regressions/issues
+.. _`pytest`: https://github.com/pytest-dev/pytest
+.. _`tox`: https://tox.readthedocs.io/en/latest/
+.. _`pip`: https://pypi.org/project/pip/
+.. _`PyPI`: https://pypi.org/project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/doc/overview.rst
new/pytest-regressions-2.5.0/doc/overview.rst
--- old/pytest-regressions-2.4.2/doc/overview.rst 2023-01-13
13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/doc/overview.rst 2023-08-31
18:35:22.000000000 +0200
@@ -171,7 +171,7 @@
.. code-block:: python
- @pytest.mark.parametrize('data', [summary_grids(), summary_grids_2()],
ids=['short' 'long'])
+ @pytest.mark.parametrize('data', [summary_grids(), summary_grids_2()],
ids=['short', 'long'])
def test_grids3(data_regression, data):
data_regression.check(data)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/setup.py
new/pytest-regressions-2.5.0/setup.py
--- old/pytest-regressions-2.4.2/setup.py 2023-01-13 13:27:47.000000000
+0100
+++ new/pytest-regressions-2.5.0/setup.py 2023-08-31 18:35:22.000000000
+0200
@@ -12,10 +12,7 @@
setup(
name="pytest-regressions",
use_scm_version=True,
- setup_requires=[
- "setuptools_scm; python_version>'3.6'",
- "setuptools_scm <7.0; python_version=='3.6'",
- ],
+ setup_requires=["setuptools_scm"],
author="ESSS",
author_email="[email protected]",
maintainer="Bruno Oliveira",
@@ -26,7 +23,7 @@
long_description=read("README.rst"),
packages=find_packages("src"),
package_dir={"": "src"},
- python_requires=">=3.6",
+ python_requires=">=3.8",
package_data={
"pytest_regressions": ["py.typed"],
},
@@ -55,11 +52,10 @@
"Intended Audience :: Developers",
"Topic :: Software Development :: Testing",
"Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: Implementation :: CPython",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/src/pytest_regressions/dataframe_regression.py
new/pytest-regressions-2.5.0/src/pytest_regressions/dataframe_regression.py
--- old/pytest-regressions-2.4.2/src/pytest_regressions/dataframe_regression.py
2023-01-13 13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/src/pytest_regressions/dataframe_regression.py
2023-08-31 18:35:22.000000000 +0200
@@ -236,7 +236,7 @@
__tracebackhide__ = True
- assert type(data_frame) is pd.DataFrame, (
+ assert isinstance(data_frame, pd.DataFrame), (
"Only pandas DataFrames are supported on dataframe_regression
fixture.\n"
"Object with type '%s' was given." % (str(type(data_frame)),)
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/src/pytest_regressions/file_regression.py
new/pytest-regressions-2.5.0/src/pytest_regressions/file_regression.py
--- old/pytest-regressions-2.4.2/src/pytest_regressions/file_regression.py
2023-01-13 13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/src/pytest_regressions/file_regression.py
2023-08-31 18:35:22.000000000 +0200
@@ -73,7 +73,6 @@
)
if check_fn is None:
-
if binary:
def check_fn(obtained_filename: Path, expected_filename: Path)
-> None:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/src/pytest_regressions/ndarrays_regression.py
new/pytest-regressions-2.5.0/src/pytest_regressions/ndarrays_regression.py
--- old/pytest-regressions-2.4.2/src/pytest_regressions/ndarrays_regression.py
2023-01-13 13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/src/pytest_regressions/ndarrays_regression.py
2023-08-31 18:35:22.000000000 +0200
@@ -253,7 +253,7 @@
with open(filename, "rb") as f:
result = dict(np.load(f))
except (zipfile.BadZipFile, ValueError) as e:
- raise IOError(
+ raise OSError(
f"NPZ file {filename} could not be loaded. Corrupt file?"
) from e
return result
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/src/pytest_regressions.egg-info/PKG-INFO
new/pytest-regressions-2.5.0/src/pytest_regressions.egg-info/PKG-INFO
--- old/pytest-regressions-2.4.2/src/pytest_regressions.egg-info/PKG-INFO
2023-01-13 13:27:59.000000000 +0100
+++ new/pytest-regressions-2.5.0/src/pytest_regressions.egg-info/PKG-INFO
2023-08-31 18:35:37.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-regressions
-Version: 2.4.2
+Version: 2.5.0
Summary: Easy to use fixtures to write regression tests.
Home-page: https://github.com/ESSS/pytest-regressions
Author: ESSS
@@ -8,111 +8,110 @@
Maintainer: Bruno Oliveira
Maintainer-email: [email protected]
License: MIT
-Description: ==================
- pytest-regressions
- ==================
-
- .. image:: https://img.shields.io/pypi/v/pytest-regressions.svg
- :target: https://pypi.org/project/pytest-regressions
- :alt: PyPI version
-
- .. image::
https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg
- :target: https://anaconda.org/conda-forge/pytest-regressions
-
- .. image::
https://img.shields.io/pypi/pyversions/pytest-regressions.svg
- :target: https://pypi.org/project/pytest-regressions
- :alt: Python versions
-
- .. image::
https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg
- :target:
https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild
-
- .. image:: https://img.shields.io/readthedocs/pytest-regressions.svg
- :target: https://pytest-regressions.readthedocs.io/en/latest
-
- .. image:: https://img.shields.io/badge/code%20style-black-000000.svg
- :target: https://github.com/ambv/black
-
- .. image::
https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg
- :target:
https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master
- :alt: pre-commit.ci status
-
- Fixtures to write regression tests.
-
- Features
- --------
-
- This plugin makes it simple to test general data, images, files, and
numeric tables by saving *expected*
- data in a *data directory* (courtesy of `pytest-datadir
<https://github.com/gabrielcnr/pytest-datadir>`_) that
- can be used to verify that future runs produce the same data.
-
- See `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_
for examples and API usage.
-
-
- Requirements
- ------------
-
- * ``pytest>=3.5``
- * Python 3.6+.
-
-
- Installation
- ------------
-
- You can install "pytest-regressions" via `pip`_ from `PyPI`_::
-
- $ pip install pytest-regressions
-
-
- Contributing
- ------------
- Contributions are very welcome. Tests can be run with `tox`_, please
ensure
- the coverage at least stays the same before you submit a pull request.
-
- License
- -------
-
- Distributed under the terms of the `MIT`_ license,
"pytest-regressions" is free and open source software
-
-
- Issues
- ------
-
- If you encounter any problems, please `file an issue`_ along with a
detailed description.
-
- ----
-
- This `pytest`_ plugin was generated with `Cookiecutter`_ along with
`@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
-
-
- .. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
- .. _`@hackebrot`: https://github.com/hackebrot
- .. _`MIT`: http://opensource.org/licenses/MIT
- .. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
- .. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
- .. _`Apache Software License 2.0`:
http://www.apache.org/licenses/LICENSE-2.0
- .. _`cookiecutter-pytest-plugin`:
https://github.com/pytest-dev/cookiecutter-pytest-plugin
- .. _`file an issue`:
https://github.com/nicoddemus/pytest-regressions/issues
- .. _`pytest`: https://github.com/pytest-dev/pytest
- .. _`tox`: https://tox.readthedocs.io/en/latest/
- .. _`pip`: https://pypi.org/project/pip/
- .. _`PyPI`: https://pypi.org/project
-
-Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Testing
Classifier: Programming Language :: Python :: 3
-Classifier: Programming Language :: Python :: 3.6
-Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
-Requires-Python: >=3.6
+Requires-Python: >=3.8
Provides-Extra: dev
Provides-Extra: num
Provides-Extra: image
Provides-Extra: dataframe
+License-File: LICENSE
+
+==================
+pytest-regressions
+==================
+
+.. image:: https://img.shields.io/pypi/v/pytest-regressions.svg
+ :target: https://pypi.org/project/pytest-regressions
+ :alt: PyPI version
+
+.. image:: https://img.shields.io/conda/vn/conda-forge/pytest-regressions.svg
+ :target: https://anaconda.org/conda-forge/pytest-regressions
+
+.. image:: https://img.shields.io/pypi/pyversions/pytest-regressions.svg
+ :target: https://pypi.org/project/pytest-regressions
+ :alt: Python versions
+
+.. image:: https://github.com/ESSS/pytest-regressions/workflows/build/badge.svg
+ :target:
https://github.com/ESSS/pytest-regressions/actions?query=workflow%3Abuild
+
+.. image:: https://img.shields.io/readthedocs/pytest-regressions.svg
+ :target: https://pytest-regressions.readthedocs.io/en/latest
+
+.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
+ :target: https://github.com/ambv/black
+
+.. image::
https://results.pre-commit.ci/badge/github/ESSS/pytest-regressions/master.svg
+ :target:
https://results.pre-commit.ci/latest/github/ESSS/pytest-regressions/master
+ :alt: pre-commit.ci status
+
+Fixtures to write regression tests.
+
+Features
+--------
+
+This plugin makes it simple to test general data, images, files, and numeric
tables by saving *expected*
+data in a *data directory* (courtesy of `pytest-datadir
<https://github.com/gabrielcnr/pytest-datadir>`_) that
+can be used to verify that future runs produce the same data.
+
+See `the docs <https://pytest-regressions.readthedocs.io/en/latest>`_ for
examples and API usage.
+
+
+Requirements
+------------
+
+* ``pytest>=3.5``
+* Python 3.6+.
+
+
+Installation
+------------
+
+You can install "pytest-regressions" via `pip`_ from `PyPI`_::
+
+ $ pip install pytest-regressions
+
+
+Contributing
+------------
+Contributions are very welcome. Tests can be run with `tox`_, please ensure
+the coverage at least stays the same before you submit a pull request.
+
+License
+-------
+
+Distributed under the terms of the `MIT`_ license, "pytest-regressions" is
free and open source software
+
+
+Issues
+------
+
+If you encounter any problems, please `file an issue`_ along with a detailed
description.
+
+----
+
+This `pytest`_ plugin was generated with `Cookiecutter`_ along with
`@hackebrot`_'s `cookiecutter-pytest-plugin`_ template.
+
+
+.. _`Cookiecutter`: https://github.com/audreyr/cookiecutter
+.. _`@hackebrot`: https://github.com/hackebrot
+.. _`MIT`: http://opensource.org/licenses/MIT
+.. _`BSD-3`: http://opensource.org/licenses/BSD-3-Clause
+.. _`GNU GPL v3.0`: http://www.gnu.org/licenses/gpl-3.0.txt
+.. _`Apache Software License 2.0`: http://www.apache.org/licenses/LICENSE-2.0
+.. _`cookiecutter-pytest-plugin`:
https://github.com/pytest-dev/cookiecutter-pytest-plugin
+.. _`file an issue`: https://github.com/nicoddemus/pytest-regressions/issues
+.. _`pytest`: https://github.com/pytest-dev/pytest
+.. _`tox`: https://tox.readthedocs.io/en/latest/
+.. _`pip`: https://pypi.org/project/pip/
+.. _`PyPI`: https://pypi.org/project
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/src/pytest_regressions.egg-info/entry_points.txt
new/pytest-regressions-2.5.0/src/pytest_regressions.egg-info/entry_points.txt
---
old/pytest-regressions-2.4.2/src/pytest_regressions.egg-info/entry_points.txt
2023-01-13 13:27:59.000000000 +0100
+++
new/pytest-regressions-2.5.0/src/pytest_regressions.egg-info/entry_points.txt
2023-08-31 18:35:37.000000000 +0200
@@ -1,3 +1,2 @@
[pytest11]
regressions = pytest_regressions.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/tests/test_data_regression.py
new/pytest-regressions-2.5.0/tests/test_data_regression.py
--- old/pytest-regressions-2.4.2/tests/test_data_regression.py 2023-01-13
13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/tests/test_data_regression.py 2023-08-31
18:35:22.000000000 +0200
@@ -39,7 +39,6 @@
def test_usage_workflow(pytester, monkeypatch):
-
monkeypatch.setattr(
sys, "testing_get_data", lambda: {"contents": "Foo", "value": 10},
raising=False
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/tests/test_file_regression.py
new/pytest-regressions-2.5.0/tests/test_file_regression.py
--- old/pytest-regressions-2.4.2/tests/test_file_regression.py 2023-01-13
13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/tests/test_file_regression.py 2023-08-31
18:35:22.000000000 +0200
@@ -27,7 +27,6 @@
def test_file_regression_workflow(pytester, monkeypatch):
-
monkeypatch.setattr(sys, "get_data", lambda: "foo", raising=False)
source = """
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-regressions-2.4.2/tests/test_ndarrays_regression.py
new/pytest-regressions-2.5.0/tests/test_ndarrays_regression.py
--- old/pytest-regressions-2.4.2/tests/test_ndarrays_regression.py
2023-01-13 13:27:47.000000000 +0100
+++ new/pytest-regressions-2.5.0/tests/test_ndarrays_regression.py
2023-08-31 18:35:22.000000000 +0200
@@ -13,7 +13,6 @@
def test_usage_workflow(pytester, monkeypatch):
-
monkeypatch.setattr(
sys, "testing_get_data", lambda: {"data": 1.1 * np.ones(50)},
raising=False
)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-regressions-2.4.2/tox.ini
new/pytest-regressions-2.5.0/tox.ini
--- old/pytest-regressions-2.4.2/tox.ini 2023-01-13 13:27:47.000000000
+0100
+++ new/pytest-regressions-2.5.0/tox.ini 2023-08-31 18:35:22.000000000
+0200
@@ -1,5 +1,5 @@
[tox]
-envlist = py36,py37,py38,py39,py310,pytest6, docs,linting
+envlist = py38,py39,py310,py311,pytest6
[testenv]
download = true