Compare commits

25 Commits

Author SHA256 Message Date
912ad317ed Accepting request 1297168 from devel:languages:python:jupyter
- Update to 0.12.26
  * Bump trio to <0.31.

OBS-URL: https://build.opensuse.org/request/show/1297168
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=12
2025-08-03 11:37:59 +00:00
cb07ac5bcc Accepting request 1292509 from devel:languages:python:jupyter
- Update to 0.12.25
  * Allow XML attributes to be of any type.
  * Upgrade `yrs` to v0.24.0.
- Bump trio test requirement gh#y-crdt/pycrdt#277

OBS-URL: https://build.opensuse.org/request/show/1292509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=11
2025-07-14 08:52:16 +00:00
c7615ab27c - Update to 0.12.25
* Allow XML attributes to be of any type.
  * Upgrade `yrs` to v0.24.0.
- Bump trio test requirement gh#y-crdt/pycrdt#277

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=23
2025-07-13 13:36:19 +00:00
ff27fcefde Accepting request 1289995 from devel:languages:python:jupyter
- Update to 0.12.23
  * Support sticky index.
  * Upgrade `yrs` to v0.23.5.

OBS-URL: https://build.opensuse.org/request/show/1289995
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=10
2025-07-03 10:10:32 +00:00
6b6a425495 - Update to 0.12.23
* Support sticky index.
  * Upgrade `yrs` to v0.23.5.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=21
2025-07-02 14:30:43 +00:00
36fcbcb000 Accepting request 1287011 from devel:languages:python:jupyter
- Update to 0.12.21 
  * Upgrade pyo3 to v0.25.0 (through various patch releases)
- Release 0.12.13 
  * Add is_awareness_disconnect_message().
  * Close memory streams in event iterators.
- Release 0.12.12
  * Add doc and shared type events() async event iterator.
  * Fix deadlock while getting root type from within transaction.
- Drop pycrdt-pr246-trio-0.30.patch, upstream merged in 0.12.10

OBS-URL: https://build.opensuse.org/request/show/1287011
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=9
2025-06-20 14:50:08 +00:00
1ae8125d65 - Update to 0.12.21
* Upgrade pyo3 to v0.25.0 (through various patch releases)
- Release 0.12.13 
  * Add is_awareness_disconnect_message().
  * Close memory streams in event iterators.
- Release 0.12.12
  * Add doc and shared type events() async event iterator.
  * Fix deadlock while getting root type from within transaction.
- Drop pycrdt-pr246-trio-0.30.patch, upstream merged in 0.12.10

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=19
2025-06-19 18:34:47 +00:00
58e48055b4 Accepting request 1255116 from devel:languages:python:jupyter
- Update to 0.12.9 
  * Upgrade pyo3 to v0.24.0.
- Refresh pycrdt-pr227-trio0.28.patch to
          pycrdt-pr246-trio-0.30.patch

OBS-URL: https://build.opensuse.org/request/show/1255116
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=8
2025-03-24 12:29:16 +00:00
88b2d9ec18 - Update to 0.12.9
* Upgrade pyo3 to v0.24.0.
- Refresh pycrdt-pr227-trio0.28.patch to
          pycrdt-pr246-trio-0.30.patch

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=17
2025-03-21 20:38:23 +00:00
66358ef43e Accepting request 1241449 from devel:languages:python:jupyter
- Add pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227

- Update to 0.12.7
  * Add pycrdt.__version__.
- Release to 0.10.7 through 0.12.6
  * Upgrade yrs to v0.22.0
  * Allow passing a Python timestamp function to an undo manager.
  * Add TypedArray typed container.
  * Add TypedDoc and TypedMap typed containers.
  * Rearrange typing tests and docs.
  * Drop Python v3.8.
  * Support type annotations.
  * Bump pyo3 to v0.23.3.
  * Fix Array iterator.
  * Add support for adding XmlFragments to arrays and maps (PR by
    @ColonelThirtyTwo).

OBS-URL: https://build.opensuse.org/request/show/1241449
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=7
2025-01-31 15:02:25 +00:00
7b279dd882 .
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=15
2025-01-30 16:58:41 +00:00
beacad0f6d - Add pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=14
2025-01-30 16:55:52 +00:00
3ed8f8648a - Update to 0.12.7
* Add pycrdt.__version__.
- Release to 0.10.7 through 0.12.6
  * Upgrade yrs to v0.22.0
  * Allow passing a Python timestamp function to an undo manager.
  * Add TypedArray typed container.
  * Add TypedDoc and TypedMap typed containers.
  * Rearrange typing tests and docs.
  * Drop Python v3.8.
  * Support type annotations.
  * Bump pyo3 to v0.23.3.
  * Fix Array iterator.
  * Add support for adding XmlFragments to arrays and maps (PR by
    @ColonelThirtyTwo).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=13
2025-01-29 16:55:20 +00:00
be00521da1 Accepting request 1222540 from devel:languages:python:jupyter
- Update to 0.10.6
  * Bump yrs v0.21.3 and pyo3 v0.22.5
