-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into Dreamsorcerer-patch-4
- Loading branch information
Showing
69 changed files
with
1,701 additions
and
1,029 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,11 @@ concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | ||
cancel-in-progress: true | ||
|
||
env: | ||
COLOR: yes | ||
FORCE_COLOR: 1 # Request colored output from CLI tools supporting it | ||
MYPY_FORCE_COLOR: 1 | ||
PY_COLORS: 1 | ||
|
||
jobs: | ||
|
||
|
@@ -29,10 +34,10 @@ jobs: | |
uses: actions/checkout@v3 | ||
with: | ||
submodules: true | ||
- name: Setup Python 3.8 | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.8 | ||
python-version: 3.9 | ||
- name: Cache PyPI | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -121,6 +126,7 @@ jobs: | |
pyver: [3.7, 3.8, 3.9, '3.10'] | ||
no-extensions: ['', 'Y'] | ||
os: [ubuntu, macos, windows] | ||
experimental: [false] | ||
exclude: | ||
- os: macos | ||
no-extensions: 'Y' | ||
|
@@ -130,14 +136,20 @@ jobs: | |
pyver: 3.8 | ||
- os: windows | ||
no-extensions: 'Y' | ||
# pypy 3.7 exists in beta and doesn't work well yet | ||
# include: | ||
# - pyver: pypy3 | ||
# no-extensions: 'Y' | ||
# os: ubuntu | ||
experimental: [false] | ||
include: | ||
- pyver: pypy-3.8 | ||
no-extensions: 'Y' | ||
os: ubuntu | ||
experimental: false | ||
- os: macos | ||
pyver: "3.11.0-alpha - 3.11.0" | ||
experimental: true | ||
no-extensions: 'Y' | ||
- os: ubuntu | ||
pyver: "3.11.0-alpha - 3.11.0" | ||
experimental: false | ||
no-extensions: 'Y' | ||
- os: windows | ||
pyver: "3.11.0-alpha - 3.11.0" | ||
experimental: true | ||
no-extensions: 'Y' | ||
|
@@ -150,6 +162,7 @@ jobs: | |
with: | ||
submodules: true | ||
- name: Setup Python ${{ matrix.pyver }} | ||
id: python-install | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: ${{ matrix.pyver }} | ||
|
@@ -182,18 +195,39 @@ jobs: | |
path: vendor/llhttp/build/ | ||
- name: Run unittests | ||
env: | ||
COLOR: 'yes' | ||
COLOR: yes | ||
AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }} | ||
PIP_USER: 1 | ||
run: >- | ||
PATH="${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}" | ||
make test | ||
shell: bash | ||
- name: Re-run the failing tests with maximum verbosity | ||
if: failure() | ||
env: | ||
COLOR: yes | ||
AIOHTTP_NO_EXTENSIONS: ${{ matrix.no-extensions }} | ||
run: >- # `exit 1` makes sure that the job remains red with flaky runs | ||
pytest --no-cov -vvvvv --lf && exit 1 | ||
shell: bash | ||
- name: Turn coverage into xml | ||
env: | ||
COLOR: 'yes' | ||
PIP_USER: 1 | ||
run: | | ||
make vvtest | ||
python -m coverage xml | ||
- name: Upload coverage | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
file: ./coverage.xml | ||
flags: unit | ||
fail_ci_if_error: false | ||
flags: >- | ||
CI-GHA,OS-${{ | ||
runner.os | ||
}},VM-${{ | ||
matrix.os | ||
}},Py-${{ | ||
steps.python-install.outputs.python-version | ||
}} | ||
check: # This job does nothing and is only used for the branch protection | ||
if: always() | ||
|
@@ -292,6 +326,8 @@ jobs: | |
shell: bash | ||
- name: Setup Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- name: Update pip, wheel, setuptools, build, twine | ||
run: | | ||
python -m pip install -U pip wheel setuptools build twine | ||
|
@@ -307,7 +343,7 @@ jobs: | |
run: | | ||
make cythonize | ||
- name: Build wheels | ||
uses: pypa/cibuildwheel@2.7.0 | ||
uses: pypa/cibuildwheel@v2.10.1 | ||
env: | ||
CIBW_ARCHS_MACOS: x86_64 arm64 universal2 | ||
- uses: actions/upload-artifact@v3 | ||
|
@@ -331,7 +367,7 @@ jobs: | |
- name: Login | ||
run: | | ||
echo "${{ secrets.GITHUB_TOKEN }}" | gh auth login --with-token | ||
- name: Download disctributions | ||
- name: Download distributions | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: dist | ||
|
@@ -340,7 +376,7 @@ jobs: | |
run: | | ||
tree dist | ||
- name: Make Release | ||
uses: aio-libs/create-release@v1.4.0 | ||
uses: aio-libs/create-release@v1.6.6 | ||
with: | ||
changes_file: CHANGES.rst | ||
name: aiohttp | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Dropped Python 3.6 support. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix ``readuntil`` to work with a delimiter of more than one character |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Updated Redis code examples from the document to follow the latest API. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Improve grammar and brevity in communication in the Policy for Backward Incompatible Changes section of ``docs/index.rst`` -- :user:`Paarth`. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Added documentation on client authentication and updating headers. -- by :user:`faph` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fixed bug when using ``TCPConnector`` with ``ttl_dns_cache=0``. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Fix response returned from expect handler being thrown away. -- by :user:`Dreamsorcerer` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
__version__ = "4.0.0a1" | ||
__version__ = "4.0.0a2.dev0" | ||
|
||
from typing import Tuple | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.