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-10-05 20:03:13 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-remotedata (Old) and /work/SRC/openSUSE:Factory/.python-pytest-remotedata.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-remotedata" Thu Oct 5 20:03:13 2023 rev:6 rq:1114845 version:0.4.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-remotedata/python-pytest-remotedata.changes 2023-05-05 15:58:49.812616264 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-remotedata.new.28202/python-pytest-remotedata.changes 2023-10-05 20:03:51.616245848 +0200 @@ -1,0 +2,7 @@ +Mon Oct 2 15:12:33 UTC 2023 - Dirk Müller <dmuel...@suse.com> + +- update to 0.4.1: + * Reverting the short option of ``-R`` due to a clash with + ``pytest-leaks``. + +------------------------------------------------------------------- Old: ---- pytest-remotedata-0.4.0.tar.gz New: ---- pytest-remotedata-0.4.1.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-remotedata.spec ++++++ --- /var/tmp/diff_new_pack.n0GERk/_old 2023-10-05 20:03:52.724285878 +0200 +++ /var/tmp/diff_new_pack.n0GERk/_new 2023-10-05 20:03:52.724285878 +0200 @@ -18,7 +18,7 @@ %{?sle15_python_module_pythons} Name: python-pytest-remotedata -Version: 0.4.0 +Version: 0.4.1 Release: 0 Summary: Pytest plugin for controlling remote data access License: BSD-3-Clause ++++++ pytest-remotedata-0.4.0.tar.gz -> pytest-remotedata-0.4.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/.github/workflows/python-tests.yml new/pytest-remotedata-0.4.1/.github/workflows/python-tests.yml --- old/pytest-remotedata-0.4.0/.github/workflows/python-tests.yml 2022-12-12 02:21:10.000000000 +0100 +++ new/pytest-remotedata-0.4.1/.github/workflows/python-tests.yml 2023-09-26 05:59:35.000000000 +0200 @@ -7,8 +7,8 @@ tags: workflow_dispatch: schedule: - # Run every Sunday at 03:53 UTC - - cron: 53 3 * * 0 + # Run every Tuesday at 03:53 UTC + - cron: 53 3 * * 2 jobs: tests: @@ -19,7 +19,7 @@ include: - os: macos-latest python-version: 3.7 - toxenv: py37-test-pytest46 + toxenv: py37-test-pytestoldest - os: ubuntu-latest python-version: 3.7 toxenv: py37-test-pytest50 @@ -46,7 +46,19 @@ toxenv: py311-test-pytest72 - os: ubuntu-latest python-version: '3.11' + toxenv: py310-test-pytest73 + - os: windows-latest + python-version: '3.11' + toxenv: py310-test-pytest74 + - os: macos-latest + python-version: '3.11' toxenv: py311-test-pytestdev + - os: windows-latest + python-version: '3.11' + toxenv: py311-test-pytestdev + - os: ubuntu-latest + python-version: '3.12-dev' + toxenv: py312-test-pytestdev steps: - uses: actions/checkout@v3 @@ -60,11 +72,3 @@ run: python -m pip install tox - name: Run Tox run: tox -v -e ${{ matrix.toxenv }} - - # - name: Slack Notification - # uses: 8398a7/action-slack@v3 - # with: - # status: ${{ job.status }} - # env: - # SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK }} - # if: always() # TODO: cron diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/CHANGES.rst new/pytest-remotedata-0.4.1/CHANGES.rst --- old/pytest-remotedata-0.4.0/CHANGES.rst 2022-12-12 02:21:10.000000000 +0100 +++ new/pytest-remotedata-0.4.1/CHANGES.rst 2023-09-26 05:59:35.000000000 +0200 @@ -1,3 +1,9 @@ +0.4.1 (2023-09-25) +================== + +- Reverting the short option of ``-R`` due to a clash with ``pytest-leaks``. + The short option is added to ``pytest-astropy`` instead. [#70] + 0.4.0 (2022-12-11) ================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/PKG-INFO new/pytest-remotedata-0.4.1/PKG-INFO --- old/pytest-remotedata-0.4.0/PKG-INFO 2022-12-12 02:21:31.022362200 +0100 +++ new/pytest-remotedata-0.4.1/PKG-INFO 2023-09-26 05:59:53.383306700 +0200 @@ -1,13 +1,13 @@ Metadata-Version: 2.1 Name: pytest-remotedata -Version: 0.4.0 +Version: 0.4.1 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 -Classifier: Development Status :: 3 - Alpha +Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Pytest Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License @@ -20,12 +20,15 @@ Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 Description-Content-Type: text/x-rst License-File: LICENSE.rst +Requires-Dist: pytest>=4.6 +Requires-Dist: packaging ================= pytest-remotedata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/pytest_remotedata/plugin.py new/pytest-remotedata-0.4.1/pytest_remotedata/plugin.py --- old/pytest-remotedata-0.4.0/pytest_remotedata/plugin.py 2022-12-12 02:21:10.000000000 +0100 +++ new/pytest-remotedata-0.4.1/pytest_remotedata/plugin.py 2023-09-26 05:59:35.000000000 +0200 @@ -12,10 +12,11 @@ # 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'. -R is short for --remote-data + # defaults to '--remote-data=any'. parser.addoption( - "--remote-data", "-R", nargs="?", const='any', default='none', - help="run tests with online data") + "--remote-data", nargs="?", const='any', default='none', + help="run tests with online data", + choices=['astropy', 'any', 'github', 'none']) parser.addini( 'remote_data_strict', @@ -34,11 +35,6 @@ strict_check = bool(config.getini('remote_data_strict')) remote_data = config.getoption('remote_data') - options = ['astropy', 'any', 'github', 'none'] - if remote_data not in options: - raise pytest.UsageError( - "'{}' is not a valid source for remote data, " - "use one of '{}'".format(remote_data, "', '".join(options))) # Monkeypatch to deny access to remote resources unless explicitly told # otherwise diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/pytest_remotedata/version.py new/pytest-remotedata-0.4.1/pytest_remotedata/version.py --- old/pytest-remotedata-0.4.0/pytest_remotedata/version.py 2022-12-12 02:21:30.000000000 +0100 +++ new/pytest-remotedata-0.4.1/pytest_remotedata/version.py 2023-09-26 05:59:53.000000000 +0200 @@ -1,5 +1,8 @@ -# coding: utf-8 # file generated by setuptools_scm # don't change, don't track in version control -__version__ = version = '0.4.0' -__version_tuple__ = version_tuple = (0, 4, 0) +TYPE_CHECKING = False +if TYPE_CHECKING: + from typing import Tuple + +__version__ = version = '0.4.1' # type: str +__version_tuple__ = version_tuple = (0, 4, 1) # type: Tuple[int | str, ...] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/PKG-INFO new/pytest-remotedata-0.4.1/pytest_remotedata.egg-info/PKG-INFO --- old/pytest-remotedata-0.4.0/pytest_remotedata.egg-info/PKG-INFO 2022-12-12 02:21:30.000000000 +0100 +++ new/pytest-remotedata-0.4.1/pytest_remotedata.egg-info/PKG-INFO 2023-09-26 05:59:53.000000000 +0200 @@ -1,13 +1,13 @@ Metadata-Version: 2.1 Name: pytest-remotedata -Version: 0.4.0 +Version: 0.4.1 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 -Classifier: Development Status :: 3 - Alpha +Classifier: Development Status :: 5 - Production/Stable Classifier: Framework :: Pytest Classifier: Intended Audience :: Developers Classifier: License :: OSI Approved :: BSD License @@ -20,12 +20,15 @@ Classifier: Programming Language :: Python :: 3.9 Classifier: Programming Language :: Python :: 3.10 Classifier: Programming Language :: Python :: 3.11 +Classifier: Programming Language :: Python :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities Requires-Python: >=3.7 Description-Content-Type: text/x-rst License-File: LICENSE.rst +Requires-Dist: pytest>=4.6 +Requires-Dist: packaging ================= pytest-remotedata diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/setup.cfg new/pytest-remotedata-0.4.1/setup.cfg --- old/pytest-remotedata-0.4.0/setup.cfg 2022-12-12 02:21:31.022362200 +0100 +++ new/pytest-remotedata-0.4.1/setup.cfg 2023-09-26 05:59:53.383306700 +0200 @@ -4,7 +4,7 @@ author = The Astropy Developers author_email = astropy.t...@gmail.com classifiers = - Development Status :: 3 - Alpha + Development Status :: 5 - Production/Stable Framework :: Pytest Intended Audience :: Developers License :: OSI Approved :: BSD License @@ -17,6 +17,7 @@ Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 + Programming Language :: Python :: 3.12 Programming Language :: Python :: Implementation :: CPython Topic :: Software Development :: Testing Topic :: Utilities @@ -48,6 +49,7 @@ minversion = 4.6 testpaths = tests remote_data_strict = true +filterwarnings = error [egg_info] tag_build = diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/tests/test_socketblocker.py new/pytest-remotedata-0.4.1/tests/test_socketblocker.py --- old/pytest-remotedata-0.4.0/tests/test_socketblocker.py 2022-12-12 02:21:10.000000000 +0100 +++ new/pytest-remotedata-0.4.1/tests/test_socketblocker.py 2023-09-26 05:59:35.000000000 +0200 @@ -45,12 +45,13 @@ port = httpd.socket.getsockname()[1] server = Thread(target=httpd.serve_forever) - server.setDaemon(True) + server.daemon = True server.start() time.sleep(0.1) urlopen('http://{localhost:s}:{port:d}'.format(localhost=localhost, port=port)).close() + httpd.server_close() # Used for the below test--inline functions aren't pickleable diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-remotedata-0.4.0/tox.ini new/pytest-remotedata-0.4.1/tox.ini --- old/pytest-remotedata-0.4.0/tox.ini 2022-12-12 02:21:10.000000000 +0100 +++ new/pytest-remotedata-0.4.1/tox.ini 2023-09-26 05:59:35.000000000 +0200 @@ -1,6 +1,6 @@ [tox] envlist = - py{37,38,39,310,311}-test{,-devdeps} + py{37,38,39,310,311,312}-test{,-devdeps} codestyle requires = setuptools >= 30.3.0 @@ -11,7 +11,7 @@ changedir = .tmp/{envname} description = run tests deps = - pytest46: pytest==4.6.* + pytestoldest: pytest==4.6.* pytest50: pytest==5.0.* pytest51: pytest==5.1.* pytest52: pytest==5.2.* @@ -20,6 +20,8 @@ pytest61: pytest==6.1.* pytest71: pytest==7.1.* pytest72: pytest==7.2.* + pytest73: pytest==7.3.* + pytest74: pytest==7.4.* pytestdev: git+https://github.com/pytest-dev/pytest#egg=pytest commands = @@ -30,7 +32,6 @@ 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 =