Skip to content

Commit 984decc

Browse files
Test on Python up to 3.10 (#634)
* Test on Python up to 3.10 * Fix dep name * Update requirements-dev.txt Co-authored-by: Sam Bull <[email protected]>
1 parent 936f763 commit 984decc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ jobs:
4343
runs-on: ubuntu-latest
4444
strategy:
4545
matrix:
46-
python-version: [3.7, 3.8, 3.9]
46+
python-version: ['3.7', '3.8', '3.9', '3.10']
4747

4848
steps:
4949
- name: Checkout
@@ -54,12 +54,13 @@ jobs:
5454
python-version: ${{ matrix.python-version }}
5555
- name: Install dependencies
5656
run: |
57-
pip install --upgrade pip
57+
pip install --upgrade pip build twine
5858
pip install -r requirements-dev.txt
5959
- name: Run tests
6060
run: |
6161
make cov
62-
python setup.py check -rms
62+
python -m build
63+
twine check dist/*
6364
- name: Upload coverage
6465
uses: codecov/codecov-action@v1
6566
with:

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ def read(f):
3434
version=version,
3535
description=("sessions for aiohttp.web"),
3636
long_description="\n\n".join((read("README.rst"), read("CHANGES.txt"))),
37+
long_description_content_type="text/x-rst",
3738
classifiers=[
3839
"License :: OSI Approved :: Apache Software License",
3940
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)