diff --git a/create_node_modules.sh b/create_node_modules.sh index 6bb3f6e..7b9c917 100644 --- a/create_node_modules.sh +++ b/create_node_modules.sh @@ -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 diff --git a/jupyter_ydoc-0.2.4-gh.tar.gz b/jupyter_ydoc-0.2.4-gh.tar.gz deleted file mode 100644 index c5c0e2e..0000000 --- a/jupyter_ydoc-0.2.4-gh.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:352da590183c2523d07fccfc17102a3d96c696f92833336a6c3c9226553e540b -size 82605 diff --git a/jupyter_ydoc-0.2.4.tar.gz b/jupyter_ydoc-0.2.4.tar.gz deleted file mode 100644 index 27af66b..0000000 --- a/jupyter_ydoc-0.2.4.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a3f670a69135e90493ffb91d6788efe2632bf42c6cc42a25f25c2e6eddd55a0e -size 64973 diff --git a/jupyter_ydoc-1.0.2-gh.tar.gz b/jupyter_ydoc-1.0.2-gh.tar.gz new file mode 100644 index 0000000..6c23daf --- /dev/null +++ b/jupyter_ydoc-1.0.2-gh.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ec9dde27fbd5ad3958f54ff62707c59a00d437fdffc405e5cad7abb8facba593 +size 983893 diff --git a/jupyter_ydoc-1.0.2.tar.gz b/jupyter_ydoc-1.0.2.tar.gz new file mode 100644 index 0000000..c548f8b --- /dev/null +++ b/jupyter_ydoc-1.0.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0f95bede3f1e081e07d5c57c03c658e3a5247e0ef18889074fbefa20dd3eca53 +size 954386 diff --git a/node_modules.tar.xz b/node_modules.tar.xz index 77dffd9..709cf67 100644 --- a/node_modules.tar.xz +++ b/node_modules.tar.xz @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:40fa9b72d1dfe507a3848a5be96d551b8163bb9314eaed8d9c4db50126f3ca0a -size 15842064 +oid sha256:f532516336ee8d8969e94ec7f1e86d24259bea6595064c6973697e4776b73d90 +size 18244912 diff --git a/python-jupyter-ydoc.changes b/python-jupyter-ydoc.changes index 7b87558..76e39a6 100644 --- a/python-jupyter-ydoc.changes +++ b/python-jupyter-ydoc.changes @@ -1,3 +1,35 @@ +------------------------------------------------------------------- +Sun Jun 11 21:02:51 UTC 2023 - Ben Greiner + +- 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 diff --git a/python-jupyter-ydoc.spec b/python-jupyter-ydoc.spec index 367f417..89b9910 100644 --- a/python-jupyter-ydoc.spec +++ b/python-jupyter-ydoc.spec @@ -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