1
0

Compare commits

11 Commits

Author SHA256 Message Date
bdb9ccfb0b Accepting request 1287608 from devel:languages:python:jupyter
- Update to 2.16.0
  ## Enhancements made
  * If ServerApp.ip is ipv6 use [::1] as local_url #1495 (@manics)
  * Don't hide .so,.dylib files by default #1457 (@nokados)
  * Add async start hook to ExtensionApp API #1417 (@Zsailer)
  ## Bugs fixed
  * Update meetings notes link and zoom link #1517 (@krassowski)
  * Fallback to direct write for readonly dirs and use temp path
    for checkpoints #1516 (@Darshan808)
  * Check file permissions before making tmp file #1513 (@RRosio)
  * Validate extension name before toggling through CLI #1509
    (@Darshan808)
  * Fix for #1479 : Incorrect usage of i18n format #1500 (@kjayan)
  * Fix handling of missing parent header in record activity #1498
    (@davidbrochart)
  * display_url: Don't duplicate public_url and local_url if they
    are the same #1494 (@manics)
- Release 2.15.0
  ## Enhancements made
  * Better error message when starting kernel for session. #1478
    (@Carreau)
  * Add a traitlet to disable recording HTTP request metrics #1472
    (@yuvipanda)
  * prometheus: Expose 3 activity metrics #1471 (@yuvipanda)
  * Add prometheus info metrics listing server extensions +
    versions #1470 (@yuvipanda)
  * Add prometheus metric with version information #1467
    (@yuvipanda)
  * Better hash format error message #1442 (@fcollonval)
  ## Bugs fixed

OBS-URL: https://build.opensuse.org/request/show/1287608
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=45
2025-06-23 12:56:34 +00:00
72e78b0b44 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=103
2025-06-21 19:35:50 +00:00
db56aa3f05 - Enable integration tests, disable xdist -n1
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=102
2025-06-21 18:11:25 +00:00
e69cd6ac72 - Update to 2.16.0
## Enhancements made
  * If ServerApp.ip is ipv6 use [::1] as local_url #1495 (@manics)
  * Don't hide .so,.dylib files by default #1457 (@nokados)
  * Add async start hook to ExtensionApp API #1417 (@Zsailer)
  ## Bugs fixed
  * Update meetings notes link and zoom link #1517 (@krassowski)
  * Fallback to direct write for readonly dirs and use temp path
    for checkpoints #1516 (@Darshan808)
  * Check file permissions before making tmp file #1513 (@RRosio)
  * Validate extension name before toggling through CLI #1509
    (@Darshan808)
  * Fix for #1479 : Incorrect usage of i18n format #1500 (@kjayan)
  * Fix handling of missing parent header in record activity #1498
    (@davidbrochart)
  * display_url: Don't duplicate public_url and local_url if they
    are the same #1494 (@manics)
