Accepting request 1092712 from devel:languages:python:jupyter

- 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) (forwarded request 1092711 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1092712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=3
This commit is contained in:
Dominique Leuenberger 2023-06-13 14:09:48 +00:00 committed by Git OBS Bridge
commit af92513f52
8 changed files with 49 additions and 23 deletions

View File

@ -6,20 +6,14 @@
# Note: The pathname MUST NOT include any ':' as is common
# in checked out obs package directories.
# requires: yarn, npm
# requires: yarn
pushd javascript
yarn
yarn build
popd
pushd tests
npm install
popd
tar cJf node_modules.tar.xz \
yarn.lock \
node_modules \
tests/node_modules \
javascript/lib \
javascript/node_modules \
javascript/tsconfig.tsbuildinfo

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:352da590183c2523d07fccfc17102a3d96c696f92833336a6c3c9226553e540b
size 82605

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a3f670a69135e90493ffb91d6788efe2632bf42c6cc42a25f25c2e6eddd55a0e
size 64973

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ec9dde27fbd5ad3958f54ff62707c59a00d437fdffc405e5cad7abb8facba593
size 983893

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0f95bede3f1e081e07d5c57c03c658e3a5247e0ef18889074fbefa20dd3eca53
size 954386

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:40fa9b72d1dfe507a3848a5be96d551b8163bb9314eaed8d9c4db50126f3ca0a
size 15842064
oid sha256:f532516336ee8d8969e94ec7f1e86d24259bea6595064c6973697e4776b73d90
size 18244912

View File

@ -1,3 +1,35 @@
-------------------------------------------------------------------
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>

View File

@ -17,9 +17,7 @@
Name: python-jupyter-ydoc
# Don't update to >= 0.3 before jupyterlab and jupyter-collaboration release a new requirement
# jupyterlab 3.6 requires jupyter-ydoc~=0.2.3
Version: 0.2.4
Version: 1.0.2
Release: 0
Summary: Document structures for collaborative editing using Ypy
License: BSD-3-Clause
@ -33,12 +31,12 @@ Source2: node_modules.tar.xz
Source3: create_node_modules.sh
BuildRequires: %{python_module base >= 3.7}
BuildRequires: %{python_module hatch_nodejs_version}
BuildRequires: %{python_module hatchling}
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-y-py >= 0.5.3 with python-y-py < 0.6.0)
Requires: (python-y-py >= 0.6.0 with python-y-py < 0.7.0)
Provides: python-jupyter_ydoc = %{version}-%{release}
BuildArch: noarch
# SECTION test
@ -46,9 +44,10 @@ BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module websockets >= 10.0}
BuildRequires: %{python_module y-py >= 0.5.3 with %python-y-py < 0.6.0}
BuildRequires: %{python_module ypy-websocket >= 0.3.1}
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: nodejs
BuildRequires: yarn
# /SECTION
%python_subpackages
@ -70,7 +69,8 @@ Built-in documents include:
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
# tests NEED -vv
%pytest -vv
%files %{python_files}
%{python_sitelib}/jupyter_ydoc