- Update to 2.1.1
* Fix dict type for python 3.8 #252 (@davidbrochart) * Add undo_manager to Y documents (#248) #251 (@davidbrochart) OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=21
This commit is contained in:
commit
23f2525790
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
19
create_node_modules.sh
Normal file
19
create_node_modules.sh
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# Script to create node_modules.tar.xz for the tests.
|
||||||
|
# Adapted from .github/workflows/test.yml
|
||||||
|
# Execute this in an extracted github archive/cloned repository
|
||||||
|
# Note: The pathname MUST NOT include any ':' as is common
|
||||||
|
# in checked out obs package directories.
|
||||||
|
|
||||||
|
# requires: yarn
|
||||||
|
|
||||||
|
pushd javascript
|
||||||
|
yarn
|
||||||
|
yarn build
|
||||||
|
popd
|
||||||
|
|
||||||
|
tar cJf node_modules.tar.xz \
|
||||||
|
node_modules \
|
||||||
|
javascript/lib \
|
||||||
|
javascript/tsconfig.tsbuildinfo
|
3
jupyter_ydoc-2.0.1-gh.tar.gz
Normal file
3
jupyter_ydoc-2.0.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:ac00f86169bad49ebb985abf612d34bd85ec7e26182427c40e4f766f289ef9a7
|
||||||
|
size 984325
|
3
jupyter_ydoc-2.0.1.tar.gz
Normal file
3
jupyter_ydoc-2.0.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:716dda8cb8af881fec2fbc88aea3fb0d3bb24bbeb80a99a8aff2e01d089d5b0d
|
||||||
|
size 954635
|
3
jupyter_ydoc-2.1.1-gh.tar.gz
Normal file
3
jupyter_ydoc-2.1.1-gh.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c319c72573c7a59fb937fa800e1267a13562b176214abba7898dbc036deab4e5
|
||||||
|
size 984836
|
3
jupyter_ydoc-2.1.1.tar.gz
Normal file
3
jupyter_ydoc-2.1.1.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:1dcbf13861b3678000d69af4ef38b49e3a12f8081ba851c680393c2e18bc4b84
|
||||||
|
size 955072
|
3
node_modules.tar.xz
Normal file
3
node_modules.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:75cb23062511715895b4afd6b42422553f77a97e2e09c31f008aef3e8a3e46e3
|
||||||
|
size 18480464
|
101
python-jupyter-ydoc.changes
Normal file
101
python-jupyter-ydoc.changes
Normal file
@ -0,0 +1,101 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 30 11:06:24 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.1.1
|
||||||
|
* Fix dict type for python 3.8 #252 (@davidbrochart)
|
||||||
|
* Add undo_manager to Y documents (#248) #251 (@davidbrochart)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jan 22 18:57:38 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 2.0.1
|
||||||
|
* Update pycrdt v0.8 #208 (@davidbrochart)
|
||||||
|
- Release 2.0.0
|
||||||
|
* Use pycrdt instead of y-py #194 (@davidbrochart)
|
||||||
|
- Ignore that pycrdt is still in incubation phase
|
||||||
|
gh#jupyter-server/jupyter_ydoc#211
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
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>
|
||||||
|
|
||||||
|
- Update to 1.1.1
|
||||||
|
* Fix joining of source when source is an array of strings #186
|
||||||
|
(@jtpio)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Sep 24 18:39:04 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 1.1.0
|
||||||
|
* Add source to dist for sourcemaps #182 (@vidartf)
|
||||||
|
* Create awareness interface #171 (@hbcarlos)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Jun 13 20:44:17 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Kill nodejs in between pytest runs
|
||||||
|
gh#jupyter-server/jupyter_ydoc#168
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Jun 11 21:02:51 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 1.0.2
|
||||||
|
* Trust the default cell #161 (@krassowski)
|
||||||
|
- Releases 1.0.0, 1.0.1
|
||||||
|
* Fix metadata issue #158 (@hbcarlos)
|
||||||
|
* Add py.typed #152 (@davidbrochart)
|
||||||
|
* Add model version #139 (@davidbrochart)
|
||||||
|
- Release 0.3.x
|
||||||
|
* Fix notebook undo scope #148 (@fcollonval)
|
||||||
|
* Update YDocument constructor #142 (@trungleduc)
|
||||||
|
* Add ycells getter #136 (@davidbrochart)
|
||||||
|
* Split documents into separate files #135 (@davidbrochart)
|
||||||
|
* Fixes handling metadata changes #134 (@hbcarlos)
|
||||||
|
* Improves the initialization #124 (@hbcarlos)
|
||||||
|
* Improve Python API #122 (@davidbrochart)
|
||||||
|
* Notebook metadata #115 (@hbcarlos)
|
||||||
|
* Make YDocument a IObservableDisposable #108 (@fcollonval)
|
||||||
|
* Add readme to javascript package #106 (@fcollonval)
|
||||||
|
* Adds docstring to the python package #101 (@hbcarlos)
|
||||||
|
* Import shared model #86 (@fcollonval)
|
||||||
|
* Add path document attribute #81 (@davidbrochart)
|
||||||
|
* Make YBaseDoc an abstract base class #74 (@davidbrochart)
|
||||||
|
* Fixes multiple bugs #131 (@hbcarlos)
|
||||||
|
* Fixes metadata #120 (@hbcarlos)
|
||||||
|
* Support cell.source is [list, of, string] #112 (@Wh1isper)
|
||||||
|
* Removes YMap for attachements #77 (@fcollonval)
|
||||||
|
* Drop pkg_resources #59 (@jtpio)
|
||||||
|
* Remove factory API #133 (@hbcarlos)
|
||||||
|
* Import shared model #86 (@fcollonval)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Apr 24 19:25:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Update to 0.2.4
|
||||||
|
* Fix metadata issue #158 (@hbcarlos)
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Mar 19 17:05:44 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Downgrade to 0.2.3
|
||||||
|
* Rename JS package to @jupyter/ydoc #97 (@jtpio)
|
||||||
|
- Released as patch release for 0.2 branch
|
||||||
|
* jupyterlab 3.6 requires ydoc~=0.2.2
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 12 18:03:36 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Provide underscore name
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Feb 5 16:52:33 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
- Initial specfile for v0.3.1
|
||||||
|
- Required by jupyterlab 3.6
|
||||||
|
- Provide node_modules.tar.xz generated by create_node_modules.sh
|
||||||
|
for the tests. Those modules are not part of the python package
|
80
python-jupyter-ydoc.spec
Normal file
80
python-jupyter-ydoc.spec
Normal file
@ -0,0 +1,80 @@
|
|||||||
|
#
|
||||||
|
# spec file for package python-jupyter-ydoc
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
Name: python-jupyter-ydoc
|
||||||
|
Version: 2.1.1
|
||||||
|
Release: 0
|
||||||
|
Summary: Document structures for collaborative editing using Ypy
|
||||||
|
License: BSD-3-Clause
|
||||||
|
URL: https://github.com/jupyter-server/jupyter_ydoc
|
||||||
|
# Versioned sdist
|
||||||
|
Source0: https://files.pythonhosted.org/packages/source/j/jupyter-ydoc/jupyter_ydoc-%{version}.tar.gz
|
||||||
|
# unversioned, but tests
|
||||||
|
Source1: https://github.com/jupyter-server/jupyter_ydoc/archive/refs/tags/v%{version}.tar.gz#/jupyter_ydoc-%{version}-gh.tar.gz
|
||||||
|
Source2: node_modules.tar.xz
|
||||||
|
# Execute this on every package update. See comments in the script.
|
||||||
|
Source3: create_node_modules.sh
|
||||||
|
BuildRequires: %{python_module base >= 3.7}
|
||||||
|
BuildRequires: %{python_module hatch_nodejs_version}
|
||||||
|
BuildRequires: %{python_module hatchling >= 1.10}
|
||||||
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: fdupes
|
||||||
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: (python-importlib-metadata >= 3.6 if python-base < 3.10)
|
||||||
|
Requires: (python-pycrdt >= 0.9 with python-pycrdt < 0.10)
|
||||||
|
Provides: python-jupyter_ydoc = %{version}-%{release}
|
||||||
|
BuildArch: noarch
|
||||||
|
# SECTION test
|
||||||
|
BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10}
|
||||||
|
BuildRequires: %{python_module pycrdt >= 0.9 with %python-pycrdt < 0.10}
|
||||||
|
BuildRequires: %{python_module pycrdt-websocket >= 0.14.1 with %python-pycrdt-websocket < 0.15}
|
||||||
|
BuildRequires: %{python_module pytest-asyncio}
|
||||||
|
BuildRequires: %{python_module pytest}
|
||||||
|
BuildRequires: %{python_module websockets >= 10.0}
|
||||||
|
BuildRequires: nodejs
|
||||||
|
BuildRequires: procps
|
||||||
|
BuildRequires: yarn
|
||||||
|
# /SECTION
|
||||||
|
%python_subpackages
|
||||||
|
|
||||||
|
%description
|
||||||
|
Ypy-based data structures for various documents used in the Jupyter ecosystem.
|
||||||
|
Built-in documents include:
|
||||||
|
- `YBlob`: a generic immutable binary document.
|
||||||
|
- `YUnicode`: a generic UTF8-encoded text document (`YFile` is an alias to `YUnicode`).
|
||||||
|
- `YNotebook`: a Jupyter notebook document.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n jupyter_ydoc-%{version} -b1 -a2
|
||||||
|
|
||||||
|
%build
|
||||||
|
%pyproject_wheel
|
||||||
|
|
||||||
|
%install
|
||||||
|
%pyproject_install
|
||||||
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
|
|
||||||
|
%check
|
||||||
|
# https://github.com/jupyter-server/jupyter_ydoc/issues/168
|
||||||
|
%pytest -v && pkill -f yjs_client_0.js -e
|
||||||
|
|
||||||
|
%files %{python_files}
|
||||||
|
%{python_sitelib}/jupyter_ydoc
|
||||||
|
%{python_sitelib}/jupyter_ydoc-%{version}.dist-info
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user