commit python-jupyter_contrib_core for openSUSE:Factory

2020-09-16 Thread root
Hello community,

here is the log from the commit of package python-jupyter_contrib_core for 
openSUSE:Factory checked in at 2020-09-16 19:40:03

Comparing /work/SRC/openSUSE:Factory/python-jupyter_contrib_core (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.4249 (New)


Package is "python-jupyter_contrib_core"

Wed Sep 16 19:40:03 2020 rev:5 rq:834844 version:0.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_contrib_core/python-jupyter_contrib_core.changes
  2020-04-23 18:37:45.908928830 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.4249/python-jupyter_contrib_core.changes
2020-09-16 19:40:23.246869944 +0200
@@ -1,0 +2,8 @@
+Tue Sep 15 13:33:09 UTC 2020 - pgaj...@suse.com
+
+- replace nose with pytest
+- added patches
+  https://github.com/Jupyter-contrib/jupyter_contrib_core/pull/9
+  + python-jupyter_contrib_core-remove-nose.patch
+
+---

New:

  python-jupyter_contrib_core-remove-nose.patch



Other differences:
--
++ python-jupyter_contrib_core.spec ++
--- /var/tmp/diff_new_pack.I7RHA2/_old  2020-09-16 19:40:24.638871510 +0200
+++ /var/tmp/diff_new_pack.I7RHA2/_new  2020-09-16 19:40:24.642871515 +0200
@@ -18,7 +18,6 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 %define skip_python2 1
-%bcond_without  tests
 Name:   python-jupyter_contrib_core
 Version:0.3.3
 Release:0
@@ -27,16 +26,18 @@
 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
-%if %{with tests}
+# SECTION test requirements
 BuildRequires:  %{python_module jupyter-core}
-BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module notebook >= 4.0}
+BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
-%endif
+# /SECTION
 Requires:   python-jupyter-core
 Requires:   python-notebook >= 4.0
 Requires:   python-setuptools
@@ -78,6 +79,7 @@
 
 %prep
 %setup -q -n jupyter_contrib_core-%{version}
+%patch0 -p1
 
 %build
 export LANG=en_US.UTF-8
@@ -88,11 +90,9 @@
 %python_install
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
-%if %{with tests}
 %check
 export LANG=en_US.UTF-8
-%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
nosetests-%{$python_bin_suffix} -v
-%endif
+%pytest
 
 %files %{python_files}
 %doc README.md

++ python-jupyter_contrib_core-remove-nose.patch ++
Index: jupyter_contrib_core-0.3.3/tests/test_application.py
===
--- jupyter_contrib_core-0.3.3.orig/tests/test_application.py   2017-08-31 
01:16:16.0 +0200
+++ jupyter_contrib_core-0.3.3/tests/test_application.py2020-09-15 
14:19:54.992573764 +0200
@@ -8,7 +8,7 @@ from __future__ import (
 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 @@ class AppTest(TestCase):
 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([])



commit python-jupyter_contrib_core for openSUSE:Factory

2020-04-23 Thread root
Hello community,

here is the log from the commit of package python-jupyter_contrib_core for 
openSUSE:Factory checked in at 2020-04-23 18:37:45

Comparing /work/SRC/openSUSE:Factory/python-jupyter_contrib_core (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.2738 (New)


Package is "python-jupyter_contrib_core"

Thu Apr 23 18:37:45 2020 rev:4 rq:796492 version:0.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_contrib_core/python-jupyter_contrib_core.changes
  2019-11-29 15:56:17.904992977 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.2738/python-jupyter_contrib_core.changes
2020-04-23 18:37:45.908928830 +0200
@@ -1,0 +2,5 @@
+Thu Apr 23 10:49:11 UTC 2020 - Tomáš Chvátal 
+
+- Remove py2 deps as the py2 support is disabled
+
+---



Other differences:
--
++ python-jupyter_contrib_core.spec ++
--- /var/tmp/diff_new_pack.MveEiJ/_old  2020-04-23 18:37:46.412929795 +0200
+++ /var/tmp/diff_new_pack.MveEiJ/_new  2020-04-23 18:37:46.416929802 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_contrib_core
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,7 +25,7 @@
 Summary:Common utilities for jupyter-contrib projects
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-Url:https://github.com/jupyter-contrib/jupyter_contrib_core
+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
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
@@ -36,7 +36,6 @@
 BuildRequires:  %{python_module notebook >= 4.0}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
-BuildRequires:  python-mock
 %endif
 Requires:   python-jupyter-core
 Requires:   python-notebook >= 4.0
@@ -92,9 +91,7 @@
 %if %{with tests}
 %check
 export LANG=en_US.UTF-8
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}
-nosetests-%{$python_bin_suffix}
-}
+%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} 
nosetests-%{$python_bin_suffix} -v
 %endif
 
 %files %{python_files}




commit python-jupyter_contrib_core for openSUSE:Factory

2019-11-29 Thread root
Hello community,

here is the log from the commit of package python-jupyter_contrib_core for 
openSUSE:Factory checked in at 2019-11-29 15:56:04

