1
0

Compare commits

8 Commits

Author SHA256 Message Date
d51f6c810c Don't use %pytest macro
Do not use %pytest macro for running tests as it conflicts with internal
.astropy/config
2026-01-20 13:57:06 +01:00
520cdf702b - update to 0.6.1:
* Fix broken ``single_reference=True`` usage.
  * Add ability to compare to Pandas DataFrames and store them as
    HDF5 files
  * Fix ``array_compare`` so that the ``atol`` parameter is
    correctly used with FITS files.
  * Test inside ``pytest_runtest_call`` hook.
- Do not build :test on Python 3.6, due to no NumPy.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=14
2023-12-14 21:33:39 +00:00
54004de09e Accepting request 1034352 from home:bnavigator:branches:devel:languages:python:numeric
- Update to v0.5.0
  * Remove astropy dependency by @olebole in #31
  * Register array_compare as pytest marker.
- Release v0.4.0
  * Minimum Python version is now 3.7. [#30]
  * Various infrastructure updates.

OBS-URL: https://build.opensuse.org/request/show/1034352
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=12
2022-11-08 07:23:15 +00:00
13cc9f0773 Accepting request 888738 from home:bnavigator:branches:devel:languages:python:pytest
- Do not build the package for python36 either
  (installcheck failure, numpy is a runtime requirement)
- Test astropy functionality for python3

OBS-URL: https://build.opensuse.org/request/show/888738
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=10
2021-04-27 11:17:51 +00:00
b44eb55775 - Do not build :test on Python 3.6, due to no NumPy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=9
2021-04-19 05:21:23 +00:00
Tomáš Chvátal
ef9bdbac9a OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=7 2019-05-06 09:16:24 +00:00
Todd R
e39acc8e26 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=6 2019-02-25 20:06:48 +00:00
Tomáš Chvátal
af86b82910 - Update to 0.3:
* Fixed compatibility with pytest 4+. [#15]
- Use _multibuild to run tests

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-arraydiff?expand=0&rev=5
2019-02-13 13:27:45 +00:00
2 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Jan 20 12:45:21 UTC 2026 - Daniel Garcia <daniel.garcia@suse.com>
- Do not use %pytest macro for running tests as it conflicts with
internal .astropy/config
-------------------------------------------------------------------
Thu Dec 14 21:32:08 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -81,7 +81,16 @@ At the moment, the supported file formats for the reference files are:
%check
# not installed in :test multiflavor
export PYTHONPATH="$PWD"
%pytest
BASEPATH=$PYTHONPATH
# Don't run the tests with %%pytest macro as it sets the
# XDG_CONFIG_HOME env variable that conflicts with the .astropy/config
# folder.
export -n XDG_CONFIG_HOME
%{python_expand #
export PYTHONPATH=${BASEPATH}:%{buildroot}%{$python_sitelib} PYTHONDONTWRITEBYTECODE=1
$python -m pytest -v
}
%endif
%if !%{with test}