Skip to content

Commit

Permalink
Update python-jupyterlab-server to version 2.24.0 / rev 6 via SR 1101421
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1101421
by user bnavigator + 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
  • Loading branch information
bnavigator authored and bmwiedemann committed Jul 31, 2023
1 parent cbb4ee8 commit e86fb26
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 5 deletions.
Binary file modified packages/p/python-jupyterlab-server/.files
Binary file not shown.
17 changes: 17 additions & 0 deletions packages/p/python-jupyterlab-server/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,21 @@
- Make sure to supply the language test packages for tests</comment>
<requestid>1092975</requestid>
</revision>
<revision rev="6" vrev="1">
<srcmd5>02174a9d47fd304ac8a3fdbf3ff587fd</srcmd5>
<version>2.24.0</version>
<time>1690809871</time>
<user>maxlin_factory</user>
<comment>- 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
</comment>
<requestid>1101421</requestid>
</revision>
</revisionlist>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sun Jul 30 15:55:31 UTC 2023 - Ben Greiner <code@bnavigator.de>

- Drop jupyterlab_server-ignore-jsonschema-deprecation.patch

-------------------------------------------------------------------
Sat Jul 29 22:10:28 UTC 2023 - Ben Greiner <code@bnavigator.de>

- 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 <code@bnavigator.de>

- Raise upper pin for openapi-spec-validator
* gh#jupyterlab/jupyterlab_server#403

-------------------------------------------------------------------
Tue Jun 13 17:56:08 UTC 2023 - Ben Greiner <code@bnavigator.de>

Expand Down
21 changes: 17 additions & 4 deletions packages/p/python-jupyterlab-server/python-jupyterlab-server.spec
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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 \
Expand All @@ -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

Expand All @@ -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

0 comments on commit e86fb26

Please sign in to comment.