1
0

Accepting request 1140304 from devel:languages:python:jupyter

OBS-URL: https://build.opensuse.org/request/show/1140304
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=7
This commit is contained in:
Ana Guerrero 2024-01-21 22:10:37 +00:00 committed by Git OBS Bridge
commit 9e29e96b64
2 changed files with 12 additions and 4 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sun Jan 21 13:17:27 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Disable tests for jupyter-collaboration and ypy-websocket
update gh#jupyter-server/jupyter_ydoc#211
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Oct 7 13:45:03 UTC 2023 - Ben Greiner <code@bnavigator.de> Sat Oct 7 13:45:03 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
# #
# spec file for package python-jupyter-ydoc # spec file for package python-jupyter-ydoc
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2024 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -16,6 +16,7 @@
# #
# Note: Don't update to v2 before jupyter-collaboration v2 is also production ready
Name: python-jupyter-ydoc Name: python-jupyter-ydoc
Version: 1.1.1 Version: 1.1.1
Release: 0 Release: 0
@ -45,7 +46,7 @@ BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module websockets >= 10.0} BuildRequires: %{python_module websockets >= 10.0}
BuildRequires: %{python_module y-py >= 0.6.0 with %python-y-py < 0.7.0} BuildRequires: %{python_module y-py >= 0.6.0 with %python-y-py < 0.7.0}
BuildRequires: %{python_module ypy-websocket >= 0.8.3 with %python-ypy-websocket < 0.9} #BuildRequires: %%{python_module ypy-websocket >= 0.8.3 with %%python-ypy-websocket < 0.9}
BuildRequires: nodejs BuildRequires: nodejs
BuildRequires: procps BuildRequires: procps
BuildRequires: yarn BuildRequires: yarn
@ -69,9 +70,10 @@ Built-in documents include:
%pyproject_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check # Disable tests: Requires old ypy-websocket: https://github.com/jupyter-server/jupyter_ydoc/issues/211
# %%check
# https://github.com/jupyter-server/jupyter_ydoc/issues/168 # https://github.com/jupyter-server/jupyter_ydoc/issues/168
%pytest -v && pkill -f yjs_client_0.js -e # %%pytest -v && pkill -f yjs_client_0.js -e
%files %{python_files} %files %{python_files}
%{python_sitelib}/jupyter_ydoc %{python_sitelib}/jupyter_ydoc