- Releases from 0.9.15 to 0.10.5
  * Bump upper limit of trio by @bnavigator in #160
  * Add documentation about undo manager by @davidbrochart in #164
  * Add API reference by @davidbrochart in #165
  * Update GitHub actions by @davidbrochart in #167
  * Fix GitHub actions upload/download artifacts by @davidbrochart
    in #168
  * Fix GitHub action upload artifact by @davidbrochart in #169
  * Add awareness by @davidbrochart in #171
  * Add awareness features to handle server state by @brichet in
    #170
  * Fix set_local_state() and set_local_state_field() by
    @davidbrochart in #176
  * Bump Yrs v0.21.2 by @davidbrochart in #177
  * Add awareness by @davidbrochart in #171
  * Add CHANGELOG.md and automate release on tag.
  * Add support for XML, Text attributes and embeds (#184) (PR by
    @ColonelThirtyTwo). (forwarded request 1222539 from bnavigator)

OBS-URL: https://build.opensuse.org/request/show/1222540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=6
2024-11-08 10:59:49 +00:00
1953fbbf2c - Update to 0.10.6
* Bump yrs v0.21.3 and pyo3 v0.22.5
- Releases from 0.9.15 to 0.10.5
  * Bump upper limit of trio by @bnavigator in #160
  * Add documentation about undo manager by @davidbrochart in #164
  * Add API reference by @davidbrochart in #165
  * Update GitHub actions by @davidbrochart in #167
  * Fix GitHub actions upload/download artifacts by @davidbrochart
    in #168
  * Fix GitHub action upload artifact by @davidbrochart in #169
  * Add awareness by @davidbrochart in #171
  * Add awareness features to handle server state by @brichet in
    #170
  * Fix set_local_state() and set_local_state_field() by
    @davidbrochart in #176
  * Bump Yrs v0.21.2 by @davidbrochart in #177
  * Add awareness by @davidbrochart in #171
  * Add CHANGELOG.md and automate release on tag.
  * Add support for XML, Text attributes and embeds (#184) (PR by
    @ColonelThirtyTwo).

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=11
2024-11-07 18:29:39 +00:00
08fa973c60 Accepting request 1199728 from devel:languages:python:jupyter
- Bump upper limit of trio gh#jupyter-server/pycrdt#160

OBS-URL: https://build.opensuse.org/request/show/1199728
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=5
2024-09-10 19:13:20 +00:00
3222c59ff2 - Bump upper limit of trio gh#jupyter-server/pycrdt#160
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=9
2024-09-09 18:34:07 +00:00
054fd964d2 Accepting request 1199272 from devel:languages:python:jupyter
OBS-URL: https://build.opensuse.org/request/show/1199272
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=4
2024-09-09 12:43:35 +00:00
4397261d70 - Update to 0.9.11
* Add Doc.new_transaction() sync and async context managers by
    @davidbrochart in #154

- Update to 0.9.8
  * Add update API by @Wh1isper in #148
- Changes from 0.8.17 to 0.9.8
  * Check origin in nested transactions by @davidbrochart in #146
  * Move global origin registry to document by @davidbrochart in
    #145
  * Fix origin by @davidbrochart in #144
  * Support transaction origin by @davidbrochart in #142
  * Bump pyo3 v0.22.2 by @davidbrochart in #143
  * Bump yrs v0.19.2 by @davidbrochart in #140
  * Allow multithreading by @davidbrochart in #137
  * Support undo manager expand_scope by @davidbrochart in #128
  * Export more from sync by @davidbrochart in #127
  * Add sync protocol (v1) by @davidbrochart in #124
  * Add undo manager by @davidbrochart in #119
  * Raise ValueError on Doc.get_update() error by @davidbrochart in
    #118
  * Ignore empty updates by @davidbrochart in #107, #111
  * really drop python<=support by @kloczek in #96
  * Shared Types Popped from Shared Map are Empty by @jbdyn in #94

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=7
2024-09-06 18:09:55 +00:00
57fb3b96f4 Accepting request 1183712 from devel:languages:python:jupyter
- Remove upper bound on pytest.

OBS-URL: https://build.opensuse.org/request/show/1183712
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=3
2024-06-28 13:47:30 +00:00
2117f03c2e - Remove upper bound on pytest.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=5
2024-06-28 00:36:19 +00:00
112f9fafe5 Accepting request 1163596 from devel:languages:python:jupyter
- Update to 0.8.17
  * Update yrs 0.18.2 by @davidbrochart in #92
- Releases 0.8.7 to 0.8.16
  * Export Subscription by @davidbrochart in #90
  * Fix possibly undefined _subscriptions by @davidbrochart in #88
  * Remove warning about project not ready for production by
    @davidbrochart in #82
  * Keep subscription references by @davidbrochart in #85
  * Fix doc observe by @davidbrochart in #87
  * Improve Doc.get return value type by @davidbrochart in #80
  * Add Doc.get() by @davidbrochart in #77
  * Add leading underscore to Python files by @davidbrochart in #75
  * Add update property to TransactionEvent by @davidbrochart in
    #72

