Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pyee for openSUSE:Factory checked in at 2026-02-16 13:12:01 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pyee (Old) and /work/SRC/openSUSE:Factory/.python-pyee.new.1977 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pyee" Mon Feb 16 13:12:01 2026 rev:17 rq:1333237 version:13.0.1 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pyee/python-pyee.changes 2025-12-16 16:02:48.751428389 +0100 +++ /work/SRC/openSUSE:Factory/.python-pyee.new.1977/python-pyee.changes 2026-02-16 13:18:17.376496006 +0100 @@ -1,0 +2,8 @@ +Mon Feb 16 04:43:55 UTC 2026 - Steve Kowalik <[email protected]> + +- Update to 13.0.1: + * Check for listener's existence before attempting to remove it + * Update pytest configuration to support pytest 9 +- Drop patch gh-pr184_tests.patch, merged upstream. + +------------------------------------------------------------------- Old: ---- gh-pr184_tests.patch pyee-13.0.0.tar.gz New: ---- pyee-13.0.1.tar.gz ----------(Old B)---------- Old: * Update pytest configuration to support pytest 9 - Drop patch gh-pr184_tests.patch, merged upstream. ----------(Old E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pyee.spec ++++++ --- /var/tmp/diff_new_pack.rYfRL8/_old 2026-02-16 13:18:18.132527439 +0100 +++ /var/tmp/diff_new_pack.rYfRL8/_new 2026-02-16 13:18:18.136527605 +0100 @@ -1,7 +1,7 @@ # # spec file for package python-pyee # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,12 @@ %{?sle15_python_module_pythons} Name: python-pyee -Version: 13.0.0 +Version: 13.0.1 Release: 0 Summary: A port of node.js's EventEmitter to python License: MIT URL: https://github.com/jfhbrook/pyee Source: https://files.pythonhosted.org/packages/source/p/pyee/pyee-%{version}.tar.gz -# https://github.com/jfhbrook/pyee/pull/184 -Patch0: gh-pr184_tests.patch BuildRequires: %{python_module base >= 3.8} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} @@ -47,8 +45,6 @@ %prep %autosetup -n pyee-%{version} -p1 -# https://github.com/jfhbrook/pyee/issues/189 -sed -ie 's/\(tool.pytest\)/\1.ini_options/' pyproject.toml %build %pyproject_wheel ++++++ pyee-13.0.0.tar.gz -> pyee-13.0.1.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/CHANGELOG.md new/pyee-13.0.1/CHANGELOG.md --- old/pyee-13.0.0/CHANGELOG.md 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/CHANGELOG.md 2026-02-14 22:07:10.000000000 +0100 @@ -1,5 +1,10 @@ # Changelog +## 2026/02/14 Version 13.0.1 + +- Check for listener's existence before attempting to remove it +- Update pytest configuration to support pytest 9 + ## 2025/03/17 Version 13.0.0 - Type checking improvements diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/CONTRIBUTORS.md new/pyee-13.0.1/CONTRIBUTORS.md --- old/pyee-13.0.0/CONTRIBUTORS.md 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/CONTRIBUTORS.md 2026-02-14 22:07:10.000000000 +0100 @@ -25,3 +25,5 @@ - @asellappen - @ddelange - Yuichiro Tachibana @whitphx +- Joe Rickwalder @rickwalder +- Colin Watson @cjwatson diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/PKG-INFO new/pyee-13.0.1/PKG-INFO --- old/pyee-13.0.0/PKG-INFO 2025-03-17 19:52:48.370668000 +0100 +++ new/pyee-13.0.1/PKG-INFO 2026-02-14 22:09:33.732058000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: pyee -Version: 13.0.0 +Version: 13.0.1 Summary: A rough port of Node.js's EventEmitter to Python with a few tricks of its own Author-email: Josh Holbrook <[email protected]> License: MIT @@ -48,6 +48,7 @@ Requires-Dist: twine; extra == "dev" Requires-Dist: twisted; extra == "dev" Requires-Dist: validate-pyproject[all]; extra == "dev" +Dynamic: license-file # pyee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/justfile new/pyee-13.0.1/justfile --- old/pyee-13.0.0/justfile 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/justfile 2026-02-14 22:08:46.000000000 +0100 @@ -150,7 +150,7 @@ # Tag the release in git tag: - . ./venv/bin/activate && git tag -a "v$(python3 -c 'import toml; print(toml.load(open("pyproject.toml", "r"))["project"]["version"])')" -m "Release $(python3 -c 'import toml; print(toml.load(open("pyproject.toml", "r"))["project"]["version"])')" + . ./venv/bin/activate && git tag -a "v$(python3 -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')" -m "Release $(python3 -c 'import tomllib; print(tomllib.load(open("pyproject.toml", "rb"))["project"]["version"])')" # Upload built packages upload: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/pyee/base.py new/pyee-13.0.1/pyee/base.py --- old/pyee-13.0.0/pyee/base.py 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/pyee/base.py 2026-02-14 21:50:56.000000000 +0100 @@ -259,9 +259,10 @@ def _remove_listener(self: Self, event: str, f: Callable) -> None: """Naked unprotected removal.""" - self._events[event].pop(f) - if not len(self._events[event]): - del self._events[event] + if event in self._events: + self._events[event].pop(f) + if not self._events[event]: + del self._events[event] def remove_listener(self: Self, event: str, f: Callable) -> None: """Removes the function `f` from `event`.""" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/pyee.egg-info/PKG-INFO new/pyee-13.0.1/pyee.egg-info/PKG-INFO --- old/pyee-13.0.0/pyee.egg-info/PKG-INFO 2025-03-17 19:52:48.000000000 +0100 +++ new/pyee-13.0.1/pyee.egg-info/PKG-INFO 2026-02-14 22:09:33.000000000 +0100 @@ -1,6 +1,6 @@ -Metadata-Version: 2.2 +Metadata-Version: 2.4 Name: pyee -Version: 13.0.0 +Version: 13.0.1 Summary: A rough port of Node.js's EventEmitter to Python with a few tricks of its own Author-email: Josh Holbrook <[email protected]> License: MIT @@ -48,6 +48,7 @@ Requires-Dist: twine; extra == "dev" Requires-Dist: twisted; extra == "dev" Requires-Dist: validate-pyproject[all]; extra == "dev" +Dynamic: license-file # pyee diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/pyproject.toml new/pyee-13.0.1/pyproject.toml --- old/pyee-13.0.0/pyproject.toml 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/pyproject.toml 2026-02-14 22:07:10.000000000 +0100 @@ -4,7 +4,7 @@ [project] name = "pyee" -version = "13.0.0" +version = "13.0.1" authors = [ {name = "Josh Holbrook", email = "[email protected]"} ] @@ -68,7 +68,7 @@ [tool.pyright] include = ["pyee", "tests"] -[tool.pytest] +[tool.pytest.ini_options] addopts = "--verbose -s" testpaths = [ "tests" ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/requirements.txt new/pyee-13.0.1/requirements.txt --- old/pyee-13.0.0/requirements.txt 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/requirements.txt 2026-02-14 22:07:10.000000000 +0100 @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile with Python 3.13 +# This file is autogenerated by pip-compile with Python 3.14 # by the following command: # # pip-compile --output-file=requirements.txt pyproject.toml diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/requirements_dev.txt new/pyee-13.0.1/requirements_dev.txt --- old/pyee-13.0.0/requirements_dev.txt 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/requirements_dev.txt 2026-02-14 22:07:10.000000000 +0100 @@ -1,13 +1,11 @@ # -# This file is autogenerated by pip-compile with Python 3.13 +# This file is autogenerated by pip-compile with Python 3.14 # by the following command: # # pip-compile --extra=dev --output-file=requirements_dev.txt pyproject.toml # alabaster==0.7.16 # via sphinx -appnope==0.1.4 - # via ipykernel asttokens==2.4.1 # via stack-data async-generator==1.10 @@ -34,6 +32,8 @@ # via tox certifi==2024.7.4 # via requests +cffi==2.0.0 + # via cryptography chardet==5.2.0 # via tox charset-normalizer==3.3.2 @@ -51,6 +51,8 @@ # via ipykernel constantly==23.10.4 # via twisted +cryptography==46.0.5 + # via secretstorage debugpy==1.8.0 # via ipykernel decorator==5.1.1 @@ -65,7 +67,7 @@ # via stack-data fastjsonschema==2.19.1 # via validate-pyproject -filelock==3.13.1 +filelock==3.24.0 # via # tox # virtualenv @@ -108,6 +110,10 @@ # via keyring jedi==0.19.1 # via ipython +jeepney==0.9.0 + # via + # keyring + # secretstorage jinja2==3.1.6 # via # mkdocs @@ -157,7 +163,7 @@ # pyee (pyproject.toml) mkdocs-autorefs==0.5.0 # via mkdocstrings -mkdocs-include-markdown-plugin==6.0.4 +mkdocs-include-markdown-plugin==7.1.8 # via pyee (pyproject.toml) mkdocstrings[python]==0.24.0 # via @@ -228,6 +234,8 @@ # via stack-data pycodestyle==2.11.1 # via flake8 +pycparser==3.0 + # via cffi pyflakes==3.2.0 # via flake8 pygments==2.17.2 @@ -248,9 +256,9 @@ # pyee (pyproject.toml) # pytest-asyncio # pytest-trio -pytest-asyncio==0.23.5 ; python_version >= "3.4" +pytest-asyncio==0.23.5 # via pyee (pyproject.toml) -pytest-trio==0.8.0 ; python_version >= "3.7" +pytest-trio==0.8.0 # via pyee (pyproject.toml) python-dateutil==2.8.2 # via @@ -270,7 +278,7 @@ # jupyter-console readme-renderer==42.0 # via twine -requests==2.32.2 +requests==2.32.4 # via # requests-toolbelt # sphinx @@ -281,6 +289,8 @@ # via twine rich==13.7.0 # via twine +secretstorage==3.5.0 + # via keyring six==1.16.0 # via # asttokens @@ -310,7 +320,7 @@ # via ipython toml==0.10.2 # via pyee (pyproject.toml) -tornado==6.4.1 +tornado==6.5.1 # via # ipykernel # jupyter-client @@ -325,12 +335,12 @@ # jupyter-console # jupyter-core # matplotlib-inline -trio==0.24.0 ; python_version > "3.6" +trio==0.24.0 # via # pyee (pyproject.toml) # pytest-trio # trio-typing -trio-typing==0.10.0 ; python_version > "3.6" +trio-typing==0.10.0 # via pyee (pyproject.toml) trove-classifiers==2024.2.22 # via validate-pyproject @@ -344,13 +354,13 @@ # pyee (pyproject.toml) # trio-typing # twisted -urllib3==2.2.2 +urllib3==2.6.3 # via # requests # twine validate-pyproject[all]==0.16 # via pyee (pyproject.toml) -virtualenv==20.26.6 +virtualenv==20.36.1 # via tox watchdog==4.0.0 # via mkdocs diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pyee-13.0.0/tests/test_trio.py new/pyee-13.0.1/tests/test_trio.py --- old/pyee-13.0.0/tests/test_trio.py 2025-03-17 19:52:17.000000000 +0100 +++ new/pyee-13.0.1/tests/test_trio.py 2026-02-09 17:30:04.000000000 +0100 @@ -1,5 +1,7 @@ # -*- coding: utf-8 -*- +from typing import NoReturn + import pytest import pytest_trio.plugin # type: ignore # noqa import trio @@ -12,7 +14,7 @@ @pytest.mark.trio -async def test_trio_emit(): +async def test_trio_emit() -> None: """Test that the trio event emitter can handle wrapping coroutines """ @@ -35,7 +37,7 @@ @pytest.mark.trio -async def test_trio_once_emit(): +async def test_trio_once_emit() -> None: """Test that trio event emitters also wrap coroutines when using once """ @@ -58,13 +60,13 @@ @pytest.mark.trio -async def test_trio_error(): +async def test_trio_error() -> None: """Test that trio event emitters can handle errors when wrapping coroutines """ async with TrioEventEmitter() as ee: - send, rcv = trio.open_memory_channel(1) + send, rcv = trio.open_memory_channel[PyeeTestError](1) @ee.on("event") async def event_handler(): @@ -86,18 +88,18 @@ @pytest.mark.trio -async def test_sync_error(event_loop): +async def test_sync_error() -> None: """Test that regular functions have the same error handling as coroutines""" async with TrioEventEmitter() as ee: - send, rcv = trio.open_memory_channel(1) + send, rcv = trio.open_memory_channel[PyeeTestError](1) @ee.on("event") - def sync_handler(): + def sync_handler() -> NoReturn: raise PyeeTestError() @ee.on("error") - async def handle_error(exc): + async def handle_error(exc) -> None: async with send: await send.send(exc)
