17
0

1 Commits

Author SHA256 Message Date
ac1eac6823 - 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]
- Switch to pyproject macros.
2026-01-14 16:10:05 +11:00
4 changed files with 24 additions and 8 deletions

Binary file not shown.

BIN
aiosignal-1.4.0.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,14 @@
-------------------------------------------------------------------
Wed Jan 14 05:09:31 UTC 2026 - Steve Kowalik <steven.kowalik@suse.com>
- 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]
- Switch to pyproject macros.
------------------------------------------------------------------- -------------------------------------------------------------------
Tue Jan 21 10:06:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com> Tue Jan 21 10:06:18 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>

View File

@@ -16,25 +16,30 @@
# #
%define skip_python2 1
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-aiosignal Name: python-aiosignal
Version: 1.3.2 Version: 1.4.0
Release: 0 Release: 0
Summary: a list of registered asynchronous callbacks Summary: a list of registered asynchronous callbacks
License: Apache-2.0 License: Apache-2.0
URL: https://github.com/aio-libs/aiosignal URL: https://github.com/aio-libs/aiosignal
Source: https://files.pythonhosted.org/packages/source/a/aiosignal/aiosignal-%{version}.tar.gz 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 setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-frozenlist >= 1.1.0 Requires: python-frozenlist >= 1.1.0
%if 0%{?python_version_nodots} < 313
Requires: python-typing_extensions >= 4.4
%endif
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module frozenlist >= 1.1.0} BuildRequires: %{python_module frozenlist >= 1.1.0}
BuildRequires: %{python_module pytest-asyncio} BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-cov} BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module typing_extensions >= 4.4}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -46,10 +51,10 @@ Signal is a list of registered asynchronous callbacks.
%setup -q -n aiosignal-%{version} %setup -q -n aiosignal-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -59,6 +64,6 @@ Signal is a list of registered asynchronous callbacks.
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/aiosignal %{python_sitelib}/aiosignal
%{python_sitelib}/aiosignal-%{version}*-info %{python_sitelib}/aiosignal-%{version}.dist-info
%changelog %changelog