Skip to content

Commit

Permalink
Bump the python-packages group with 6 updates (#2214)
Browse files Browse the repository at this point in the history
* 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](nedbat/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]>
  • Loading branch information
dependabot[bot] and Kludex authored Jan 18, 2024
1 parent 99fafb3 commit baf4ea4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 13 deletions.
12 changes: 6 additions & 6 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
h11 @ git+https://github.com/python-hyper/h11.git@master

# Explicit optionals
a2wsgi==1.8.0
a2wsgi==1.10.0
wsproto==1.2.0
websockets==12.0

Expand All @@ -14,19 +14,19 @@ build==1.0.3
twine==4.0.2

# Testing
ruff==0.1.6
ruff==0.1.13
pytest==7.4.4
pytest-mock==3.12.0
mypy==1.7.1
mypy==1.8.0
types-click==7.1.8
types-pyyaml==6.0.12.12
trustme==1.1.0
cryptography==41.0.6
coverage==7.3.1
cryptography==41.0.7
coverage==7.4.0
coverage-conditional-plugin==0.9.0
httpx==0.26.0
watchgod==0.8.2

# Documentation
mkdocs==1.5.3
mkdocs-material==9.1.21
mkdocs-material==9.5.3
2 changes: 1 addition & 1 deletion tests/middleware/test_wsgi.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def return_exc_info(environ: Environ, start_response: StartResponse) -> List[byt
return [output]


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

Expand Down
6 changes: 3 additions & 3 deletions tests/protocols/test_http.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ async def test_huge_headers_h11_max_incomplete():

@pytest.mark.anyio
async def test_return_close_header(
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]"
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]",
):
app = Response("Hello, world", media_type="text/plain")

Expand All @@ -1015,7 +1015,7 @@ async def test_return_close_header(

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

@pytest.mark.anyio
async def test_lifespan_state(
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]"
http_protocol_cls: "Type[HttpToolsProtocol | H11Protocol]",
):
expected_states = [{"a": 123, "b": [1]}, {"a": 123, "b": [1, 2]}]

Expand Down
7 changes: 4 additions & 3 deletions tests/test_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ def test_reload_dir_is_set(
app="tests.test_config:asgi_app", reload=True, reload_dirs=[str(app_dir)]
)
assert len(caplog.records) == 1
assert caplog.records[
-1
].message == f"Will watch for changes in these directories: {[str(app_dir)]}"
assert (
caplog.records[-1].message
== f"Will watch for changes in these directories: {[str(app_dir)]}"
)
assert config.reload_dirs == [app_dir]
config = Config(
app="tests.test_config:asgi_app", reload=True, reload_dirs=str(app_dir)
Expand Down

0 comments on commit baf4ea4

Please sign in to comment.