Commit Graph

1482 Commits

Author SHA1 Message Date
Marcelo Trylesinski
5bf788f0eb
Version 0.30.3 (#2395) 2024-07-20 10:58:34 +02:00
Marcelo Trylesinski
8f4c8a7f34
Add 100% clean coverage (#2394)
* Add 100% clean coverage

* Add 100% clean coverage

* Add 100% clean coverage

* Add 100% clean coverage
2024-07-20 02:50:38 -06:00
dependabot[bot]
9baded3dcf
Bump the python-packages group with 9 updates (#2376)
* Bump the python-packages group with 9 updates

Bumps the python-packages group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [a2wsgi](https://github.com/abersheeran/a2wsgi) | `1.10.4` | `1.10.6` |
| [twine](https://github.com/pypa/twine) | `5.0.0` | `5.1.1` |
| [ruff](https://github.com/astral-sh/ruff) | `0.3.7` | `0.5.0` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.1.1` | `8.2.2` |
| [mypy](https://github.com/python/mypy) | `1.9.0` | `1.10.1` |
| [cryptography](https://github.com/pyca/cryptography) | `42.0.5` | `42.0.8` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.4.4` | `7.5.4` |
| [mkdocs](https://github.com/mkdocs/mkdocs) | `1.5.3` | `1.6.0` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.17` | `9.5.27` |


Updates `a2wsgi` from 1.10.4 to 1.10.6
- [Commits](https://github.com/abersheeran/a2wsgi/compare/v1.10.4...v1.10.6)

Updates `twine` from 5.0.0 to 5.1.1
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/5.0.0...v5.1.1)

Updates `ruff` from 0.3.7 to 0.5.0
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.3.7...0.5.0)

Updates `pytest` from 8.1.1 to 8.2.2
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.1.1...8.2.2)

Updates `mypy` from 1.9.0 to 1.10.1
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/1.9.0...v1.10.1)

Updates `cryptography` from 42.0.5 to 42.0.8
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.5...42.0.8)

Updates `coverage` from 7.4.4 to 7.5.4
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.4...7.5.4)

Updates `mkdocs` from 1.5.3 to 1.6.0
- [Release notes](https://github.com/mkdocs/mkdocs/releases)
- [Commits](https://github.com/mkdocs/mkdocs/compare/1.5.3...1.6.0)

Updates `mkdocs-material` from 9.5.17 to 9.5.27
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.17...9.5.27)

---
updated-dependencies:
- dependency-name: a2wsgi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: twine
  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-minor
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  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
  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-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>

* Ignore UP031

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-07-20 08:11:13 +00:00
Marcelo Trylesinski
9279825417
ClientDisconnect inherits from OSError instead of IOError (#2393) 2024-07-20 01:59:22 -06:00
Max Kühn
875f6c6a4d
Suppress KeyboardInterrupt from CLI and programmatic usage (#2384)
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-07-20 07:41:01 +00:00
vvanglro
ca24e1b52c
Version 0.30.2 (#2380)
* Version 0.30.2

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-07-20 07:29:08 +00:00
Max Kühn
c23cd24e66
Iterate subprocesses in-place (#2373)
* replace suprocesses inplace

* list is not resized, no need for copying
2024-06-28 10:39:45 -06:00
Patrick Hintermayer
d79f285184
docs(readme): add granian as an alternative (#2359) 2024-06-14 10:22:16 +00:00
François Voron
4e9f48d249
Add reason support on WebSocketDisconnectEvent (#2324)
* Add `reason` support WebSocketDisconnectEvent

* cutify test

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-06-14 01:04:31 -06:00
Jean Hominal
44a3071654
Version 0.30.1 (#2349)
* Version 0.30.1

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-06-02 08:20:15 +00:00
Jean Hominal
6d666d99a2
Allow horizontal tabs \t in response header values (#2345)
* Add test to check that response header splitting is prevented
* Allow horizontal tabs \t in response header values

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-05-28 10:51:19 +02:00
Marcelo Trylesinski
9a6b3a8249
Version 0.30.0 (#2348)
* Version 0.30.0

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-05-28 01:18:48 -06:00
Aber
53fa273822
New multiprocess manager (#2183)
* New multiprocess manager

* lint it

* Fixed test

* Fixed `Process`.`__init__`

* Fix signal handling in Multiprocess class

* Update coverage fail_under value

* Remove redundant log message

* Update coverage fail_under value

* Update coverage fail_under value

* Update fail_under value in coverage report

* Remove unused threading event

* lint

* more tests

* More tests and fix bug

* lint

* Add pytest.mark.skipif for SIGHUP test on Windows

* delete unused code

* More tests

* Try fix tests in Windows

* make linter feels great

* delete pytest-xdist

* Try fix test in windows

* Try make mypy happy

* Skip tests in windows

* lint

* Try test basic run in Windows

* Try fix error in Windows

* lint

* Skip tests in window

* Try test in window

* lint

* Add import statement and set current working directory in test_multiprocess.py

* lint

* giveup

* Refactor signal handling in Multiprocess class

* Tests in windows

* lint

* lint

* ignore mypy check in linux

* Add __init__.py

* fix warning

* coverage ignore

* Update coverage

* coverage

* Add documents

* Update docs/deployment.md

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/supervisors/multiprocess.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Do not output the PID information repeatedly.

* Fix occasional abnormal exits.

* Update docs

* Change subprocess termination logic in Multiprocess class

* Update new_console_in_windows function to include pragma statement

* Revert coverage to 98.35

* chore: Remove pragma statements from test_multiprocess functions

* chore: Exclude test_multiprocess.py from coverage on Windows

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-05-28 00:59:03 -06:00
Max Kühn
22873a9918
Suppress side-effects of signal propagation (#2317)
* supress tracebacks on termination

* always clean up unix sockets

* OS specific coverage

* not covered on any OS

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-05-23 22:20:28 -06:00
Marcelo Trylesinski
14ffba8316
Simplify CHANGELOG (#2337)
* Simplify CHANGELOG

* Simplify CHANGELOG

* Update docs/plugins/main.py
2024-05-15 07:39:58 -06:00
Marcelo Trylesinski
5c78192e8f
Add favicon and logo to the documentation (#2336) 2024-05-14 17:31:10 -06:00
Marcelo Trylesinski
b9c03a80ab
Improve type hints on WebSockets implementations (#2335) 2024-05-14 16:48:12 -06:00
Marcelo Trylesinski
14bdf047f6
Use pytestmark to simplify test suite (#2334)
* Use pytestmark

* Fix linter
2024-05-14 16:34:43 -06:00
Marcelo Trylesinski
0efd3835da
Send content-length header on 5xx (#2304) 2024-04-13 16:05:51 +02:00
Marcelo Trylesinski
772c24bd19
Deprecate the uvicorn.workers module (#2302) 2024-04-13 06:39:55 -06:00
antonymayi
12c9ee3898
Allow ConfigParser or a io.IO[Any] on log_config (#1976)
* Enabled to pass log_config as ConfigParser instance or a file object

* Rebase correctly

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-04-13 11:59:33 +00:00
dependabot[bot]
35fedeeb61
Bump the python-packages group with 11 updates (#2303)
* Bump the python-packages group with 11 updates

Bumps the python-packages group with 11 updates:

| Package | From | To |
| --- | --- | --- |
| [a2wsgi](https://github.com/abersheeran/a2wsgi) | `1.10.0` | `1.10.4` |
| [build](https://github.com/pypa/build) | `1.0.3` | `1.2.1` |
| [twine](https://github.com/pypa/twine) | `4.0.2` | `5.0.0` |
| [ruff](https://github.com/astral-sh/ruff) | `0.1.15` | `0.3.7` |
| [pytest](https://github.com/pytest-dev/pytest) | `8.0.0` | `8.1.1` |
| [pytest-mock](https://github.com/pytest-dev/pytest-mock) | `3.12.0` | `3.14.0` |
| [mypy](https://github.com/python/mypy) | `1.8.0` | `1.9.0` |
| [types-pyyaml](https://github.com/python/typeshed) | `6.0.12.12` | `6.0.12.20240311` |
| [cryptography](https://github.com/pyca/cryptography) | `42.0.4` | `42.0.5` |
| [coverage](https://github.com/nedbat/coveragepy) | `7.4.1` | `7.4.4` |
| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) | `9.5.6` | `9.5.17` |


Updates `a2wsgi` from 1.10.0 to 1.10.4
- [Commits](https://github.com/abersheeran/a2wsgi/compare/v1.10.0...v1.10.4)

Updates `build` from 1.0.3 to 1.2.1
- [Release notes](https://github.com/pypa/build/releases)
- [Changelog](https://github.com/pypa/build/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pypa/build/compare/1.0.3...1.2.1)

Updates `twine` from 4.0.2 to 5.0.0
- [Release notes](https://github.com/pypa/twine/releases)
- [Changelog](https://github.com/pypa/twine/blob/main/docs/changelog.rst)
- [Commits](https://github.com/pypa/twine/compare/4.0.2...5.0.0)

Updates `ruff` from 0.1.15 to 0.3.7
- [Release notes](https://github.com/astral-sh/ruff/releases)
- [Changelog](https://github.com/astral-sh/ruff/blob/main/CHANGELOG.md)
- [Commits](https://github.com/astral-sh/ruff/compare/v0.1.15...v0.3.7)

Updates `pytest` from 8.0.0 to 8.1.1
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/8.0.0...8.1.1)

Updates `pytest-mock` from 3.12.0 to 3.14.0
- [Release notes](https://github.com/pytest-dev/pytest-mock/releases)
- [Changelog](https://github.com/pytest-dev/pytest-mock/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest-mock/compare/v3.12.0...v3.14.0)

Updates `mypy` from 1.8.0 to 1.9.0
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python/mypy/compare/v1.8.0...1.9.0)

Updates `types-pyyaml` from 6.0.12.12 to 6.0.12.20240311
- [Commits](https://github.com/python/typeshed/commits)

Updates `cryptography` from 42.0.4 to 42.0.5
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.4...42.0.5)

Updates `coverage` from 7.4.1 to 7.4.4
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/7.4.1...7.4.4)

Updates `mkdocs-material` from 9.5.6 to 9.5.17
- [Release notes](https://github.com/squidfunk/mkdocs-material/releases)
- [Changelog](https://github.com/squidfunk/mkdocs-material/blob/master/CHANGELOG)
- [Commits](https://github.com/squidfunk/mkdocs-material/compare/9.5.6...9.5.17)

---
updated-dependencies:
- dependency-name: a2wsgi
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
- dependency-name: build
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: twine
  dependency-type: direct:production
  update-type: version-update:semver-major
  dependency-group: python-packages
- dependency-name: ruff
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: pytest-mock
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: python-packages
- dependency-name: types-pyyaml
  dependency-type: direct:production
  update-type: version-update:semver-patch
  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-patch
  dependency-group: python-packages
- dependency-name: mkdocs-material
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: python-packages
...

Signed-off-by: dependabot[bot] <support@github.com>

* Fix all

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-04-13 02:42:24 -06:00
Dan Čermák
95fa1ac618
Bump httpx to 0.27.0 (#2288)
* Stop using deprecated app shortcut in httpx.AsyncClient

This keyword parameter has been deprecated with httpx 0.27

* Bump httpx to 0.27.0

* Reformat with newest ruff
2024-04-13 02:19:09 -06:00
Marcelo Trylesinski
a2219eb2ed
Add release notes to the documentation (#2278) 2024-03-20 09:55:30 +01:00
Marcelo Trylesinski
fe85206c5c
Version 0.29.0 (#2279) 2024-03-20 00:41:04 -06:00
Max Fischer
9e32e8ebad
Cooperative signal handling (#1600)
* test desired signal behaviour

* capture and restore signal handlers

* ruff

* checks

* test asyncio handlers

* add note on signal handler handling

* remove legacy signal raising

* test SIGBREAK on windows

* remove test guard

* include convered branch

* Update docs/index.md

* Update docs/index.md

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-03-19 04:51:51 -06:00
Marcelo Trylesinski
f73b8beeb1
Version 0.28.1 (#2277) 2024-03-19 02:33:35 -06:00
Manabu Niseki
76a3812ad5
Revert raise ClientDisconnected on HTTP (#2276) (#2276)
* chore: revert #2220

* Don't revert the receive changes

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-03-19 08:10:16 +00:00
Marcelo Trylesinski
a05ae6426c
Version 0.28.0 (#2269) 2024-03-09 02:18:55 -07:00
Marcelo Trylesinski
4a503d84fa
Change ruff rules (#2251)
* Change ruff rules

* fix type checker
2024-03-03 09:15:10 +00:00
Ådne Hovda
0d4747e602
Use X-Forwarded-Proto for WebSockets scheme when the proxy provides it (#2258)
* Fix X-Forwarded-Proto when the proxy already sets it to "ws" or "wss"

Minor fix for https://github.com/encode/uvicorn/pull/2043

Traefik already sets the X-Forwarded-Proto headers to ws or wss for websockets. c1ef742977/pkg/middlewares/forwardedheaders/forwarded_header.go (L150)

This change should make sure we don't overwrite those values.

* Fix the logic

* Update test_proxy_headers.py

Test whether passing "wss" in X-Forwarded-Proto works

* Simplify the logic

(probably more ways to write this... lmk which you prefer)

* Update tests and min implementation

* Remove new line

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-03-01 08:59:18 +00:00
OSM1TT
93897b5118
Except AttributeError on sys.stdin.fileno() for Windows IIS10 (#1947)
* Update _subprocess.py

[Montag 15:19] Fassel Andreas (BSH GDS-BCL3)


If you start uvicorn in the context of Windows IIS10 no stdin exists, but exception is not OSError, but AttributeError
with uvicorn-0.21.1.dist-info

* Update uvicorn/_subprocess.py

* Update uvicorn/_subprocess.py

* Update _subprocess.py

---------

Co-authored-by: nurseomit <131279907+nurseomit@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-02-29 20:52:10 +00:00
dependabot[bot]
ed2d655902
Bump cryptography from 42.0.2 to 42.0.4 (#2253)
Bumps [cryptography](https://github.com/pyca/cryptography) from 42.0.2 to 42.0.4.
- [Changelog](https://github.com/pyca/cryptography/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pyca/cryptography/compare/42.0.2...42.0.4)

---
updated-dependencies:
- dependency-name: cryptography
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-02-28 06:08:08 -07:00
Marcelo Trylesinski
1e5f1be767
Raise ClientDisconnected on send() when client disconnected (#2220) 2024-02-12 07:36:10 +01:00
Marcelo Trylesinski
bd552df8f9
Version 0.27.1 (#2250) 2024-02-10 05:07:07 -07:00
Marcin Sulikowski
2ff704b91c
Fix spurious LocalProtocolError errors when processing pipelined requests (#2243) 2024-02-10 08:11:47 +01:00
dependabot[bot]
4f74ed1447
Bump the python-packages group with 5 updates (#2241) 2024-02-01 08:25:47 +01:00
Marcelo Trylesinski
f39933c850
Version 0.27.0.post1 (#2239) 2024-01-29 02:29:09 -07:00
François Voron
bda1c8a4c4
Fix nav overrides for newer version of Mkdocs Material (#2233) 2024-01-26 12:49:29 +01:00
Marcelo Trylesinski
bcde07dd22
Downgrade mkdocs-material (#2229) 2024-01-25 14:32:35 +01:00
Marcelo Trylesinski
892c7888ec
Version 0.27.0 (#2223) 2024-01-21 20:38:34 +08:00
Marcelo Trylesinski
b0092cb09e
Bump ASGI spec version to 2.4 (#2221) 2024-01-20 07:00:03 -07:00
Marcelo Trylesinski
04c1974212
Improve type hints on test_http.py and test_websockets.py (#2219)
* Improve type hints on `test_http.py` and `test_websockets.py`

* Fix test_logging file

* fix linter
2024-01-20 08:29:35 +00:00
Marcelo Trylesinski
afed732f85
Raise Disconnect on send() when client disconnected (#2218)
* Raise `Disconnect` on `send()` when client disconnected

* Remove unnucessary variable

* Remove unnucessary sleep

* Undo transport close changes

* Rename Disconnect to ClientDisconnect
2024-01-19 22:01:30 +00:00
dependabot[bot]
baf4ea462e
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](https://github.com/abersheeran/a2wsgi/compare/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](https://github.com/astral-sh/ruff/compare/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](https://github.com/python/mypy/compare/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](https://github.com/pyca/cryptography/compare/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](https://github.com/nedbat/coveragepy/compare/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](https://github.com/squidfunk/mkdocs-material/compare/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] <support@github.com>

* Format code

* mypy fix

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-01-18 02:08:10 -07:00
Marcelo Trylesinski
99fafb3c3b
Version 0.26.0 (#2216) 2024-01-16 10:53:53 -07:00
Sebastián Ramírez
4af46c931c
♻️ Update root_path handling (from --root-path CLI option) to include the root path prefix in the full ASGI path as per the ASGI spec (#2213)
* ♻️ Update root-path handling to include it in the full path as per the ASGI spe, related to Starlette 0.35.0

*  Update tests for root_path, ensure it's added to the prefix of the path in the ASGI scope

* ♻️ Update the (deprecated) WSGIMiddleware to follow closely the ASGI spec

*  Update tests for WSGIMiddleware

* 🎨 Fix format in tests

* Update tests/protocols/test_http.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

* Update uvicorn/protocols/http/httptools_impl.py

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>

---------

Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
2024-01-16 08:51:30 -07:00
Marcelo Trylesinski
ebcd996c69
Group dependencies on dependabot updates (#2212) 2024-01-14 18:49:56 +00:00
dependabot[bot]
3dd0d44445
Bump pytest from 7.4.3 to 7.4.4 (#2206)
Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.4.3 to 7.4.4.
- [Release notes](https://github.com/pytest-dev/pytest/releases)
- [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst)
- [Commits](https://github.com/pytest-dev/pytest/compare/7.4.3...7.4.4)

---
updated-dependencies:
- dependency-name: pytest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-03 08:41:36 +00:00
dependabot[bot]
fc1de0109a
Bump mkdocs from 1.5.2 to 1.5.3 (#2202) 2024-01-01 12:59:30 +01:00