forked from pool/python-pycrdt
- 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
This commit is contained in:
commit
4397261d70
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
21
_service
Normal file
21
_service
Normal file
@ -0,0 +1,21 @@
|
||||
<services>
|
||||
<service mode="disabled" name="obs_scm">
|
||||
<param name="url">https://github.com/jupyter-server/pycrdt.git</param>
|
||||
<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-replacement">\1</param>
|
||||
</service>
|
||||
<service mode="disabled" name="tar" />
|
||||
<service mode="disabled" name="recompress">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service mode="disabled" name="set_version"/>
|
||||
<service name="cargo_vendor" mode="disabled">
|
||||
<param name="srcdir">pycrdt</param>
|
||||
<param name="compression">xz</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
</services>
|
3
pycrdt-0.8.17.tar.xz
Normal file
3
pycrdt-0.8.17.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:2106461ccd01e6b71fc035c496544f8010ca0ba4e5d19f6a8867d31f90f8499c
|
||||
size 22372
|
3
pycrdt-0.9.11.tar.xz
Normal file
3
pycrdt-0.9.11.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:7e342126f3917229e2480811bbf9f542615730eb657f2f3cedf803b590dfadc0
|
||||
size 28152
|
4
pycrdt.obsinfo
Normal file
4
pycrdt.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: pycrdt
|
||||
version: 0.9.11
|
||||
mtime: 1725264371
|
||||
commit: 2fe8096593767f7708c81966dd47041e74b724fa
|
74
python-pycrdt.changes
Normal file
74
python-pycrdt.changes
Normal file
@ -0,0 +1,74 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Sep 6 17:56:42 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.9.11
|
||||
* Add Doc.new_transaction() sync and async context managers by
|
||||
@davidbrochart in #154
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 30 10:27:48 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Jun 28 00:36:00 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Remove upper bound on pytest.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Mar 29 19:13:03 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- 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
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jan 22 18:40:34 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Update to 0.8.6
|
||||
* Resolve "Text data type does not delete as expected" by @jbdyn
|
||||
in #68
|
||||
- Releases in Between:
|
||||
* Bump yrs, pyo3, maturin
|
||||
- Release 0.8.3
|
||||
* Support nested ReadTransaction by @davidbrochart in #59
|
||||
* Fix Map.pop default value handling by @davidbrochart in #60
|
||||
* Add contains method by @davidbrochart in #61
|
||||
* Support bytes by @davidbrochart in #62
|
||||
* Revert PR #58 by @davidbrochart in #63
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 28 17:00:19 UTC 2023 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
- Initial specfile for v0.8.2
|
||||
- Required by jupyter-collaboration 2 (still incubating phase)
|
70
python-pycrdt.spec
Normal file
70
python-pycrdt.spec
Normal file
@ -0,0 +1,70 @@
|
||||
#
|
||||
# spec file for package python-pycrdt
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: python-pycrdt
|
||||
Version: 0.9.11
|
||||
Release: 0
|
||||
Summary: Python bindings for Yrs
|
||||
License: MIT
|
||||
URL: https://github.com/jupyter-server/pycrdt
|
||||
Source0: pycrdt-%{version}.tar.xz
|
||||
Source1: vendor.tar.xz
|
||||
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)
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 7.4.2}
|
||||
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.26}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
%description
|
||||
Pycrdt is a Python CRDT library that provides bindings for Yrs, the Rust port of the Yjs framework.
|
||||
|
||||
Conflict-free Replicated Data Types (CRDTs) allow creating shared documents that can automatically
|
||||
merge changes made concurrently on different "copies" of the data. When the data lives on different
|
||||
machines, they make it possible to build distributed systems that work with local data, leaving the
|
||||
synchronization and conflict resolution with remote data to the CRDT algorithm, which ensures that
|
||||
all data replicas eventually converge to the same state.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n pycrdt-%{version} -a1
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
|
||||
%install
|
||||
%pyproject_install
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitearch}
|
||||
|
||||
%check
|
||||
# pydantic is too old
|
||||
%pytest_arch --ignore tests/test_model.py
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
%license LICENSE
|
||||
%{python_sitearch}/pycrdt
|
||||
%{python_sitearch}/pycrdt-%{version}.dist-info
|
||||
|
||||
%changelog
|
3
vendor.tar.xz
Normal file
3
vendor.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:1ab376a959937f14405b69b830c13d8bf82cdea46f1602ede98ff77b9a4b3246
|
||||
size 5908184
|
Loading…
x
Reference in New Issue
Block a user