Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,3 +70,15 @@ updates:
target-branch: "3.15"
schedule:
interval: "monthly"

# Maintain dependencies for GitHub Actions aiohttp 3.14 backport
- package-ecosystem: "github-actions"
directory: "/"
cooldown:
default-days: 3
labels:
- dependencies
target-branch: "3.14"
schedule:
interval: "daily"
open-pull-requests-limit: 10
5 changes: 0 additions & 5 deletions .github/workflows/ci-cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,6 @@ jobs:
env:
COLOR: yes
AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }}
PIP_USER: 1
run: >-
pytest --junitxml=junit.xml -m 'not dev_mode and not autobahn'
shell: bash
Expand All @@ -336,7 +335,6 @@ jobs:
env:
COLOR: yes
AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }}
PIP_USER: 1
PYTHONDEVMODE: 1
run: pytest -m dev_mode --cov-append --cov-report=xml --numprocesses=0
shell: bash
Expand Down Expand Up @@ -470,9 +468,7 @@ jobs:
env:
COLOR: yes
AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }}
PIP_USER: 1
run: >-
PATH="${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}"
pytest --junitxml=junit.xml --cov-report=xml --numprocesses=0
--timeout=0 -o faulthandler_timeout=0 -m autobahn
shell: bash
Expand Down Expand Up @@ -608,7 +604,6 @@ jobs:
- name: Run tests with Cython tracing
env:
COLOR: yes
PIP_USER: 1
run: >-
pytest tests/test_client_functional.py tests/test_http_parser.py tests/test_http_writer.py tests/test_web_functional.py tests/test_web_response.py tests/test_websocket_parser.py
--cov-config=.coveragerc-cython.toml
Expand Down
3 changes: 3 additions & 0 deletions CHANGES/13717.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Removed stale ``filterwarnings`` ignores from the pytest configuration
that are no longer triggered by aiohttp, the supported Python versions
or the pinned test dependencies -- by :user:`aiolibsbot`.
4 changes: 4 additions & 0 deletions CHANGES/13718.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Dropped the leftover ``PIP_USER`` setting and the ``pip --user`` ``PATH``
prefix from the CI workflow; both became dead once the test jobs started
provisioning Python via ``astral-sh/setup-uv``
-- by :user:`aiolibsbot`.
1 change: 1 addition & 0 deletions CHANGES/13721.contrib.rst
3 changes: 3 additions & 0 deletions CHANGES/13727.contrib.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Configured Dependabot to also bump GitHub Actions on the ``3.14``
branch, so its CI workflow pins no longer fall behind master
-- by :user:`aiolibsbot`.
23 changes: 0 additions & 23 deletions pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -53,30 +53,7 @@ faulthandler_timeout = 30
filterwarnings =
error

