forked from pool/python-jupyter-ydoc
		
	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:
		@@ -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>
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -1,7 +1,7 @@
 | 
			
		||||
#
 | 
			
		||||
# 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
 | 
			
		||||
# 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
 | 
			
		||||
Version:        1.1.1
 | 
			
		||||
Release:        0
 | 
			
		||||
@@ -45,7 +46,7 @@ BuildRequires:  %{python_module pytest-asyncio}
 | 
			
		||||
BuildRequires:  %{python_module pytest}
 | 
			
		||||
BuildRequires:  %{python_module websockets >= 10.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:  procps
 | 
			
		||||
BuildRequires:  yarn
 | 
			
		||||
@@ -69,9 +70,10 @@ Built-in documents include:
 | 
			
		||||
%pyproject_install
 | 
			
		||||
%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
 | 
			
		||||
%pytest -v && pkill -f yjs_client_0.js -e
 | 
			
		||||
# %%pytest -v && pkill -f yjs_client_0.js -e
 | 
			
		||||
 | 
			
		||||
%files %{python_files}
 | 
			
		||||
%{python_sitelib}/jupyter_ydoc
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user