From c6fcf4ca97145f4e675dc1bc6c6fafe50c767424 Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 3 Nov 2021 12:09:29 +0200 Subject: [PATCH 1/3] Test on Python up to 3.10 --- .github/workflows/ci.yaml | 7 ++++--- setup.py | 1 + 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 5965ac84..1cccd55a 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] steps: - name: Checkout @@ -19,7 +19,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install --upgrade pip + pip install --upgrade pip build whine pip install -r requirements-dev.txt - name: Run linters run: | @@ -27,7 +27,8 @@ jobs: - name: Run tests run: | make cov - python setup.py check -rms + python -m build + twine check dist/* - name: Upload coverage uses: codecov/codecov-action@v1 with: diff --git a/setup.py b/setup.py index 144f6df1..768eeee1 100644 --- a/setup.py +++ b/setup.py @@ -30,6 +30,7 @@ def read(f): version=version, description=("sessions for aiohttp.web"), long_description='\n\n'.join((read('README.rst'), read('CHANGES.txt'))), + long_description_content_type="text/x-rst", classifiers=[ 'License :: OSI Approved :: Apache Software License', 'Intended Audience :: Developers', From f3e2cce23b280157e19e9cb5c5501b0f7d7da1bd Mon Sep 17 00:00:00 2001 From: Andrew Svetlov Date: Wed, 3 Nov 2021 12:10:50 +0200 Subject: [PATCH 2/3] Fix dep name --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1cccd55a..ed9f0fa1 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -19,7 +19,7 @@ jobs: python-version: ${{ matrix.python-version }} - name: Install dependencies run: | - pip install --upgrade pip build whine + pip install --upgrade pip build twine pip install -r requirements-dev.txt - name: Run linters run: | From 0e7ca3671892886273abb3c6b200415dc1e04333 Mon Sep 17 00:00:00 2001 From: Sam Bull Date: Thu, 20 Jan 2022 21:52:31 +0000 Subject: [PATCH 3/3] Update requirements-dev.txt --- requirements-dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-dev.txt b/requirements-dev.txt index 5eb2b3e5..341014c8 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,6 +1,6 @@ -e . aiohttp==3.8 -aiomcache==0.6.0 +aiomcache==0.7.0 aioredis==2.0.0 attrs==21.2.0 chardet==4.0.0