Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-nbval for openSUSE:Factory checked in at 2024-03-08 18:10:43 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-nbval (Old) and /work/SRC/openSUSE:Factory/.python-nbval.new.1770 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-nbval" Fri Mar 8 18:10:43 2024 rev:12 rq:1156363 version:0.11.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-nbval/python-nbval.changes 2023-02-03 22:16:24.447180967 +0100 +++ /work/SRC/openSUSE:Factory/.python-nbval.new.1770/python-nbval.changes 2024-03-08 18:10:53.673922106 +0100 @@ -1,0 +2,9 @@ +Fri Mar 8 13:20:47 UTC 2024 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.11.0 + * no release notes + * pure maintenance +- Skip python39: no longer supported since ipython 8.19 (via + ipykernel) + +------------------------------------------------------------------- Old: ---- nbval-0.10.0.tar.gz New: ---- nbval-0.11.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-nbval.spec ++++++ --- /var/tmp/diff_new_pack.HyW1YG/_old 2024-03-08 18:10:54.233942685 +0100 +++ /var/tmp/diff_new_pack.HyW1YG/_new 2024-03-08 18:10:54.237942832 +0100 @@ -1,7 +1,7 @@ # -# spec file +# spec file for package python-nbval # -# Copyright (c) 2023 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -25,16 +25,16 @@ %bcond_with test %endif -%define skip_python2 1 +%define skip_python39 1 Name: python-nbval%{psuffix} -Version: 0.10.0 +Version: 0.11.0 Release: 0 Summary: A pytest plugin to validate Jupyter notebooks License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/computationalmodelling/nbval Source: https://files.pythonhosted.org/packages/source/n/nbval/nbval-%{version}.tar.gz -BuildRequires: %{python_module base >= 3.6} +BuildRequires: %{python_module base >= 3.7} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} @@ -44,7 +44,7 @@ Requires: python-ipykernel Requires: python-jupyter-client Requires: python-nbformat -Requires: python-pytest >= 2.8 +Requires: python-pytest >= 7 Provides: python-jupyter_nbval = %{version} Obsoletes: python-jupyter_nbval < %{version} BuildArch: noarch ++++++ nbval-0.10.0.tar.gz -> nbval-0.11.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/PKG-INFO new/nbval-0.11.0/PKG-INFO --- old/nbval-0.10.0/PKG-INFO 2023-01-11 12:28:28.261010200 +0100 +++ new/nbval-0.11.0/PKG-INFO 2024-03-04 15:36:52.785827400 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbval -Version: 0.10.0 +Version: 0.11.0 Summary: A py.test plugin to validate Jupyter notebooks Home-page: https://github.com/computationalmodelling/nbval Author: Laslett, Cortes, Fauske, Kluyver, Pepper, Fangohr @@ -9,9 +9,14 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Software Development :: Testing -Requires-Python: >=3.6, <4 +Requires-Python: >=3.7, <4 Description-Content-Type: text/markdown License-File: LICENSE +Requires-Dist: pytest>=7 +Requires-Dist: jupyter_client +Requires-Dist: nbformat +Requires-Dist: ipykernel +Requires-Dist: coverage # Py.test plugin for validating Jupyter notebooks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/docs/environment.yml new/nbval-0.11.0/docs/environment.yml --- old/nbval-0.10.0/docs/environment.yml 2023-01-11 12:28:17.000000000 +0100 +++ new/nbval-0.11.0/docs/environment.yml 2024-03-04 15:36:47.000000000 +0100 @@ -7,3 +7,4 @@ - matplotlib - sphinx - nbsphinx>=0.3.1 +- sphinx-rtd-theme diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/nbval/_version.py new/nbval-0.11.0/nbval/_version.py --- old/nbval-0.10.0/nbval/_version.py 2023-01-11 12:28:17.000000000 +0100 +++ new/nbval-0.11.0/nbval/_version.py 2024-03-04 15:36:47.000000000 +0100 @@ -1,2 +1,2 @@ -version_info = (0, 10, 0) +version_info = (0, 11, 0) __version__ = '.'.join(map(str, version_info[:3])) + ''.join(version_info[3:]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/nbval/plugin.py new/nbval-0.11.0/nbval/plugin.py --- old/nbval-0.10.0/nbval/plugin.py 2023-01-11 12:28:17.000000000 +0100 +++ new/nbval-0.11.0/nbval/plugin.py 2024-03-04 15:36:47.000000000 +0100 @@ -134,21 +134,14 @@ -def pytest_collect_file(path, parent): +def pytest_collect_file(file_path, parent): """ Collect IPython notebooks using the specified pytest hook """ opt = parent.config.option - if (opt.nbval or opt.nbval_lax) and path.fnmatch("*.ipynb"): + if (opt.nbval or opt.nbval_lax) and file_path.suffix == ".ipynb": # https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent - if hasattr(IPyNbFile, "from_parent"): - try: # Pytest >= 7.0.0 - return IPyNbFile.from_parent(parent, path=Path(path)) - except AssertionError: - return IPyNbFile.from_parent(parent, fspath=path) - else: # Pytest < 5.4 - return IPyNbFile(path, parent) - + return IPyNbFile.from_parent(parent, path=file_path) comment_markers = { @@ -351,13 +344,9 @@ options.update(comment_opts) options.setdefault('check', self.compare_outputs) name = 'Cell ' + str(cell_num) - # https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent - if hasattr(IPyNbCell, "from_parent"): - yield IPyNbCell.from_parent( - self, name=name, cell_num=cell_num, cell=cell, options=options - ) - else: - yield IPyNbCell(name, self, cell_num, cell, options) + yield IPyNbCell.from_parent( + self, name=name, cell_num=cell_num, cell=cell, options=options + ) # Update 'code' cell count cell_num += 1 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/nbval.egg-info/PKG-INFO new/nbval-0.11.0/nbval.egg-info/PKG-INFO --- old/nbval-0.10.0/nbval.egg-info/PKG-INFO 2023-01-11 12:28:28.000000000 +0100 +++ new/nbval-0.11.0/nbval.egg-info/PKG-INFO 2024-03-04 15:36:52.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.1 Name: nbval -Version: 0.10.0 +Version: 0.11.0 Summary: A py.test plugin to validate Jupyter notebooks Home-page: https://github.com/computationalmodelling/nbval Author: Laslett, Cortes, Fauske, Kluyver, Pepper, Fangohr @@ -9,9 +9,14 @@ Classifier: License :: OSI Approved :: BSD License Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Software Development :: Testing -Requires-Python: >=3.6, <4 +Requires-Python: >=3.7, <4 Description-Content-Type: text/markdown License-File: LICENSE +Requires-Dist: pytest>=7 +Requires-Dist: jupyter_client +Requires-Dist: nbformat +Requires-Dist: ipykernel +Requires-Dist: coverage # Py.test plugin for validating Jupyter notebooks diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/nbval.egg-info/requires.txt new/nbval-0.11.0/nbval.egg-info/requires.txt --- old/nbval-0.10.0/nbval.egg-info/requires.txt 2023-01-11 12:28:28.000000000 +0100 +++ new/nbval-0.11.0/nbval.egg-info/requires.txt 2024-03-04 15:36:52.000000000 +0100 @@ -1,4 +1,4 @@ -pytest>=2.8 +pytest>=7 jupyter_client nbformat ipykernel diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/nbval-0.10.0/setup.py new/nbval-0.11.0/setup.py --- old/nbval-0.10.0/setup.py 2023-01-11 12:28:17.000000000 +0100 +++ new/nbval-0.11.0/setup.py 2024-03-04 15:36:47.000000000 +0100 @@ -21,13 +21,13 @@ ] }, install_requires = [ - 'pytest >= 2.8', + 'pytest >= 7', 'jupyter_client', 'nbformat', 'ipykernel', 'coverage', ], - python_requires='>=3.6, <4', + python_requires='>=3.7, <4', classifiers = [ 'Framework :: IPython', 'Framework :: Pytest',