1
0
forked from pool/python-pycrdt

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
455710f724 - Update to 0.12.26
* Bump trio to <0.31.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:jupyter/python-pycrdt?expand=0&rev=25
2025-08-02 16:51:08 +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
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
8 changed files with 111 additions and 21 deletions

View File

@@ -4,7 +4,7 @@
<param name="scm">git</param>
<param name="revision">@PARENT_TAG@</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="versionrewrite-pattern">v(.*)</param>
<param name="versionrewrite-pattern">(.*)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="disabled" name="tar" />

3
pycrdt-0.12.26.tar.xz Normal file
View File

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

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,4 +1,4 @@
name: pycrdt
version: 0.9.11
mtime: 1725264371
commit: 2fe8096593767f7708c81966dd47041e74b724fa
version: 0.12.26
mtime: 1752496776
commit: 7c6982364825ea9ba77bab37abafc3469f845a01

View File

@@ -1,3 +1,92 @@
-------------------------------------------------------------------
Sat Aug 2 16:49:14 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 0.12.26
* Bump trio to <0.31.
-------------------------------------------------------------------
Sun Jul 13 13:27:43 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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
-------------------------------------------------------------------
Wed Jul 2 14:27:13 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 0.12.23
* Support sticky index.
* Upgrade `yrs` to v0.23.5.
-------------------------------------------------------------------
Thu Jun 19 18:28:25 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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
-------------------------------------------------------------------
Fri Mar 21 20:24:41 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Update to 0.12.9
* Upgrade pyo3 to v0.24.0.
- Refresh pycrdt-pr227-trio0.28.patch to
pycrdt-pr246-trio-0.30.patch
-------------------------------------------------------------------
Thu Jan 30 16:54:41 UTC 2025 - Ben Greiner <code@bnavigator.de>
- Add pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227
-------------------------------------------------------------------
Wed Jan 29 15:32:57 UTC 2025 - Ben Greiner <code@bnavigator.de>
- 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).
-------------------------------------------------------------------
Mon Nov 4 20:01:12 UTC 2024 - Ben Greiner <code@bnavigator.de>
- 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).
-------------------------------------------------------------------
Mon Sep 9 18:25:15 UTC 2024 - Ben Greiner <code@bnavigator.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pycrdt
#
# 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,24 +17,29 @@
Name: python-pycrdt
Version: 0.9.11
Version: 0.12.26
Release: 0
Summary: Python bindings for Yrs
License: MIT
URL: https://github.com/jupyter-server/pycrdt
URL: https://github.com/y-crdt/pycrdt
Source0: pycrdt-%{version}.tar.xz
Source1: vendor.tar.xz
BuildRequires: %{python_module base >= 3.9}
BuildRequires: %{python_module maturin >= 1.4.0}
BuildRequires: %{python_module pip}
BuildRequires: cargo-packaging
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: (python-anyio >= 4.4 with python-anyio < 5)
Requires: (python-importlib-metadata >= 3.6 if python-base < 3.10)
Requires: (python-typing_extensions >= 4.14.0 if python-base < 3.11)
# SECTION test requirements
BuildRequires: %{python_module pytest >= 7.4.2}
BuildRequires: %{python_module pytest >= 8}
BuildRequires: %{python_module anyio >= 4.4.0 with %python-anyio < 5}
BuildRequires: %{python_module exceptiongroup if %python-base < 3.11}
BuildRequires: %{python_module trio >= 0.25.1 with %python-trio < 0.27}
BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10}
BuildRequires: %{python_module trio >= 0.25.1 with %python-trio < 0.31}
BuildRequires: %{python_module typing_extensions >= 4.14.0 if %python-base < 3.11}
# /SECTION
%python_subpackages
@@ -49,8 +54,6 @@ all data replicas eventually converge to the same state.
%prep
%autosetup -p1 -n pycrdt-%{version} -a1
# gh#jupyter-server/pycrdt#160
sed -i '/trio/ s/<0.26/<0.27/' pyproject.toml
%build
%pyproject_wheel
@@ -60,8 +63,9 @@ sed -i '/trio/ s/<0.26/<0.27/' pyproject.toml
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
# pydantic is too old
%pytest_arch --ignore tests/test_model.py
# model: pydantic is too old
# types: avoid mypy installation
%pytest_arch --ignore tests/test_model.py --ignore tests/test_types.py
%files %{python_files}
%doc README.md

View File

@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c288855663162e0669ed117abf985f00f2d1b06485ada3abfff6554d46fd5725
size 5906608
oid sha256:246d32501b27c49164f0de3bd71e72b38d95f27b4fd3f41f04fd18ce20861ef2
size 6618448