- Release 2.15.0
  ## Enhancements made
  * Better error message when starting kernel for session. #1478
    (@Carreau)
  * Add a traitlet to disable recording HTTP request metrics #1472
    (@yuvipanda)
  * prometheus: Expose 3 activity metrics #1471 (@yuvipanda)
  * Add prometheus info metrics listing server extensions +
    versions #1470 (@yuvipanda)
  * Add prometheus metric with version information #1467
    (@yuvipanda)
  * Better hash format error message #1442 (@fcollonval)
  ## Bugs fixed

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=101
2025-06-21 17:38:12 +00:00
5e4d5d964f Accepting request 1248945 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1248945
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=44
2025-02-27 13:51:21 +00:00
7cabb46e53 - Add %{?sle15_python_module_pythons}
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=99
2025-02-27 11:24:18 +00:00
91639394f2 Accepting request 1225677 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1225677
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=43
2024-11-24 10:04:04 +00:00
03cd16bc08 - Add ignore-PytestUnraisableExceptionWarning.patch to get over
(misleading?) ResourceWarning concerning SQLite unclosed
  database (gh#jupyter-server/jupyter_server#1387).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=97
2024-11-21 22:31:49 +00:00
49451a075d Accepting request 1201265 from devel:languages:python:jupyter
- Update to 2.14.2
  * Pass session_id during Websocket connect #1440 (@gogasca)
  * Do not log environment variables passed to kernels #1437
    (@krassowski)
- Release 2.14.1
  ## Enhancements made
  * Removing excessive logging from reading local files #1420
    (@lresende)
  ## Security Fix
  * Filefind: avoid handling absolute paths
- Release 2.14.0
  ## Enhancements made
  * Do not include token in dashboard link, when available #1406
    (@minrk)
  ## Bugs fixed
  * Ignore zero-length page_config.json, restore previous behavior
    of crashing for invalid JSON #1405 (@holzman)
  * Don't crash on invalid JSON in page_config (#1403) #1404
    (@holzman)

OBS-URL: https://build.opensuse.org/request/show/1201265
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-server?expand=0&rev=42
2024-09-16 15:42:42 +00:00
b9a1e07df8 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=95
2024-09-15 16:11:43 +00:00
0c2727d2c9 - Update to 2.14.2
* Pass session_id during Websocket connect #1440 (@gogasca)
  * Do not log environment variables passed to kernels #1437
    (@krassowski)
- Release 2.14.1
  ## Enhancements made
  * Removing excessive logging from reading local files #1420
    (@lresende)
  ## Security Fix
  * Filefind: avoid handling absolute paths
- Release 2.14.0
  ## Enhancements made
  * Do not include token in dashboard link, when available #1406
    (@minrk)
  ## Bugs fixed
  * Ignore zero-length page_config.json, restore previous behavior
    of crashing for invalid JSON #1405 (@holzman)
  * Don't crash on invalid JSON in page_config (#1403) #1404
    (@holzman)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-server?expand=0&rev=94
2024-09-15 16:10:57 +00:00
4 changed files with 104 additions and 18 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c80bfb049ea20053c3d9641c2add4848b38073bf79f1729cea1faed32fc1c78e
size 718244

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:65d4b44fdf2dcbbdfe0aa1ace4a842d4aaf746a2b7b168134d5aaed35621b7f6
size 728177

View File

@@ -1,3 +1,86 @@
-------------------------------------------------------------------
Sat Jun 21 17:32:47 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 2.16.0
## Enhancements made
* If ServerApp.ip is ipv6 use [::1] as local_url #1495 (@manics)
* Don't hide .so,.dylib files by default #1457 (@nokados)
* Add async start hook to ExtensionApp API #1417 (@Zsailer)
## Bugs fixed
* Update meetings notes link and zoom link #1517 (@krassowski)
* Fallback to direct write for readonly dirs and use temp path
for checkpoints #1516 (@Darshan808)
* Check file permissions before making tmp file #1513 (@RRosio)
* Validate extension name before toggling through CLI #1509
(@Darshan808)
* Fix for #1479 : Incorrect usage of i18n format #1500 (@kjayan)
* Fix handling of missing parent header in record activity #1498
(@davidbrochart)
* display_url: Don't duplicate public_url and local_url if they
are the same #1494 (@manics)
- Release 2.15.0
## Enhancements made
* Better error message when starting kernel for session. #1478
(@Carreau)
* Add a traitlet to disable recording HTTP request metrics #1472
(@yuvipanda)
* prometheus: Expose 3 activity metrics #1471 (@yuvipanda)
* Add prometheus info metrics listing server extensions +
versions #1470 (@yuvipanda)
* Add prometheus metric with version information #1467
(@yuvipanda)
* Better hash format error message #1442 (@fcollonval)
## Bugs fixed
* Return HTTP 400 when attempting to post an event with an
unregistered schema #1463 (@afshin)
* write server extension list to stdout #1451 (@minrk)
* don't let ExtensionApp jpserver_extensions be overridden by
config #1447 (@minrk)
* Pass session_id during Websocket connect #1440 (@gogasca)
* Do not log environment variables passed to kernels #1437
(@krassowski)
* extensions: render default templates with default static_url
#1435 (@minrk)
* Improve the busy/idle execution state tracking for kernels.
#1429 (@ojarjur)
- Drop ignore-PytestUnraisableExceptionWarning.patch
- Enable integration tests, disable xdist -n1
-------------------------------------------------------------------
Thu Feb 27 11:08:18 UTC 2025 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Wed Nov 20 14:17:42 UTC 2024 - Matej Cepl <mcepl@cepl.eu>
- Add ignore-PytestUnraisableExceptionWarning.patch to get over
(misleading?) ResourceWarning concerning SQLite unclosed
database (gh#jupyter-server/jupyter_server#1387).
-------------------------------------------------------------------
Sun Sep 15 16:05:49 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 2.14.2
* Pass session_id during Websocket connect #1440 (@gogasca)
* Do not log environment variables passed to kernels #1437
(@krassowski)
- Release 2.14.1
## Enhancements made
* Removing excessive logging from reading local files #1420
(@lresende)
## Security Fix
* Filefind: avoid handling absolute paths
- Release 2.14.0
## Enhancements made
* Do not include token in dashboard link, when available #1406
(@minrk)
## Bugs fixed
* Ignore zero-length page_config.json, restore previous behavior
of crashing for invalid JSON #1405 (@holzman)
* Don't crash on invalid JSON in page_config (#1403) #1404
(@holzman)
-------------------------------------------------------------------
Fri Mar 8 14:04:13 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-server
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,6 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%define skip_python39 1
%bcond_without test
%else
%define psuffix %{nil}
@@ -32,8 +31,9 @@
%bcond_with libalternatives
%endif
%{?sle15_python_module_pythons}
Name: python-jupyter-server%{psuffix}
Version: 2.13.0
Version: 2.16.0
Release: 0
Summary: The backend to Jupyter web applications
License: BSD-3-Clause
@@ -50,29 +50,29 @@ BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python >= 3.8
Requires: python-Jinja2
Requires: python-Jinja2 >= 3.0.3
Requires: python-Send2Trash >= 1.8.2
Requires: python-anyio >= 3.1.0
Requires: python-argon2-cffi
Requires: python-argon2-cffi >= 21.1
Requires: python-jupyter-client >= 7.4.4
Requires: python-jupyter_events >= 0.9.0
Requires: python-jupyter_server_terminals
Requires: python-jupyter_events >= 0.11.0
Requires: python-jupyter_server_terminals >= 0.4.4
Requires: python-nbconvert >= 6.4.4
Requires: python-nbformat >= 5.3.0
Requires: python-overrides
Requires: python-packaging
Requires: python-prometheus_client
Requires: python-overrides >= 5.0
Requires: python-packaging >= 22
Requires: python-prometheus_client >= 0.9
Requires: python-pyzmq >= 24
Requires: python-terminado >= 0.8.3
Requires: python-tornado >= 6.2
Requires: python-traitlets >= 5.6
Requires: python-websocket-client
Requires: python-websocket-client >= 1.7
Requires: ((python-jupyter-core >= 4.12 with python-jupyter-core < 5.0) or python-jupyter-core >= 5.1)
Provides: python-jupyter_server = %{version}-%{release}
Obsoletes: python-jupyter_server < %{version}-%{release}
%if %{with test}
BuildRequires: %{python_module jupyter-server-test = %{version}}
BuildRequires: %{python_module pytest-xdist}
BuildRequires: pandoc
%endif
%if %{with libalternatives}
BuildRequires: alts
@@ -110,7 +110,7 @@ Requires: python-requests
Metapackage for the jupyter_server[test] requirement specifier
%prep
%setup -q -n jupyter_server-%{version}
%autosetup -p1 -n jupyter_server-%{version}
sed -i pyproject.toml \
-e 's/, "--color=yes"//' \
-e '/filterwarnings/,/]/ {/error/ a \ "ignore:Module already imported so cannot be rewritten",
@@ -133,8 +133,11 @@ if [ -e ~/.local/share/jupyter ]; then
echo "WARNING: Not a clean test environment."
echo "You might need to delete ~/.local/share/jupyter in order to avoid test failures."
fi
# pytest-xdist for process control so that the worker does not indefinitely hang after success, no parallel tests
%pytest --timeout 60 --force-flaky --max-runs=3 --no-flaky-report -n 1 -k "not test_restart_kernel"
# flaky
donttest="test_restart_kernel"
donttest="$donttest or test_execution_state"
%pytest -k "not ($donttest)"
%pytest --integration_tests=true -k "not ($donttest)"
%endif
%if ! %{with test}