Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-jupyter_contrib_core for openSUSE:Factory checked in at 2022-08-02 22:08:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_contrib_core (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_contrib_core" Tue Aug 2 22:08:57 2022 rev:6 rq:992093 version:0.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_contrib_core/python-jupyter_contrib_core.changes 2020-09-16 19:40:23.246869944 +0200 +++ /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.1533/python-jupyter_contrib_core.changes 2022-08-02 22:09:28.825822390 +0200 @@ -1,0 +2,7 @@ +Mon Aug 1 18:23:01 UTC 2022 - Ben Greiner <c...@bnavigator.de> + +- Update to 0.4.0 + * Update for recent notebook versions +- Drop python-jupyter_contrib_core-remove-nose.patch + +------------------------------------------------------------------- Old: ---- jupyter_contrib_core-0.3.3.tar.gz python-jupyter_contrib_core-remove-nose.patch New: ---- jupyter_contrib_core-0.4.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_contrib_core.spec ++++++ --- /var/tmp/diff_new_pack.ooqj5d/_old 2022-08-02 22:09:30.157826230 +0200 +++ /var/tmp/diff_new_pack.ooqj5d/_new 2022-08-02 22:09:30.165826253 +0200 @@ -1,7 +1,7 @@ # # spec file for package python-jupyter_contrib_core # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -19,15 +19,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jupyter_contrib_core -Version: 0.3.3 +Version: 0.4.0 Release: 0 Summary: Common utilities for jupyter-contrib projects License: BSD-3-Clause Group: Development/Languages/Python URL: https://github.com/jupyter-contrib/jupyter_contrib_core Source: https://files.pythonhosted.org/packages/source/j/jupyter_contrib_core/jupyter_contrib_core-%{version}.tar.gz -# https://github.com/Jupyter-contrib/jupyter_contrib_core/pull/9 -Patch0: python-jupyter_contrib_core-remove-nose.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -43,9 +41,16 @@ Requires: python-setuptools Requires: python-tornado Requires: python-traitlets -Provides: python-jupyter_contrib_core = %{version} -Obsoletes: python-jupyter_contrib_core <= %{version} -Requires: jupyter-jupyter_contrib_core = %{version} +Requires(post): update-alternatives +Requires(postun):update-alternatives +Provides: python-jupyter-contrib-core = %{version}-%{release} +Obsoletes: python-jupyter-contrib-core < %{version}-%{release} +%if "%python_provides" == "python3" || "%python_flavor" == "python3" +Provides: jupyter-jupyter_contrib_core = %{version}-%{release} +Obsoletes: jupyter-jupyter_contrib_core < %{version}-%{release} +%else +Conflicts: jupyter-jupyter_contrib_core < 0.4 +%endif BuildArch: noarch %python_subpackages @@ -58,28 +63,8 @@ - common application components and cli scripts - utility classes and functions for use in tests -This package provides the python interface. - -%package -n jupyter-jupyter_contrib_core -Summary: Libraries and Languages for Jupyter -Group: Development/Languages/Python -Requires: jupyter-jupyter-core -Requires: jupyter-notebook >= 4.0 -Requires: python3-jupyter_contrib_core = %{version} - -%description -n jupyter-jupyter_contrib_core -Common utilities for jupyter-contrib projects. Includes: - -- providing a notebook-4.2-compatible nbextension API in order to - smooth over differences in versions 4.0 and 4.1 -- common application components and cli scripts -- utility classes and functions for use in tests - -This package provides the jupyter components. - %prep %setup -q -n jupyter_contrib_core-%{version} -%patch0 -p1 %build export LANG=en_US.UTF-8 @@ -88,20 +73,24 @@ %install export LANG=en_US.UTF-8 %python_install +%python_clone -a %{buildroot}%{_bindir}/jupyter-contrib %python_expand %fdupes %{buildroot}%{$python_sitelib} %check export LANG=en_US.UTF-8 %pytest +%post +%python_install_alternative jupyter-contrib + +%postun +%python_uninstall_alternative jupyter-contrib + %files %{python_files} %doc README.md %license LICENSE.txt +%python_alternative %{_bindir}/jupyter-contrib %{python_sitelib}/jupyter_contrib_core/ -%{python_sitelib}/jupyter_contrib_core-%{version}-py*.egg-info - -%files -n jupyter-jupyter_contrib_core -%license LICENSE.txt -%{_bindir}/jupyter-contrib +%{python_sitelib}/jupyter_contrib_core-%{version}*-info %changelog ++++++ jupyter_contrib_core-0.3.3.tar.gz -> jupyter_contrib_core-0.4.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/PKG-INFO new/jupyter_contrib_core-0.4.0/PKG-INFO --- old/jupyter_contrib_core-0.3.3/PKG-INFO 2017-08-31 02:47:36.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/PKG-INFO 2022-07-09 10:12:03.061977900 +0200 @@ -1,20 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: jupyter_contrib_core -Version: 0.3.3 +Version: 0.4.0 Summary: Common utilities for jupyter-contrib projects. Home-page: https://github.com/jupyter-contrib/jupyter_contrib_core +Download-URL: https://github.com/jupyter-contrib/jupyter_contrib_core/tarball/0.4.0 Author: jcb91, jupyter-contrib developers Author-email: joshuacookebar...@gmail.com License: BSD 3-clause -Download-URL: https://github.com/jupyter-contrib/jupyter_contrib_core/tarball/0.3.3 -Description: - Common utilities for jupyter-contrib projects. Includes: - - - providing a notebook-4.2-compatible nbextension API in order to - smooth over differences in versions 4.0 and 4.1 - - common application components and cli scripts - - utility classes and functions for use in tests - Keywords: Jupyter,notebook Platform: any Classifier: Intended Audience :: End Users/Desktop @@ -26,3 +18,13 @@ Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Utilities +Provides-Extra: testing_utils +License-File: LICENSE.txt + + +Common utilities for jupyter-contrib projects. Includes: + +- providing a notebook-4.2-compatible nbextension API in order to + smooth over differences in versions 4.0 and 4.1 +- common application components and cli scripts +- utility classes and functions for use in tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/setup.cfg new/jupyter_contrib_core-0.4.0/setup.cfg --- old/jupyter_contrib_core-0.3.3/setup.cfg 2017-08-31 02:47:36.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/setup.cfg 2022-07-09 10:12:03.061977900 +0200 @@ -4,6 +4,9 @@ [flake8] ignore = 'I201,I101,D100,D101,D102,D103,D200,D201,D202,D203,D204,D205,D211,D400,D401,D403,N802,N806,' +[metadata] +license_file = LICENSE.txt + [isort] not_skip = __init__.py multi_line_output = 5 @@ -14,5 +17,4 @@ [egg_info] tag_build = tag_date = 0 -tag_svn_revision = 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/setup.py new/jupyter_contrib_core-0.4.0/setup.py --- old/jupyter_contrib_core-0.3.3/setup.py 2017-08-31 02:46:30.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/setup.py 2022-07-09 10:11:36.000000000 +0200 @@ -23,14 +23,14 @@ - common application components and cli scripts - utility classes and functions for use in tests """, - version='0.3.3', + version='0.4.0', author='jcb91, jupyter-contrib developers', author_email='joshuacookebar...@gmail.com', url=('https://github.com/' 'jupyter-contrib/jupyter_contrib_core'), download_url=('https://github.com/' 'jupyter-contrib/jupyter_contrib_core/' - 'tarball/0.3.3'), + 'tarball/0.4.0'), keywords=['Jupyter', 'notebook'], license='BSD 3-clause', platforms=['any'], diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/PKG-INFO new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/PKG-INFO --- old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/PKG-INFO 2017-08-31 02:47:36.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/PKG-INFO 2022-07-09 10:12:03.000000000 +0200 @@ -1,20 +1,12 @@ -Metadata-Version: 1.1 +Metadata-Version: 2.1 Name: jupyter-contrib-core -Version: 0.3.3 +Version: 0.4.0 Summary: Common utilities for jupyter-contrib projects. Home-page: https://github.com/jupyter-contrib/jupyter_contrib_core +Download-URL: https://github.com/jupyter-contrib/jupyter_contrib_core/tarball/0.4.0 Author: jcb91, jupyter-contrib developers Author-email: joshuacookebar...@gmail.com License: BSD 3-clause -Download-URL: https://github.com/jupyter-contrib/jupyter_contrib_core/tarball/0.3.3 -Description: - Common utilities for jupyter-contrib projects. Includes: - - - providing a notebook-4.2-compatible nbextension API in order to - smooth over differences in versions 4.0 and 4.1 - - common application components and cli scripts - - utility classes and functions for use in tests - Keywords: Jupyter,notebook Platform: any Classifier: Intended Audience :: End Users/Desktop @@ -26,3 +18,13 @@ Classifier: Programming Language :: Python Classifier: Programming Language :: Python :: 3 Classifier: Topic :: Utilities +Provides-Extra: testing_utils +License-File: LICENSE.txt + + +Common utilities for jupyter-contrib projects. Includes: + +- providing a notebook-4.2-compatible nbextension API in order to + smooth over differences in versions 4.0 and 4.1 +- common application components and cli scripts +- utility classes and functions for use in tests diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/entry_points.txt new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/entry_points.txt --- old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/entry_points.txt 2017-08-31 02:47:36.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/entry_points.txt 2022-07-09 10:12:03.000000000 +0200 @@ -1,3 +1,2 @@ [console_scripts] jupyter-contrib = jupyter_contrib_core.application:main - diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/requires.txt new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/requires.txt --- old/jupyter_contrib_core-0.3.3/src/jupyter_contrib_core.egg-info/requires.txt 2017-08-31 02:47:36.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/src/jupyter_contrib_core.egg-info/requires.txt 2022-07-09 10:12:03.000000000 +0200 @@ -1,5 +1,5 @@ jupyter_core -notebook >=4.0 +notebook>=4.0 setuptools traitlets tornado diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/tests/test_application.py new/jupyter_contrib_core-0.4.0/tests/test_application.py --- old/jupyter_contrib_core-0.3.3/tests/test_application.py 2017-08-31 01:16:16.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/tests/test_application.py 2022-07-09 10:11:36.000000000 +0200 @@ -8,7 +8,7 @@ import logging from unittest import TestCase -import nose.tools as nt +import pytest from traitlets.tests.utils import check_help_all_output, check_help_output from jupyter_contrib_core.application import main as main_app @@ -59,5 +59,5 @@ check_help_output(app_module, []) check_help_all_output(app_module, []) # sys.exit should be called if no argv specified - with nt.assert_raises(SystemExit): + with pytest.raises(SystemExit): main_app([]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyter_contrib_core-0.3.3/tox.ini new/jupyter_contrib_core-0.4.0/tox.ini --- old/jupyter_contrib_core-0.3.3/tox.ini 2017-08-31 01:16:16.000000000 +0200 +++ new/jupyter_contrib_core-0.4.0/tox.ini 2022-07-09 10:11:36.000000000 +0200 @@ -6,20 +6,16 @@ clean, check, lint, - {py27,py34}-notebook{40,41,42,4x}, + py36-notebook{57,64}, report, [testenv] basepython = pypy: {env:TOXPYTHON:pypy} - py27: {env:TOXPYTHON:python2.7} - py33: {env:TOXPYTHON:python3.3} - py34: {env:TOXPYTHON:python3.4} - py35: {env:TOXPYTHON:python3.5} py36: {env:TOXPYTHON:python3.6} - {docs,spell}: {env:TOXPYTHON:python2.7} - {appveyorartifacts,bump,check,clean,codecov,coveralls,lint,report,pypi_build,pypi_upload}: {env:TOXPYTHON:python3} - {condarecipe}: {env:TOXPYTHON:python3.4} + {docs,spell}: {env:TOXPYTHON:python3.6} + {appveyorartifacts,bump,check,clean,codecov,coveralls,lint,report,pypi_build,pypi_upload}: {env:TOXPYTHON:python3.6} + {condarecipe}: {env:TOXPYTHON:python3.6} setenv = PYTHONPATH={toxinidir}/tests PYTHONUNBUFFERED=yes @@ -29,15 +25,11 @@ coverage>=4.2 mock nose - notebook40: notebook>=4.0,<4.1 - notebook41: notebook>=4.1,<4.2 - notebook42: notebook>=4.2,<4.3 - notebook43: notebook>=4.3,<4.4 - notebook44: notebook>=4.4,<4.5 - notebook4x: https://github.com/jupyter/notebook/archive/4.x.zip - notebook50: https://github.com/jupyter/notebook/archive/5.0.0.zip + notebook57: notebook==5.7 + notebook64: notebook==6.4 notebookmaster: https://github.com/jupyter/notebook/archive/master.zip notebook: notebook + pytest commands = {posargs:coverage run --source=src -m nose -vv tests} @@ -64,7 +56,7 @@ [testenv:coveralls] skip_install = true deps = - coverage>=4.2 + coverage>=6.2 coveralls commands = coverage combine --append @@ -87,7 +79,7 @@ whitelist_externals = bash deps = appveyor-artifacts - coverage>=4.2 + coverage>=6.2 coveralls commands = appveyor-artifacts --owner-name=jcb91 --repo-name=jupyter-contrib-core --mangle-coverage download @@ -100,7 +92,7 @@ [testenv:report] skip_install = true -deps = coverage>=4.2 +deps = coverage>=6.2 commands = coverage combine --append coverage report @@ -108,7 +100,7 @@ [testenv:clean] skip_install = true -deps = coverage>=4.2 +deps = coverage>=6.2 commands = coverage erase [testenv:bump]