17
0

Compare commits

21 Commits

Author SHA256 Message Date
c44b74a435 Accepting request 1115214 from devel:languages:python:pytest
- The sle15_python_module_pythons needs to sit on top of the first
  use of python_module.
- Move to PEP517
- update to 0.11.0:
  * Dropped ``pytest-openfiles`` as dependency. If you still use
    it, you can install it separately.
  * ``-R`` is added as a short version for the command-line
    option ``--remote-data``. [#55]
  * Require ``pytest-doctestplus`` 1.0.0 or later. [#56]
  * Require ``pytest-remotedata`` 0.4.1 or later. [#56]
  * Require ``pytest-astropy-header`` 0.2.2 or later. [#56]
  * Require ``pytest-arraydiff`` 0.5 or later. [#56]
  * Require ``pytest-filter-subpackage`` 0.1.2 or later. [#56]

OBS-URL: https://build.opensuse.org/request/show/1115214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=8
2023-10-05 18:03:14 +00:00
b51ac52596 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=22 2023-10-04 07:34:45 +00:00
d797499a62 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=21 2023-10-04 07:31:14 +00:00
408e6cc9a4 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=20 2023-10-04 07:30:10 +00:00
d1cffadae5 - update to 0.11.0:
* Dropped ``pytest-openfiles`` as dependency. If you still use
    it, you can install it separately.
  * ``-R`` is added as a short version for the command-line
    option ``--remote-data``. [#55]
  * Require ``pytest-doctestplus`` 1.0.0 or later. [#56]
  * Require ``pytest-remotedata`` 0.4.1 or later. [#56]
  * Require ``pytest-astropy-header`` 0.2.2 or later. [#56]
  * Require ``pytest-arraydiff`` 0.5 or later. [#56]
  * Require ``pytest-filter-subpackage`` 0.1.2 or later. [#56]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=19
2023-10-02 14:52:43 +00:00
e4330378ba Accepting request 979377 from devel:languages:python:pytest
- 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/979377
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=7
2022-05-26 17:03:28 +00:00
377df01e8a Accepting request 979376 from home:bnavigator:branches:devel:languages:python:numeric
.

OBS-URL: https://build.opensuse.org/request/show/979376
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=17
2022-05-26 16:43:18 +00:00
b5ceb3921b 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
2022-05-26 16:38:43 +00:00
638b4f285a Accepting request 926350 from devel:languages:python:pytest
OBS-URL: https://build.opensuse.org/request/show/926350
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=6
2021-10-21 21:55:14 +00:00
b7d0a97834 Accepting request 925840 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.9:
  * Added ``pytest-mock`` as dependency. [#31]
  * Require ``pytest-cov`` 2.3.1 or later. [#41]
  * Require ``pytest-doctestplus`` 0.11.0 or later. [#43]
  * Dropped support for Python 3.6. [#43]

OBS-URL: https://build.opensuse.org/request/show/925840
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=15
2021-10-19 18:31:23 +00:00
bad464ddd6 Accepting request 895855 from devel:languages:python:pytest
- Do not build for Python 3.6, due to no NumPy.

OBS-URL: https://build.opensuse.org/request/show/895855
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=5
2021-06-01 08:37:53 +00:00
6e7e4fccf5 - Do not build for Python 3.6, due to no NumPy.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=13
2021-05-28 02:39:11 +00:00
b71fca460f Accepting request 785478 from devel:languages:python:pytest
- UPdate to 0.8.0:
  * Added pytest-filter-subpackage and pytest-cov as dependencies. [#29]
  * Dropped support for Python 2.7 and 3.5. [#29]
  * Require Hypothesis 5.1 or later. [#29]

OBS-URL: https://build.opensuse.org/request/show/785478
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=4
2020-04-21 11:04:48 +00:00
Tomáš Chvátal
26dc64c0f8 - UPdate to 0.8.0:
* Added pytest-filter-subpackage and pytest-cov as dependencies. [#29]
  * Dropped support for Python 2.7 and 3.5. [#29]
  * Require Hypothesis 5.1 or later. [#29]

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=11
2020-03-16 08:37:11 +00:00
cddde45d92 Accepting request 758030 from devel:languages:python:pytest
- Update to 0.7.0
  * requires new pytest-astropy-header (Request 755857)
  * Python 3 only

OBS-URL: https://build.opensuse.org/request/show/758030
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=3
2019-12-21 11:29:02 +00:00
87b594d593 Python 3 only in Changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=9
2019-12-18 21:29:36 +00:00
653ff06891 make Python 2 only
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=8
2019-12-18 21:26:08 +00:00
310a051d5b Accepting request 755858 from home:bnavigator:branches:devel:languages:python:pytest
- Update to 0.7.0
  * requires new pytest-astropy-header (Request 755857)

OBS-URL: https://build.opensuse.org/request/show/755858
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=7
2019-12-11 18:04:51 +00:00
Stephan Kulow
aa5734332b Accepting request 676367 from devel:languages:python:pytest
- Update to 0.5.0:
  * Just updates in metadata

OBS-URL: https://build.opensuse.org/request/show/676367
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=2
2019-02-25 16:51:46 +00:00
Tomáš Chvátal
90f6050a07 - Update to 0.5.0:
* Just updates in metadata

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-astropy?expand=0&rev=5
2019-02-15 09:55:22 +00:00
ce7203ee44 Accepting request 629425 from devel:languages:python:pytest
Required by python-astropy

OBS-URL: https://build.opensuse.org/request/show/629425
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-astropy?expand=0&rev=1
2018-08-17 22:03:14 +00:00
5 changed files with 97 additions and 29 deletions

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4eaeaa99ed91163ed8f9aac132c70a81f25bc4c12f3cd54dba329fc26c6739b5
size 6336

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8eacabc025b22459bd1db7313ba8e4236918b46cba241e49b2245c8ec69a267b
size 3642

View File

@@ -1 +0,0 @@
addFilter("no-dependency-on python-base .*")

View File

@@ -1,3 +1,66 @@
-------------------------------------------------------------------
Wed Oct 4 07:30:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
- The sle15_python_module_pythons needs to sit on top of the first
use of python_module.
- Move to PEP517
-------------------------------------------------------------------
Mon Oct 2 14:51:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 0.11.0:
* Dropped ``pytest-openfiles`` as dependency. If you still use
it, you can install it separately.
* ``-R`` is added as a short version for the command-line
option ``--remote-data``. [#55]
* Require ``pytest-doctestplus`` 1.0.0 or later. [#56]
* Require ``pytest-remotedata`` 0.4.1 or later. [#56]
* Require ``pytest-astropy-header`` 0.2.2 or later. [#56]
* Require ``pytest-arraydiff`` 0.5 or later. [#56]
* Require ``pytest-filter-subpackage`` 0.1.2 or later. [#56]
-------------------------------------------------------------------
Thu May 26 16:28:24 UTC 2022 - Ben Greiner <code@bnavigator.de>
- 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 <code@bnavigator.de>
- Update to 0.9:
* Added ``pytest-mock`` as dependency. [#31]
* Require ``pytest-cov`` 2.3.1 or later. [#41]
* Require ``pytest-doctestplus`` 0.11.0 or later. [#43]
* Dropped support for Python 3.6. [#43]
-------------------------------------------------------------------
Fri May 28 02:38:48 UTC 2021 - Steve Kowalik <steven.kowalik@suse.com>
- Do not build for Python 3.6, due to no NumPy.
-------------------------------------------------------------------
Mon Mar 16 08:33:29 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- UPdate to 0.8.0:
* Added pytest-filter-subpackage and pytest-cov as dependencies. [#29]
* Dropped support for Python 2.7 and 3.5. [#29]
* Require Hypothesis 5.1 or later. [#29]
-------------------------------------------------------------------
Wed Dec 18 21:29:00 UTC 2019 - Benjamin Greiner <code@bnavigator.de>
- Update to 0.7.0
* requires new pytest-astropy-header (Request 755857)
* Python 3 only
-------------------------------------------------------------------
Fri Feb 15 09:55:08 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 0.5.0:
* Just updates in metadata
-------------------------------------------------------------------
Tue Aug 14 20:03:17 UTC 2018 - toddrme2178@gmail.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-astropy
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -12,37 +12,36 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%{?sle15_python_module_pythons}
Name: python-pytest-astropy
Version: 0.4.0
Version: 0.11.0
Release: 0
License: BSD-3-Clause
Summary: Meta-package containing dependencies for testing
Url: https://github.com/astropy/pytest-astropy
Group: Development/Languages/Python
License: BSD-3-Clause
URL: https://github.com/astropy/pytest-astropy
Source: https://files.pythonhosted.org/packages/source/p/pytest-astropy/pytest-astropy-%{version}.tar.gz
Source99: python-pytest-astropy-rpmlintrc
BuildRequires: %{python_module devel}
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
# SECTION test requirements
BuildRequires: %{python_module pytest >= 3.1.0}
BuildRequires: %{python_module pytest-arraydiff >= 0.1}
BuildRequires: %{python_module pytest-doctestplus >= 0.1.3}
BuildRequires: %{python_module pytest-openfiles >= 0.3.0}
BuildRequires: %{python_module pytest-remotedata >= 0.3.0}
# /SECTION
Requires: python-pytest >= 3.1.0
Requires: python-pytest-arraydiff >= 0.1
Requires: python-pytest-doctestplus >= 0.1.3
Requires: python-pytest-openfiles >= 0.3.0
Requires: python-pytest-remotedata >= 0.3.0
Requires: python-attrs >= 19.2.0
Requires: python-hypothesis >= 5.1
Requires: python-pytest >= 4.6
Requires: python-pytest-arraydiff >= 0.5
Requires: python-pytest-astropy-header >= 0.2.2
Requires: python-pytest-cov >= 2.3.1
Requires: python-pytest-doctestplus >= 1.0.0
Requires: python-pytest-filter-subpackage >= 0.1.2
Requires: python-pytest-mock >= 2.0
Requires: python-pytest-remotedata >= 0.4.1
BuildArch: noarch
%python_subpackages
%description
@@ -50,19 +49,26 @@ 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}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%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}.dist-info
%changelog