Compare commits

..

No commits in common. "factory" and "factory" have entirely different histories.

5 changed files with 13 additions and 62 deletions

View File

@ -1,16 +0,0 @@
---
pyproject.toml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -178,7 +178,8 @@ filterwarnings = [
"error",
"ignore:datetime.datetime.utc:DeprecationWarning",
"module:add_callback_from_signal is deprecated:DeprecationWarning",
- "ignore::jupyter_server.utils.JupyterServerAuthWarning"
+ "ignore::jupyter_server.utils.JupyterServerAuthWarning",
+ "ignore::pytest.PytestUnraisableExceptionWarning",
]
[tool.coverage.report]

View File

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

View File

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

View File

@ -1,33 +1,3 @@
-------------------------------------------------------------------
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

@ -19,6 +19,7 @@
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -test
%define skip_python39 1
%bcond_without test
%else
%define psuffix %{nil}
@ -32,7 +33,7 @@
%endif
Name: python-jupyter-server%{psuffix}
Version: 2.14.2
Version: 2.13.0
Release: 0
Summary: The backend to Jupyter web applications
License: BSD-3-Clause
@ -40,9 +41,6 @@ Group: Development/Languages/Python
URL: https://jupyter-server.readthedocs.io
# SourceRepository: https://github.com/jupyter-server/jupyter_server
Source: https://files.pythonhosted.org/packages/source/j/jupyter_server/jupyter_server-%{version}.tar.gz
# PATCH-FIX-UPSTREAM ignore-PytestUnraisableExceptionWarning.patch gh#jupyter-server/jupyter_server#1387 mcepl@suse.com
# ignore PytestUnraisableExceptionWarning (ResourceWarning: unclosed database in <sqlite3.Connection object at >)
Patch0: ignore-PytestUnraisableExceptionWarning.patch
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module hatch-jupyter-builder >= 0.8.1}
BuildRequires: %{python_module hatchling >= 1.11}
@ -52,30 +50,29 @@ BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros >= 20210929
Requires: python >= 3.8
Requires: python-Jinja2 >= 3.0.3
Requires: python-Jinja2
Requires: python-Send2Trash >= 1.8.2
Requires: python-anyio >= 3.1.0
Requires: python-argon2-cffi >= 21.1
Requires: python-argon2-cffi
Requires: python-jupyter-client >= 7.4.4
Requires: python-jupyter_events >= 0.9.0
Requires: python-jupyter_server_terminals >= 0.4.4
Requires: python-jupyter_server_terminals
Requires: python-nbconvert >= 6.4.4
Requires: python-nbformat >= 5.3.0
Requires: python-overrides >= 5.0
Requires: python-packaging >= 22
Requires: python-prometheus_client >= 0.9
Requires: python-overrides
Requires: python-packaging
Requires: python-prometheus_client
Requires: python-pyzmq >= 24
Requires: python-terminado >= 0.8.3
Requires: python-tornado >= 6.2
Requires: python-traitlets >= 5.6
Requires: python-websocket-client >= 1.7
Requires: python-websocket-client
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
@ -113,7 +110,7 @@ Requires: python-requests
Metapackage for the jupyter_server[test] requirement specifier
%prep
%autosetup -p1 -n jupyter_server-%{version}
%setup -q -n jupyter_server-%{version}
sed -i pyproject.toml \
-e 's/, "--color=yes"//' \
-e '/filterwarnings/,/]/ {/error/ a \ "ignore:Module already imported so cannot be rewritten",