Skip to content

Commit

Permalink
Drop Python 3.6 support
Browse files Browse the repository at this point in the history
We cannot run tests with Python 3.10 using Pytest 6.x due to [1]. This
is fixed in Pytest 7.x but Pytest 7.x no longer supports Python 3.6
which aioresponses tries to support. However because Python 3.6 is
already past the EOL date, the simplest solution is to no longer test
with Python 3.6 and to stop declaring support for that version.

[1] pytest-dev/pytest#8546
  • Loading branch information
marcinsulikowski committed Oct 19, 2022
1 parent 683fead commit ad25eb6
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 22 deletions.
19 changes: 0 additions & 19 deletions .github/workflows/ci.yml
Expand Up @@ -19,25 +19,6 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: 3.6
aiohttp-version: aiohttp30
- python-version: 3.6
aiohttp-version: aiohttp31
- python-version: 3.6
aiohttp-version: aiohttp32
- python-version: 3.6
aiohttp-version: aiohttp33
- python-version: 3.6
aiohttp-version: aiohttp34
- python-version: 3.6
aiohttp-version: aiohttp35
- python-version: 3.6
aiohttp-version: aiohttp36
- python-version: 3.6
aiohttp-version: aiohttp37
- python-version: 3.6
aiohttp-version: aiohttp38

- python-version: 3.7
aiohttp-version: aiohttp33
- python-version: 3.7
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.rst
Expand Up @@ -101,7 +101,7 @@ Before you submit a pull request, check that it meets these guidelines:
2. If the pull request adds functionality, the docs should be updated. Put
your new functionality into a function with a docstring, and add the
feature to the list in README.rst.
3. The pull request should work for Python 3.5, 3.6, 3.7 and for PyPy. Check
3. The pull request should work for Python 3.7+ and for PyPy. Check
https://travis-ci.org/pnuckowski/aioresponses/pull_requests
and make sure that the tests pass for all supported Python versions.

Expand Down
1 change: 0 additions & 1 deletion setup.cfg
Expand Up @@ -15,7 +15,6 @@ classifier =
License :: OSI Approved :: MIT License
Natural Language :: English
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Expand Down
1 change: 0 additions & 1 deletion tox.ini
Expand Up @@ -2,7 +2,6 @@
envlist =
flake8,
coverage,
py3.6-aiohttp{30,31,32,33,34,35,36,37,38}
py3.7-aiohttp{33,34,35,36,37,38}
py3.8-aiohttp{33,34,35,36,37,38}
py3.9-aiohttp{37,38}
Expand Down

0 comments on commit ad25eb6

Please sign in to comment.