From 194f334bb518fce4026f57323be83032ab2a35d6 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Sat, 16 Oct 2021 18:53:20 +0300 Subject: [PATCH] Support Python 3.10 (#238) --- .github/workflows/ci.yml | 12 ++++-------- CHANGES.rst | 10 +++++++++- aiosignal/__init__.py | 2 +- setup.py | 1 + tools/check_changes.py | 2 +- 5 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0a0f932..57c407e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,10 +22,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Setup Python 3.8 + - name: Setup Python uses: actions/setup-python@v2 - with: - python-version: 3.8 - name: Cache PyPI uses: actions/cache@v2 with: @@ -76,7 +74,7 @@ jobs: needs: [lint] strategy: matrix: - pyver: [3.6, 3.7, 3.8, 3.9] + pyver: ['3.6', '3.7', '3.8', '3.9', '3.10'] os: [ubuntu, macos, windows] include: - pyver: pypy3 @@ -138,10 +136,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 - - name: Setup Python 3.8 + - name: Setup Python uses: actions/setup-python@v2 - with: - python-version: 3.8 - name: Install dependencies run: python -m pip install -U pip wheel @@ -149,7 +145,7 @@ jobs: run: python setup.py sdist bdist_wheel - name: Release - uses: aio-libs/create-release@master + uses: aio-libs/create-release@v1.2.2 with: changes_file: CHANGES.rst name: aiosignal diff --git a/CHANGES.rst b/CHANGES.rst index e717b45..2466792 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -14,9 +14,17 @@ Changelog .. towncrier release notes start -1.1.3a2 (2020-12-23) + +1.2.0a0 (2021-10-16) ==================== +Features +-------- + +- Added support for Python 3.10. + `#328 `_ + + Bugfixes -------- diff --git a/aiosignal/__init__.py b/aiosignal/__init__.py index f808b60..8146127 100644 --- a/aiosignal/__init__.py +++ b/aiosignal/__init__.py @@ -1,6 +1,6 @@ from frozenlist import FrozenList -__version__ = "1.1.3a2" +__version__ = "1.2.0a0" __all__ = ("Signal",) diff --git a/setup.py b/setup.py index f068fad..5fbe150 100644 --- a/setup.py +++ b/setup.py @@ -42,6 +42,7 @@ def read(f): "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", diff --git a/tools/check_changes.py b/tools/check_changes.py index 6e75f41..246885d 100755 --- a/tools/check_changes.py +++ b/tools/check_changes.py @@ -26,7 +26,7 @@ def main(argv): if fname.name in (".gitignore", ".TEMPLATE.rst", "README.rst"): continue if fname.suffix == ".rst": - test_name = fname.stem + test_name = Path(fname.stem) else: test_name = fname if test_name.suffix not in ALLOWED_SUFFIXES: