From 79cc2ce1635fc1f51ee8175c1baa497c4861882d11feb85a6db1f63809515ee9 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Thu, 10 Jul 2025 04:53:39 +0000 Subject: [PATCH] - Upgrade to 1.4.0: * Added decorator functionality to Signal as a convenient way to add a callback * Improved type safety by allowing callback parameters to be type checked (typing-extensions is now required for Python <3.13). Parameters for a Signal callback should now be defined like Signal[int, str] OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-aiosignal?expand=0&rev=12 --- aiosignal-1.3.2.tar.gz | 3 --- aiosignal-1.4.0.tar.gz | 3 +++ python-aiosignal.changes | 10 ++++++++++ python-aiosignal.spec | 8 ++++++-- 4 files changed, 19 insertions(+), 5 deletions(-) delete mode 100644 aiosignal-1.3.2.tar.gz create mode 100644 aiosignal-1.4.0.tar.gz diff --git a/aiosignal-1.3.2.tar.gz b/aiosignal-1.3.2.tar.gz deleted file mode 100644 index bcc1084..0000000 --- a/aiosignal-1.3.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a8c255c66fafb1e499c9351d0bf32ff2d8a0321595ebac3b93713656d2436f54 -size 19424 diff --git a/aiosignal-1.4.0.tar.gz b/aiosignal-1.4.0.tar.gz new file mode 100644 index 0000000..4538233 --- /dev/null +++ b/aiosignal-1.4.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f47eecd9468083c2029cc99945502cb7708b082c232f9aca65da147157b251c7 +size 25007 diff --git a/python-aiosignal.changes b/python-aiosignal.changes index 4b8c654..1956ef5 100644 --- a/python-aiosignal.changes +++ b/python-aiosignal.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Thu Jul 10 04:53:25 UTC 2025 - Steve Kowalik + +- Upgrade to 1.4.0: + * Added decorator functionality to Signal as a convenient way to add a + callback + * Improved type safety by allowing callback parameters to be type checked + (typing-extensions is now required for Python <3.13). Parameters for a + Signal callback should now be defined like Signal[int, str] + ------------------------------------------------------------------- Fri Jun 13 05:35:05 UTC 2025 - Steve Kowalik diff --git a/python-aiosignal.spec b/python-aiosignal.spec index f04bb9c..67a15de 100644 --- a/python-aiosignal.spec +++ b/python-aiosignal.spec @@ -16,27 +16,31 @@ # -%define skip_python2 1 %{?sle15_python_module_pythons} Name: python-aiosignal -Version: 1.3.2 +Version: 1.4.0 Release: 0 Summary: a list of registered asynchronous callbacks License: Apache-2.0 URL: https://github.com/aio-libs/aiosignal Source: https://files.pythonhosted.org/packages/source/a/aiosignal/aiosignal-%{version}.tar.gz +BuildRequires: %{python_module base >= 3.9} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-frozenlist >= 1.1.0 +%if 0%{?python_version_nodots} < 313 +Requires: python-typing_extensions >= 4.4 +%endif BuildArch: noarch # SECTION test requirements BuildRequires: %{python_module frozenlist >= 1.1.0} BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest} +BuildRequires: %{python_module typing_extensions >= 4.4} # /SECTION %python_subpackages