Skip to content

Commit

Permalink
Update python-pycrdt to version 0.12.7 / rev 7 via SR 1241449
Browse files Browse the repository at this point in the history
https://build.opensuse.org/request/show/1241449
by user bnavigator + anag+factory
- 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).
  • Loading branch information
bnavigator authored and bmwiedemann committed Feb 6, 2025
1 parent 8422280 commit 8413c29
Show file tree
Hide file tree
Showing 9 changed files with 122 additions and 9 deletions.
Binary file modified packages/p/python-pycrdt/.files
Binary file not shown.
23 changes: 23 additions & 0 deletions packages/p/python-pycrdt/.rev
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,27 @@
@ColonelThirtyTwo). (forwarded request 1222539 from bnavigator)</comment>
<requestid>1222540</requestid>
</revision>
<revision rev="7" vrev="1">
<srcmd5>d7cfefab76d10d4612f1a9407f5b6e8c</srcmd5>
<version>0.12.7</version>
<time>1738335745</time>
<user>anag+factory</user>
<comment>- 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).</comment>
<requestid>1241449</requestid>
</revision>
</revisionlist>
1 change: 0 additions & 1 deletion packages/p/python-pycrdt/pycrdt-0.10.6.tar.xz

This file was deleted.

1 change: 1 addition & 0 deletions packages/p/python-pycrdt/pycrdt-0.12.7.tar.xz
63 changes: 63 additions & 0 deletions packages/p/python-pycrdt/pycrdt-pr227-trio0.28.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
From 238396359d6f4e67db0269c5554ce2701674cc50 Mon Sep 17 00:00:00 2001
From: Ben Greiner <[email protected]>
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",
6 changes: 3 additions & 3 deletions packages/p/python-pycrdt/pycrdt.obsinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: pycrdt
version: 0.10.6
mtime: 1729861432
commit: 59293cd09f192fd513a80e2be9981939ac8b7bd5
version: 0.12.7
mtime: 1737630432
commit: 7d8b4019e5117e12cbd02e83c8f63dfc303f0cd0
23 changes: 23 additions & 0 deletions packages/p/python-pycrdt/python-pycrdt.changes
Original file line number Diff line number Diff line change
@@ -1,3 +1,26 @@
-------------------------------------------------------------------
Thu Jan 30 16:54:41 UTC 2025 - Ben Greiner <[email protected]>

- Add pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227

-------------------------------------------------------------------
Wed Jan 29 15:32:57 UTC 2025 - Ben Greiner <[email protected]>

- 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 <[email protected]>

Expand Down
12 changes: 8 additions & 4 deletions packages/p/python-pycrdt/python-pycrdt.spec
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -17,25 +17,29 @@


Name: python-pycrdt
Version: 0.10.6
Version: 0.12.7
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 base >= 3.8}
# PATCH-FIX-UPSTREAM pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227
Patch0: pycrdt-pr227-trio0.28.patch
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)
# 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.27}
BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10}
BuildRequires: %{python_module trio >= 0.25.1 with %python-trio < 0.29}
# /SECTION
%python_subpackages

Expand Down
2 changes: 1 addition & 1 deletion packages/p/python-pycrdt/vendor.tar.xz

0 comments on commit 8413c29

Please sign in to comment.