1
0

Compare commits

...

27 Commits

Author SHA256 Message Date
Ana Guerrero
a2792238b6 Accepting request 1241240 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1241240
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=12
2025-01-31 15:02:24 +00:00
d46332090e - Update to 3.0.3
* Fix missing nbformat version #304 (@fcollonval)
  * Increase pycrdt compatible version range #307 (@davidbrochart)
  * Fix stream output #294 (@davidbrochart)
  * Fix tests #288 (@davidbrochart)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=27
2025-01-29 17:00:16 +00:00
Ana Guerrero
da1cacadda Accepting request 1228564 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1228564
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=11
2024-12-06 13:25:42 +00:00
fd11f913fb - refresh node modules
* update cross-spawn module to 7.0.6 - CVE-2024-21538 (bsc#1233852)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=25
2024-12-05 16:46:40 +00:00
Ana Guerrero
d14f4ae64d Accepting request 1222544 from devel:languages:python:jupyter
- Update to 3.0.0
  ## Enhancements made
  * Add the awareness in the shared document interface #282
    (@brichet)
  * Doc awareness #277 (@brichet)
  * Improve notebook output stream initialization #275
    (@davidbrochart)
  * Add YDocument source getter/setter #273 (@davidbrochart)
  * Allow empty notebook #266 (@davidbrochart)
  * Add streamOutputChange attribute to cell change object #264
    (@davidbrochart)
  * Add hash property with setter and getter #262 (@krassowski)
  * Expose execution_state in the JS package #259 (@krassowski)
  * Add undo_manager to Y documents #248 (@davidbrochart)
  * Add optional origin to transaction, filter out 'modeldb' origin
    #246 (@davidbrochart)
  * Add appendStreamOutput and removeStreamOutput methods #241
    (@davidbrochart)
  * Update python>=3.8, pycrdt>=0.8.11, pre-commit, README #217
    (@davidbrochart)
  * Store YBlob as bytes, not base64-encoded string #209
    (@davidbrochart)
  * Change notebook code cell stream output schema #201
    (@davidbrochart)
  * Add cell execution_state #197 (@davidbrochart)
  ## Bugs fixed
  * Fix attachments change attribute assignment #260 (@krassowski)
  * Fix createOutputs, rename 'modeldb' origin to 'silent-change'
    #254 (@davidbrochart)
  ## Maintenance and upkeep improvements (forwarded request 1222543 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1222544
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=10
2024-11-08 10:59:51 +00:00
06928f70a9 - Update to 3.0.0
## Enhancements made
  * Add the awareness in the shared document interface #282
    (@brichet)
  * Doc awareness #277 (@brichet)
  * Improve notebook output stream initialization #275
    (@davidbrochart)
  * Add YDocument source getter/setter #273 (@davidbrochart)
  * Allow empty notebook #266 (@davidbrochart)
  * Add streamOutputChange attribute to cell change object #264
    (@davidbrochart)
  * Add hash property with setter and getter #262 (@krassowski)
  * Expose execution_state in the JS package #259 (@krassowski)
  * Add undo_manager to Y documents #248 (@davidbrochart)
  * Add optional origin to transaction, filter out 'modeldb' origin
    #246 (@davidbrochart)
  * Add appendStreamOutput and removeStreamOutput methods #241
    (@davidbrochart)
  * Update python>=3.8, pycrdt>=0.8.11, pre-commit, README #217
    (@davidbrochart)
  * Store YBlob as bytes, not base64-encoded string #209
    (@davidbrochart)
  * Change notebook code cell stream output schema #201
    (@davidbrochart)
  * Add cell execution_state #197 (@davidbrochart)
  ## Bugs fixed
  * Fix attachments change attribute assignment #260 (@krassowski)
  * Fix createOutputs, rename 'modeldb' origin to 'silent-change'
    #254 (@davidbrochart)
  ## Maintenance and upkeep improvements

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=23
2024-11-07 18:30:33 +00:00
Ana Guerrero
aed3b80b78 Accepting request 1199274 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1199274
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=9
2024-09-09 12:43:37 +00:00
Ana Guerrero
8b5b9e060f Accepting request 1140718 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1140718
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=8
2024-01-23 21:55:19 +00:00
cc86706547 Accepting request 1140716 from home:bnavigator:branches:devel:languages:python:jupyter
- 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

OBS-URL: https://build.opensuse.org/request/show/1140716
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=19
2024-01-22 19:05:06 +00:00
Ana Guerrero
9e29e96b64 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
2024-01-21 22:10:37 +00:00
1ce195e2d1 Accepting request 1140299 from home:bnavigator:branches:devel:languages:python:jupyter:jcollab1.x
- Disable tests for jupyter-collaboration and ypy-websocket
  update gh#jupyter-server/jupyter_ydoc#211

OBS-URL: https://build.opensuse.org/request/show/1140299
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=17
2024-01-21 13:30:59 +00:00
Ana Guerrero
84129983dd Accepting request 1116214 from devel:languages:python:jupyter
- Update to 1.1.1
  * Fix joining of source when source is an array of strings #186
    (@jtpio)

OBS-URL: https://build.opensuse.org/request/show/1116214
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=6
2023-10-08 10:19:04 +00:00
599dee2be2 - Update to 1.1.1
* Fix joining of source when source is an array of strings #186
    (@jtpio)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=15
2023-10-07 13:45:50 +00:00
Ana Guerrero
44d6ac896a Accepting request 1113299 from devel:languages:python:jupyter
- Update to 1.1.0
  * Add source to dist for sourcemaps #182 (@vidartf)
  * Create awareness interface #171 (@hbcarlos) (forwarded request 1113298 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1113299
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=5
2023-09-25 18:03:16 +00:00
130290bc69 Accepting request 1113298 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 1.1.0
  * Add source to dist for sourcemaps #182 (@vidartf)
  * Create awareness interface #171 (@hbcarlos)

OBS-URL: https://build.opensuse.org/request/show/1113298
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=13
2023-09-24 18:44:43 +00:00
8a92088ecb Accepting request 1092986 from devel:languages:python:jupyter
- Kill nodejs in between pytest runs
  gh#jupyter-server/jupyter_ydoc#168

OBS-URL: https://build.opensuse.org/request/show/1092986
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=4
2023-06-14 14:29:49 +00:00
e007d931d6 - Kill nodejs in between pytest runs
gh#jupyter-server/jupyter_ydoc#168

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=11
2023-06-13 20:45:15 +00:00
af92513f52 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
2023-06-13 14:09:48 +00:00
83d7053213 Accepting request 1092711 from home:bnavigator:branches: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)

