jupyter-ydoc 3.0.2__tar.gz → 3.0.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/test.yml +4 -12
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.pre-commit-config.yaml +1 -1
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/CHANGELOG.md +21 -2
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/PKG-INFO +4 -3
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/javascript/package.json +1 -1
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/_version.py +1 -1
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/ynotebook.py +5 -1
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/pyproject.toml +1 -1
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/dependabot.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/auto_author_assign.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/check-release.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/enforce-label.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/license-header.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/prep-release.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.github/workflows/publish-release.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.gitignore +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.licenserc.yaml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.yarn/releases/yarn-3.4.1.cjs +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/.yarnrc.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/LICENSE +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/README.md +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/Makefile +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/make.bat +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/_static/jupyter_logo.svg +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/_static/logo-icon.png +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/conf.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/custom.md +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/index.md +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/javascript_api.rst +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/overview.md +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/python_api.rst +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/docs/source/schema.md +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/__init__.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/py.typed +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/utils.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/ybasedoc.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/yblob.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/yfile.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/jupyter_ydoc/yunicode.py +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/lerna.json +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/package.json +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/pytest.ini +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/readthedocs.yml +0 -0
- {jupyter_ydoc-3.0.2 → jupyter_ydoc-3.0.3}/yarn.lock +0 -0
|
@@ -41,30 +41,24 @@ jobs:
|
|
|
41
41
|
steps:
|
|
42
42
|
- name: Checkout repository
|
|
43
43
|
uses: actions/checkout@v4
|
|
44
|
-
- name: Install
|
|
45
|
-
uses:
|
|
44
|
+
- name: Install mamba
|
|
45
|
+
uses: mamba-org/setup-micromamba@v2
|
|
46
46
|
with:
|
|
47
|
-
|
|
48
|
-
miniforge-version: latest
|
|
49
|
-
python-version: "3.11"
|
|
50
|
-
|
|
47
|
+
environment-name: jupyter_ydoc
|
|
51
48
|
- name: Install dependencies
|
|
52
49
|
run: |
|
|
53
|
-
|
|
50
|
+
micromamba install pip nodejs=18
|
|
54
51
|
pip install ".[test]"
|
|
55
|
-
|
|
56
52
|
- name: Build JavaScript assets
|
|
57
53
|
working-directory: javascript
|
|
58
54
|
run: |
|
|
59
55
|
yarn
|
|
60
56
|
yarn build
|
|
61
|
-
|
|
62
57
|
- name: Linter check
|
|
63
58
|
if: ${{ !contains(matrix.os, 'windows') }}
|
|
64
59
|
working-directory: javascript
|
|
65
60
|
run: |
|
|
66
61
|
yarn lint:check
|
|
67
|
-
|
|
68
62
|
- name: Integrity check
|
|
69
63
|
if: ${{ !contains(matrix.os, 'windows') }}
|
|
70
64
|
working-directory: javascript
|
|
@@ -76,13 +70,11 @@ jobs:
|
|
|
76
70
|
echo "Integrity test failed; please run locally 'yarn integrity' and commit the changes"
|
|
77
71
|
exit 1
|
|
78
72
|
fi
|
|
79
|
-
|
|
80
73
|
- name: Run JS tests
|
|
81
74
|
working-directory: javascript
|
|
82
75
|
run: |
|
|
83
76
|
yarn build:test
|
|
84
77
|
yarn test:cov
|
|
85
|
-
|
|
86
78
|
- name: Run Python tests
|
|
87
79
|
run: |
|
|
88
80
|
python -m pytest -v
|
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
<!-- <START NEW CHANGELOG ENTRY> -->
|
|
4
4
|
|
|
5
|
+
## 3.0.3
|
|
6
|
+
|
|
7
|
+
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.2...678a0a483421cbcb10cd56f4948dc944ac976555))
|
|
8
|
+
|
|
9
|
+
### Bugs fixed
|
|
10
|
+
|
|
11
|
+
- Fix missing nbformat version [#304](https://github.com/jupyter-server/jupyter_ydoc/pull/304) ([@fcollonval](https://github.com/fcollonval))
|
|
12
|
+
|
|
13
|
+
### Maintenance and upkeep improvements
|
|
14
|
+
|
|
15
|
+
- Increase pycrdt compatible version range [#307](https://github.com/jupyter-server/jupyter_ydoc/pull/307) ([@davidbrochart](https://github.com/davidbrochart))
|
|
16
|
+
- Use micromamba in CI [#301](https://github.com/jupyter-server/jupyter_ydoc/pull/301) ([@davidbrochart](https://github.com/davidbrochart))
|
|
17
|
+
|
|
18
|
+
### Contributors to this release
|
|
19
|
+
|
|
20
|
+
([GitHub contributors page for this release](https://github.com/jupyter-server/jupyter_ydoc/graphs/contributors?from=2024-12-02&to=2025-01-28&type=c))
|
|
21
|
+
|
|
22
|
+
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-12-02..2025-01-28&type=Issues) | [@fcollonval](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Afcollonval+updated%3A2024-12-02..2025-01-28&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-12-02..2025-01-28&type=Issues)
|
|
23
|
+
|
|
24
|
+
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
25
|
+
|
|
5
26
|
## 3.0.2
|
|
6
27
|
|
|
7
28
|
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.1...db70566443ffc92e9bf62e2064e9b928ca2e96d7))
|
|
@@ -18,8 +39,6 @@
|
|
|
18
39
|
|
|
19
40
|
[@davidbrochart](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Adavidbrochart+updated%3A2024-11-18..2024-12-02&type=Issues) | [@pre-commit-ci](https://github.com/search?q=repo%3Ajupyter-server%2Fjupyter_ydoc+involves%3Apre-commit-ci+updated%3A2024-11-18..2024-12-02&type=Issues)
|
|
20
41
|
|
|
21
|
-
<!-- <END NEW CHANGELOG ENTRY> -->
|
|
22
|
-
|
|
23
42
|
## 3.0.1
|
|
24
43
|
|
|
25
44
|
([Full Changelog](https://github.com/jupyter-server/jupyter_ydoc/compare/@jupyter/ydoc@3.0.0...2ed6216e488db36c2757390c96195db9909e7908))
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: jupyter-ydoc
|
|
3
|
-
Version: 3.0.
|
|
3
|
+
Version: 3.0.3
|
|
4
4
|
Summary: Document structures for collaborative editing using Ypy
|
|
5
5
|
Project-URL: Homepage, https://jupyter.org
|
|
6
6
|
Project-URL: Source, https://github.com/jupyter-server/jupyter_ydoc
|
|
7
7
|
Author-email: Jupyter Development Team <jupyter@googlegroups.com>
|
|
8
8
|
License: BSD 3-Clause License
|
|
9
|
+
License-File: LICENSE
|
|
9
10
|
Keywords: jupyter,pycrdt,yjs
|
|
10
11
|
Requires-Python: >=3.8
|
|
11
12
|
Requires-Dist: importlib-metadata>=3.6; python_version < '3.10'
|
|
12
|
-
Requires-Dist: pycrdt<0.
|
|
13
|
+
Requires-Dist: pycrdt<0.13.0,>=0.10.1
|
|
13
14
|
Provides-Extra: dev
|
|
14
15
|
Requires-Dist: click; extra == 'dev'
|
|
15
16
|
Requires-Dist: jupyter-releaser; extra == 'dev'
|
|
@@ -202,7 +202,11 @@ class YNotebook(YBaseDoc):
|
|
|
202
202
|
cells = []
|
|
203
203
|
for i in range(len(self._ycells)):
|
|
204
204
|
cell = self.get_cell(i)
|
|
205
|
-
if
|
|
205
|
+
if (
|
|
206
|
+
"id" in cell
|
|
207
|
+
and int(meta.get("nbformat", 0)) == 4
|
|
208
|
+
and int(meta.get("nbformat_minor", 0)) <= 4
|
|
209
|
+
):
|
|
206
210
|
# strip cell IDs if we have notebook format 4.0-4.4
|
|
207
211
|
del cell["id"]
|
|
208
212
|
if (
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|