Skip to content

Commit 194f334

Browse files
authored
Support Python 3.10 (#238)
1 parent 8c0dbaf commit 194f334

File tree

5 files changed

+16
-11
lines changed

5 files changed

+16
-11
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,8 @@ jobs:
2222
steps:
2323
- name: Checkout
2424
uses: actions/checkout@v2
25-
- name: Setup Python 3.8
25+
- name: Setup Python
2626
uses: actions/setup-python@v2
27-
with:
28-
python-version: 3.8
2927
- name: Cache PyPI
3028
uses: actions/cache@v2
3129
with:
@@ -76,7 +74,7 @@ jobs:
7674
needs: [lint]
7775
strategy:
7876
matrix:
79-
pyver: [3.6, 3.7, 3.8, 3.9]
77+
pyver: ['3.6', '3.7', '3.8', '3.9', '3.10']
8078
os: [ubuntu, macos, windows]
8179
include:
8280
- pyver: pypy3
@@ -138,18 +136,16 @@ jobs:
138136
steps:
139137
- name: Checkout
140138
uses: actions/checkout@v2
141-
- name: Setup Python 3.8
139+
- name: Setup Python
142140
uses: actions/setup-python@v2
143-
with:
144-
python-version: 3.8
145141
- name: Install dependencies
146142
run:
147143
python -m pip install -U pip wheel
148144
- name: Make dists
149145
run:
150146
python setup.py sdist bdist_wheel
151147
- name: Release
152-
uses: aio-libs/create-release@master
148+
uses: aio-libs/create-release@v1.2.2
153149
with:
154150
changes_file: CHANGES.rst
155151
name: aiosignal

CHANGES.rst

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,17 @@ Changelog
1414

1515
.. towncrier release notes start
1616
17-
1.1.3a2 (2020-12-23)
17+
18+
1.2.0a0 (2021-10-16)
1819
====================
1920

21+
Features
22+
--------
23+
24+
- Added support for Python 3.10.
25+
`#328 <https://github.com/aio-libs/aiosignal/issues/328>`_
26+
27+
2028
Bugfixes
2129
--------
2230

aiosignal/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from frozenlist import FrozenList
22

3-
__version__ = "1.1.3a2"
3+
__version__ = "1.2.0a0"
44

55
__all__ = ("Signal",)
66

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def read(f):
4242
"Programming Language :: Python :: 3.7",
4343
"Programming Language :: Python :: 3.8",
4444
"Programming Language :: Python :: 3.9",
45+
"Programming Language :: Python :: 3.10",
4546
"Development Status :: 5 - Production/Stable",
4647
"Operating System :: POSIX",
4748
"Operating System :: MacOS :: MacOS X",

tools/check_changes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def main(argv):
2626
if fname.name in (".gitignore", ".TEMPLATE.rst", "README.rst"):
2727
continue
2828
if fname.suffix == ".rst":
29-
test_name = fname.stem
29+
test_name = Path(fname.stem)
3030
else:
3131
test_name = fname
3232
if test_name.suffix not in ALLOWED_SUFFIXES:

0 commit comments

Comments
 (0)