ignore:module 'ssl' has no attribute 'OP_NO_COMPRESSION'. The Python interpreter is compiled against OpenSSL < 1.0.0. Ref. https.//docs.python.org/3/library/ssl.html#ssl.OP_NO_COMPRESSION:UserWarning
ignore:Unclosed client session <aiohttp.client.ClientSession object at 0x:ResourceWarning
ignore:The loop argument is deprecated:DeprecationWarning:asyncio
ignore:Creating a LegacyVersion has been deprecated and will be removed in the next major release:DeprecationWarning::
# The following deprecation warning is triggered by importing
# `gunicorn.util`. Hopefully, it'll get fixed in the future. See
# https://github.com/benoitc/gunicorn/issues/2840 for detail.
ignore:module 'sre_constants' is deprecated:DeprecationWarning:pkg_resources._vendor.pyparsing
# Deprecation warning emitted by setuptools v67.5.0+ triggered by importing
# `gunicorn.util`.
ignore:pkg_resources is deprecated as an API:DeprecationWarning
# The deprecation warning below is happening under Python 3.11 and
# is fixed by https://github.com/certifi/python-certifi/pull/199. It
# can be dropped with the next release of `certify`, specifically
# `certify > 2022.06.15`.
ignore:path is deprecated. Use files.. instead. Refer to https.//importlib-resources.readthedocs.io/en/latest/using.html#migrating-from-legacy for migration advice.:DeprecationWarning:certifi.core
# Dateutil deprecation warning already fixed upstream.
# Can be dropped with the next release, `dateutil > 2.8.2`
# https://github.com/dateutil/dateutil/pull/1285
ignore:datetime.*utcfromtimestamp\(\) is deprecated and scheduled for removal:DeprecationWarning:dateutil.tz.tz
# Tracked upstream and waiting for PR review
# https://github.com/spulec/freezegun/issues/508
# https://github.com/spulec/freezegun/pull/511
ignore:datetime.*utcnow\(\) is deprecated and scheduled for removal:DeprecationWarning:freezegun.api
# coverage's C tracer is not available on iOS/Android (pure-Python fallback is used instead)
ignore:Couldn't import C tracer:coverage.exceptions.CoverageWarning
# Weird issue in Python 3.13+ triggered in test_multipart.py
Expand Down
4 changes: 2 additions & 2 deletions requirements/constraints.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ alabaster==1.0.0
# via sphinx
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1 ; python_version < "3.11"
# via
Expand Down Expand Up @@ -168,7 +168,7 @@ pip-tools==7.6.1
# via -r requirements/dev.in
pkgconfig==1.6.0
# via -r requirements/test-common-base.in
platformdirs==4.11.7
platformdirs==4.11.8
# via virtualenv
pluggy==1.6.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ alabaster==1.0.0
# via sphinx
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1 ; python_version < "3.11"
# via
Expand Down Expand Up @@ -165,7 +165,7 @@ pip-tools==7.6.1
# via -r requirements/dev.in
pkgconfig==1.6.0
# via -r requirements/test-common-base.in
platformdirs==4.11.7
platformdirs==4.11.8
# via virtualenv
pluggy==1.6.0
# via
Expand Down
4 changes: 2 additions & 2 deletions requirements/lint.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ aiosignal==1.4.0
# via aiohttp
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1
# via
Expand Down Expand Up @@ -86,7 +86,7 @@ packaging==26.3
# via pytest
pathspec==1.1.1
# via mypy
platformdirs==4.11.7
platformdirs==4.11.8
# via virtualenv
pluggy==1.6.0
# via pytest
Expand Down
2 changes: 1 addition & 1 deletion requirements/test-common.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ aiosignal==1.4.0
# via aiohttp
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1
# via aiohttp
Expand Down
2 changes: 1 addition & 1 deletion requirements/test-ft.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ aiosignal==1.4.0
# aiohttp
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1 ; python_version < "3.11"
# via
Expand Down
2 changes: 1 addition & 1 deletion requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ aiosignal==1.4.0
# aiohttp
annotated-types==0.8.0
# via pydantic
ast-serialize==0.10.0
ast-serialize==0.11.1
# via mypy
async-timeout==5.0.1 ; python_version < "3.11"
# via
Expand Down
13 changes: 0 additions & 13 deletions tests/test_circular_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,19 +107,6 @@ def test_no_warnings(import_path: str) -> None:
# fmt: off
sys.executable,
"-W", "error",
# The following deprecation warning is triggered by importing
# `gunicorn.util`. Hopefully, it'll get fixed in the future. See
# https://github.com/benoitc/gunicorn/issues/2840 for detail.
"-W", "ignore:module 'sre_constants' is "
"deprecated:DeprecationWarning:pkg_resources._vendor.pyparsing",
# Also caused by `gunicorn.util` importing `pkg_resources`:
"-W", "ignore:Creating a LegacyVersion has been deprecated and "
"will be removed in the next major release:"
"DeprecationWarning:",
# Deprecation warning emitted by setuptools v67.5.0+ triggered by importing
# `gunicorn.util`.
"-W", "ignore:pkg_resources is deprecated as an API:"
"DeprecationWarning",
"-c", f"import {import_path!s}",
# fmt: on
)
Expand Down
Loading