Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-jupyterlab-server for
openSUSE:Factory checked in at 2023-01-08 21:25:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-jupyterlab-server (Old)
and /work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1563 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-jupyterlab-server"
Sun Jan 8 21:25:56 2023 rev:2 rq:1056893 version:2.18.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-jupyterlab-server/python-jupyterlab-server.changes
2023-01-02 15:01:50.589241288 +0100
+++
/work/SRC/openSUSE:Factory/.python-jupyterlab-server.new.1563/python-jupyterlab-server.changes
2023-01-08 21:26:00.631414996 +0100
@@ -1,0 +2,8 @@
+Sun Jan 8 09:23:59 UTC 2023 - Ben Greiner <[email protected]>
+
+- Update to 2.18.0
+ * Prepare for jupyter_server preferred_dir fix #324 (@vidartf)
+ * Handle systems with python3 #362 (@blink1073)
+- Drop jupyterlab-server-pr362-entrypoint.patch
+
+-------------------------------------------------------------------
Old:
----
jupyterlab-server-pr362-entrypoint.patch
jupyterlab_server-2.17.0.tar.gz
New:
----
jupyterlab_server-2.18.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-jupyterlab-server.spec ++++++
--- /var/tmp/diff_new_pack.I5m0IA/_old 2023-01-08 21:26:01.027417349 +0100
+++ /var/tmp/diff_new_pack.I5m0IA/_new 2023-01-08 21:26:01.035417397 +0100
@@ -1,7 +1,7 @@
#
# spec file
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -26,14 +26,12 @@
%endif
Name: python-jupyterlab-server%{psuffix}
-Version: 2.17.0
+Version: 2.18.0
Release: 0
Summary: Server components for JupyterLab and JupyterLab-like
applications
License: BSD-3-Clause
URL: https://github.com/jupyterlab/jupyterlab_server
Source:
https://files.pythonhosted.org/packages/source/j/jupyterlab_server/jupyterlab_server-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM jupyterlab-server-pr362-entrypoint.patch
gh#jupyterlab/jupyterlab_server#362
-Patch1:
https://github.com/jupyterlab/jupyterlab_server/pull/362.patch#/jupyterlab-server-pr362-entrypoint.patch
Source100: python-jupyterlab-server-rpmlintrc
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatchling >= 1.5}
@@ -89,7 +87,7 @@
Requires: python-openapi-spec-validator >= 0.5.1
Requires: python-pytest >= 7
Requires: python-pytest-console-scripts
-Requires: python-pytest-jupyter-server >= 0.6
+Requires: python-pytest-jupyter-server >= 0.6.2
Requires: python-pytest-timeout
Requires: python-requests-mock
#Requires: python-sphinxcontrib-spelling
++++++ jupyterlab_server-2.17.0.tar.gz -> jupyterlab_server-2.18.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/.github/workflows/fix-license-header.yml
new/jupyterlab_server-2.18.0/.github/workflows/fix-license-header.yml
--- old/jupyterlab_server-2.17.0/.github/workflows/fix-license-header.yml
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/.github/workflows/fix-license-header.yml
2020-02-02 01:00:00.000000000 +0100
@@ -30,34 +30,31 @@
with:
mode: fix
+ - name: List files changed
+ id: files-changed
+ shell: bash -l {0}
+ run: |
+ set -ex
+ export CHANGES=$(git status --porcelain | tee modified.log | wc -l)
+ cat modified.log
+ # Remove the log otherwise it will be committed
+ rm modified.log
+
+ echo "N_CHANGES=${CHANGES}" >> $GITHUB_OUTPUT
+
+ git diff
+
- name: Commit any changes
+ if: steps.files-changed.outputs.N_CHANGES != '0'
shell: bash -l {0}
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git pull --no-tags
- git add *
- git commit --allow-empty -m "Automatic application of license header"
- env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
-
- - name: Get modified files
- id: changed-files
- uses: tj-actions/changed-files@v35
- with:
- base_sha: 'HEAD~1'
- sha: 'HEAD'
- - name: Push fixes
- if: steps.changed-files.outputs.any_changed == 'true'
- shell: bash -l {0}
- run: |
- echo "Changed files"
- for file in ${{ steps.changed-files.outputs.all_changed_files }}; do
- echo " $file"
- done
- git diff HEAD~1
+ git add *
+ git commit -m "Automatic application of license header"
git config push.default upstream
git push
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/.pre-commit-config.yaml
new/jupyterlab_server-2.18.0/.pre-commit-config.yaml
--- old/jupyterlab_server-2.17.0/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/.pre-commit-config.yaml 2020-02-02
01:00:00.000000000 +0100
@@ -31,12 +31,12 @@
[mdformat-gfm, mdformat-frontmatter, mdformat-footnote]
- repo: https://github.com/psf/black
- rev: 22.10.0
+ rev: 22.12.0
hooks:
- id: black
- repo: https://github.com/charliermarsh/ruff-pre-commit
- rev: v0.0.189
+ rev: v0.0.206
hooks:
- id: ruff
args: ["--fix"]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/CHANGELOG.md
new/jupyterlab_server-2.18.0/CHANGELOG.md
--- old/jupyterlab_server-2.17.0/CHANGELOG.md 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyterlab_server-2.18.0/CHANGELOG.md 2020-02-02 01:00:00.000000000
+0100
@@ -2,6 +2,30 @@
<!-- <START NEW CHANGELOG ENTRY> -->
+## 2.18.0
+
+([Full
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.17.0...a2528876192e34fa2856b8fb3941148c6447d591))
+
+### Enhancements made
+
+- Prepare for jupyter_server preferred_dir fix
[#324](https://github.com/jupyterlab/jupyterlab_server/pull/324)
([@vidartf](https://github.com/vidartf))
+
+### Bugs fixed
+
+- Handle systems with `python3`
[#362](https://github.com/jupyterlab/jupyterlab_server/pull/362)
([@blink1073](https://github.com/blink1073))
+
+### Maintenance and upkeep improvements
+
+- Clean up docs build
[#363](https://github.com/jupyterlab/jupyterlab_server/pull/363)
([@blink1073](https://github.com/blink1073))
+
+### Contributors to this release
+
+([GitHub contributors page for this
release](https://github.com/jupyterlab/jupyterlab_server/graphs/contributors?from=2022-12-26&to=2023-01-03&type=c))
+
+[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2022-12-26..2023-01-03&type=Issues)
|
[@codecov-commenter](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Acodecov-commenter+updated%3A2022-12-26..2023-01-03&type=Issues)
|
[@fcollonval](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Afcollonval+updated%3A2022-12-26..2023-01-03&type=Issues)
|
[@pre-commit-ci](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Apre-commit-ci+updated%3A2022-12-26..2023-01-03&type=Issues)
|
[@vidartf](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Avidartf+updated%3A2022-12-26..2023-01-03&type=Issues)
+
+<!-- <END NEW CHANGELOG ENTRY> -->
+
## 2.17.0
([Full
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.16.6...6870153670345c20e2b86a02e6a35394703fbbf5))
@@ -18,8 +42,6 @@
[@blink1073](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Ablink1073+updated%3A2022-12-23..2022-12-26&type=Issues)
|
[@codecov-commenter](https://github.com/search?q=repo%3Ajupyterlab%2Fjupyterlab_server+involves%3Acodecov-commenter+updated%3A2022-12-23..2022-12-26&type=Issues)
-<!-- <END NEW CHANGELOG ENTRY> -->
-
## 2.16.6
([Full
Changelog](https://github.com/jupyterlab/jupyterlab_server/compare/v2.16.5...b8135b4a661f75560d39b52aab90f3e951884c39))
@@ -275,7 +297,7 @@
### Enhancements made
- Make openapi optional and lazy
[#253](https://github.com/jupyterlab/jupyterlab_server/pull/253)
([@blink1073](https://github.com/blink1073))
-- Adds notebook_starts_kernel option to make "canStartKernel" configurable
[#248](https://github.com/jupyterlab/jupyterlab_server/pull/248)
([@jweill-aws](https://github.com/jweill-aws))
+- Adds notebook_starts_kernel option to make "canStartKernel" configurable
[#248](https://github.com/jupyterlab/jupyterlab_server/pull/248)
([@jweill-aws](https://github.com/JasonWeill))
- Clean up tests and add public openapi_spec
[#247](https://github.com/jupyterlab/jupyterlab_server/pull/247)
([@blink1073](https://github.com/blink1073))
### Maintenance and upkeep improvements
@@ -285,7 +307,7 @@
### Documentation improvements
-- Updates parameter description for notebook_starts_kernel
[#250](https://github.com/jupyterlab/jupyterlab_server/pull/250)
([@jweill-aws](https://github.com/jweill-aws))
+- Updates parameter description for notebook_starts_kernel
[#250](https://github.com/jupyterlab/jupyterlab_server/pull/250)
([@jweill-aws](https://github.com/JasonWeill))
### Contributors to this release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/PKG-INFO
new/jupyterlab_server-2.18.0/PKG-INFO
--- old/jupyterlab_server-2.17.0/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyterlab_server-2.18.0/PKG-INFO 2020-02-02 01:00:00.000000000
+0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: jupyterlab_server
-Version: 2.17.0
+Version: 2.18.0
Summary: A set of server components for JupyterLab and JupyterLab like
applications.
Project-URL: Homepage, https://jupyterlab-server.readthedocs.io
Project-URL: Documentation, https://jupyterlab-server.readthedocs.io
@@ -80,7 +80,7 @@
Requires-Dist: openapi-spec-validator>=0.5.1; extra == 'test'
Requires-Dist: pytest-console-scripts; extra == 'test'
Requires-Dist: pytest-cov; extra == 'test'
-Requires-Dist: pytest-jupyter[server]>=0.6; extra == 'test'
+Requires-Dist: pytest-jupyter[server]>=0.6.2; extra == 'test'
Requires-Dist: pytest-timeout; extra == 'test'
Requires-Dist: pytest>=7.0; extra == 'test'
Requires-Dist: requests-mock; extra == 'test'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/Makefile
new/jupyterlab_server-2.18.0/docs/Makefile
--- old/jupyterlab_server-2.17.0/docs/Makefile 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyterlab_server-2.18.0/docs/Makefile 2020-02-02 01:00:00.000000000
+0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
# Minimal makefile for Sphinx documentation
#
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/autogen_config.py
new/jupyterlab_server-2.18.0/docs/autogen_config.py
--- old/jupyterlab_server-2.17.0/docs/autogen_config.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/autogen_config.py 1970-01-01
01:00:00.000000000 +0100
@@ -1,48 +0,0 @@
-#!/usr/bin/env python
-
-import os
-
-from jupyterlab_server import LabServerApp
-
-header = """\
-.. _api-full-config:
-
-
-Config file and command line options
-====================================
-
-The JupyterLab Server can be run with a variety of command line arguments.
-A list of available options can be found below in the :ref:`options section
-<options>`.
-
-Defaults for these options can also be set by creating a file named
-``jupyter_jupyterlab_server_config.py`` in your Jupyter folder. The Jupyter
-folder is in your home directory, ``~/.jupyter``.
-
-To create a ``jupyter_jupyterlab_server_config.py`` file, with all the defaults
-commented out, you can use the following command line::
-
- $ python -m jupyterlab_server --generate-config
-
-
-.. _options:
-
-Options
--------
-
-This list of options can be generated by running the following and hitting
-enter::
-
- $ python -m jupyterlab_server --help-all
-
-"""
-# Handle local and RTD locations
-cwd = os.getcwd()
-if os.path.basename(cwd) == "source":
- destination = os.path.join(cwd, "api/app-config.rst")
-else:
- destination = os.path.join(cwd, "source/api/app-config.rst")
-
-with open(destination, "w") as f:
- f.write(header)
- f.write(LabServerApp().document_config_options())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/make.bat
new/jupyterlab_server-2.18.0/docs/make.bat
--- old/jupyterlab_server-2.17.0/docs/make.bat 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyterlab_server-2.18.0/docs/make.bat 2020-02-02 01:00:00.000000000
+0100
@@ -1,3 +1,6 @@
+rem Copyright (c) Jupyter Development Team.
+rem Distributed under the terms of the Modified BSD License.
+
@ECHO OFF
pushd %~dp0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/app.rst
new/jupyterlab_server-2.18.0/docs/source/api/app.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/app.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/app.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
===========
Application
===========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/config.rst
new/jupyterlab_server-2.18.0/docs/source/api/config.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/config.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/config.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
======
Config
======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/docs/source/api/handlers.rst
new/jupyterlab_server-2.18.0/docs/source/api/handlers.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/handlers.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/handlers.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
========
Handlers
========
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/index.rst
new/jupyterlab_server-2.18.0/docs/source/api/index.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/index.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/index.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
---------------------
JupyterLab Server API
---------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/process.rst
new/jupyterlab_server-2.18.0/docs/source/api/process.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/process.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/process.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
=======
Process
=======
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/rest.rst
new/jupyterlab_server-2.18.0/docs/source/api/rest.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/rest.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/rest.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
--------
REST API
--------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/api/spec.rst
new/jupyterlab_server-2.18.0/docs/source/api/spec.rst
--- old/jupyterlab_server-2.17.0/docs/source/api/spec.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/api/spec.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
=============
OpenAPI Specs
=============
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/conf.py
new/jupyterlab_server-2.18.0/docs/source/conf.py
--- old/jupyterlab_server-2.17.0/docs/source/conf.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/conf.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
# Configuration file for the Sphinx documentation builder.
#
# This file only contains a selection of the most common options. For a full
@@ -20,23 +23,18 @@
HERE = osp.abspath(osp.dirname(__file__))
sys.path.insert(0, osp.join(HERE, "..", ".."))
+from jupyterlab_server import LabServerApp, _version # noqa
+
# -- Project information -----------------------------------------------------
project = "JupyterLab Server"
copyright = "2021, Project Jupyter" # noqa
author = "Project Jupyter"
-# The full version, including alpha/beta/rc tags
-_version_py = osp.join(HERE, "..", "..", "jupyterlab_server", "_version.py")
-version_ns = {}
-
-with open(_version_py) as version_file:
- exec(version_file.read(), version_ns) # noqa
-
# The short X.Y version.
-version = "%i.%i" % version_ns["version_info"][:2]
+version = "%i.%i" % _version.version_info[:2]
# The full version, including alpha/beta/rc tags.
-release = version_ns["__version__"]
+release = _version.__version__
# -- General configuration ---------------------------------------------------
@@ -54,6 +52,14 @@
"sphinx_copybutton",
]
+try:
+ import enchant # type:ignore # noqa
+
+ extensions += ["sphinxcontrib.spelling"]
+except ImportError:
+ pass
+
+
myst_enable_extensions = ["html_image"]
# Add any paths that contain templates here, relative to this directory.
@@ -90,9 +96,44 @@
# so disable
numpydoc_show_class_members = False
+config_header = """\
+.. _api-full-config:
+
+
+Config file and command line options
+====================================
+
+The JupyterLab Server can be run with a variety of command line arguments.
+A list of available options can be found below in the :ref:`options section
+<options>`.
+
+Defaults for these options can also be set by creating a file named
+``jupyter_jupyterlab_server_config.py`` in your Jupyter folder. The Jupyter
+folder is in your home directory, ``~/.jupyter``.
+
+To create a ``jupyter_jupyterlab_server_config.py`` file, with all the defaults
+commented out, you can use the following command line::
+
+ $ python -m jupyterlab_server --generate-config
+
+
+.. _options:
+
+Options
+-------
+
+This list of options can be generated by running the following and hitting
+enter::
+
+ $ python -m jupyterlab_server --help-all
+
+"""
+
def setup(app):
dest = osp.join(HERE, "changelog.md")
shutil.copy(osp.join(HERE, "..", "..", "CHANGELOG.md"), dest)
- with open(osp.join(HERE, "../autogen_config.py")) as f:
- exec(compile(f.read(), "../autogen_config.py", "exec"), {}) # noqa
+ destination = osp.join(HERE, "api/app-config.rst")
+ with open(destination, "w") as f:
+ f.write(config_header)
+ f.write(LabServerApp().document_config_options())
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/docs/source/index.rst
new/jupyterlab_server-2.18.0/docs/source/index.rst
--- old/jupyterlab_server-2.17.0/docs/source/index.rst 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/docs/source/index.rst 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+.. Copyright (c) Jupyter Development Team.
+.. Distributed under the terms of the Modified BSD License.
+
.. jupyterlab_server documentation master file, created by
sphinx-quickstart on Tue Mar 30 03:25:58 2021.
You can adapt this file completely to your liking, but it should at least
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/__main__.py
new/jupyterlab_server-2.18.0/jupyterlab_server/__main__.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/__main__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/__main__.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""CLI entry point for jupyterlab server."""
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/_version.py
new/jupyterlab_server-2.18.0/jupyterlab_server/_version.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/_version.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/_version.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,10 +1,13 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""
store the current version info of the server.
"""
import re
-__version__ = "2.17.0"
+__version__ = "2.18.0"
# Build up version_info tuple for backwards compatibility
pattern = r"(?P<major>\d+).(?P<minor>\d+).(?P<patch>\d+)(?P<rest>.*)"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/handlers.py
new/jupyterlab_server-2.18.0/jupyterlab_server/handlers.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/handlers.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/handlers.py 2020-02-02
01:00:00.000000000 +0100
@@ -3,6 +3,7 @@
# Copyright (c) Jupyter Development Team.
# Distributed under the terms of the Modified BSD License.
import os
+import pathlib
import warnings
from functools import lru_cache
from urllib.parse import urlparse
@@ -84,16 +85,23 @@
page_config["store_id"] = self.application.store_id # type:ignore
server_root = os.path.normpath(os.path.expanduser(server_root))
+ preferred_path = ""
try:
- # Remove the server_root from pref dir
- if self.serverapp.preferred_dir != server_root:
- page_config["preferredPath"] = "/" + os.path.relpath(
- self.serverapp.preferred_dir, server_root
- )
- else:
- page_config["preferredPath"] = "/"
+ preferred_path = self.serverapp.contents_manager.preferred_dir
except Exception:
- page_config["preferredPath"] = "/"
+ # FIXME: Remove fallback once CM.preferred_dir is ubiquitous.
+ try:
+ # Remove the server_root from app pref dir
+ if self.serverapp.preferred_dir and
self.serverapp.preferred_dir != server_root:
+ preferred_path = (
+ pathlib.Path(self.serverapp.preferred_dir)
+ .relative_to(server_root)
+ .as_posix()
+ )
+ except Exception:
+ pass # we do not require the preferred_dir trait to be present
+ # JupyterLab relies on an unset/default path being "/"
+ page_config["preferredPath"] = preferred_path or "/"
self.application.store_id += 1 # type:ignore
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/licenses_app.py
new/jupyterlab_server-2.18.0/jupyterlab_server/licenses_app.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/licenses_app.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/licenses_app.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""A license reporting CLI
Mostly ready-to-use, the downstream must provide the location of the
application's
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/process_app.py
new/jupyterlab_server-2.18.0/jupyterlab_server/process_app.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/process_app.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/process_app.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""A lab app that runs a sub process for a demo or a test."""
import sys
@@ -20,7 +23,7 @@
"""Get the command and kwargs to run with `Process`.
This is intended to be overridden.
"""
- return ["python", "--version"], {}
+ return [sys.executable, "--version"], {}
def initialize_settings(self):
"""Start the application."""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/pytest_plugin.py
new/jupyterlab_server-2.18.0/jupyterlab_server/pytest_plugin.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/pytest_plugin.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/pytest_plugin.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""pytest fixtures."""
import json
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/jupyterlab_server/server.py
new/jupyterlab_server-2.18.0/jupyterlab_server/server.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/server.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/server.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Server api."""
from jupyter_server import _tz as tz # noqa
from jupyter_server.base.handlers import (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/jupyterlab_server/spec.py
new/jupyterlab_server-2.18.0/jupyterlab_server/spec.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/spec.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/spec.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""OpenAPI spec utils."""
import os
import typing
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/templates/403.html
new/jupyterlab_server-2.18.0/jupyterlab_server/templates/403.html
--- old/jupyterlab_server-2.17.0/jupyterlab_server/templates/403.html
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/templates/403.html
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) Jupyter Development Team.
+ ~ Distributed under the terms of the Modified BSD License.
+-->
+
<!DOCTYPE html>
<html>
<head>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/templates/index.html
new/jupyterlab_server-2.18.0/jupyterlab_server/templates/index.html
--- old/jupyterlab_server-2.17.0/jupyterlab_server/templates/index.html
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/templates/index.html
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,8 @@
+<!--
+ ~ Copyright (c) Jupyter Development Team.
+ ~ Distributed under the terms of the Modified BSD License.
+-->
+
<!DOCTYPE html>
<html lang="en">
<head>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/test_utils.py
new/jupyterlab_server-2.18.0/jupyterlab_server/test_utils.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/test_utils.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/test_utils.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Testing utils."""
import json
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/translation_utils.py
new/jupyterlab_server-2.18.0/jupyterlab_server/translation_utils.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/translation_utils.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/translation_utils.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""
Localization utilities to find available language packs and packages with
localization data.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/jupyterlab_server/workspaces_app.py
new/jupyterlab_server-2.18.0/jupyterlab_server/workspaces_app.py
--- old/jupyterlab_server-2.17.0/jupyterlab_server/workspaces_app.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/jupyterlab_server/workspaces_app.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""A workspace management CLI"""
import json
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/pyproject.toml
new/jupyterlab_server-2.18.0/pyproject.toml
--- old/jupyterlab_server-2.17.0/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
+++ new/jupyterlab_server-2.18.0/pyproject.toml 2020-02-02 01:00:00.000000000
+0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
[build-system]
requires = ["hatchling>=1.5"]
build-backend = "hatchling.build"
@@ -69,7 +72,7 @@
test = [
"codecov",
"ipykernel",
- "pytest-jupyter[server]>=0.6",
+ "pytest-jupyter[server]>=0.6.2",
"jupyterlab_server[openapi]",
"openapi-spec-validator>=0.5.1",
"sphinxcontrib_spelling",
@@ -143,6 +146,7 @@
"module:make_current is deprecated:DeprecationWarning",
"module:clear_current is deprecated:DeprecationWarning",
"module:There is no current event loop:DeprecationWarning",
+ "ignore:ServerApp.preferred_dir config is deprecated:FutureWarning",
"ignore:Passing a schema to Validator.iter_errors:DeprecationWarning",
"module:Subclassing validator classes is not intended to be part of their
public API:DeprecationWarning"
]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/__init__.py
new/jupyterlab_server-2.18.0/tests/__init__.py
--- old/jupyterlab_server-2.17.0/tests/__init__.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/__init__.py 2020-02-02
01:00:00.000000000 +0100
@@ -0,0 +1,2 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/conftest.py
new/jupyterlab_server-2.18.0/tests/conftest.py
--- old/jupyterlab_server-2.17.0/tests/conftest.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/conftest.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import os
os.environ["JUPYTER_PLATFORM_DIRS"] = "1"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_config.py
new/jupyterlab_server-2.18.0/tests/test_config.py
--- old/jupyterlab_server-2.17.0/tests/test_config.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_config.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import json
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_labapp.py
new/jupyterlab_server-2.18.0/tests/test_labapp.py
--- old/jupyterlab_server-2.17.0/tests/test_labapp.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_labapp.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,6 +1,13 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Basic tests for the lab handlers.
"""
+import json
+import re
+from pathlib import Path
+
import pytest
import tornado.httpclient
@@ -19,6 +26,17 @@
return nbpaths
+def extract_page_config(html):
+ return json.loads(
+ re.search(
+ r'<script id="jupyter-config-data"
type="application/json">\s*(?P<data>.*?)\s*</script>',
+ html,
+ ).group( # type: ignore
+ 'data'
+ )
+ )
+
+
async def test_lab_handler(notebooks, jp_fetch):
r = await jp_fetch("lab", "jlab_test_notebooks")
assert r.code == 200
@@ -28,6 +46,94 @@
assert "JupyterLab Server Application" in html
+async def test_page_config(labserverapp, jp_fetch):
+ r = await jp_fetch("lab")
+ assert r.code == 200
+ # Check that the lab template is loaded
+ html = r.body.decode()
+ page_config = extract_page_config(html)
+ assert page_config['treePath'] == ""
+ assert page_config['preferredPath'] == "/"
+
+ def ispath(p):
+ return p.endswith("Dir") or p.endswith("Path") or p == "serverRoot"
+
+ nondirs = {k: v for k, v in page_config.items() if not ispath(k)}
+ assert nondirs == {
+ 'appName': 'JupyterLab Server Application',
+ 'appNamespace': 'jupyterlab_server',
+ 'appUrl': '/lab',
+ 'appVersion': '',
+ 'baseUrl': '/a%40b/',
+ 'cacheFiles': True,
+ 'disabledExtensions': [],
+ 'federated_extensions': [],
+ 'fullAppUrl': '/a%40b/lab',
+ 'fullLabextensionsUrl': '/a%40b/lab/extensions',
+ 'fullLicensesUrl': '/a%40b/lab/api/licenses',
+ 'fullListingsUrl': '/a%40b/lab/api/listings',
+ 'fullMathjaxUrl':
'https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js',
+ 'fullSettingsUrl': '/a%40b/lab/api/settings',
+ 'fullStaticUrl': '/a%40b/static/jupyterlab_server',
+ 'fullThemesUrl': '/a%40b/lab/api/themes',
+ 'fullTranslationsApiUrl': '/a%40b/lab/api/translations',
+ 'fullTreeUrl': '/a%40b/lab/tree',
+ 'fullWorkspacesApiUrl': '/a%40b/lab/api/workspaces',
+ 'ignorePlugins': [],
+ 'labextensionsUrl': '/lab/extensions',
+ 'licensesUrl': '/lab/api/licenses',
+ 'listingsUrl': '/lab/api/listings',
+ 'mathjaxConfig': 'TeX-AMS_HTML-full,Safe',
+ 'mode': 'multiple-document',
+ 'notebookStartsKernel': True,
+ 'settingsUrl': '/lab/api/settings',
+ 'store_id': 0,
+ 'terminalsAvailable': True,
+ 'themesUrl': '/lab/api/themes',
+ 'translationsApiUrl': '/lab/api/translations',
+ 'treeUrl': '/lab/tree',
+ 'workspace': 'default',
+ 'workspacesApiUrl': '/lab/api/workspaces',
+ 'wsUrl': '',
+ }
+
+
[email protected](scope="function")
+def serverapp_preferred_dir(jp_server_config, jp_root_dir):
+ preferred_dir = Path(jp_root_dir, "my", "preferred_dir")
+ preferred_dir.mkdir(parents=True, exist_ok=True)
+ jp_server_config.ServerApp.preferred_dir = str(preferred_dir)
+ return preferred_dir
+
+
+async def test_app_preferred_dir(serverapp_preferred_dir, labserverapp,
jp_fetch):
+ r = await jp_fetch("lab")
+ assert r.code == 200
+ # Check that the lab template is loaded
+ html = r.body.decode()
+ page_config = extract_page_config(html)
+ api_path =
str(serverapp_preferred_dir.relative_to(labserverapp.serverapp.root_dir).as_posix())
+ assert page_config['preferredPath'] == api_path
+
+
+async def test_contents_manager_preferred_dir(jp_root_dir, labserverapp,
jp_fetch):
+ preferred_dir = Path(jp_root_dir, "my", "preferred_dir")
+ preferred_dir.mkdir(parents=True, exist_ok=True)
+ try:
+ _ = labserverapp.serverapp.contents_manager.preferred_dir
+ labserverapp.serverapp.contents_manager.preferred_dir =
str(preferred_dir)
+ except AttributeError:
+ pytest.skip("Skipping contents manager test, trait not present")
+
+ r = await jp_fetch("lab")
+ assert r.code == 200
+ # Check that the lab template is loaded
+ html = r.body.decode()
+ page_config = extract_page_config(html)
+ api_path =
str(preferred_dir.relative_to(labserverapp.serverapp.root_dir).as_posix())
+ assert page_config['preferredPath'] == api_path
+
+
async def test_notebook_handler(notebooks, jp_fetch):
for nbpath in notebooks:
r = await jp_fetch("lab", nbpath)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_licenses_api.py
new/jupyterlab_server-2.18.0/tests/test_licenses_api.py
--- old/jupyterlab_server-2.17.0/tests/test_licenses_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_licenses_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Test the Settings service API.
"""
import csv
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_listings_api.py
new/jupyterlab_server-2.18.0/tests/test_listings_api.py
--- old/jupyterlab_server-2.17.0/tests/test_listings_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_listings_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import json
import requests_mock
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_process.py
new/jupyterlab_server-2.18.0/tests/test_process.py
--- old/jupyterlab_server-2.17.0/tests/test_process.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_process.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import os
import sys
import warnings
@@ -9,7 +12,7 @@
def test_which():
- assert which("python")
+ assert which("jupyter")
async def test_process():
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_settings_api.py
new/jupyterlab_server-2.18.0/tests/test_settings_api.py
--- old/jupyterlab_server-2.17.0/tests/test_settings_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_settings_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Test the Settings service API.
"""
import json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/jupyterlab_server-2.17.0/tests/test_themes_api.py
new/jupyterlab_server-2.18.0/tests/test_themes_api.py
--- old/jupyterlab_server-2.17.0/tests/test_themes_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_themes_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
from unittest.mock import Mock
from tornado.httpserver import HTTPRequest
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/test_translation_api.py
new/jupyterlab_server-2.18.0/tests/test_translation_api.py
--- old/jupyterlab_server-2.17.0/tests/test_translation_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_translation_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Test the translations service API."""
import json
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/test_translation_utils.py
new/jupyterlab_server-2.18.0/tests/test_translation_utils.py
--- old/jupyterlab_server-2.17.0/tests/test_translation_utils.py
2020-02-02 01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_translation_utils.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import sys
from jupyterlab_server.translation_utils import (
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/test_workspaces_api.py
new/jupyterlab_server-2.18.0/tests/test_workspaces_api.py
--- old/jupyterlab_server-2.17.0/tests/test_workspaces_api.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_workspaces_api.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
"""Test the kernels service API."""
import json
import os
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/test_workspaces_app.py
new/jupyterlab_server-2.18.0/tests/test_workspaces_app.py
--- old/jupyterlab_server-2.17.0/tests/test_workspaces_app.py 2020-02-02
01:00:00.000000000 +0100
+++ new/jupyterlab_server-2.18.0/tests/test_workspaces_app.py 2020-02-02
01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
import json
import os
import sys
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-language-pack-es_CO/jupyterlab_language_pack_es_CO/__init__.py
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-language-pack-es_CO/jupyterlab_language_pack_es_CO/__init__.py
---
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-language-pack-es_CO/jupyterlab_language_pack_es_CO/__init__.py
2020-02-02 01:00:00.000000000 +0100
+++
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-language-pack-es_CO/jupyterlab_language_pack_es_CO/__init__.py
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,2 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-language-pack-es_CO/setup.py
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-language-pack-es_CO/setup.py
---
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-language-pack-es_CO/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-language-pack-es_CO/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
from setuptools import setup
setup(
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-some-package/jupyterlab_some_package/__init__.py
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-some-package/jupyterlab_some_package/__init__.py
---
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-some-package/jupyterlab_some_package/__init__.py
2020-02-02 01:00:00.000000000 +0100
+++
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-some-package/jupyterlab_some_package/__init__.py
2020-02-02 01:00:00.000000000 +0100
@@ -0,0 +1,2 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-some-package/setup.py
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-some-package/setup.py
---
old/jupyterlab_server-2.17.0/tests/translations/jupyterlab-some-package/setup.py
2020-02-02 01:00:00.000000000 +0100
+++
new/jupyterlab_server-2.18.0/tests/translations/jupyterlab-some-package/setup.py
2020-02-02 01:00:00.000000000 +0100
@@ -1,3 +1,6 @@
+# Copyright (c) Jupyter Development Team.
+# Distributed under the terms of the Modified BSD License.
+
from setuptools import setup
setup(