Comparing /work/SRC/openSUSE:Factory/python-jupyter_contrib_core (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.26869 
(New)


Package is "python-jupyter_contrib_core"

Fri Nov 29 15:56:04 2019 rev:3 rq:747932 version:0.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_contrib_core/python-jupyter_contrib_core.changes
  2019-05-22 11:04:24.426596452 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.26869/python-jupyter_contrib_core.changes
   2019-11-29 15:56:17.904992977 +0100
@@ -1,0 +2,6 @@
+Tue Nov 12 17:38:51 UTC 2019 - Todd R 
+
+- Drop python2 support due to python-notebook dropping python2 support
+- jupyter_core renamed to jupyter-core
+
+---



Other differences:
--
++ python-jupyter_contrib_core.spec ++
--- /var/tmp/diff_new_pack.3gkgyY/_old  2019-11-29 15:56:19.024992334 +0100
+++ /var/tmp/diff_new_pack.3gkgyY/_new  2019-11-29 15:56:19.024992334 +0100
@@ -17,6 +17,7 @@
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%define skip_python2 1
 %bcond_without tests
 Name:   python-jupyter_contrib_core
 Version:0.3.3
@@ -30,14 +31,14 @@
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %if %{with tests}
-BuildRequires:  %{python_module jupyter_core}
+BuildRequires:  %{python_module jupyter-core}
 BuildRequires:  %{python_module nose}
 BuildRequires:  %{python_module notebook >= 4.0}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
 BuildRequires:  python-mock
 %endif
-Requires:   python-jupyter_core
+Requires:   python-jupyter-core
 Requires:   python-notebook >= 4.0
 Requires:   python-setuptools
 Requires:   python-tornado
@@ -62,7 +63,7 @@
 %package -n jupyter-jupyter_contrib_core
 Summary:Libraries and Languages for Jupyter
 Group:  Development/Languages/Python
-Requires:   jupyter-jupyter_core
+Requires:   jupyter-jupyter-core
 Requires:   jupyter-notebook >= 4.0
 Requires:   python3-jupyter_contrib_core = %{version}
 




commit python-jupyter_contrib_core for openSUSE:Factory

2019-05-22 Thread root
Hello community,

here is the log from the commit of package python-jupyter_contrib_core for 
openSUSE:Factory checked in at 2019-05-22 11:04:22

Comparing /work/SRC/openSUSE:Factory/python-jupyter_contrib_core (Old)
 and  /work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.5148 (New)


Package is "python-jupyter_contrib_core"

Wed May 22 11:04:22 2019 rev:2 rq:697969 version:0.3.3

Changes:

--- 
/work/SRC/openSUSE:Factory/python-jupyter_contrib_core/python-jupyter_contrib_core.changes
  2018-06-03 12:35:32.733638835 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-jupyter_contrib_core.new.5148/python-jupyter_contrib_core.changes
2019-05-22 11:04:24.426596452 +0200
@@ -1,0 +2,11 @@
+Thu Apr 25 01:59:57 UTC 2019 - Todd R 
+
+- Update to 0.5.1
+  * Fix for navigation hotkeys
+  * gist_it Making github endpoint configurable to support publishing gists to 
Github Enterprise
+  * Fix treefilter
+  * Enable ruler extension in editor
+  * Several spelling fixes
+- Split jupyter components into own subpackage.
+
+---



Other differences:
--
++ python-jupyter_contrib_core.spec ++
--- /var/tmp/diff_new_pack.rEf8SH/_old  2019-05-22 11:04:25.710595843 +0200
+++ /var/tmp/diff_new_pack.rEf8SH/_new  2019-05-22 11:04:25.746595826 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-jupyter_contrib_core
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,39 +12,41 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
-
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
+#
 
-%bcond_without tests
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
+%bcond_without tests
 Name:   python-jupyter_contrib_core
 Version:0.3.3
 Release:0
-License:BSD-3-Clause
 Summary:Common utilities for jupyter-contrib projects
-Url:https://github.com/jupyter-contrib/jupyter_contrib_core
+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
-BuildRequires:  %{python_module devel}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
 %if %{with tests}
 BuildRequires:  %{python_module jupyter_core}
-BuildRequires:  %{python_module jupyter_notebook >= 4.0}
 BuildRequires:  %{python_module nose}
+BuildRequires:  %{python_module notebook >= 4.0}
 BuildRequires:  %{python_module tornado}
 BuildRequires:  %{python_module traitlets}
 BuildRequires:  python-mock
 %endif
 Requires:   python-jupyter_core
-Requires:   python-jupyter_notebook >= 4.0
+Requires:   python-notebook >= 4.0
 Requires:   python-setuptools
 Requires:   python-tornado
 Requires:   python-traitlets
-BuildRoot:  %{_tmppath}/%{name}-%{version}-build
+Provides:   python-jupyter_contrib_core = %{version}
+Obsoletes:  python-jupyter_contrib_core <= %{version}
+Requires:   jupyter-jupyter_contrib_core = %{version}
 BuildArch:  noarch
+
 %python_subpackages
 
 %description
@@ -55,6 +57,25 @@
 -   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}
 
@@ -76,11 +97,13 @@
 %endif
 
 %files %{python_files}
-%defattr(-,root,root,-)
 %doc README.md
 %license LICENSE.txt
-%python3_only %{_bindir}/jupyter-contrib
 %{python_sitelib}/jupyter_contrib_core/
 %{python_sitelib}/jupyter_contrib_core-%{version}-py*.egg-info