diff --git a/packages/p/python-jupyterlab-server/.files b/packages/p/python-jupyterlab-server/.files
index 5f181b81a6d..3fe37382c3a 100644
Binary files a/packages/p/python-jupyterlab-server/.files and b/packages/p/python-jupyterlab-server/.files differ
diff --git a/packages/p/python-jupyterlab-server/.rev b/packages/p/python-jupyterlab-server/.rev
index e91c7f4f449..6e6bba636f8 100644
--- a/packages/p/python-jupyterlab-server/.rev
+++ b/packages/p/python-jupyterlab-server/.rev
@@ -54,4 +54,21 @@
- Make sure to supply the language test packages for tests
1092975
+
+ 02174a9d47fd304ac8a3fdbf3ff587fd
+ 2.24.0
+
+ maxlin_factory
+ - Drop jupyterlab_server-ignore-jsonschema-deprecation.patch
+- Update to 2.24.0
+ * add lab config for copy absolute path #405 (@pauky)
+ * Requirements updates
+- Disable openapi subpackage: gh#jupyterlab/jupyterlab_server#400
+- Ignore jsonschema deprecation
+ * Add jupyterlab_server-ignore-jsonschema-deprecation.patch
+- Raise upper pin for openapi-spec-validator
+ * gh#jupyterlab/jupyterlab_server#403
+
+ 1101421
+
diff --git a/packages/p/python-jupyterlab-server/jupyterlab_server-2.23.0.tar.gz b/packages/p/python-jupyterlab-server/jupyterlab_server-2.23.0.tar.gz
deleted file mode 120000
index a0cdb8e928e..00000000000
--- a/packages/p/python-jupyterlab-server/jupyterlab_server-2.23.0.tar.gz
+++ /dev/null
@@ -1 +0,0 @@
-/ipfs/bafkreiedyankjlmukhgwdm4d4y2nsop7oe4fb5debqafnmwnwk3ccgtuy4
\ No newline at end of file
diff --git a/packages/p/python-jupyterlab-server/jupyterlab_server-2.24.0.tar.gz b/packages/p/python-jupyterlab-server/jupyterlab_server-2.24.0.tar.gz
new file mode 120000
index 00000000000..9d81339f51e
--- /dev/null
+++ b/packages/p/python-jupyterlab-server/jupyterlab_server-2.24.0.tar.gz
@@ -0,0 +1 @@
+/ipfs/bafkreicon6m6bjkxto54glsetrg3wa4vmhkpdj4cpvltgjz62vttr4q7a4
\ No newline at end of file
diff --git a/packages/p/python-jupyterlab-server/python-jupyterlab-server.changes b/packages/p/python-jupyterlab-server/python-jupyterlab-server.changes
index a08d8022dc7..48d2e2750c2 100644
--- a/packages/p/python-jupyterlab-server/python-jupyterlab-server.changes
+++ b/packages/p/python-jupyterlab-server/python-jupyterlab-server.changes
@@ -1,3 +1,24 @@
+-------------------------------------------------------------------
+Sun Jul 30 15:55:31 UTC 2023 - Ben Greiner
+
+- Drop jupyterlab_server-ignore-jsonschema-deprecation.patch
+
+-------------------------------------------------------------------
+Sat Jul 29 22:10:28 UTC 2023 - Ben Greiner
+
+- Update to 2.24.0
+ * add lab config for copy absolute path #405 (@pauky)
+ * Requirements updates
+- Disable openapi subpackage: gh#jupyterlab/jupyterlab_server#400
+- Ignore jsonschema deprecation
+ * Add jupyterlab_server-ignore-jsonschema-deprecation.patch
+
+-------------------------------------------------------------------
+Thu Jul 20 07:07:33 UTC 2023 - Ben Greiner
+
+- Raise upper pin for openapi-spec-validator
+ * gh#jupyterlab/jupyterlab_server#403
+
-------------------------------------------------------------------
Tue Jun 13 17:56:08 UTC 2023 - Ben Greiner
diff --git a/packages/p/python-jupyterlab-server/python-jupyterlab-server.spec b/packages/p/python-jupyterlab-server/python-jupyterlab-server.spec
index 9b19bf2f8c6..6f8be7c2980 100644
--- a/packages/p/python-jupyterlab-server/python-jupyterlab-server.spec
+++ b/packages/p/python-jupyterlab-server/python-jupyterlab-server.spec
@@ -25,8 +25,10 @@
%bcond_with test
%endif
+# https://github.com/jupyterlab/jupyterlab_server/issues/400
+%bcond_with openapi
Name: python-jupyterlab-server%{psuffix}
-Version: 2.23.0
+Version: 2.24.0
Release: 0
Summary: Server components for JupyterLab and JupyterLab-like applications
License: BSD-3-Clause
@@ -85,15 +87,16 @@ limited scope.
Summary: The jupyterlab_server[test] requirements
Requires: python-Werkzeug
Requires: python-ipykernel
-Requires: python-jupyterlab-server-openapi = %{version}
Requires: python-pytest >= 7
Requires: python-pytest-console-scripts
Requires: python-pytest-jupyter-server >= 0.6.2
Requires: python-pytest-timeout
Requires: python-requests-mock
-Requires: (python-openapi-spec-validator >= 0.5.1 with python-openapi-spec-validator < 0.6)
+Requires: (python-openapi-spec-validator >= 0.5.1 with python-openapi-spec-validator < 0.7)
#Requires: python-sphinxcontrib-spelling
Requires: python-strict-rfc3339
+Requires: python-jupyterlab-server = %{version}
+%{?_with_openapi:Requires: python-jupyterlab-server-openapi = %{version}}
%description test
Metapackage for the jupyterlab_server[test] requirement specifier
@@ -124,6 +127,14 @@ sed -i 's/--color=yes//' pyproject.toml
%if %{with test}
%check
export PYTHONDONTWRITEBYTECODE=1
+%if !%{with openapi}
+ignoretests=" --ignore tests/test_labapp.py"
+ignoretests+=" --ignore tests/test_listings_api.py"
+ignoretests+=" --ignore tests/test_settings_api.py"
+ignoretests+=" --ignore tests/test_themes_api.py"
+ignoretests+=" --ignore tests/test_translation_api.py"
+ignoretests+=" --ignore tests/test_workspaces_api.py"
+%endif
%{python_expand # https://github.com/jupyterlab/jupyterlab_server/issues/390
$python -m venv build/testenv --system-site-packages
for p in \
@@ -132,7 +143,7 @@ for p in \
do
build/testenv/bin/pip install --use-pep517 --no-build-isolation --disable-pip-version-check $p
done
-build/testenv/bin/python -m pytest -v
+build/testenv/bin/python -m pytest -v $ignoretests
}
%endif
@@ -146,8 +157,10 @@ build/testenv/bin/python -m pytest -v
%files %{python_files test}
%license LICENSE
+%if %{with openapi}
%files %{python_files openapi}
%license LICENSE
%endif
+%endif
%changelog