1
0

Compare commits

13 Commits

Author SHA256 Message Date
c353ce66e1 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
35995099fa 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
88cc4a8ce6 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
8c0028651e - 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
02f185f579 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
c0ad445794 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
a62c36b966 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
a83b4a36ce - 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
Tomáš Chvátal
c881080a9c - 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
b12b877dfc 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
a18c445dae 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
af9c7c5896 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
Tomáš Chvátal
4999cc2dde - 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
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