OBS-URL: https://build.opensuse.org/request/show/1092711
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=9
2023-06-12 22:09:12 +00:00
0d654db4c7 Accepting request 1082589 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1082589
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=2
2023-04-25 14:42:23 +00:00
3113eeb486 Accepting request 1082588 from home:bnavigator:branches:devel:languages:python:jupyter
- Update to 0.2.4
  * Fix metadata issue #158 (@hbcarlos)

OBS-URL: https://build.opensuse.org/request/show/1082588
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=7
2023-04-24 19:32:14 +00:00
3a78ccd35f Accepting request 1073766 from devel:languages:python:jupyter
required by jupyterlab 3.6

OBS-URL: https://build.opensuse.org/request/show/1073766
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-jupyter-ydoc?expand=0&rev=1
2023-03-24 14:20:28 +00:00
0134d6b197 Accepting request 1073644 from home:bnavigator:branches:devel:languages:python:jupyter
drop upper pin

OBS-URL: https://build.opensuse.org/request/show/1073644
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=5
2023-03-21 20:55:34 +00:00
25c32fefbf Accepting request 1072977 from home:bnavigator:branches:devel:languages:python:jupyter
- 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

- Provide underscore name

OBS-URL: https://build.opensuse.org/request/show/1072977
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=4
2023-03-19 21:12:36 +00:00
532576a6a4 Accepting request 1063595 from home:bnavigator:branches:devel:languages:python:jupyter
- 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

OBS-URL: https://build.opensuse.org/request/show/1063595
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=3
2023-02-07 09:48:04 +00:00
612cd20d7f - Initial specfile for v0.3.1
- Required by jupyterlab 3.6

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=2
2023-02-05 17:31:26 +00:00
6b97f08036 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-jupyter-ydoc?expand=0&rev=1
2023-02-05 16:58:31 +00:00
9 changed files with 83 additions and 22 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:75cb23062511715895b4afd6b42422553f77a97e2e09c31f008aef3e8a3e46e3
size 18480464
oid sha256:9242ccec1dcf884972e77e9a68d3b743bd30b187f55858370cbeb3e706d25384
size 20156948

