Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-astropy for
openSUSE:Factory checked in at 2023-10-05 20:03:14
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-astropy (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-astropy.new.28202 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-astropy"
Thu Oct 5 20:03:14 2023 rev:8 rq:1115214 version:0.11.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-astropy/python-pytest-astropy.changes
2022-05-26 19:03:29.406564809 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-astropy.new.28202/python-pytest-astropy.changes
2023-10-05 20:03:53.080298740 +0200
@@ -1,0 +2,21 @@
+Wed Oct 4 07:30:17 UTC 2023 - Ben Greiner <[email protected]>
+
+- 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 <[email protected]>
+
+- 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]
+
+-------------------------------------------------------------------
Old:
----
pytest-astropy-0.10.0.tar.gz
New:
----
pytest-astropy-0.11.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-astropy.spec ++++++
--- /var/tmp/diff_new_pack.TFcHL0/_old 2023-10-05 20:03:54.180338481 +0200
+++ /var/tmp/diff_new_pack.TFcHL0/_new 2023-10-05 20:03:54.180338481 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-astropy
#
-# Copyright (c) 2022 SUSE LLC
+# 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
@@ -16,31 +16,31 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-pytest-astropy
-Version: 0.10.0
+Version: 0.11.0
Release: 0
Summary: Meta-package containing dependencies for testing
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
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
Requires: python-attrs >= 19.2.0
Requires: python-hypothesis >= 5.1
Requires: python-pytest >= 4.6
-Requires: python-pytest-arraydiff >= 0.1
-Requires: python-pytest-astropy-header >= 0.1.2
+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 >= 0.11.0
-Requires: python-pytest-filter-subpackage >= 0.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-openfiles >= 0.3.1
-Requires: python-pytest-remotedata >= 0.3.1
+Requires: python-pytest-remotedata >= 0.4.1
BuildArch: noarch
%python_subpackages
@@ -59,15 +59,15 @@
%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
-%{python_sitelib}/pytest_astropy-%{version}*-info
+%{python_sitelib}/pytest_astropy-%{version}.dist-info
++++++ pytest-astropy-0.10.0.tar.gz -> pytest-astropy-0.11.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/CHANGES.rst
new/pytest-astropy-0.11.0/CHANGES.rst
--- old/pytest-astropy-0.10.0/CHANGES.rst 2022-04-12 21:38:27.000000000
+0200
+++ new/pytest-astropy-0.11.0/CHANGES.rst 2023-09-26 23:36:41.000000000
+0200
@@ -1,3 +1,24 @@
+0.11.0 (2023-09-26)
+===================
+
+- Dropped ``pytest-openfiles`` as dependency. If you still use it,
+ you can install it separately. See
https://github.com/astropy/pytest-openfiles/pull/44
+ for more information. [#52]
+
+- ``-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]
+
+
0.10.0 (2022-04-21)
===================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/PKG-INFO
new/pytest-astropy-0.11.0/PKG-INFO
--- old/pytest-astropy-0.10.0/PKG-INFO 2022-04-12 21:38:41.745439800 +0200
+++ new/pytest-astropy-0.11.0/PKG-INFO 2023-09-26 23:36:56.387667200 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: pytest-astropy
-Version: 0.10.0
+Version: 0.11.0
Summary: Meta-package containing dependencies for testing
Home-page: https://github.com/astropy/pytest-astropy
Author: The Astropy Developers
Author-email: [email protected]
License: BSD
-Keywords: pytest,remotedata,openfiles,doctestplus,hypothesis,property-based
testing
-Platform: UNKNOWN
+Keywords: pytest,remotedata,doctestplus,hypothesis,property-based testing
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Framework :: Hypothesis
@@ -25,6 +24,16 @@
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
+Requires-Dist: pytest>=4.6
+Requires-Dist: pytest-doctestplus>=1.0.0
+Requires-Dist: pytest-remotedata>=0.4.1
+Requires-Dist: pytest-astropy-header>=0.2.2
+Requires-Dist: pytest-arraydiff>=0.5
+Requires-Dist: pytest-filter-subpackage>=0.1.2
+Requires-Dist: pytest-cov>=2.3.1
+Requires-Dist: pytest-mock>=2.0
+Requires-Dist: attrs>=19.2.0
+Requires-Dist: hypothesis>=5.1
==============
pytest-astropy
@@ -42,7 +51,9 @@
(``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 ``-n hugemem``.
+and ``-m hugemem``.
+
+The package also provides the short option ``-R`` for ``--remote-data``.
.. _astropy: https://docs.astropy.org/en/latest/
.. _affiliated packages: https://astropy.org/affiliated
@@ -58,8 +69,6 @@
files hosted online.
* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features
for testing example code in documentation.
-* `pytest-openfiles`_, a ``pytest`` plugin for detecting file handles that were
- inadvertently left open at the end of unit tests.
* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and
comparison of data arrays produced during unit tests.
* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to
@@ -73,7 +82,6 @@
.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
-.. _pytest-openfiles: https://github.com/astropy/pytest-openfiles
.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff
.. _pytest-filter-subpackage:
https://github.com/astropy/pytest-filter-subpackage
.. _pytest-mock: https://github.com/pytest-dev/pytest-mock
@@ -108,5 +116,3 @@
-------
This package is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/README.rst
new/pytest-astropy-0.11.0/README.rst
--- old/pytest-astropy-0.10.0/README.rst 2022-04-12 21:38:27.000000000
+0200
+++ new/pytest-astropy-0.11.0/README.rst 2023-09-26 23:36:41.000000000
+0200
@@ -14,7 +14,9 @@
(``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 ``-n hugemem``.
+and ``-m hugemem``.
+
+The package also provides the short option ``-R`` for ``--remote-data``.
.. _astropy: https://docs.astropy.org/en/latest/
.. _affiliated packages: https://astropy.org/affiliated
@@ -30,8 +32,6 @@
files hosted online.
* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features
for testing example code in documentation.
-* `pytest-openfiles`_, a ``pytest`` plugin for detecting file handles that were
- inadvertently left open at the end of unit tests.
* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and
comparison of data arrays produced during unit tests.
* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to
@@ -45,7 +45,6 @@
.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
-.. _pytest-openfiles: https://github.com/astropy/pytest-openfiles
.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff
.. _pytest-filter-subpackage:
https://github.com/astropy/pytest-filter-subpackage
.. _pytest-mock: https://github.com/pytest-dev/pytest-mock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/pytest_astropy/plugin.py
new/pytest-astropy-0.11.0/pytest_astropy/plugin.py
--- old/pytest-astropy-0.10.0/pytest_astropy/plugin.py 2022-04-12
21:38:27.000000000 +0200
+++ new/pytest-astropy-0.11.0/pytest_astropy/plugin.py 2023-09-26
23:36:41.000000000 +0200
@@ -19,6 +19,10 @@
default=False,
help="run memory intensive tests",
)
+ parser.addoption(
+ "-R", nargs="?", const='any', default='none',
+ help="run tests with online data, requires pytest-remotedata",
+ dest="remote_data", choices=['astropy', 'any', 'github', 'none'])
def pytest_configure(config):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/pytest_astropy/version.py
new/pytest-astropy-0.11.0/pytest_astropy/version.py
--- old/pytest-astropy-0.10.0/pytest_astropy/version.py 2022-04-12
21:38:40.000000000 +0200
+++ new/pytest-astropy-0.11.0/pytest_astropy/version.py 2023-09-26
23:36:56.000000000 +0200
@@ -1,5 +1,8 @@
-# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '0.10.0'
-version_tuple = (0, 10, 0)
+TYPE_CHECKING = False
+if TYPE_CHECKING:
+ from typing import Tuple
+
+__version__ = version = '0.11.0' # type: str
+__version_tuple__ = version_tuple = (0, 11, 0) # type: Tuple[int | str, ...]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-astropy-0.10.0/pytest_astropy.egg-info/PKG-INFO
new/pytest-astropy-0.11.0/pytest_astropy.egg-info/PKG-INFO
--- old/pytest-astropy-0.10.0/pytest_astropy.egg-info/PKG-INFO 2022-04-12
21:38:41.000000000 +0200
+++ new/pytest-astropy-0.11.0/pytest_astropy.egg-info/PKG-INFO 2023-09-26
23:36:56.000000000 +0200
@@ -1,13 +1,12 @@
Metadata-Version: 2.1
Name: pytest-astropy
-Version: 0.10.0
+Version: 0.11.0
Summary: Meta-package containing dependencies for testing
Home-page: https://github.com/astropy/pytest-astropy
Author: The Astropy Developers
Author-email: [email protected]
License: BSD
-Keywords: pytest,remotedata,openfiles,doctestplus,hypothesis,property-based
testing
-Platform: UNKNOWN
+Keywords: pytest,remotedata,doctestplus,hypothesis,property-based testing
Classifier: Development Status :: 5 - Production/Stable
Classifier: Framework :: Pytest
Classifier: Framework :: Hypothesis
@@ -25,6 +24,16 @@
Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE.rst
+Requires-Dist: pytest>=4.6
+Requires-Dist: pytest-doctestplus>=1.0.0
+Requires-Dist: pytest-remotedata>=0.4.1
+Requires-Dist: pytest-astropy-header>=0.2.2
+Requires-Dist: pytest-arraydiff>=0.5
+Requires-Dist: pytest-filter-subpackage>=0.1.2
+Requires-Dist: pytest-cov>=2.3.1
+Requires-Dist: pytest-mock>=2.0
+Requires-Dist: attrs>=19.2.0
+Requires-Dist: hypothesis>=5.1
==============
pytest-astropy
@@ -42,7 +51,9 @@
(``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 ``-n hugemem``.
+and ``-m hugemem``.
+
+The package also provides the short option ``-R`` for ``--remote-data``.
.. _astropy: https://docs.astropy.org/en/latest/
.. _affiliated packages: https://astropy.org/affiliated
@@ -58,8 +69,6 @@
files hosted online.
* `pytest-doctestplus`_, a ``pytest`` plugin that provides advanced features
for testing example code in documentation.
-* `pytest-openfiles`_, a ``pytest`` plugin for detecting file handles that were
- inadvertently left open at the end of unit tests.
* `pytest-arraydiff`_, a ``pytest`` plugin that enables the generation and
comparison of data arrays produced during unit tests.
* `pytest-filter-subpackage`_, a ``pytest`` plugin that adds a ``-P`` option to
@@ -73,7 +82,6 @@
.. _pytest-astropy-header: https://github.com/astropy/pytest-astropy-header
.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata
.. _pytest-doctestplus: https://github.com/astropy/pytest-doctestplus
-.. _pytest-openfiles: https://github.com/astropy/pytest-openfiles
.. _pytest-arraydiff: https://github.com/astropy/pytest-arraydiff
.. _pytest-filter-subpackage:
https://github.com/astropy/pytest-filter-subpackage
.. _pytest-mock: https://github.com/pytest-dev/pytest-mock
@@ -108,5 +116,3 @@
-------
This package is licensed under a 3-clause BSD style license - see the
``LICENSE.rst`` file.
-
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-astropy-0.10.0/pytest_astropy.egg-info/requires.txt
new/pytest-astropy-0.11.0/pytest_astropy.egg-info/requires.txt
--- old/pytest-astropy-0.10.0/pytest_astropy.egg-info/requires.txt
2022-04-12 21:38:41.000000000 +0200
+++ new/pytest-astropy-0.11.0/pytest_astropy.egg-info/requires.txt
2023-09-26 23:36:56.000000000 +0200
@@ -1,10 +1,9 @@
pytest>=4.6
-pytest-doctestplus>=0.11.0
-pytest-remotedata>=0.3.1
-pytest-openfiles>=0.3.1
-pytest-astropy-header>=0.1.2
-pytest-arraydiff>=0.1
-pytest-filter-subpackage>=0.1
+pytest-doctestplus>=1.0.0
+pytest-remotedata>=0.4.1
+pytest-astropy-header>=0.2.2
+pytest-arraydiff>=0.5
+pytest-filter-subpackage>=0.1.2
pytest-cov>=2.3.1
pytest-mock>=2.0
attrs>=19.2.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-astropy-0.10.0/setup.cfg
new/pytest-astropy-0.11.0/setup.cfg
--- old/pytest-astropy-0.10.0/setup.cfg 2022-04-12 21:38:41.745439800 +0200
+++ new/pytest-astropy-0.11.0/setup.cfg 2023-09-26 23:36:56.387667200 +0200
@@ -22,7 +22,7 @@
description = Meta-package containing dependencies for testing
long_description = file: README.rst
long_description_content_type = text/x-rst
-keywords = pytest, remotedata, openfiles, doctestplus, hypothesis,
property-based testing
+keywords = pytest, remotedata, doctestplus, hypothesis, property-based testing
[options]
zip_safe = False
@@ -31,12 +31,11 @@
setup_requires = setuptools_scm
install_requires =
pytest>=4.6
- pytest-doctestplus>=0.11.0
- pytest-remotedata>=0.3.1
- pytest-openfiles>=0.3.1
- pytest-astropy-header>=0.1.2
- pytest-arraydiff>=0.1
- pytest-filter-subpackage>=0.1
+ pytest-doctestplus>=1.0.0
+ pytest-remotedata>=0.4.1
+ pytest-astropy-header>=0.2.2
+ pytest-arraydiff>=0.5
+ pytest-filter-subpackage>=0.1.2
pytest-cov>=2.3.1
pytest-mock>=2.0
attrs>=19.2.0