From c0ad445794cd5c3d70054ce292f0180328bb3848498e165adaa9aea346c2a60c Mon Sep 17 00:00:00 2001 From: Benjamin Greiner Date: Thu, 26 May 2022 16:38:43 +0000 Subject: [PATCH] Accepting request 979374 from home:bnavigator:branches:devel:languages:python:numeric - Update to 0.10: * MNT: Stop using distutils by @pllim in #47 * Add plugin for cpu/memory intensive tests by @saimn in #48 OBS-URL: https://build.opensuse.org/request/show/979374 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=16 --- pytest-astropy-0.10.0.tar.gz | 3 +++ pytest-astropy-0.9.0.tar.gz | 3 --- python-pytest-astropy.changes | 7 +++++++ python-pytest-astropy.spec | 16 +++++++++++----- 4 files changed, 21 insertions(+), 8 deletions(-) create mode 100644 pytest-astropy-0.10.0.tar.gz delete mode 100644 pytest-astropy-0.9.0.tar.gz diff --git a/pytest-astropy-0.10.0.tar.gz b/pytest-astropy-0.10.0.tar.gz new file mode 100644 index 0000000..24df7ef --- /dev/null +++ b/pytest-astropy-0.10.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:85e3c66ceede4ce668f473b3cf377fcb2aa3c48e24f28aaa377ae86004cce211 +size 6076 diff --git a/pytest-astropy-0.9.0.tar.gz b/pytest-astropy-0.9.0.tar.gz deleted file mode 100644 index d3cc1c0..0000000 --- a/pytest-astropy-0.9.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:7cdac1b2a5460f37477a329712c3a5d4af4ddf876b064731995663621be4308b -size 5169 diff --git a/python-pytest-astropy.changes b/python-pytest-astropy.changes index eb79063..afec34e 100644 --- a/python-pytest-astropy.changes +++ b/python-pytest-astropy.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Thu May 26 16:28:24 UTC 2022 - Ben Greiner + +- Update to 0.10: + * MNT: Stop using distutils by @pllim in #47 + * Add plugin for cpu/memory intensive tests by @saimn in #48 + ------------------------------------------------------------------- Sun Oct 17 13:13:41 UTC 2021 - Ben Greiner diff --git a/python-pytest-astropy.spec b/python-pytest-astropy.spec index a222595..5633fee 100644 --- a/python-pytest-astropy.spec +++ b/python-pytest-astropy.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-astropy # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,11 +16,10 @@ # +%{?!python_module:%define python_module() python3-%{**}} %define skip_python2 1 -%define skip_python36 1 -%{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-pytest-astropy -Version: 0.9.0 +Version: 0.10.0 Release: 0 Summary: Meta-package containing dependencies for testing License: BSD-3-Clause @@ -49,6 +48,12 @@ This is a meta-package that pulls in the dependencies that are used by astropy and some affiliated packages for testing. It can also be used for testing packages that are not affiliated with the Astropy project. +This package also provides pytest markers for cpu and memory intensive tests +(`pytest.mark.slow` and `pytest.mark.hugemem`). Tests marked with those +markers are not run by default, can be run with the other tests with +`--run-slow` and `--run-hugemem`, and can be run separately with `-m slow` +and `-m hugemem`. + %prep %setup -q -n pytest-astropy-%{version} @@ -62,6 +67,7 @@ testing packages that are not affiliated with the Astropy project. %files %{python_files} %doc CHANGES.rst README.rst %license LICENSE.rst -%{python_sitelib}/pytest_astropy-%{version}-py*.egg-info +%{python_sitelib}/pytest_astropy +%{python_sitelib}/pytest_astropy-%{version}*-info %changelog