-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support python 3.11 and aiohttp 3.8 #224
Support python 3.11 and aiohttp 3.8 #224
Commits on Oct 19, 2022
-
Remove remnants of aiohttp 2.x and Python 3.5 support
Commit adfb650 removed support for aiohttp 2.x and Python 3.5 but there are still some remnants of these left. We get rid of them. This also removes one `mypy` warning: > compat.py:31: error: All conditional function variants must have identical signatures [misc]
Configuration menu - View commit details
-
Copy full SHA for 28159c7 - Browse repository at this point
Copy the full SHA 28159c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for cb2cd8f - Browse repository at this point
Copy the full SHA cb2cd8fView commit details -
Remove aiohttp 2.x from tox.ini
We no longer run tests against aiohttp 2.x so we don't need it in `tox.ini`.
Configuration menu - View commit details
-
Copy full SHA for f3b31b5 - Browse repository at this point
Copy the full SHA f3b31b5View commit details -
aioresponses works with Python 3.10 with no issues so we update the package metadata to say that, and we update the list of test environments to include Python 3.10.
Configuration menu - View commit details
-
Copy full SHA for ac868fb - Browse repository at this point
Copy the full SHA ac868fbView commit details -
aioresponses works with aiohttp 3.8 so we extend the list of test environments to include this version.
Configuration menu - View commit details
-
Copy full SHA for 5c326c1 - Browse repository at this point
Copy the full SHA 5c326c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0eeb0 - Browse repository at this point
Copy the full SHA 4d0eeb0View commit details -
Configuration menu - View commit details
-
Copy full SHA for f2277bd - Browse repository at this point
Copy the full SHA f2277bdView commit details -
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
Configuration menu - View commit details
-
Copy full SHA for 38c8e1e - Browse repository at this point
Copy the full SHA 38c8e1eView commit details -
Update Pytest to the latest version to fix tests on Python 3.10
Our tests are filing on Python 3.10 due to [1] so we update Pytest in `requirements-dev.txt` to the latest version. [1] pytest-dev/pytest#8546
Configuration menu - View commit details
-
Copy full SHA for 79efa91 - Browse repository at this point
Copy the full SHA 79efa91View commit details -
Don't test with aiohttp 3.6 and older on Python 3.10
aiohttp 3.6 and older use Python features which were removed in Python 3.10: assert port is not None > hosts = await asyncio.shield(self._resolve_host( host, port, traces=traces), loop=self._loop) E TypeError: shield() got an unexpected keyword argument 'loop' .tox/py3.10-aiohttp35/lib/python3.10/site-packages/aiohttp/connector.py:952: TypeError To avoid test failures, we remove unsupported combinations from GitHub workflows.
Configuration menu - View commit details
-
Copy full SHA for e25db35 - Browse repository at this point
Copy the full SHA e25db35View commit details -
Drop support for aiohttp 3.2.x and older
aiohttp 3.2.x and older don't work on Python 3.7 and because we now require Python 3.7+, we can drop support for aiohttp 3.0, 3.1, and 3.2.
Configuration menu - View commit details
-
Copy full SHA for d946dcb - Browse repository at this point
Copy the full SHA d946dcbView commit details
Commits on Feb 18, 2023
-
Merge remote-tracking branch 'pnuckowski/aioresponses/master' into su…
…pport-python-3.10-and-aiohttp-3.8
Configuration menu - View commit details
-
Copy full SHA for b401e6c - Browse repository at this point
Copy the full SHA b401e6cView commit details -
aioresponses works with Python 3.11 with no issues so we update the package metadata to say that, and we update the list of test environments to include Python 3.11. Python 3.11 is supported by aiohttp starting from its v3.8 ([1]), and we also need newer `yarl` ([2]). [1] aio-libs/aiohttp#6600 [2] aio-libs/yarl#706
Configuration menu - View commit details
-
Copy full SHA for 0f723fe - Browse repository at this point
Copy the full SHA 0f723feView commit details