Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-aiosignal for
openSUSE:Factory checked in at 2023-05-09 13:06:42
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-aiosignal (Old)
and /work/SRC/openSUSE:Factory/.python-aiosignal.new.1533 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-aiosignal"
Tue May 9 13:06:42 2023 rev:3 rq:1085033 version:1.3.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-aiosignal/python-aiosignal.changes
2023-04-22 22:03:10.470190033 +0200
+++
/work/SRC/openSUSE:Factory/.python-aiosignal.new.1533/python-aiosignal.changes
2023-05-09 13:06:50.912846245 +0200
@@ -1,0 +2,11 @@
+Fri May 5 10:16:37 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Update to 1.3.1:
+ * Removed stray quote and comma from setup.cfg preventing PyPI from
+ accepting a release. (#361)
+- 1.3.0:
+ * Switched to declarative package setup. #267
+ * Added support for Python 3.11. #360
+ * Dropped Python 3.6 support. #267
+
+-------------------------------------------------------------------
Old:
----
aiosignal-1.2.0.tar.gz
New:
----
aiosignal-1.3.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-aiosignal.spec ++++++
--- /var/tmp/diff_new_pack.yRH0i0/_old 2023-05-09 13:06:51.460849507 +0200
+++ /var/tmp/diff_new_pack.yRH0i0/_new 2023-05-09 13:06:51.464849531 +0200
@@ -16,11 +16,10 @@
#
-%{?!python_module:%define python_module() python3-%{**}}
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-aiosignal
-Version: 1.2.0
+Version: 1.3.1
Release: 0
Summary: a list of registered asynchronous callbacks
License: Apache-2.0
@@ -34,6 +33,7 @@
# SECTION test requirements
BuildRequires: %{python_module frozenlist >= 1.1.0}
BuildRequires: %{python_module pytest-asyncio}
+BuildRequires: %{python_module pytest-cov}
BuildRequires: %{python_module pytest}
# /SECTION
%python_subpackages
++++++ aiosignal-1.2.0.tar.gz -> aiosignal-1.3.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/CHANGES.rst
new/aiosignal-1.3.1/CHANGES.rst
--- old/aiosignal-1.2.0/CHANGES.rst 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/CHANGES.rst 2022-11-08 17:03:46.000000000 +0100
@@ -14,6 +14,41 @@
.. towncrier release notes start
+1.3.1 (2022-11-08)
+==================
+
+Bugfixes
+--------
+
+- Removed stray quote and comma from setup.cfg preventing PyPI from accepting a
+ release.
+ `#361 <https://github.com/aio-libs/aiosignal/issues/361>`_
+
+
+----
+
+
+1.3.0 (2022-11-08)
+==================
+
+Features
+--------
+
+- Switched to declarative package setup.
+ `#267 <https://github.com/aio-libs/aiosignal/issues/267>`_
+- Added support for Python 3.11.
+ `#360 <https://github.com/aio-libs/aiosignal/issues/360>`_
+
+
+Deprecations and Removals
+-------------------------
+
+- Dropped Python 3.6 support.
+ `#267 <https://github.com/aio-libs/aiosignal/issues/267>`_
+
+
+----
+
1.2.0 (2021-10-16)
==================
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/Makefile new/aiosignal-1.3.1/Makefile
--- old/aiosignal-1.2.0/Makefile 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/Makefile 2022-11-08 17:03:46.000000000 +0100
@@ -4,54 +4,26 @@
all: test
-.install-deps:
+.install-deps:
pip install -r requirements/dev.txt
@touch .install-deps
-isort:
- isort -rc $(SRC)
-
-flake: .flake
-
-.flake: .install-deps $(shell find aiosignal -type f) \
- $(shell find tests -type f)
- flake8 aiosignal tests
- python setup.py check -rms
- @if ! isort -c -rc aiosignal tests; then \
- echo "Import sort errors, run 'make isort' to fix them!"; \
- isort --diff -rc aiosignal tests; \
- false; \
- fi
- @if ! LC_ALL=C sort -c CONTRIBUTORS.txt; then \
- echo "CONTRIBUTORS.txt sort error"; \
- fi
- @touch .flake
-
-flake8:
- flake8 $(SRC)
-
-mypy: .flake
+lint:
+# CI env-var is set by GitHub actions
+ifndef CI
+ pre-commit run --all-files
+endif
mypy aiosignal
-isort-check:
- @if ! isort -rc --check-only $(SRC); then \
- echo "Import sort errors, run 'make isort' to fix them!!!"; \
- isort --diff -rc $(SRC); \
- false; \
- fi
-
-check_changes:
- ./tools/check_changes.py
-
-.develop: .install-deps $(shell find aiosignal -type f) .flake check_changes
mypy
+.develop: .install-deps $(shell find aiosignal -type f)
# pip install -e .
@touch .develop
test: .develop
- @pytest -c pytest.ci.ini -q
+ @pytest -q
vtest: .develop
- @pytest -c pytest.ci.ini -s -v
+ @pytest -s -v
cov cover coverage:
tox
@@ -98,6 +70,7 @@
install:
@pip install -U 'pip'
@pip install -Ur requirements/dev.txt
+ @pre-commit install
install-dev: .develop
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/PKG-INFO new/aiosignal-1.3.1/PKG-INFO
--- old/aiosignal-1.2.0/PKG-INFO 2021-10-16 17:59:13.191033400 +0200
+++ new/aiosignal-1.3.1/PKG-INFO 2022-11-08 17:03:54.682613800 +0100
@@ -1,36 +1,33 @@
Metadata-Version: 2.1
Name: aiosignal
-Version: 1.2.0
+Version: 1.3.1
Summary: aiosignal: a list of registered asynchronous callbacks
Home-page: https://github.com/aio-libs/aiosignal
-Author: Nikolay Kim
-Author-email: [email protected]
-Maintainer: Martijn Pieters <[email protected]>
-Maintainer-email: [email protected]
-License: Apache 2
+Maintainer: aiohttp team <[email protected]>
+Maintainer-email: [email protected]
+License: Apache 2.0
Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby
Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiosignal/actions
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiosignal
Project-URL: Docs: RTD, https://docs.aiosignal.org
Project-URL: GitHub: issues, https://github.com/aio-libs/aiosignal/issues
Project-URL: GitHub: repo, https://github.com/aio-libs/aiosignal
-Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Framework :: AsyncIO
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
@@ -104,10 +101,6 @@
Communication channels
======================
-*aio-libs* google group: https://groups.google.com/forum/#!forum/aio-libs
-
-Feel free to post your questions and ideas here.
-
*gitter chat* https://gitter.im/aio-libs/Lobby
Requirements
@@ -132,76 +125,3 @@
.. _GitHub: https://github.com/aio-libs/aiosignal
.. _aiohttp documentation: https://docs.aiohttp.org/
-
-=========
-Changelog
-=========
-
-..
- You should *NOT* be adding new change log entries to this file, this
- file is managed by towncrier. You *may* edit previous change logs to
- fix problems like typo corrections or such.
- To add a new change log entry, please see
- https://pip.pypa.io/en/latest/development/contributing/#news-entries
- we named the news folder "changes".
-
- WARNING: Don't drop the next directive!
-
-.. towncrier release notes start
-
-
-1.2.0 (2021-10-16)
-==================
-
-Features
---------
-
-- Added support for Python 3.10.
- `#328 <https://github.com/aio-libs/aiosignal/issues/328>`_
-
-
-Bugfixes
---------
-
-- Mark aiosignal as Python3-only package
- `#165 <https://github.com/aio-libs/aiosignal/issues/165>`_
-
-
-----
-
-
-1.1.2 (2020-11-27)
-==================
-
-Features
---------
-
-- Fix MANIFEST.in to include ``aiosignal/py.typed`` marker
-
-
-1.1.1 (2020-11-27)
-==================
-
-Features
---------
-
-- Support type hints
-
-1.1.0 (2020-10-13)
-==================
-
-Features
---------
-
-- Added support of Python 3.8 and 3.9
-
-
-1.0.0 (2019-11-11)
-==================
-
-Deprecations and Removals
--------------------------
-
-- Dropped support for Python 3.5; only 3.6, 3.7 and 3.8 are supported going
forward.
- `#23 <https://github.com/aio-libs/aiosignal/issues/23>`_
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/README.rst
new/aiosignal-1.3.1/README.rst
--- old/aiosignal-1.2.0/README.rst 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/README.rst 2022-11-08 17:03:46.000000000 +0100
@@ -68,10 +68,6 @@
Communication channels
======================
-*aio-libs* google group: https://groups.google.com/forum/#!forum/aio-libs
-
-Feel free to post your questions and ideas here.
-
*gitter chat* https://gitter.im/aio-libs/Lobby
Requirements
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/aiosignal/__init__.py
new/aiosignal-1.3.1/aiosignal/__init__.py
--- old/aiosignal-1.2.0/aiosignal/__init__.py 2021-10-16 17:59:08.000000000
+0200
+++ new/aiosignal-1.3.1/aiosignal/__init__.py 2022-11-08 17:03:46.000000000
+0100
@@ -1,6 +1,6 @@
from frozenlist import FrozenList
-__version__ = "1.2.0"
+__version__ = "1.3.1"
__all__ = ("Signal",)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/aiosignal.egg-info/PKG-INFO
new/aiosignal-1.3.1/aiosignal.egg-info/PKG-INFO
--- old/aiosignal-1.2.0/aiosignal.egg-info/PKG-INFO 2021-10-16
17:59:12.000000000 +0200
+++ new/aiosignal-1.3.1/aiosignal.egg-info/PKG-INFO 2022-11-08
17:03:54.000000000 +0100
@@ -1,36 +1,33 @@
Metadata-Version: 2.1
Name: aiosignal
-Version: 1.2.0
+Version: 1.3.1
Summary: aiosignal: a list of registered asynchronous callbacks
Home-page: https://github.com/aio-libs/aiosignal
-Author: Nikolay Kim
-Author-email: [email protected]
-Maintainer: Martijn Pieters <[email protected]>
-Maintainer-email: [email protected]
-License: Apache 2
+Maintainer: aiohttp team <[email protected]>
+Maintainer-email: [email protected]
+License: Apache 2.0
Project-URL: Chat: Gitter, https://gitter.im/aio-libs/Lobby
Project-URL: CI: GitHub Actions, https://github.com/aio-libs/aiosignal/actions
Project-URL: Coverage: codecov, https://codecov.io/github/aio-libs/aiosignal
Project-URL: Docs: RTD, https://docs.aiosignal.org
Project-URL: GitHub: issues, https://github.com/aio-libs/aiosignal/issues
Project-URL: GitHub: repo, https://github.com/aio-libs/aiosignal
-Platform: UNKNOWN
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
-Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
+Classifier: Programming Language :: Python :: 3.11
Classifier: Development Status :: 5 - Production/Stable
Classifier: Operating System :: POSIX
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: Microsoft :: Windows
Classifier: Framework :: AsyncIO
-Requires-Python: >=3.6
+Requires-Python: >=3.7
Description-Content-Type: text/x-rst
License-File: LICENSE
@@ -104,10 +101,6 @@
Communication channels
======================
-*aio-libs* google group: https://groups.google.com/forum/#!forum/aio-libs
-
-Feel free to post your questions and ideas here.
-
*gitter chat* https://gitter.im/aio-libs/Lobby
Requirements
@@ -132,76 +125,3 @@
.. _GitHub: https://github.com/aio-libs/aiosignal
.. _aiohttp documentation: https://docs.aiohttp.org/
-
-=========
-Changelog
-=========
-
-..
- You should *NOT* be adding new change log entries to this file, this
- file is managed by towncrier. You *may* edit previous change logs to
- fix problems like typo corrections or such.
- To add a new change log entry, please see
- https://pip.pypa.io/en/latest/development/contributing/#news-entries
- we named the news folder "changes".
-
- WARNING: Don't drop the next directive!
-
-.. towncrier release notes start
-
-
-1.2.0 (2021-10-16)
-==================
-
-Features
---------
-
-- Added support for Python 3.10.
- `#328 <https://github.com/aio-libs/aiosignal/issues/328>`_
-
-
-Bugfixes
---------
-
-- Mark aiosignal as Python3-only package
- `#165 <https://github.com/aio-libs/aiosignal/issues/165>`_
-
-
-----
-
-
-1.1.2 (2020-11-27)
-==================
-
-Features
---------
-
-- Fix MANIFEST.in to include ``aiosignal/py.typed`` marker
-
-
-1.1.1 (2020-11-27)
-==================
-
-Features
---------
-
-- Support type hints
-
-1.1.0 (2020-10-13)
-==================
-
-Features
---------
-
-- Added support of Python 3.8 and 3.9
-
-
-1.0.0 (2019-11-11)
-==================
-
-Deprecations and Removals
--------------------------
-
-- Dropped support for Python 3.5; only 3.6, 3.7 and 3.8 are supported going
forward.
- `#23 <https://github.com/aio-libs/aiosignal/issues/23>`_
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/docs/conf.py
new/aiosignal-1.3.1/docs/conf.py
--- old/aiosignal-1.2.0/docs/conf.py 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/docs/conf.py 2022-11-08 17:03:46.000000000 +0100
@@ -1,5 +1,4 @@
#!/usr/bin/env python3
-# -*- coding: utf-8 -*-
#
# aiosignal documentation build configuration file, created by
# sphinx-quickstart on Wed Mar 5 12:35:35 2014.
@@ -13,16 +12,14 @@
# All configuration values have a default; values that are commented out
# serve to show the default.
-import io
import os
import re
-
_docs_path = os.path.dirname(__file__)
_version_path = os.path.abspath(
os.path.join(_docs_path, "..", "aiosignal", "__init__.py")
)
-with io.open(_version_path, "r", encoding="latin1") as fp:
+with open(_version_path, encoding="latin1") as fp:
try:
_version_info = re.search(
r'^__version__ = "'
@@ -154,12 +151,17 @@
"badges": [
{
"image":
"https://github.com/aio-libs/aiosignal/workflows/CI/badge.svg",
- "target":
"https://github.com/aio-libs/aiosignal/actions?query=workflow%3ACI",
+ "target": (
+ "https://github.com/aio-libs/aiosignal/"
"actions?query=workflow%3ACI"
+ ),
"height": "20",
"alt": "GitHub CI status for master branch",
},
{
- "image":
"https://codecov.io/github/aio-libs/aiosignal/coverage.svg?branch=master",
+ "image": (
+ "https://codecov.io/github/aio-libs/aiosignal/"
+ "coverage.svg?branch=master"
+ ),
"target": "https://codecov.io/github/aio-libs/aiosignal",
"height": "20",
"alt": "Code coverage status",
@@ -171,7 +173,10 @@
"alt": "Latest PyPI package version",
},
{
- "image":
"https://img.shields.io/discourse/topics?server=https%3A%2F%2Faio-libs.discourse.group%2F",
+ "image": (
+ "https://img.shields.io/discourse/"
+ "topics?server=https%3A%2F%2Faio-libs.discourse.group%2F"
+ ),
"target": "https://aio-libs.discourse.group/",
"height": "20",
"alt": "Discourse group for io-libs",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/pyproject.toml
new/aiosignal-1.3.1/pyproject.toml
--- old/aiosignal-1.2.0/pyproject.toml 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/pyproject.toml 2022-11-08 17:03:46.000000000 +0100
@@ -1,3 +1,11 @@
+[build-system]
+requires = [
+ "setuptools>=51.0",
+ "wheel>=0.36",
+]
+build-backend = "setuptools.build_meta"
+
+
[tool.towncrier]
package = "aiosignal"
filename = "CHANGES.rst"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/setup.cfg
new/aiosignal-1.3.1/setup.cfg
--- old/aiosignal-1.2.0/setup.cfg 2021-10-16 17:59:13.195033600 +0200
+++ new/aiosignal-1.3.1/setup.cfg 2022-11-08 17:03:54.682613800 +0100
@@ -1,11 +1,50 @@
-[aliases]
-test = pytest
-
[metadata]
+name = aiosignal
+version = attr: aiosignal.__version__
+url = https://github.com/aio-libs/aiosignal
+project_urls =
+ Chat: Gitter = https://gitter.im/aio-libs/Lobby
+ CI: GitHub Actions = https://github.com/aio-libs/aiosignal/actions
+ Coverage: codecov = https://codecov.io/github/aio-libs/aiosignal
+ Docs: RTD = https://docs.aiosignal.org
+ GitHub: issues = https://github.com/aio-libs/aiosignal/issues
+ GitHub: repo = https://github.com/aio-libs/aiosignal
+description = aiosignal: a list of registered asynchronous callbacks
+long_description = file: README.rst
+long_description_content_type = text/x-rst
+maintainer = aiohttp team <[email protected]>
+maintainer_email = [email protected]
+license = Apache 2.0
license_file = LICENSE
+classifiers =
+ License :: OSI Approved :: Apache Software License
+
+ Intended Audience :: Developers
+
+ Programming Language :: Python
+ Programming Language :: Python :: 3
+ Programming Language :: Python :: 3 :: Only
+ Programming Language :: Python :: 3.7
+ Programming Language :: Python :: 3.8
+ Programming Language :: Python :: 3.9
+ Programming Language :: Python :: 3.10
+ Programming Language :: Python :: 3.11
+
+ Development Status :: 5 - Production/Stable
+ Operating System :: POSIX
+ Operating System :: MacOS :: MacOS X
+ Operating System :: Microsoft :: Windows
+ Framework :: AsyncIO
+
+[options]
+python_requires = >=3.7
+packages = find:
+include_package_data = True
+install_requires =
+ frozenlist >= 1.1.0
[pep8]
-max-line-length = 79
+max-line-length = 88
[easy_install]
zip_ok = false
@@ -28,6 +67,16 @@
@abc.abstractmethod
@abstractmethod
+[tool:pytest]
+addopts = --cov=aiosignal -v -rxXs
+filterwarnings = error
+junit_suite_name = aiosignal_test_suite
+junit_family = xunit2
+norecursedirs = dist docs build .tox .eggs
+minversion = 3.8.2
+testpaths = tests/
+asyncio_mode = strict
+
[coverage:run]
branch = True
source = aiosignal
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/setup.py new/aiosignal-1.3.1/setup.py
--- old/aiosignal-1.2.0/setup.py 2021-10-16 17:59:08.000000000 +0200
+++ new/aiosignal-1.3.1/setup.py 2022-11-08 17:03:46.000000000 +0100
@@ -1,72 +1,4 @@
-import pathlib
-import re
-import sys
-
from setuptools import setup
-if sys.version_info < (3, 6):
- raise RuntimeError("aiosignal 1.x requires Python 3.6+")
-
-
-here = pathlib.Path(__file__).parent
-
-
-txt = (here / "aiosignal" / "__init__.py").read_text("utf-8")
-try:
- version = re.findall(r'^__version__ = "([^"]+)"\r?$', txt, re.M)[0]
-except IndexError:
- raise RuntimeError("Unable to determine version.")
-
-install_requires = [
- "frozenlist>=1.1.0",
-]
-
-
-def read(f):
- return (here / f).read_text("utf-8").strip()
-
-
-args = dict(
- name="aiosignal",
- version=version,
- description="aiosignal: a list of registered asynchronous callbacks",
- long_description="\n\n".join((read("README.rst"), read("CHANGES.rst"))),
- long_description_content_type="text/x-rst",
- classifiers=[
- "License :: OSI Approved :: Apache Software License",
- "Intended Audience :: Developers",
- "Programming Language :: Python",
- "Programming Language :: Python :: 3",
- "Programming Language :: Python :: 3 :: Only",
- "Programming Language :: Python :: 3.6",
- "Programming Language :: Python :: 3.7",
- "Programming Language :: Python :: 3.8",
- "Programming Language :: Python :: 3.9",
- "Programming Language :: Python :: 3.10",
- "Development Status :: 5 - Production/Stable",
- "Operating System :: POSIX",
- "Operating System :: MacOS :: MacOS X",
- "Operating System :: Microsoft :: Windows",
- "Framework :: AsyncIO",
- ],
- author="Nikolay Kim",
- author_email="[email protected]",
- maintainer="Martijn Pieters <[email protected]>",
- maintainer_email="[email protected]",
- url="https://github.com/aio-libs/aiosignal",
- project_urls={
- "Chat: Gitter": "https://gitter.im/aio-libs/Lobby",
- "CI: GitHub Actions": "https://github.com/aio-libs/aiosignal/actions",
- "Coverage: codecov": "https://codecov.io/github/aio-libs/aiosignal",
- "Docs: RTD": "https://docs.aiosignal.org",
- "GitHub: issues": "https://github.com/aio-libs/aiosignal/issues",
- "GitHub: repo": "https://github.com/aio-libs/aiosignal",
- },
- license="Apache 2",
- packages=["aiosignal"],
- python_requires=">=3.6",
- install_requires=install_requires,
- include_package_data=True,
-)
-
-setup(**args)
+if __name__ == "__main__":
+ setup()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/aiosignal-1.2.0/tests/test_signals.py
new/aiosignal-1.3.1/tests/test_signals.py
--- old/aiosignal-1.2.0/tests/test_signals.py 2021-10-16 17:59:08.000000000
+0200
+++ new/aiosignal-1.3.1/tests/test_signals.py 2022-11-08 17:03:46.000000000
+0100
@@ -17,7 +17,7 @@
@pytest.mark.asyncio
-async def test_add_signal_handler_not_a_callable(owner):
+async def test_add_signal_handler_not_a_callable(owner: Owner) -> None:
callback = True
signal = Signal(owner)
signal.append(callback)
@@ -27,7 +27,7 @@
@pytest.mark.asyncio
-async def test_function_signal_dispatch_kwargs(owner):
+async def test_function_signal_dispatch_kwargs(owner: Owner) -> None:
signal = Signal(owner)
kwargs = {"foo": 1, "bar": 2}
@@ -44,7 +44,7 @@
@pytest.mark.asyncio
-async def test_function_signal_dispatch_args_kwargs(owner):
+async def test_function_signal_dispatch_args_kwargs(owner: Owner) -> None:
signal = Signal(owner)
args = {"a", "b"}
kwargs = {"foo": 1, "bar": 2}
@@ -75,7 +75,7 @@
await signal.send(**kwargs)
-def test_setitem(owner):
+def test_setitem(owner: Owner) -> None:
signal = Signal(owner)
m1 = mock.Mock()
signal.append(m1)
@@ -85,7 +85,7 @@
assert signal[0] is m2
-def test_delitem(owner):
+def test_delitem(owner: Owner) -> None:
signal = Signal(owner)
m1 = mock.Mock()
signal.append(m1)
@@ -94,7 +94,7 @@
assert len(signal) == 0
-def test_cannot_append_to_frozen_signal(owner):
+def test_cannot_append_to_frozen_signal(owner: Owner) -> None:
signal = Signal(owner)
m1 = mock.Mock()
m2 = mock.Mock()
@@ -106,7 +106,7 @@
assert list(signal) == [m1]
-def test_cannot_setitem_in_frozen_signal(owner):
+def test_cannot_setitem_in_frozen_signal(owner: Owner) -> None:
signal = Signal(owner)
m1 = mock.Mock()
m2 = mock.Mock()
@@ -118,7 +118,7 @@
assert list(signal) == [m1]
-def test_cannot_delitem_in_frozen_signal(owner):
+def test_cannot_delitem_in_frozen_signal(owner: Owner) -> None:
signal = Signal(owner)
m1 = mock.Mock()
signal.append(m1)
@@ -130,7 +130,7 @@
@pytest.mark.asyncio
-async def test_cannot_send_non_frozen_signal(owner):
+async def test_cannot_send_non_frozen_signal(owner: Owner) -> None:
signal = Signal(owner)
callback_mock = mock.Mock()
@@ -146,7 +146,7 @@
assert not callback_mock.called
-def test_repr(owner):
+def test_repr(owner: Owner) -> None:
signal = Signal(owner)
signal.append(mock.Mock(__repr__=lambda *a: "<callback>"))