diff options
author | Ole Streicher <olebole@debian.org> | 2022-01-16 12:17:33 +0100 |
---|---|---|
committer | Ole Streicher <olebole@debian.org> | 2022-01-16 12:17:33 +0100 |
commit | f05c58d7fe72aac6f66a519924a33e4229773fda (patch) | |
tree | 61ea86317677d133ed4cde8aae4a807ad901c5fe | |
parent | 4deef5926a92abf01e2e3d04e6067dbc625e1bad (diff) |
New upstream version 0.5.0
-rw-r--r-- | CHANGES.md | 7 | ||||
-rw-r--r-- | PKG-INFO | 7 | ||||
-rw-r--r-- | README.rst | 4 | ||||
-rw-r--r-- | pytest_arraydiff.egg-info/PKG-INFO | 7 | ||||
-rw-r--r-- | pytest_arraydiff.egg-info/requires.txt | 2 | ||||
-rwxr-xr-x | pytest_arraydiff/plugin.py | 4 | ||||
-rw-r--r-- | pytest_arraydiff/version.py | 4 | ||||
-rw-r--r-- | setup.cfg | 5 | ||||
-rw-r--r-- | tox.ini | 3 |
9 files changed, 36 insertions, 7 deletions
@@ -1,3 +1,10 @@ +0.5 (2022-01-12) +---------------- + +- Removed `astropy` as required dependency. [#31] + +- Formally register `array_compare` as marker. + 0.4 (2021-12-31) ---------------- @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-arraydiff -Version: 0.4.0 +Version: 0.5.0 Summary: pytest plugin to help with comparing array output from tests Home-page: https://github.com/astropy/pytest-arraydiff Author: The Astropy Developers @@ -23,8 +23,13 @@ Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 Description-Content-Type: text/x-rst +Provides-Extra: test License-File: LICENSE +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5811772.svg + :target: https://doi.org/10.5281/zenodo.5811772 + :alt: 10.5281/zenodo.5811772 + .. image:: https://github.com/astropy/pytest-arraydiff/workflows/CI/badge.svg :target: https://github.com/astropy/pytest-arraydiff/actions :alt: CI Status @@ -1,3 +1,7 @@ +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5811772.svg + :target: https://doi.org/10.5281/zenodo.5811772 + :alt: 10.5281/zenodo.5811772 + .. image:: https://github.com/astropy/pytest-arraydiff/workflows/CI/badge.svg :target: https://github.com/astropy/pytest-arraydiff/actions :alt: CI Status diff --git a/pytest_arraydiff.egg-info/PKG-INFO b/pytest_arraydiff.egg-info/PKG-INFO index 2a54e1f..7d951cd 100644 --- a/pytest_arraydiff.egg-info/PKG-INFO +++ b/pytest_arraydiff.egg-info/PKG-INFO @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: pytest-arraydiff -Version: 0.4.0 +Version: 0.5.0 Summary: pytest plugin to help with comparing array output from tests Home-page: https://github.com/astropy/pytest-arraydiff Author: The Astropy Developers @@ -23,8 +23,13 @@ Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 Description-Content-Type: text/x-rst +Provides-Extra: test License-File: LICENSE +.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5811772.svg + :target: https://doi.org/10.5281/zenodo.5811772 + :alt: 10.5281/zenodo.5811772 + .. image:: https://github.com/astropy/pytest-arraydiff/workflows/CI/badge.svg :target: https://github.com/astropy/pytest-arraydiff/actions :alt: CI Status diff --git a/pytest_arraydiff.egg-info/requires.txt b/pytest_arraydiff.egg-info/requires.txt index 43c6acf..9ce3e63 100644 --- a/pytest_arraydiff.egg-info/requires.txt +++ b/pytest_arraydiff.egg-info/requires.txt @@ -1,3 +1,5 @@ pytest>=4.6 numpy + +[test] astropy diff --git a/pytest_arraydiff/plugin.py b/pytest_arraydiff/plugin.py index 9d10bad..8d54faf 100755 --- a/pytest_arraydiff/plugin.py +++ b/pytest_arraydiff/plugin.py @@ -164,7 +164,9 @@ def pytest_addoption(parser): def pytest_configure(config): - + config.getini('markers').append( + 'array_compare: for functions using array comparison') + if config.getoption("--arraydiff") or config.getoption("--arraydiff-generate-path") is not None: reference_dir = config.getoption("--arraydiff-reference-path") diff --git a/pytest_arraydiff/version.py b/pytest_arraydiff/version.py index d2d477f..7856683 100644 --- a/pytest_arraydiff/version.py +++ b/pytest_arraydiff/version.py @@ -1,5 +1,5 @@ # coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -version = '0.4.0' -version_tuple = (0, 4, 0) +version = '0.5.0' +version_tuple = (0, 5, 0) @@ -32,6 +32,9 @@ setup_requires = install_requires = pytest>=4.6 numpy + +[options.extras_require] +test = astropy [options.entry_points] @@ -43,7 +46,7 @@ minversion = 4.6 testpaths = tests xfail_strict = true markers = - array_compare : for functions using array comparison + array_compare: for functions using array comparison [flake8] max-line-length = 150 @@ -19,7 +19,8 @@ deps = pytest61: pytest==6.1.* pytest62: pytest==6.2.* pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest - +extras = + test commands = pip freeze pytest {toxinidir}/tests {posargs} |