Hello community, here is the log from the commit of package python-jupyter_jupyterlab_server for openSUSE:Factory checked in at 2019-03-12 09:55:18 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-jupyter_jupyterlab_server (Old) and /work/SRC/openSUSE:Factory/.python-jupyter_jupyterlab_server.new.28833 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyter_jupyterlab_server" Tue Mar 12 09:55:18 2019 rev:2 rq:683915 version:0.3.0 Changes: -------- --- /work/SRC/openSUSE:Factory/python-jupyter_jupyterlab_server/python-jupyter_jupyterlab_server.changes 2019-01-08 12:31:41.916061705 +0100 +++ /work/SRC/openSUSE:Factory/.python-jupyter_jupyterlab_server.new.28833/python-jupyter_jupyterlab_server.changes 2019-03-12 09:55:22.451514625 +0100 @@ -1,0 +2,16 @@ +Mon Mar 11 14:23:20 UTC 2019 - Todd R <toddrme2...@gmail.com> + +- Simplify files somewhat +- Grammar fix in summary + +------------------------------------------------------------------- +Sat Mar 2 18:20:00 UTC 2019 - Arun Persaud <a...@gmx.de> + +- specfile: + * remove devel from noarch + * be more specific in %files section + +- update to version 0.3.0: + * Update workspaces listing to include values. + +------------------------------------------------------------------- Old: ---- jupyterlab_server-0.2.0.tar.gz New: ---- jupyterlab_server-0.3.0.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-jupyter_jupyterlab_server.spec ++++++ --- /var/tmp/diff_new_pack.7ZKyQ9/_old 2019-03-12 09:55:22.995514516 +0100 +++ /var/tmp/diff_new_pack.7ZKyQ9/_new 2019-03-12 09:55:22.995514516 +0100 @@ -12,23 +12,28 @@ # 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/ +# %{?!python_module:%define python_module() python-%{**} python3-%{**}} %define skip_python2 1 Name: python-jupyter_jupyterlab_server -Version: 0.2.0 +Version: 0.3.0 Release: 0 +Summary: Server components for JupyterLab and JupyterLab-like applications License: BSD-3-Clause -Summary: Server components for JupyterLab and JupyterLab like applications -Url: http://jupyter.org Group: Development/Languages/Python -Source: https://files.pythonhosted.org/packages/source/j/jupyterlab-server/jupyterlab_server-%{version}.tar.gz -BuildRequires: python-rpm-macros -BuildRequires: %{python_module devel} +URL: http://jupyter.org +Source: https://files.pythonhosted.org/packages/source/j/jupyterlab_server/jupyterlab_server-%{version}.tar.gz BuildRequires: %{python_module setuptools} BuildRequires: fdupes +BuildRequires: python-rpm-macros +Requires: python-jsonschema >= 2.6.0 +Requires: python-jupyter_notebook >= 4.2.0 +Requires: python-tornado +Requires: python-traitlets +BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module jsonschema >= 2.6.0} BuildRequires: %{python_module jupyter_notebook >= 4.2.0} @@ -36,12 +41,6 @@ BuildRequires: %{python_module requests} BuildRequires: %{python_module traitlets} # /SECTION -Requires: python-jsonschema >= 2.6.0 -Requires: python-jupyter_notebook >= 4.2.0 -Requires: python-tornado -Requires: python-traitlets -BuildArch: noarch - %python_subpackages %description @@ -60,6 +59,7 @@ %files %{python_files} %license LICENSE %doc README.md -%{python_sitelib}/* +%{python_sitelib}/jupyterlab_server/ +%{python_sitelib}/jupyterlab_server-%{version}-py*.egg-info/ %changelog ++++++ jupyterlab_server-0.2.0.tar.gz -> jupyterlab_server-0.3.0.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyterlab_server-0.2.0/PKG-INFO new/jupyterlab_server-0.3.0/PKG-INFO --- old/jupyterlab_server-0.2.0/PKG-INFO 2018-09-15 09:15:02.000000000 +0200 +++ new/jupyterlab_server-0.3.0/PKG-INFO 2019-02-15 13:03:18.000000000 +0100 @@ -1,12 +1,11 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: jupyterlab_server -Version: 0.2.0 +Version: 0.3.0 Summary: JupyterLab Server Home-page: http://jupyter.org Author: Jupyter Development Team Author-email: jupy...@googlegroups.com License: BSD -Description-Content-Type: UNKNOWN Description: This package is used to launch an application built using JupyterLab @@ -23,3 +22,4 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Requires-Python: >=3.5 +Provides-Extra: test diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyterlab_server-0.2.0/jupyterlab_server/_version.py new/jupyterlab_server-0.3.0/jupyterlab_server/_version.py --- old/jupyterlab_server-0.2.0/jupyterlab_server/_version.py 2018-09-15 09:14:58.000000000 +0200 +++ new/jupyterlab_server-0.3.0/jupyterlab_server/_version.py 2019-02-15 13:03:03.000000000 +0100 @@ -1,2 +1,2 @@ -version_info = (0, 2, 0) +version_info = (0, 3, 0) __version__ = '.'.join(map(str, version_info)) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyterlab_server-0.2.0/jupyterlab_server/tests/test_workspaces_api.py new/jupyterlab_server-0.3.0/jupyterlab_server/tests/test_workspaces_api.py --- old/jupyterlab_server-0.2.0/jupyterlab_server/tests/test_workspaces_api.py 2018-09-13 13:15:04.000000000 +0200 +++ new/jupyterlab_server-0.3.0/jupyterlab_server/tests/test_workspaces_api.py 2019-02-15 13:01:15.000000000 +0100 @@ -53,8 +53,9 @@ def test_listing(self): # ID fields are from workspaces/*.jupyterlab-workspace listing = set(['foo', 'f/o/o/']) + output = set(self.workspaces_api.get().json()['workspaces']['ids']) - assert set(self.workspaces_api.get().json()['workspaces']) == listing + assert output == listing def test_put(self): id = 'foo' diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyterlab_server-0.2.0/jupyterlab_server/workspaces_handler.py new/jupyterlab_server-0.3.0/jupyterlab_server/workspaces_handler.py --- old/jupyterlab_server-0.2.0/jupyterlab_server/workspaces_handler.py 2018-09-13 13:15:04.000000000 +0200 +++ new/jupyterlab_server-0.3.0/jupyterlab_server/workspaces_handler.py 2019-02-15 13:01:15.000000000 +0100 @@ -15,16 +15,12 @@ # The JupyterLab workspace file extension. WORKSPACE_EXTENSION = '.jupyterlab-workspace' -# A cache of workspace names and their slug file name counterparts. -_cache = dict() - - def _list_workspaces(directory, prefix): """ Return the list of workspaces in a given directory beginning with the given prefix. """ - workspaces = [] + workspaces = { 'ids': [], 'values': [] } if not os.path.exists(directory): return workspaces @@ -35,15 +31,13 @@ items.sort() for slug in items: - if slug in _cache: - workspaces.append(_cache[slug]) - continue workspace_path = os.path.join(directory, slug) if os.path.exists(workspace_path): with open(workspace_path) as fid: try: # to load and parse the workspace file. - _cache[slug] = json.load(fid)['metadata']['id'] - workspaces.append(_cache[slug]) + workspace = json.load(fid) + workspaces.get('ids').append(workspace['metadata']['id']) + workspaces.get('values').append(workspace) except Exception as e: raise web.HTTPError(500, str(e)) return workspaces diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/jupyterlab_server-0.2.0/jupyterlab_server.egg-info/PKG-INFO new/jupyterlab_server-0.3.0/jupyterlab_server.egg-info/PKG-INFO --- old/jupyterlab_server-0.2.0/jupyterlab_server.egg-info/PKG-INFO 2018-09-15 09:15:02.000000000 +0200 +++ new/jupyterlab_server-0.3.0/jupyterlab_server.egg-info/PKG-INFO 2019-02-15 13:03:18.000000000 +0100 @@ -1,12 +1,11 @@ -Metadata-Version: 1.2 +Metadata-Version: 2.1 Name: jupyterlab-server -Version: 0.2.0 +Version: 0.3.0 Summary: JupyterLab Server Home-page: http://jupyter.org Author: Jupyter Development Team Author-email: jupy...@googlegroups.com License: BSD -Description-Content-Type: UNKNOWN Description: This package is used to launch an application built using JupyterLab @@ -23,3 +22,4 @@ Classifier: Programming Language :: Python :: 3.4 Classifier: Programming Language :: Python :: 3.5 Requires-Python: >=3.5 +Provides-Extra: test