Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pytest-doctestplus for openSUSE:Factory checked in at 2023-10-05 20:03:15 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pytest-doctestplus (Old) and /work/SRC/openSUSE:Factory/.python-pytest-doctestplus.new.28202 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-doctestplus" Thu Oct 5 20:03:15 2023 rev:16 rq:1115634 version:1.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pytest-doctestplus/python-pytest-doctestplus.changes 2023-07-25 11:53:14.806205516 +0200 +++ /work/SRC/openSUSE:Factory/.python-pytest-doctestplus.new.28202/python-pytest-doctestplus.changes 2023-10-05 20:03:54.408346718 +0200 @@ -1,0 +2,6 @@ +Wed Oct 4 12:48:36 UTC 2023 - Ben Greiner <c...@bnavigator.de> + +- Update to 1.0.0 + * Changing GitHub organization. + +------------------------------------------------------------------- Old: ---- pytest-doctestplus-0.13.0.tar.gz New: ---- pytest-doctestplus-1.0.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pytest-doctestplus.spec ++++++ --- /var/tmp/diff_new_pack.gqEWXf/_old 2023-10-05 20:03:55.592389494 +0200 +++ /var/tmp/diff_new_pack.gqEWXf/_new 2023-10-05 20:03:55.596389638 +0200 @@ -27,11 +27,11 @@ %{?sle15_python_module_pythons} Name: python-pytest-doctestplus%{psuffix} -Version: 0.13.0 +Version: 1.0.0 Release: 0 Summary: Pytest plugin with advanced doctest features License: BSD-3-Clause -URL: https://github.com/astropy/pytest-doctestplus +URL: https://github.com/scientific-python/pytest-doctestplus Source: https://files.pythonhosted.org/packages/source/p/pytest-doctestplus/pytest-doctestplus-%{version}.tar.gz BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module packaging >= 17.0} @@ -56,8 +56,8 @@ %description This package contains a plugin for the pytest framework that provides -advanced doctest support and enables the testing of reStructuredText -(".rst") files. +advanced doctest support and enables the testing of various text files, such +as reStructuredText (".rst"), markdown (".md"), and TeX (".tex"). %prep %setup -q -n pytest-doctestplus-%{version} ++++++ pytest-doctestplus-0.13.0.tar.gz -> pytest-doctestplus-1.0.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/.github/workflows/publish.yml new/pytest-doctestplus-1.0.0/.github/workflows/publish.yml --- old/pytest-doctestplus-0.13.0/.github/workflows/publish.yml 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/.github/workflows/publish.yml 2023-08-11 18:21:57.000000000 +0200 @@ -36,7 +36,7 @@ run: | cd .. python -m venv testenv - testenv/bin/pip install pytest pytest-remotedata pytest-doctestplus/dist/*.whl + testenv/bin/pip install pytest pytest-remotedata $(ls pytest-doctestplus/dist/*.whl)[test] testenv/bin/pytest pytest-doctestplus/tests --doctest-plus --doctest-rst - name: Publish distribution ð¦ to PyPI diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/.github/workflows/python-tests.yml new/pytest-doctestplus-1.0.0/.github/workflows/python-tests.yml --- old/pytest-doctestplus-0.13.0/.github/workflows/python-tests.yml 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/.github/workflows/python-tests.yml 2023-08-11 18:21:57.000000000 +0200 @@ -42,13 +42,31 @@ - os: ubuntu-latest python-version: 3.9 toxenv: py39-test-pytest62 - - os: macos-latest - python-version: '3.11' - toxenv: py311-test-pytestdev - os: ubuntu-latest python-version: '3.10' toxenv: py310-test-pytest70 + - os: ubuntu-latest + python-version: '3.10' + toxenv: py310-test-pytest71 + - os: windows-latest + python-version: '3.11' + toxenv: py311-test-pytest72 + - os: ubuntu-latest + python-version: '3.11' + toxenv: py311-test-pytest73 + - os: ubuntu-latest + python-version: '3.11' + toxenv: py311-test-pytest74 toxargs: --pre + - 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/CHANGES.rst new/pytest-doctestplus-1.0.0/CHANGES.rst --- old/pytest-doctestplus-0.13.0/CHANGES.rst 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/CHANGES.rst 2023-08-11 18:21:57.000000000 +0200 @@ -1,3 +1,9 @@ +1.0.0 (2023-08-11) +================== + +- Changing GitHub organization. + + 0.13.0 (2023-06-07) =================== diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/LICENSE.rst new/pytest-doctestplus-1.0.0/LICENSE.rst --- old/pytest-doctestplus-0.13.0/LICENSE.rst 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/LICENSE.rst 2023-08-11 18:21:57.000000000 +0200 @@ -1,3 +1,4 @@ +Copyright (c) 2023, Scientific Python Developers Copyright (c) 2011-2023, Astropy Developers All rights reserved. @@ -10,9 +11,9 @@ * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. -* Neither the name of the Astropy Team nor the names of its contributors may be - used to endorse or promote products derived from this software without - specific prior written permission. +* Neither the names of the Astropy or Scientific Python Teams nor the names of + their contributors may be used to endorse or promote products derived from + this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/PKG-INFO new/pytest-doctestplus-1.0.0/PKG-INFO --- old/pytest-doctestplus-0.13.0/PKG-INFO 2023-06-08 07:20:18.047553800 +0200 +++ new/pytest-doctestplus-1.0.0/PKG-INFO 2023-08-11 18:22:14.703384200 +0200 @@ -1,10 +1,9 @@ Metadata-Version: 2.1 Name: pytest-doctestplus -Version: 0.13.0 +Version: 1.0.0 Summary: Pytest plugin with advanced doctest features. -Home-page: https://github.com/astropy/pytest-doctestplus -Author: The Astropy Developers -Author-email: astropy.t...@gmail.com +Home-page: https://github.com/scientific-python/pytest-doctestplus +Author: Scientific Python Developers License: BSD Keywords: doctest,rst,pytest,py.test Classifier: Development Status :: 3 - Alpha @@ -19,6 +18,8 @@ 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 :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities @@ -35,18 +36,15 @@ :target: https://zenodo.org/badge/latestdoi/104253824 :alt: Zenodo DOI -.. image:: https://github.com/astropy/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg - :target: https://github.com/astropy/pytest-doctestplus/actions +.. image:: https://github.com/scientific-python/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg + :target: https://github.com/scientific-python/pytest-doctestplus/actions :alt: CI Status This package contains a plugin for the `pytest`_ framework that provides -advanced doctest support and enables the testing of `reStructuredText`_ -(".rst") files. It was originally part of the `astropy`_ core package, but has -been moved to a separate package in order to be of more general use. +advanced doctest support and enables the testing of various text files, such +as reStructuredText (".rst"), markdown (".md"), and TeX (".tex"). .. _pytest: https://pytest.org/en/latest/ -.. _astropy: https://astropy.org/ -.. _reStructuredText: https://en.wikipedia.org/wiki/ReStructuredText Motivation @@ -73,7 +71,6 @@ * optional inclusion of ``*.rst`` files for doctests (see `Setup and Configuration`_) * optional inclusion of doctests in docstrings of Numpy ufuncs -.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata Installation ------------ @@ -85,7 +82,7 @@ It is also possible to install the latest development version from the source repository:: - $ git clone https://github.com/astropy/pytest-doctestplus + $ git clone https://github.com/scientific-python/pytest-doctestplus $ cd pytest-doctestplus $ pip install . @@ -360,7 +357,7 @@ .. code-block:: python >>> from urlib.request import urlopen - >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA + >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA The ``+REMOTE_DATA`` directive indicates that the marked statement should only be executed if the ``--remote-data`` option is given. By default, all @@ -395,7 +392,7 @@ Questions, bug reports, and feature requests can be submitted on `github`_. -.. _github: https://github.com/astropy/pytest-doctestplus +.. _github: https://github.com/scientific-python/pytest-doctestplus License ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/README.rst new/pytest-doctestplus-1.0.0/README.rst --- old/pytest-doctestplus-0.13.0/README.rst 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/README.rst 2023-08-11 18:21:57.000000000 +0200 @@ -6,18 +6,15 @@ :target: https://zenodo.org/badge/latestdoi/104253824 :alt: Zenodo DOI -.. image:: https://github.com/astropy/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg - :target: https://github.com/astropy/pytest-doctestplus/actions +.. image:: https://github.com/scientific-python/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg + :target: https://github.com/scientific-python/pytest-doctestplus/actions :alt: CI Status This package contains a plugin for the `pytest`_ framework that provides -advanced doctest support and enables the testing of `reStructuredText`_ -(".rst") files. It was originally part of the `astropy`_ core package, but has -been moved to a separate package in order to be of more general use. +advanced doctest support and enables the testing of various text files, such +as reStructuredText (".rst"), markdown (".md"), and TeX (".tex"). .. _pytest: https://pytest.org/en/latest/ -.. _astropy: https://astropy.org/ -.. _reStructuredText: https://en.wikipedia.org/wiki/ReStructuredText Motivation @@ -44,7 +41,6 @@ * optional inclusion of ``*.rst`` files for doctests (see `Setup and Configuration`_) * optional inclusion of doctests in docstrings of Numpy ufuncs -.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata Installation ------------ @@ -56,7 +52,7 @@ It is also possible to install the latest development version from the source repository:: - $ git clone https://github.com/astropy/pytest-doctestplus + $ git clone https://github.com/scientific-python/pytest-doctestplus $ cd pytest-doctestplus $ pip install . @@ -331,7 +327,7 @@ .. code-block:: python >>> from urlib.request import urlopen - >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA + >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA The ``+REMOTE_DATA`` directive indicates that the marked statement should only be executed if the ``--remote-data`` option is given. By default, all @@ -366,7 +362,7 @@ Questions, bug reports, and feature requests can be submitted on `github`_. -.. _github: https://github.com/astropy/pytest-doctestplus +.. _github: https://github.com/scientific-python/pytest-doctestplus License ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/pytest_doctestplus/plugin.py new/pytest-doctestplus-1.0.0/pytest_doctestplus/plugin.py --- old/pytest-doctestplus-0.13.0/pytest_doctestplus/plugin.py 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/pytest_doctestplus/plugin.py 2023-08-11 18:21:57.000000000 +0200 @@ -26,9 +26,10 @@ _pytest_version = Version(pytest.__version__) PYTEST_GT_5 = _pytest_version > Version('5.9.9') PYTEST_GE_5_4 = _pytest_version >= Version('5.4') -PYTEST_GE_7_0 = any([_pytest_version.is_devrelease, +PYTEST_GE_7_0 = _pytest_version >= Version('7.0') +PYTEST_GE_8_0 = any([_pytest_version.is_devrelease, _pytest_version.is_prerelease, - _pytest_version >= Version('7.0')]) + _pytest_version >= Version('8.0')]) comment_characters = { '.txt': '#', @@ -507,7 +508,11 @@ Skip paths that match any of the doctest_norecursedirs patterns or if doctest_only is True then skip all regular test files (eg test_*.py). """ - if PYTEST_GE_7_0: + if PYTEST_GE_8_0: + dirpath = Path(path).parent + collect_ignore = config._getconftest_pathlist("collect_ignore", + path=dirpath) + elif PYTEST_GE_7_0: dirpath = Path(path).parent collect_ignore = config._getconftest_pathlist("collect_ignore", path=dirpath, @@ -554,7 +559,8 @@ self._ignore_paths.append(path) break - # None = Let other plugins decide the outcome. + # Let other plugins decide the outcome. + return None def pytest_collect_file(self, path, parent): """Implements an enhanced version of the doctest module from py.test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/pytest_doctestplus/version.py new/pytest-doctestplus-1.0.0/pytest_doctestplus/version.py --- old/pytest-doctestplus-0.13.0/pytest_doctestplus/version.py 2023-06-08 07:20:17.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/pytest_doctestplus/version.py 2023-08-11 18:22:14.000000000 +0200 @@ -1,4 +1,4 @@ # file generated by setuptools_scm # don't change, don't track in version control -__version__ = version = '0.13.0' -__version_tuple__ = version_tuple = (0, 13, 0) +__version__ = version = '1.0.0' +__version_tuple__ = version_tuple = (1, 0, 0) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/pytest_doctestplus.egg-info/PKG-INFO new/pytest-doctestplus-1.0.0/pytest_doctestplus.egg-info/PKG-INFO --- old/pytest-doctestplus-0.13.0/pytest_doctestplus.egg-info/PKG-INFO 2023-06-08 07:20:17.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/pytest_doctestplus.egg-info/PKG-INFO 2023-08-11 18:22:14.000000000 +0200 @@ -1,10 +1,9 @@ Metadata-Version: 2.1 Name: pytest-doctestplus -Version: 0.13.0 +Version: 1.0.0 Summary: Pytest plugin with advanced doctest features. -Home-page: https://github.com/astropy/pytest-doctestplus -Author: The Astropy Developers -Author-email: astropy.t...@gmail.com +Home-page: https://github.com/scientific-python/pytest-doctestplus +Author: Scientific Python Developers License: BSD Keywords: doctest,rst,pytest,py.test Classifier: Development Status :: 3 - Alpha @@ -19,6 +18,8 @@ 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 :: 3.12 Classifier: Programming Language :: Python :: Implementation :: CPython Classifier: Topic :: Software Development :: Testing Classifier: Topic :: Utilities @@ -35,18 +36,15 @@ :target: https://zenodo.org/badge/latestdoi/104253824 :alt: Zenodo DOI -.. image:: https://github.com/astropy/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg - :target: https://github.com/astropy/pytest-doctestplus/actions +.. image:: https://github.com/scientific-python/pytest-doctestplus/workflows/Run%20unit%20tests/badge.svg + :target: https://github.com/scientific-python/pytest-doctestplus/actions :alt: CI Status This package contains a plugin for the `pytest`_ framework that provides -advanced doctest support and enables the testing of `reStructuredText`_ -(".rst") files. It was originally part of the `astropy`_ core package, but has -been moved to a separate package in order to be of more general use. +advanced doctest support and enables the testing of various text files, such +as reStructuredText (".rst"), markdown (".md"), and TeX (".tex"). .. _pytest: https://pytest.org/en/latest/ -.. _astropy: https://astropy.org/ -.. _reStructuredText: https://en.wikipedia.org/wiki/ReStructuredText Motivation @@ -73,7 +71,6 @@ * optional inclusion of ``*.rst`` files for doctests (see `Setup and Configuration`_) * optional inclusion of doctests in docstrings of Numpy ufuncs -.. _pytest-remotedata: https://github.com/astropy/pytest-remotedata Installation ------------ @@ -85,7 +82,7 @@ It is also possible to install the latest development version from the source repository:: - $ git clone https://github.com/astropy/pytest-doctestplus + $ git clone https://github.com/scientific-python/pytest-doctestplus $ cd pytest-doctestplus $ pip install . @@ -360,7 +357,7 @@ .. code-block:: python >>> from urlib.request import urlopen - >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA + >>> url = urlopen('http://astropy.org') # doctest: +REMOTE_DATA The ``+REMOTE_DATA`` directive indicates that the marked statement should only be executed if the ``--remote-data`` option is given. By default, all @@ -395,7 +392,7 @@ Questions, bug reports, and feature requests can be submitted on `github`_. -.. _github: https://github.com/astropy/pytest-doctestplus +.. _github: https://github.com/scientific-python/pytest-doctestplus License ------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/setup.cfg new/pytest-doctestplus-1.0.0/setup.cfg --- old/pytest-doctestplus-0.13.0/setup.cfg 2023-06-08 07:20:18.047553800 +0200 +++ new/pytest-doctestplus-1.0.0/setup.cfg 2023-08-11 18:22:14.703384200 +0200 @@ -1,8 +1,7 @@ [metadata] name = pytest-doctestplus -url = https://github.com/astropy/pytest-doctestplus -author = The Astropy Developers -author_email = astropy.t...@gmail.com +url = https://github.com/scientific-python/pytest-doctestplus +author = Scientific Python Developers classifiers = Development Status :: 3 - Alpha Framework :: Pytest @@ -16,6 +15,8 @@ Programming Language :: Python :: 3.8 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 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/tests/conf.py new/pytest-doctestplus-1.0.0/tests/conf.py --- old/pytest-doctestplus-0.13.0/tests/conf.py 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/tests/conf.py 2023-08-11 18:21:57.000000000 +0200 @@ -13,13 +13,14 @@ # import os # import sys # sys.path.insert(0, os.path.abspath('.')) +from datetime import datetime # -- Project information ----------------------------------------------------- project = 'pytest-doctestplus' -copyright = '2011-2023, Astropy Infrastructure Team' -author = 'Astropy Infrastructure Team' +copyright = f'2023-{datetime.now().year}, Scientific Python Developers' +author = 'Scientific Python Developers' # -- General configuration --------------------------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/tests/conftest.py new/pytest-doctestplus-1.0.0/tests/conftest.py --- old/pytest-doctestplus-0.13.0/tests/conftest.py 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/tests/conftest.py 2023-08-11 18:21:57.000000000 +0200 @@ -1,7 +1,15 @@ from functools import partial import textwrap +from packaging.version import Version import pytest +import numpy as np + + +# Keep this until we require numpy to be >=2.0 or there is a directive in doctestplus +# to support multiple ways of repr +if Version(np.__version__) > Version("2.0.0.dev0+151"): + np.set_printoptions(legacy="1.25") def _wrap_docstring_in_func(func_name, docstring): diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pytest-doctestplus-0.13.0/tox.ini new/pytest-doctestplus-1.0.0/tox.ini --- old/pytest-doctestplus-0.13.0/tox.ini 2023-06-08 07:19:59.000000000 +0200 +++ new/pytest-doctestplus-1.0.0/tox.ini 2023-08-11 18:21:57.000000000 +0200 @@ -1,6 +1,6 @@ [tox] envlist = - py{37,38,39,310,311}-test + py{37,38,39,310,311,312}-test codestyle requires = setuptools >= 30.3.0 @@ -9,6 +9,9 @@ [testenv] changedir = .tmp/{envname} +setenv = + # Until a released numpy version is 3.12 compatible, we install the dev wheel + py312: PIP_EXTRA_INDEX_URL = https://pypi.anaconda.org/scientific-python-nightly-wheels/simple description = run tests deps = pytest46: pytest==4.6.* @@ -20,7 +23,14 @@ pytest61: pytest==6.1.* pytest62: pytest==6.2.* pytest70: pytest==7.0.* + 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 + # We keep seeing pytest related issues with the latest release and python 3.12, keep using the dev version until it's fixed upstream + py312: git+https://github.com/pytest-dev/pytest#egg=pytest + py312: numpy>=0.0.dev0 extras = test