Skip to content

Commit

Permalink
Merge branch 'main' into idle_timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
sethmlarson committed May 1, 2024
2 parents 9877e41 + b34619f commit 36b2a7c
Show file tree
Hide file tree
Showing 27 changed files with 225 additions and 142 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
# `towncrier check` runs `git diff --name-only origin/main...`, which
# needs a non-shallow clone.
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"
cache: "pip"
Expand Down Expand Up @@ -103,10 +103,10 @@ jobs:
timeout-minutes: 30
steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python ${{ matrix.python-version }}"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: ${{ matrix.python-version }}
allow-prereleases: true
Expand All @@ -115,7 +115,7 @@ jobs:
run: python -m pip install --upgrade pip setuptools nox

- name: "Install Chrome"
uses: browser-actions/setup-chrome@97349de5c98094d4fc9412f31c524d7697115ad8 # v1.5.0
uses: browser-actions/setup-chrome@82b9ce628cc5595478a9ebadc480958a36457dc2 # v1.6.0
if: ${{ matrix.nox-session == 'emscripten' }}
- name: "Install Firefox"
uses: browser-actions/setup-firefox@233224b712fc07910ded8c15fb95a555c86da76f # v1.5.0
Expand All @@ -141,10 +141,10 @@ jobs:
needs: test
steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
security-events: write
steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Run CodeQL init"
uses: github/codeql-action/init@cdcdbb579706841c47f7063dda365e292e5cad7a # v2.13.4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/downstream.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"
cache: pip
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,10 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4

- name: "Setup Python"
uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # v5.0.0
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: "3.x"

Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
actions: read
contents: write
id-token: write # Needed to access the workflow's OIDC identity.
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.9.0
uses: slsa-framework/slsa-github-generator/.github/workflows/generator_generic_slsa3.yml@v1.10.0
with:
base64-subjects: "${{ needs.build.outputs.hashes }}"
upload-assets: true
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/scorecards.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

steps:
- name: "Checkout repository"
uses: actions/checkout@b32f140b0c872d58512e0a66172253c302617b90 # v4.0.0
uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
with:
persist-credentials: false

Expand Down
1 change: 1 addition & 0 deletions changelog/3363.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Consistently used ``typing.Self`` for return types representing copying actions.
14 changes: 7 additions & 7 deletions dev-requirements.txt
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
h2==4.1.0
coverage==7.4.1
PySocks==1.7.1
pytest==7.4.4
pytest==8.0.2
pytest-timeout==2.1.0
pyOpenSSL==24.0.0
idna==3.4
trustme==1.1.0
idna==3.7
# As of v1.1.0, child CA certificates generated by trustme fail
# verification by CPython 3.13.
# https://github.com/python-trio/trustme/pull/642
trustme @ git+https://github.com/python-trio/trustme@b3a767f336e20600f30c9ff78385a58352ff6ee3
cryptography==42.0.4
backports.zoneinfo==0.2.1;python_version<"3.9"
towncrier==23.6.0
pytest-memray==1.5.0;python_version<"3.13" and sys_platform!="win32" and implementation_name=="cpython"
trio==0.23.1;python_version<"3.13"
# We need a release of Trio newer than 0.24.0 to support CPython 3.13.
# https://github.com/python-trio/trio/issues/2903
trio @ git+https://github.com/python-trio/trio@e4c8eb2d7ef59eeea1441656e392fe1b0870a374; python_version == "3.13"
trio==0.25.0
Quart==0.19.4
quart-trio==0.11.1
# https://github.com/pgjones/hypercorn/issues/62
Expand Down
1 change: 0 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@
("py:class", "_HttplibHTTPResponse"),
("py:class", "_HttplibHTTPMessage"),
("py:class", "TracebackType"),
("py:class", "Literal"),
("py:class", "email.errors.MessageDefect"),
("py:class", "MessageDefect"),
("py:class", "http.client.HTTPMessage"),
Expand Down

0 comments on commit 36b2a7c

Please sign in to comment.