OBS-URL: https://build.opensuse.org/request/show/1163596
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=2
2024-04-02 14:40:47 +00:00
ed40b4e9e0 - Update to 0.8.17
* Update yrs 0.18.2 by @davidbrochart in #92
- Releases 0.8.7 to 0.8.16
  * Export Subscription by @davidbrochart in #90
  * Fix possibly undefined _subscriptions by @davidbrochart in #88
  * Remove warning about project not ready for production by
    @davidbrochart in #82
  * Keep subscription references by @davidbrochart in #85
  * Fix doc observe by @davidbrochart in #87
  * Improve Doc.get return value type by @davidbrochart in #80
  * Add Doc.get() by @davidbrochart in #77
  * Add leading underscore to Python files by @davidbrochart in #75
  * Add update property to TransactionEvent by @davidbrochart in
    #72

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=3
2024-03-29 19:25:51 +00:00
f3677c03ea Accepting request 1140722 from devel:languages:python:jupyter
new dependency for jupyter-collaboration

OBS-URL: https://build.opensuse.org/request/show/1140722
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pycrdt?expand=0&rev=1
2024-01-23 21:55:25 +00:00
2b7a0ed2f7 Accepting request 1140714 from home:bnavigator:branches:devel:languages:python:jupyter
new package for jupyter-collaboration v2

OBS-URL: https://build.opensuse.org/request/show/1140714
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=1
2024-01-22 19:04:20 +00:00
10 changed files with 0 additions and 150 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -1,63 +0,0 @@
From 238396359d6f4e67db0269c5554ce2701674cc50 Mon Sep 17 00:00:00 2001
From: Ben Greiner <code@bnavigator.de>
Date: Thu, 30 Jan 2025 17:49:28 +0100
Subject: [PATCH] Bump trio upper version to <0.29
---
.github/workflows/publish.yml | 8 ++++----
pyproject.toml | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 39a3a25..8f3f504 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -31,7 +31,7 @@ jobs:
args: --release --target universal2-apple-darwin --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
- name: Test built wheel - universal2
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -64,7 +64,7 @@ jobs:
args: --release --out dist -i ${{ matrix.platform.interpreter }}
- name: Test built wheel
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -100,7 +100,7 @@ jobs:
- name: Test built wheel
if: matrix.target == 'x86_64'
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -136,7 +136,7 @@ jobs:
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
- pip3 install -U pip pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.26" "exceptiongroup; python_version<'3.11'"
+ pip3 install -U pip pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
run: |
pip3 install pycrdt --no-deps --no-index --find-links dist/ --force-reinstall
pytest
diff --git a/pyproject.toml b/pyproject.toml
index a520aa6..65c3a4c 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,7 +40,7 @@ test = [
"pytest >=7.4.2,<8",
"pytest-mypy-testing",
"anyio",
- "trio >=0.25.1,<0.27",
+ "trio >=0.25.1,<0.29",
"pydantic >=2.5.2,<3",
"mypy",
"coverage[toml] >=7",

View File

@@ -1,63 +0,0 @@
From e23cab275eacdf677baaf9c8ea2f018e56602ec4 Mon Sep 17 00:00:00 2001
From: Ben Greiner <code@bnavigator.de>
Date: Fri, 21 Mar 2025 21:29:06 +0100
Subject: [PATCH] Bump trio to <0.30
---
.github/workflows/publish.yml | 8 ++++----
pyproject.toml | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml
index 8f3f504..f4b071a 100644
--- a/.github/workflows/publish.yml
+++ b/.github/workflows/publish.yml
@@ -31,7 +31,7 @@ jobs:
args: --release --target universal2-apple-darwin --out dist -i 3.9 3.10 3.11 3.12 3.13 pypy3.9 pypy3.10
- name: Test built wheel - universal2
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.30" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -64,7 +64,7 @@ jobs:
args: --release --out dist -i ${{ matrix.platform.interpreter }}
- name: Test built wheel
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.30" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -100,7 +100,7 @@ jobs:
- name: Test built wheel
if: matrix.target == 'x86_64'
run: |
- pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
+ pip install pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.30" "exceptiongroup; python_version<'3.11'"
pip install pycrdt --no-deps --no-index --find-links dist --force-reinstall
pytest
- name: Upload wheels
@@ -136,7 +136,7 @@ jobs:
install: |
apt-get update
apt-get install -y --no-install-recommends python3 python3-pip
- pip3 install -U pip pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.29" "exceptiongroup; python_version<'3.11'"
+ pip3 install -U pip pytest pytest-mypy-testing "pydantic>=2.5.2,<3" "anyio>=4.4.0,<5" "trio>=0.25.1,<0.30" "exceptiongroup; python_version<'3.11'"
run: |
pip3 install pycrdt --no-deps --no-index --find-links dist/ --force-reinstall
pytest
diff --git a/pyproject.toml b/pyproject.toml
index eaa19f6..c73d7fd 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -40,7 +40,7 @@ test = [
"pytest >=7.4.2,<8",
"pytest-mypy-testing",
"anyio",
- "trio >=0.25.1,<0.29",
+ "trio >=0.25.1,<0.30",
"pydantic >=2.5.2,<3",
"mypy",
"coverage[toml] >=7",