Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pykka for openSUSE:Factory checked in at 2026-04-09 16:09:26 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pykka (Old) and /work/SRC/openSUSE:Factory/.python-pykka.new.21863 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pykka" Thu Apr 9 16:09:26 2026 rev:6 rq:1345292 version:4.4.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pykka/python-pykka.changes 2026-01-27 16:17:50.003791951 +0100 +++ /work/SRC/openSUSE:Factory/.python-pykka.new.21863/python-pykka.changes 2026-04-09 16:22:17.944479067 +0200 @@ -1,0 +2,6 @@ +Wed Apr 8 21:32:15 UTC 2026 - Dirk Müller <[email protected]> + +- update to 4.4.2: + * fix: Break reference cycle between Actor and ActorRef + +------------------------------------------------------------------- Old: ---- pykka-4.4.1.tar.gz New: ---- pykka-4.4.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pykka.spec ++++++ --- /var/tmp/diff_new_pack.afNWlY/_old 2026-04-09 16:22:18.468500569 +0200 +++ /var/tmp/diff_new_pack.afNWlY/_new 2026-04-09 16:22:18.468500569 +0200 @@ -20,7 +20,7 @@ %define modname pykka %define skip_python36 1 Name: python-pykka -Version: 4.4.1 +Version: 4.4.2 Release: 0 Summary: A Python implementation of the actor model License: Apache-2.0 ++++++ pykka-4.4.1.tar.gz -> pykka-4.4.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykka-4.4.1/.github/workflows/release.yml new/pykka-4.4.2/.github/workflows/release.yml --- old/pykka-4.4.1/.github/workflows/release.yml 2026-01-01 18:59:05.000000000 +0100 +++ new/pykka-4.4.2/.github/workflows/release.yml 2026-03-14 11:57:02.000000000 +0100 @@ -16,7 +16,7 @@ - uses: actions/checkout@v6 - uses: hynek/build-and-inspect-python-package@v2 id: build - - uses: actions/download-artifact@v7 + - uses: actions/download-artifact@v8 with: name: ${{ steps.build.outputs.artifact-name }} path: dist diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykka-4.4.1/PKG-INFO new/pykka-4.4.2/PKG-INFO --- old/pykka-4.4.1/PKG-INFO 2026-01-01 18:59:05.000000000 +0100 +++ new/pykka-4.4.2/PKG-INFO 2026-03-14 11:57:02.000000000 +0100 @@ -1,6 +1,6 @@ Metadata-Version: 2.4 Name: pykka -Version: 4.4.1 +Version: 4.4.2 Summary: Pykka is a Python implementation of the actor model Project-URL: Source code, https://github.com/jodal/pykka Project-URL: Documentation, https://pykka.readthedocs.io/ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykka-4.4.1/pyproject.toml new/pykka-4.4.2/pyproject.toml --- old/pykka-4.4.1/pyproject.toml 2026-01-01 18:59:05.000000000 +0100 +++ new/pykka-4.4.2/pyproject.toml 2026-03-14 11:57:02.000000000 +0100 @@ -1,6 +1,6 @@ [project] name = "pykka" -version = "4.4.1" +version = "4.4.2" description = "Pykka is a Python implementation of the actor model" authors = [{ name = "Stein Magnus Jodal", email = "[email protected]" }] requires-python = ">=3.10" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykka-4.4.1/src/pykka/_proxy.py new/pykka-4.4.2/src/pykka/_proxy.py --- old/pykka-4.4.1/src/pykka/_proxy.py 2026-01-01 18:59:05.000000000 +0100 +++ new/pykka-4.4.2/src/pykka/_proxy.py 2026-03-14 11:57:02.000000000 +0100 @@ -138,8 +138,11 @@ if not actor_ref.is_alive(): msg = f"{actor_ref} not found" raise ActorDeadError(msg) + if (actor := actor_ref._actor_weakref()) is None: # noqa: SLF001 + msg = f"{actor_ref}'s actor weakref has been deallocated" + raise ActorDeadError(msg) self.actor_ref = actor_ref - self._actor = actor_ref._actor # noqa: SLF001 + self._actor = actor self._attr_path = attr_path or () self._known_attrs = introspect_attrs(root=self._actor, proxy=self) self._actor_proxies = {} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pykka-4.4.1/src/pykka/_ref.py new/pykka-4.4.2/src/pykka/_ref.py --- old/pykka-4.4.1/src/pykka/_ref.py 2026-01-01 18:59:05.000000000 +0100 +++ new/pykka-4.4.2/src/pykka/_ref.py 2026-03-14 11:57:02.000000000 +0100 @@ -1,5 +1,6 @@ from __future__ import annotations +import weakref from typing import ( TYPE_CHECKING, Any, @@ -51,7 +52,7 @@ self, actor: A, ) -> None: - self._actor = actor + self._actor_weakref = weakref.ref(actor) self.actor_class = actor.__class__ self.actor_urn = actor.actor_urn self.actor_inbox = actor.actor_inbox
