Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pycrdt for openSUSE:Factory checked in at 2025-03-24 13:29:16 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycrdt (Old) and /work/SRC/openSUSE:Factory/.python-pycrdt.new.2696 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycrdt" Mon Mar 24 13:29:16 2025 rev:8 rq:1255116 version:0.12.9 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycrdt/python-pycrdt.changes 2025-01-31 16:02:48.168018583 +0100 +++ /work/SRC/openSUSE:Factory/.python-pycrdt.new.2696/python-pycrdt.changes 2025-03-24 13:29:18.228435565 +0100 @@ -1,0 +2,8 @@ +Fri Mar 21 20:24:41 UTC 2025 - Ben Greiner <c...@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 + +------------------------------------------------------------------- Old: ---- pycrdt-0.12.7.tar.xz pycrdt-pr227-trio0.28.patch New: ---- pycrdt-0.12.9.tar.xz pycrdt-pr246-trio-0.30.patch BETA DEBUG BEGIN: Old: * Upgrade pyo3 to v0.24.0. - Refresh pycrdt-pr227-trio0.28.patch to pycrdt-pr246-trio-0.30.patch BETA DEBUG END: BETA DEBUG BEGIN: New:- Refresh pycrdt-pr227-trio0.28.patch to pycrdt-pr246-trio-0.30.patch BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycrdt.spec ++++++ --- /var/tmp/diff_new_pack.9W2iCU/_old 2025-03-24 13:29:19.652495347 +0100 +++ /var/tmp/diff_new_pack.9W2iCU/_new 2025-03-24 13:29:19.652495347 +0100 @@ -17,15 +17,15 @@ Name: python-pycrdt -Version: 0.12.7 +Version: 0.12.9 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 -# PATCH-FIX-UPSTREAM pycrdt-pr227-trio0.28.patch gh#jupyter-server/pycrdt#227 -Patch0: pycrdt-pr227-trio0.28.patch +# PATCH-FIX-UPSTREAM pycrdt-pr246-trio-0.30.patch gh#jupyter-server/pycrdt#246 +Patch0: pycrdt-pr246-trio-0.30.patch BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module maturin >= 1.4.0} BuildRequires: %{python_module pip} @@ -39,7 +39,7 @@ BuildRequires: %{python_module anyio >= 4.4.0 with %python-anyio < 5} BuildRequires: %{python_module exceptiongroup if %python-base < 3.11} BuildRequires: %{python_module importlib-metadata >= 3.6 if %python-base < 3.10} -BuildRequires: %{python_module trio >= 0.25.1 with %python-trio < 0.29} +BuildRequires: %{python_module trio >= 0.25.1 with %python-trio < 0.30} # /SECTION %python_subpackages ++++++ _service ++++++ --- /var/tmp/diff_new_pack.9W2iCU/_old 2025-03-24 13:29:19.692497026 +0100 +++ /var/tmp/diff_new_pack.9W2iCU/_new 2025-03-24 13:29:19.696497194 +0100 @@ -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" /> ++++++ pycrdt-0.12.7.tar.xz -> pycrdt-0.12.9.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/.github/workflows/publish.yml new/pycrdt-0.12.9/.github/workflows/publish.yml --- old/pycrdt-0.12.7/.github/workflows/publish.yml 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/.github/workflows/publish.yml 2025-03-10 09:23:46.000000000 +0100 @@ -31,7 +31,7 @@ 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 @@ 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 @@ - 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 @@ 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 -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/.pre-commit-config.yaml new/pycrdt-0.12.9/.pre-commit-config.yaml --- old/pycrdt-0.12.7/.pre-commit-config.yaml 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/.pre-commit-config.yaml 2025-03-10 09:23:46.000000000 +0100 @@ -1,6 +1,6 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit - rev: v0.9.2 + rev: v0.9.9 hooks: - id: ruff args: [--fix, --show-fixes] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/CHANGELOG.md new/pycrdt-0.12.9/CHANGELOG.md --- old/pycrdt-0.12.7/CHANGELOG.md 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/CHANGELOG.md 2025-03-10 09:23:46.000000000 +0100 @@ -1,5 +1,13 @@ # Version history +## 0.12.9 + +- Upgrade `pyo3` to v0.24.0. + +## 0.12.8 + +- Bump trio upper version to <0.29. + ## 0.12.7 - Add `pycrdt.__version__`. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/Cargo.toml new/pycrdt-0.12.9/Cargo.toml --- old/pycrdt-0.12.7/Cargo.toml 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/Cargo.toml 2025-03-10 09:23:46.000000000 +0100 @@ -1,6 +1,6 @@ [package] name = "pycrdt" -version = "0.12.7" +version = "0.12.9" edition = "2021" [lib] @@ -11,4 +11,4 @@ yrs = "0.22.0" [dependencies.pyo3] -version = "0.23.4" +version = "0.24.0" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/pyproject.toml new/pycrdt-0.12.9/pyproject.toml --- old/pycrdt-0.12.7/pyproject.toml 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/pyproject.toml 2025-03-10 09:23:46.000000000 +0100 @@ -1,5 +1,5 @@ [build-system] -requires = ["maturin>=1.4.0,<2"] +requires = ["maturin>=1.8.2,<2"] build-backend = "maturin" [project] @@ -40,7 +40,7 @@ "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", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/python/pycrdt/_awareness.py new/pycrdt-0.12.9/python/pycrdt/_awareness.py --- old/pycrdt-0.12.7/python/pycrdt/_awareness.py 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/python/pycrdt/_awareness.py 2025-03-10 09:23:46.000000000 +0100 @@ -174,7 +174,7 @@ cur_meta = self._meta[client_id] self._meta[client_id] = { "clock": cur_meta["clock"] + 1, - "lastUpdted": self._get_time(), + "lastUpdated": self._get_time(), } removed.append(client_id) if removed: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pycrdt-0.12.7/tests/test_types.py new/pycrdt-0.12.9/tests/test_types.py --- old/pycrdt-0.12.7/tests/test_types.py 2025-01-23 12:07:12.000000000 +0100 +++ new/pycrdt-0.12.9/tests/test_types.py 2025-03-10 09:23:46.000000000 +0100 @@ -10,7 +10,7 @@ array0 = doc.get("array0", type=Array) array0.append(0) array0.append("foo") # E: Argument 1 to "append" of "Array" has incompatible type "str"; expected "int" [arg-type] - doc.get("array1", type=Array[str]) # E: Argument "type" to "get" of "Doc" has incompatible type "type[pycrdt._array.Array[Any]]"; expected "type[pycrdt._array.Array[int]]" + doc.get("array1", type=Array[str]) # E: Argument "type" to "get" of "Doc" has incompatible type "type[pycrdt._array.Array[str]]"; expected "type[pycrdt._array.Array[int]]" @pytest.mark.mypy_testing ++++++ pycrdt-pr246-trio-0.30.patch ++++++ >From e23cab275eacdf677baaf9c8ea2f018e56602ec4 Mon Sep 17 00:00:00 2001 From: Ben Greiner <c...@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", ++++++ pycrdt.obsinfo ++++++ --- /var/tmp/diff_new_pack.9W2iCU/_old 2025-03-24 13:29:19.816502232 +0100 +++ /var/tmp/diff_new_pack.9W2iCU/_new 2025-03-24 13:29:19.824502567 +0100 @@ -1,5 +1,5 @@ name: pycrdt -version: 0.12.7 -mtime: 1737630432 -commit: 7d8b4019e5117e12cbd02e83c8f63dfc303f0cd0 +version: 0.12.9 +mtime: 1741595026 +commit: 30ab4e244eec78dcfc65c001e7b407226befc026 ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/python-pycrdt/vendor.tar.xz /work/SRC/openSUSE:Factory/.python-pycrdt.new.2696/vendor.tar.xz differ: char 15, line 1