Skip to content

Commit baf4ea4

Browse files
Bump the python-packages group with 6 updates (#2214)
* Bump the python-packages group with 6 updates Bumps the python-packages group with 6 updates: | Package | From | To | | --- | --- | --- | | [a2wsgi](https://github.com/abersheeran/a2wsgi) | `1.8.0` | `1.10.0` | | [ruff](https://github.com/astral-sh/ruff) | `0.1.6` | `0.1.13` | | [mypy](https://github.com/python/mypy) | `1.7.1` | `1.8.0` | | [cryptography](https://github.com/pyca/cryptography) | `41.0.6` | `41.0.7` | | [coverage](https://github.com/nedbat/coveragepy) | `7.3.1` | `7.4.0` | | [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.1.21` | `9.5.3` | Updates `a2wsgi` from 1.8.0 to 1.10.0 - [Commits](abersheeran/a2wsgi@v1.8.0...v1.10.0) Updates `ruff` from 0.1.6 to 0.1.13 - [Release notes](https://github.com/astral-sh/ruff/releases) - [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md) - [Commits](astral-sh/ruff@v0.1.6...v0.1.13) Updates `mypy` from 1.7.1 to 1.8.0 - [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md) - [Commits](python/mypy@v1.7.1...v1.8.0) Updates `cryptography` from 41.0.6 to 41.0.7 - [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst) - [Commits](pyca/cryptography@41.0.6...41.0.7) Updates `coverage` from 7.3.1 to 7.4.0 - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](coveragepy/coveragepy@7.3.1...7.4.0) Updates `mkdocs-material` from 9.1.21 to 9.5.3 - [Release notes](https://github.com/squidfunk/mkdocs-material/releases) - [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG) - [Commits](squidfunk/mkdocs-material@9.1.21...9.5.3) --- updated-dependencies: - dependency-name: a2wsgi dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: ruff dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-packages - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: cryptography dependency-type: direct:production update-type: version-update:semver-patch dependency-group: python-packages - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages - dependency-name: mkdocs-material dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-packages ... Signed-off-by: dependabot[bot] <[email protected]> * Format code * mypy fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Marcelo Trylesinski <[email protected]>
1 parent 99fafb3 commit baf4ea4

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

requirements.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
h11 @ git+https://github.com/python-hyper/h11.git@master
66

77
# Explicit optionals
8-
a2wsgi==1.8.0
8+
a2wsgi==1.10.0
99
wsproto==1.2.0
1010
websockets==12.0
1111

@@ -14,19 +14,19 @@ build==1.0.3
1414
twine==4.0.2
1515

1616
# Testing
17-
ruff==0.1.6
17+
ruff==0.1.13
1818
pytest==7.4.4
1919
pytest-mock==3.12.0
20-
mypy==1.7.1
20+
mypy==1.8.0
2121
types-click==7.1.8
2222
types-pyyaml==6.0.12.12
2323
trustme==1.1.0
24-
cryptography==41.0.6
25-
coverage==7.3.1
24+
cryptography==41.0.7
25+
coverage==7.4.0
2626
coverage-conditional-plugin==0.9.0
2727
httpx==0.26.0
2828
watchgod==0.8.2
2929

3030
# Documentation
3131
mkdocs==1.5.3
32-
mkdocs-material==9.1.21
32+
mkdocs-material==9.5.3

tests/middleware/test_wsgi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def return_exc_info(environ: Environ, start_response: StartResponse) -> List[byt
5050
return [output]
5151

5252

53-
@pytest.fixture(params=[wsgi._WSGIMiddleware, a2wsgi.WSGIMiddleware])
53+
@pytest.fixture(params=[wsgi._WSGIMiddleware, a2wsgi.WSGIMiddleware]) # type: ignore
5454
def wsgi_middleware(request: pytest.FixtureRequest) -> Callable:
5555
return request.param
5656

tests/protocols/test_http.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -998,7 +998,7 @@ async def test_huge_headers_h11_max_incomplete():
998998

999999
@pytest.mark.anyio
10001000
async def test_return_close_header(
1001-
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]"
1001+
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]",
10021002
):
10031003
app = Response("Hello, world", media_type="text/plain")
10041004

@@ -1015,7 +1015,7 @@ async def test_return_close_header(
10151015

10161016
@pytest.mark.anyio
10171017
async def test_iterator_headers(
1018-
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]"
1018+
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]",
10191019
):
10201020
async def app(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable):
10211021
headers = iter([(b"x-test-header", b"test value")])
@@ -1030,7 +1030,7 @@ async def app(scope: Scope, receive: ASGIReceiveCallable, send: ASGISendCallable
10301030

10311031
@pytest.mark.anyio
10321032
async def test_lifespan_state(
1033-
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]"
1033+
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]",
10341034
):
10351035
expected_states = [{"a": 123, "b": [1]}, {"a": 123, "b": [1, 2]}]
10361036

tests/test_config.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,10 @@ def test_reload_dir_is_set(
9797
app="tests.test_config:asgi_app", reload=True, reload_dirs=[str(app_dir)]
9898
)
9999
assert len(caplog.records) == 1
100-
assert caplog.records[
101-
-1
102-
].message == f"Will watch for changes in these directories: {[str(app_dir)]}"
100+
assert (
101+
caplog.records[-1].message
102+
== f"Will watch for changes in these directories: {[str(app_dir)]}"
103+
)
103104
assert config.reload_dirs == [app_dir]
104105
config = Config(
105106
app="tests.test_config:asgi_app", reload=True, reload_dirs=str(app_dir)

0 commit comments

Comments
 (0)