Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-pytest-remotedata for 
openSUSE:Factory checked in at 2023-05-05 15:58:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-remotedata (Old)
 and      /work/SRC/openSUSE:Factory/.python-pytest-remotedata.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-pytest-remotedata"

Fri May  5 15:58:24 2023 rev:5 rq:1084897 version:0.4.0

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-pytest-remotedata/python-pytest-remotedata.changes
        2022-08-15 20:00:48.693493634 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-pytest-remotedata.new.1533/python-pytest-remotedata.changes
      2023-05-05 15:58:49.812616264 +0200
@@ -1,0 +2,8 @@
+Thu May  4 22:41:51 UTC 2023 - Dirk Müller <dmuel...@suse.com>
+
+- update to 0.4.0:
+  * ``-R`` is added as a short version for the command-line
+    option ``--remote-data``. [#62]
+  * Version of Python <3.7 are no longer supported. [#65]
+
+-------------------------------------------------------------------

Old:
----
  pytest-remotedata-0.3.3.tar.gz

New:
----
  pytest-remotedata-0.4.0.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-pytest-remotedata.spec ++++++
--- /var/tmp/diff_new_pack.vZ58j8/_old  2023-05-05 15:58:50.308619106 +0200
+++ /var/tmp/diff_new_pack.vZ58j8/_new  2023-05-05 15:58:50.308619106 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-pytest-remotedata
 #
-# 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,10 +16,9 @@
 #
 
 
-%{?!python_module:%define python_module() python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
 Name:           python-pytest-remotedata
-Version:        0.3.3
+Version:        0.4.0
 Release:        0
 Summary:        Pytest plugin for controlling remote data access
 License:        BSD-3-Clause

++++++ pytest-remotedata-0.3.3.tar.gz -> pytest-remotedata-0.4.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.3/.github/workflows/publish.yml 
new/pytest-remotedata-0.4.0/.github/workflows/publish.yml
--- old/pytest-remotedata-0.3.3/.github/workflows/publish.yml   2021-12-21 
23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/.github/workflows/publish.yml   2022-12-12 
02:21:10.000000000 +0100
@@ -13,10 +13,10 @@
     if: ((github.event_name == 'push' && startsWith(github.ref, 'refs/tags')) 
|| contains(github.event.pull_request.labels.*.name, 'Build wheels'))
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         fetch-depth: 0
-    - uses: actions/setup-python@v2
+    - uses: actions/setup-python@v4
       with:
         python-version: 3.8
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.3/.github/workflows/python-tests.yml 
new/pytest-remotedata-0.4.0/.github/workflows/python-tests.yml
--- old/pytest-remotedata-0.3.3/.github/workflows/python-tests.yml      
2021-12-21 23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/.github/workflows/python-tests.yml      
2022-12-12 02:21:10.000000000 +0100
@@ -17,17 +17,17 @@
       fail-fast: false
       matrix:
         include:
-          - os: ubuntu-latest
-            python-version: 3.6
-            toxenv: py36-test-pytest46
-          - os: windows-latest
-            python-version: 3.6
-            toxenv: py36-test-pytest50
           - os: macos-latest
             python-version: 3.7
-            toxenv: py37-test-pytest51
+            toxenv: py37-test-pytest46
           - os: ubuntu-latest
             python-version: 3.7
+            toxenv: py37-test-pytest50
+          - os: ubuntu-latest
+            python-version: 3.7
+            toxenv: py37-test-pytest51
+          - os: windows-latest
+            python-version: 3.7
             toxenv: py37-test-pytest52
           - os: windows-latest
             python-version: 3.8
@@ -38,16 +38,22 @@
           - os: ubuntu-latest
             python-version: 3.9
             toxenv: py39-test-pytest61
+          - os: ubuntu-latest
+            python-version: '3.10'
+            toxenv: py310-test-pytest71
           - os: macos-latest
-            python-version: 3.8
-            toxenv: py38-test-pytestdev
+            python-version: '3.11'
+            toxenv: py311-test-pytest72
+          - os: ubuntu-latest
+            python-version: '3.11'
+            toxenv: py311-test-pytestdev
 
     steps:
-    - uses: actions/checkout@v2
+    - uses: actions/checkout@v3
       with:
         fetch-depth: 0
     - name: Set up Python ${{ matrix.python-version }}
-      uses: actions/setup-python@v2
+      uses: actions/setup-python@v4
       with:
         python-version: ${{ matrix.python-version }}
     - name: Install Tox
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/.mailmap 
new/pytest-remotedata-0.4.0/.mailmap
--- old/pytest-remotedata-0.3.3/.mailmap        1970-01-01 01:00:00.000000000 
+0100
+++ new/pytest-remotedata-0.4.0/.mailmap        2022-12-12 02:21:10.000000000 
+0100
@@ -0,0 +1,13 @@
+Adam Ginsburg          <keflav...@gmail.com>
+Brigitta Sipőcz        <bsip...@gmail.com>
+Brigitta Sipőcz        <bsip...@gmail.com> <b.sip...@gmail.com>
+Dan D'Avella           <drdave...@gmail.com>
+Dan D'Avella           <drdave...@gmail.com> <ddave...@stsci.edu>
+E. Madison Bray        <erik.m.b...@gmail.com>
+E. Madison Bray        <erik.m.b...@gmail.com> <emb...@stsci.edu>
+Kirill Tchernyshyov    <ktchernysh...@pha.jhu.edu>
+Matt Davis             <jiffyclub.programa...@gmail.com>
+Matteo Bachetti        <mat...@matteobachetti.it> <matteo.bache...@irap.omp.eu>
+Pey Lian Lim           <l...@stsci.edu> 
<2090236+pl...@users.noreply.github.com>
+Pratik Patel           <pratikpatel15...@gmail.com>
+Simon Conseil          <cont...@saimon.org>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/CHANGES.rst 
new/pytest-remotedata-0.4.0/CHANGES.rst
--- old/pytest-remotedata-0.3.3/CHANGES.rst     2021-12-21 23:23:05.000000000 
+0100
+++ new/pytest-remotedata-0.4.0/CHANGES.rst     2022-12-12 02:21:10.000000000 
+0100
@@ -1,3 +1,11 @@
+0.4.0 (2022-12-11)
+==================
+
+- ``-R`` is added as a short version for the command-line option
+  ``--remote-data``. [#62]
+
+- Versions of Python <3.7 are no longer supported. [#65]
+
 0.3.3 (2021-12-21)
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/PKG-INFO 
new/pytest-remotedata-0.4.0/PKG-INFO
--- old/pytest-remotedata-0.3.3/PKG-INFO        2021-12-21 23:23:19.803421700 
+0100
+++ new/pytest-remotedata-0.4.0/PKG-INFO        2022-12-12 02:21:31.022362200 
+0100
@@ -1,13 +1,12 @@
 Metadata-Version: 2.1
 Name: pytest-remotedata
-Version: 0.3.3
+Version: 0.4.0
 Summary: Pytest plugin for controlling remote data access.
 Home-page: https://github.com/astropy/pytest-remotedata
 Author: The Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD
 Keywords: remote,data,pytest,py.test
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Framework :: Pytest
 Classifier: Intended Audience :: Developers
@@ -16,13 +15,15 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 License-File: LICENSE.rst
 
@@ -30,6 +31,10 @@
 pytest-remotedata
 =================
 
+.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5796951.svg
+   :target: https://doi.org/10.5281/zenodo.5796951
+   :alt: 10.5281/zenodo.5796951
+
 .. image:: 
https://github.com/astropy/pytest-remotedata/workflows/Run%20unit%20tests/badge.svg
     :target: https://github.com/astropy/pytest-remotedata/actions
     :alt: CI Status
@@ -123,6 +128,9 @@
 data sources will be skipped. This is indicated in the test code by marking
 test functions with ``@pytest.mark.remote_data(source='astropy')``.
 
+Running only the tests marked as ``remote_data``, use the built-in pytest
+machinery, e.g., ``pytest -m remote_data --remote-data``.
+
 In the future, we intend to support a configurable way to indicate specific
 remote data sources in addition to ``astropy``.
 
@@ -137,5 +145,3 @@
 -------
 This plugin 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-remotedata-0.3.3/README.rst 
new/pytest-remotedata-0.4.0/README.rst
--- old/pytest-remotedata-0.3.3/README.rst      2021-12-21 23:23:05.000000000 
+0100
+++ new/pytest-remotedata-0.4.0/README.rst      2022-12-12 02:21:10.000000000 
+0100
@@ -2,6 +2,10 @@
 pytest-remotedata
 =================
 
+.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5796951.svg
+   :target: https://doi.org/10.5281/zenodo.5796951
+   :alt: 10.5281/zenodo.5796951
+
 .. image:: 
https://github.com/astropy/pytest-remotedata/workflows/Run%20unit%20tests/badge.svg
     :target: https://github.com/astropy/pytest-remotedata/actions
     :alt: CI Status
@@ -95,6 +99,9 @@
 data sources will be skipped. This is indicated in the test code by marking
 test functions with ``@pytest.mark.remote_data(source='astropy')``.
 
+Running only the tests marked as ``remote_data``, use the built-in pytest
+machinery, e.g., ``pytest -m remote_data --remote-data``.
+
 In the future, we intend to support a configurable way to indicate specific
 remote data sources in addition to ``astropy``.
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/pytest_remotedata/plugin.py 
new/pytest-remotedata-0.4.0/pytest_remotedata/plugin.py
--- old/pytest-remotedata-0.3.3/pytest_remotedata/plugin.py     2021-12-21 
23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/pytest_remotedata/plugin.py     2022-12-12 
02:21:10.000000000 +0100
@@ -4,7 +4,6 @@
 make use of online data.
 """
 import pytest
-from packaging.version import Version
 
 from .disable_internet import turn_off_internet, turn_on_internet
 
@@ -13,9 +12,9 @@
 
     # The following means that if --remote-data is not specified, the default
     # is 'none', but if it is specified without arguments (--remote-data), it
-    # defaults to '--remote-data=any'.
+    # defaults to '--remote-data=any'. -R is short for --remote-data
     parser.addoption(
-        "--remote-data", nargs="?", const='any', default='none',
+        "--remote-data", "-R", nargs="?", const='any', default='none',
         help="run tests with online data")
 
     parser.addini(
@@ -65,12 +64,8 @@
 
 def pytest_runtest_setup(item):
 
-    if Version(pytest.__version__) < Version("3.6"):
-        remote_data = item.get_marker('remote_data')
-        internet_off = item.get_marker('internet_off')
-    else:
-        remote_data = item.get_closest_marker('remote_data')
-        internet_off = item.get_closest_marker('internet_off')
+    remote_data = item.get_closest_marker('remote_data')
+    internet_off = item.get_closest_marker('internet_off')
 
     remote_data_config = item.config.getvalue("remote_data")
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/pytest_remotedata/version.py 
new/pytest-remotedata-0.4.0/pytest_remotedata/version.py
--- old/pytest-remotedata-0.3.3/pytest_remotedata/version.py    2021-12-21 
23:23:19.000000000 +0100
+++ new/pytest-remotedata-0.4.0/pytest_remotedata/version.py    2022-12-12 
02:21:30.000000000 +0100
@@ -1,5 +1,5 @@
 # coding: utf-8
 # file generated by setuptools_scm
 # don't change, don't track in version control
-version = '0.3.3'
-version_tuple = (0, 3, 3)
+__version__ = version = '0.4.0'
+__version_tuple__ = version_tuple = (0, 4, 0)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.3/pytest_remotedata.egg-info/PKG-INFO 
new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/PKG-INFO
--- old/pytest-remotedata-0.3.3/pytest_remotedata.egg-info/PKG-INFO     
2021-12-21 23:23:19.000000000 +0100
+++ new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/PKG-INFO     
2022-12-12 02:21:30.000000000 +0100
@@ -1,13 +1,12 @@
 Metadata-Version: 2.1
 Name: pytest-remotedata
-Version: 0.3.3
+Version: 0.4.0
 Summary: Pytest plugin for controlling remote data access.
 Home-page: https://github.com/astropy/pytest-remotedata
 Author: The Astropy Developers
 Author-email: astropy.t...@gmail.com
 License: BSD
 Keywords: remote,data,pytest,py.test
-Platform: UNKNOWN
 Classifier: Development Status :: 3 - Alpha
 Classifier: Framework :: Pytest
 Classifier: Intended Audience :: Developers
@@ -16,13 +15,15 @@
 Classifier: Programming Language :: Python
 Classifier: Programming Language :: Python :: 3
 Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
 Classifier: Programming Language :: Python :: 3.7
 Classifier: Programming Language :: Python :: 3.8
+Classifier: Programming Language :: Python :: 3.9
+Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
 Classifier: Programming Language :: Python :: Implementation :: CPython
 Classifier: Topic :: Software Development :: Testing
 Classifier: Topic :: Utilities
-Requires-Python: >=3.6
+Requires-Python: >=3.7
 Description-Content-Type: text/x-rst
 License-File: LICENSE.rst
 
@@ -30,6 +31,10 @@
 pytest-remotedata
 =================
 
+.. image:: https://zenodo.org/badge/DOI/10.5281/zenodo.5796951.svg
+   :target: https://doi.org/10.5281/zenodo.5796951
+   :alt: 10.5281/zenodo.5796951
+
 .. image:: 
https://github.com/astropy/pytest-remotedata/workflows/Run%20unit%20tests/badge.svg
     :target: https://github.com/astropy/pytest-remotedata/actions
     :alt: CI Status
@@ -123,6 +128,9 @@
 data sources will be skipped. This is indicated in the test code by marking
 test functions with ``@pytest.mark.remote_data(source='astropy')``.
 
+Running only the tests marked as ``remote_data``, use the built-in pytest
+machinery, e.g., ``pytest -m remote_data --remote-data``.
+
 In the future, we intend to support a configurable way to indicate specific
 remote data sources in addition to ``astropy``.
 
@@ -137,5 +145,3 @@
 -------
 This plugin 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-remotedata-0.3.3/pytest_remotedata.egg-info/SOURCES.txt 
new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/SOURCES.txt
--- old/pytest-remotedata-0.3.3/pytest_remotedata.egg-info/SOURCES.txt  
2021-12-21 23:23:19.000000000 +0100
+++ new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/SOURCES.txt  
2022-12-12 02:21:31.000000000 +0100
@@ -1,4 +1,5 @@
 .gitignore
+.mailmap
 CHANGES.rst
 LICENSE.rst
 MANIFEST.in
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/pytest-remotedata-0.3.3/pytest_remotedata.egg-info/entry_points.txt 
new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/entry_points.txt
--- old/pytest-remotedata-0.3.3/pytest_remotedata.egg-info/entry_points.txt     
2021-12-21 23:23:19.000000000 +0100
+++ new/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/entry_points.txt     
2022-12-12 02:21:30.000000000 +0100
@@ -1,3 +1,2 @@
 [pytest11]
 pytest_remotedata = pytest_remotedata.plugin
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/setup.cfg 
new/pytest-remotedata-0.4.0/setup.cfg
--- old/pytest-remotedata-0.3.3/setup.cfg       2021-12-21 23:23:19.807421700 
+0100
+++ new/pytest-remotedata-0.4.0/setup.cfg       2022-12-12 02:21:31.022362200 
+0100
@@ -12,9 +12,11 @@
        Programming Language :: Python
        Programming Language :: Python :: 3
        Programming Language :: Python :: 3 :: Only
-       Programming Language :: Python :: 3.6
        Programming Language :: Python :: 3.7
        Programming Language :: Python :: 3.8
+       Programming Language :: Python :: 3.9
+       Programming Language :: Python :: 3.10
+       Programming Language :: Python :: 3.11
        Programming Language :: Python :: Implementation :: CPython
        Topic :: Software Development :: Testing
        Topic :: Utilities
@@ -27,7 +29,7 @@
 [options]
 zip_safe = False
 packages = find:
-python_requires = >=3.6
+python_requires = >=3.7
 setup_requires = 
        setuptools_scm
 install_requires = 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/tests/test_socketblocker.py 
new/pytest-remotedata-0.4.0/tests/test_socketblocker.py
--- old/pytest-remotedata-0.3.3/tests/test_socketblocker.py     2021-12-21 
23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/tests/test_socketblocker.py     2022-12-12 
02:21:10.000000000 +0100
@@ -1,5 +1,4 @@
 # Licensed under a 3-clause BSD style license - see LICENSE.rst
-import sys
 import time
 from http.server import HTTPServer, SimpleHTTPRequestHandler
 from threading import Thread
@@ -54,16 +53,13 @@
     urlopen('http://{localhost:s}:{port:d}'.format(localhost=localhost, 
port=port)).close()
 
 
-PY3_4 = sys.version_info[:2] >= (3, 4)
-
-
 # Used for the below test--inline functions aren't pickleable
 # by multiprocessing?
 def _square(x):
     return x ** 2
 
 
-@pytest.mark.skipif('not PY3_4 or sys.platform == "win32" or 
sys.platform.startswith("gnu0")')
+@pytest.mark.skipif('sys.platform == "win32" or 
sys.platform.startswith("gnu0")')
 def test_multiprocessing_forkserver():
     """
     Test that using multiprocessing with forkserver works.  Perhaps
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/tests/test_strict_check.py 
new/pytest-remotedata-0.4.0/tests/test_strict_check.py
--- old/pytest-remotedata-0.3.3/tests/test_strict_check.py      2021-12-21 
23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/tests/test_strict_check.py      2022-12-12 
02:21:10.000000000 +0100
@@ -15,6 +15,7 @@
         urlopen('http://astropy.org')
     """
 
+
 def _write_config_file(testdir, entry):
     config = testdir.tmpdir.join('setup.cfg')
     config.write("""
@@ -27,7 +28,7 @@
 
 
 def test_local_config(pytestconfig):
-    assert pytestconfig.getini('remote_data_strict') == True
+    assert pytestconfig.getini('remote_data_strict') is True
 
 
 def test_default_behavior(testdir):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/pytest-remotedata-0.3.3/tox.ini 
new/pytest-remotedata-0.4.0/tox.ini
--- old/pytest-remotedata-0.3.3/tox.ini 2021-12-21 23:23:05.000000000 +0100
+++ new/pytest-remotedata-0.4.0/tox.ini 2022-12-12 02:21:10.000000000 +0100
@@ -1,6 +1,6 @@
 [tox]
 envlist =
-    py{36,37,38,39}-test{,-devdeps}
+    py{37,38,39,310,311}-test{,-devdeps}
     codestyle
 requires =
     setuptools >= 30.3.0
@@ -18,6 +18,8 @@
     pytest53: pytest==5.3.*
     pytest60: pytest==6.0.*
     pytest61: pytest==6.1.*
+    pytest71: pytest==7.1.*
+    pytest72: pytest==7.2.*
     pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest
 
 commands =
@@ -28,6 +30,7 @@
     pytest {toxinidir}/tests --remote-data=github {posargs}
     pytest {toxinidir}/tests --remote-data=astropy {posargs}
     pytest {toxinidir}/tests --remote-data=any {posargs}
+    pytest {toxinidir}/tests -R {posargs}
 
 [testenv:codestyle]
 changedir =

Reply via email to