View File

@ -1,3 +1,69 @@
-------------------------------------------------------------------
Wed Jan 29 15:57:14 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.3
* Fix missing nbformat version #304 (@fcollonval)
* Increase pycrdt compatible version range #307 (@davidbrochart)
* Fix stream output #294 (@davidbrochart)
* Fix tests #288 (@davidbrochart)
-------------------------------------------------------------------
Thu Dec 5 16:01:23 UTC 2024 - Nico Krapp <nico.krapp@suse.com>
- refresh node modules
* update cross-spawn module to 7.0.6 - CVE-2024-21538 (bsc#1233852)
-------------------------------------------------------------------
Mon Nov 4 19:55:23 UTC 2024 - Ben Greiner <code@bnavigator.de>
- Update to 3.0.0
## Enhancements made
* Add the awareness in the shared document interface #282
(@brichet)
* Doc awareness #277 (@brichet)
* Improve notebook output stream initialization #275
(@davidbrochart)
* Add YDocument source getter/setter #273 (@davidbrochart)
* Allow empty notebook #266 (@davidbrochart)
* Add streamOutputChange attribute to cell change object #264
(@davidbrochart)
* Add hash property with setter and getter #262 (@krassowski)
* Expose execution_state in the JS package #259 (@krassowski)
* Add undo_manager to Y documents #248 (@davidbrochart)
* Add optional origin to transaction, filter out 'modeldb' origin
#246 (@davidbrochart)
* Add appendStreamOutput and removeStreamOutput methods #241
(@davidbrochart)
* Update python>=3.8, pycrdt>=0.8.11, pre-commit, README #217
(@davidbrochart)
* Store YBlob as bytes, not base64-encoded string #209
(@davidbrochart)
* Change notebook code cell stream output schema #201
(@davidbrochart)
* Add cell execution_state #197 (@davidbrochart)
## Bugs fixed
* Fix attachments change attribute assignment #260 (@krassowski)
* Fix createOutputs, rename 'modeldb' origin to 'silent-change'
#254 (@davidbrochart)
## Maintenance and upkeep improvements
* Revert #266 #280 (@davidbrochart)
* Improve notebook output stream initialization #275
(@davidbrochart)
* Fix dict type for python 3.8 #253 (@davidbrochart)
* Bump toshimaru/auto-author-assign from 2.1.0 to 2.1.1 #247
(@dependabot)
* Revert publish 3.0.0a0 (9c87cfd) #245 (@davidbrochart)
* Update releaser workflows #244 (@jtpio)
* Bump notebook version 1.0.0 -> 2.0.0 #236 (@davidbrochart)
* Fix subscription type, update pycrdt>=0.8.16 #222
(@davidbrochart)
* Update python>=3.8, pycrdt>=0.8.11, pre-commit, README #217
(@davidbrochart)
* Bump pre-commit/action from 3.0.0 to 3.0.1 #215 (@dependabot)
* Remove mention to y_py in docs #214 (@martinRenou)
* Bump toshimaru/auto-author-assign from 2.0.1 to 2.1.0 #212
(@dependabot)
-------------------------------------------------------------------
Fri Aug 30 11:06:24 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-jupyter-ydoc
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,7 +17,7 @@
Name: python-jupyter-ydoc
Version: 2.1.1
Version: 3.0.3
Release: 0
Summary: Document structures for collaborative editing using Ypy
License: BSD-3-Clause
@ -29,23 +29,24 @@ Source1: https://github.com/jupyter-server/jupyter_ydoc/archive/refs/tags
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 base >= 3.8}
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)
Requires: (python-pycrdt >= 0.10.1 with python-pycrdt < 0.13)
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 httpx-ws >= 0.5.2}
BuildRequires: %{python_module hypercorn >= 0.16}
BuildRequires: %{python_module pycrdt >= 0.10.1 with %python-pycrdt < 0.13}
BuildRequires: %{python_module pycrdt-websocket >= 0.15.0 with %python-pycrdt-websocket < 0.16}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module websockets >= 10.0}
BuildRequires: nodejs
BuildRequires: procps
BuildRequires: yarn
@ -71,7 +72,7 @@ Built-in documents include:
%check
# https://github.com/jupyter-server/jupyter_ydoc/issues/168
%pytest -v && pkill -f yjs_client_0.js -e
%pytest
%files %{python_files}
%{python_sitelib}/jupyter_ydoc