Revisions of python-uvicorn
Dominique Leuenberger (dimstar_suse)
accepted
request 1219531
from
Dirk Mueller (dirkmueller)
(revision 19)
- update to 0.32.0: * Officially support Python 3.13 * Warn when `max_request_limit` is exceeded * Support WebSockets 0.13.1 * Restore support for `[*]` in trusted hosts * Add `PathLike[str]` type hint for `ssl_keyfile` * Improve `ProxyHeadersMiddleware` (#2468) and (#2231): * Fix the host for requests from clients running on the proxy server itself. * Fallback to host that was already set for empty x-forwarded- for headers. * Also allow to specify IP Networks as trusted hosts. This greatly simplifies deployments * on docker swarm/kubernetes, where the reverse proxy might have a dynamic IP. * This includes support for IPv6 Address/Networks. * Don't warn when upgrade is not WebSocket and depedencies are installed * Don't close connection before receiving body on H11 * Close connection when `h11` sets client state to `MUST_CLOSE` * Suppress `KeyboardInterrupt` from CLI and programmatic usage * `ClientDisconnect` inherits from `OSError` instead of `IOError` * Add `reason` support to `websocket.disconnect` event * Iterate subprocesses in-place on the process manager * Allow horizontal tabs ` ` in response header values * New multiprocess manager * Allow `ConfigParser` or a `io.IO[Any]` on `log_config` * Suppress side-effects of signal propagation * Send `content-length` header on 5xx
Ana Guerrero (anag+factory)
accepted
request 1158719
from
Dirk Mueller (dirkmueller)
(revision 17)
- update to 0.28.0: * Raise `ClientDisconnected` on `send()` when client disconnected (#2220) 12/02/24 * Except `AttributeError` on `sys.stdin.fileno()` for Windows IIS10 (#1947) 29/02/24 * Use `X-Forwarded-Proto` for WebSockets scheme when the proxy provides it (#2258) 01/03/24 * Fix spurious LocalProtocolError errors when processing pipelined requests (#2243) 10/02/24 * Fix nav overrides for newer version of Mkdocs Material (#2233) 26/01/24 * Raise `ClientDisconnect(IOError)` on `send()` when client disconnected (#2218) 19/01/24 * Bump ASGI WebSocket spec version to 2.4 (#2221) 20/01/24 * Update `--root-path` to include the root path prefix in the full ASGI `path` as per the ASGI spec (#2213) 16/01/24 * Use `__future__.annotations` on some internal modules (#2199) 16/01/24
Ana Guerrero (anag+factory)
accepted
request 1142949
from
Daniel Garcia (dgarcia)
(revision 16)
- Disable flacky test in s390x with current python-websockets, bsc#1217022
Ana Guerrero (anag+factory)
accepted
request 1138563
from
Dirk Mueller (dirkmueller)
(revision 15)
- update to 0.25.0: * Support the WebSocket Denial Response ASGI extension (#1916) * Allow explicit hidden file paths on `--reload-include` * Properly annotate `uvicorn.run()`
Ana Guerrero (anag+factory)
accepted
request 1128878
from
Dirk Mueller (dirkmueller)
(revision 14)
- update to 0.24.0.post1: * Revert mkdocs-material from 9.1.21 to 9.2.6 (#2148) 05/11/23 * Support Python 3.12 (#2145) 04/11/23 * Allow setting `app` via environment variable `UVICORN_APP` (#2106) 21/09/23
Dominique Leuenberger (dimstar_suse)
accepted
request 1113682
from
Dirk Mueller (dirkmueller)
(revision 13)
- update to 0.23.2: * Maintain the same behavior of `websockets` from 10.4 on 11.0 * Add `typing_extensions` for Python 3.10 and lower (#2053) * Add `--ws-max-queue` parameter WebSockets (#2033) 10/07/23 * Drop support for Python 3.7 (#1996) 19/06/23 * Remove `asgiref` as typing dependency (#1999) 08/06/23 * Set `scope["scheme"]` to `ws` or `wss` instead of `http` or `https` on `ProxyHeadersMiddleware` for WebSockets (#2043) 12/07/23 * Raise `ImportError` on circular import (#2040) 09/07/23 * Use `logger.getEffectiveLevel()` instead of `logger.level` to check if log level is `TRACE` (#1966) 01/06/23 - skip optional uvloop test dependency for SLE15 - Remove upstreamed patch uvicorn-pr1537-no-watchgod-tests.patch - Add missing Requires on python-asgiref.
Dominique Leuenberger (dimstar_suse)
accepted
request 1096010
from
Factory Maintainer (factory-maintainer)
(revision 12)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 1086703
from
Daniel Garcia (dgarcia)
(revision 11)
- Add fix-websocket-tests.patch gh#encode/uvicorn#1929 - Update to version 0.22.0: * Version 0.22.0 (#1957) * Remove unused events (#1956) * remove a few mypy excludes (#1954) * Add `--timeout-graceful-shutdown` parameter (#1950) * Fix typo in setup.cfg (#1953) * Update `scripts/check` (#1952) * Add `WatchFilesReload` pause method (#1930) * Create PULL_REQUEST_TEMPLATE.md (#1946) * Handle `SIGBREAK` for Windows (#1909) * Fix shutdown event on Windows in reloader (#1584) * Handle missing trustme/cryptography gracefully in the test suite (#1940) * Add type hints to test_auto_detection.py (#1937) * Fix watchgod deprecation warning (#1938) * Upgrade and fix Black (#1926) * Use ruff instead of flake8, autoflake and isort (#1925) * Upgrade MyPy and fix issues (#1931) * Pin websockets to <11.0 (#1928) * Bump coverage from 7.1.0 to 7.2.2 (#1920) * Fix instructions so they work in zsh as well as Bash (#1915) * [`Docs`] : Hypercorn supports HTTP/3 (#1913) * Version 0.21.1 (#1904) * Reset lifespan state on each request (#1903) * Version 0.21.0 (#1892) * Improve discoverability when `--port=0` is used (#1890) * Fix mypy on test_websockets (#1889) * Add type annotation on `test_websockets.py` (#1880) * Introduce lifespan state (#1818) * Bump build from 0.9.0 to 0.10.0 (#1882) * Bump pytest from 7.2.0 to 7.2.1 (#1883) * Bump a2wsgi from 1.6.0 to 1.7.0 (#1886) * Add type annotation on `test_logging.py` (#1881) * fix: typo (#1871) * Bump cryptography from 38.0.3 to 39.0.1 (#1865) * Improve import time (#1846) * Bump coverage from 6.5.0 to 7.1.0 (#1856) * Bump twine from 4.0.1 to 4.0.2 (#1857) * Bump types-pyyaml from 6.0.12.2 to 6.0.12.3 (#1858) * Move a2wsgi to the explicit optionals section in the requirements (#1849) * Replace current WSGIMiddleware implementation by a2wsgi one (#1825) * Send code 1012 on shutdown for websockets (#1816) * Change default `--app-dir` from from "." (dot) to "" (empty string). (#1835) * Bump types-pyyaml from 6.0.12.1 to 6.0.12.2 (#1827) * Bump pytest from 7.1.3 to 7.2.0 (#1830) * Fix cli_usage tool on systems without an activated virtualenv (#1823) * Fix ASGI application on the documentation (#1821) * Delete setup.py (#1822) * tests: test to start server with invalid host (#1813) * Use unused TCP ports on the test suite (#1804) * Use `surrogateescape` to encode headers on `websockets` implementation (#1005) * Update hypercorn link on the README (#1800) * Fix one example in REAME (#1794) * Replace `files` by `exclude` on mypy configuration (#1793) * Bump mypy from 0.982 to 0.991 (#1789) * Bump mkdocs from 1.4.0 to 1.4.2 (#1787) * Bump build from 0.8.0 to 0.9.0 (#1791) * Fix warning on reload failure (#1784) * Allow headers to be sent as iterables (#1782) * Add test to make sure we send connection close when client sends it (#1776) * Replace `AF_UNIX` by `AF_INET` on subprocess test (#1775) * Replace uvicorn files by uvicorn folder on mypy settings (#1771) * Add type annotation to `wsproto_impl.py` (#1754)
Dominique Leuenberger (dimstar_suse)
accepted
request 1081993
from
Dirk Mueller (dirkmueller)
(revision 10)
Dominique Leuenberger (dimstar_suse)
accepted
request 1072282
from
Dirk Mueller (dirkmueller)
(revision 9)
- skip optional uvloop test dependency for SLE15
Dominique Leuenberger (dimstar_suse)
accepted
request 1066284
from
Matej Cepl (mcepl)
(revision 8)
- Update to version 0.20.0: * Check if handshake is completed before sending frame on `wsproto` shutdown (#1737) * Add default headers to WebSockets implementations (#1606 & #1747) 28/10/22 * Warn user when `reload` and `workers` flag are used together (#1731) 31/10/22 * Use correct `WebSocket` error codes on `close` (#1753) 20/11/22 * Send disconnect event on connection lost for `wsproto` (#996) 29/10/22 * Add `SIGQUIT` handler to `UvicornWorker` (#1710) 01/11/22 * Fix crash on exist with "--uds" if socket doesn't exist (#1725) 27/10/22 * Annotate `CONFIG_KWARGS` in `UvicornWorker` class (#1746) 31/10/22 * Remove conditional on `RemoteProtocolError.event_hint` on `wsproto` (#1486) 31/10/22 * Remove unused `handle_no_connect` on `wsproto` implementation (#1759) 17/11/22 - version 0.19.0 * Support Python 3.11 (#1652) 16/09/22 * Bump minimal `httptools` version to `0.5.0` (#1645) 13/09/22 * Ignore HTTP/2 upgrade and optionally ignore WebSocket upgrade (#1661) 19/10/22 * Add `py.typed` to comply with PEP 561 (#1687) 07/10/22 * Set `propagate` to `False` on "uvicorn" logger (#1288) 08/10/22 * USR1 signal is now handled correctly on `UvicornWorker`. (#1565) 26/08/22 * Use path with query string on `WebSockets` logs (#1385) 11/09/22 * Fix behavior on which "Date" headers were not updated on the same connection (#1706) 19/10/22 * Remove the `--debug` flag (#1640) 14/09/22 * Remove the `DebugMiddleware` (#1697) 07/10/22 - version 0.18.3 * Remove cyclic references on HTTP implementations. (#1604) 24/08/22 * `reload_delay` default changed from `None` to `0.25` on `uvicorn.run()` and `Config`. `None` is not an acceptable value anymore. (#1545) 02/07/22 - Remove upstreamed patch uvicorn-pr1537-no-watchgod-tests.patch
Dominique Leuenberger (dimstar_suse)
accepted
request 950334
from
Steve Kowalik (StevenK)
(revision 6)
- Add missing Requires on python-asgiref.
Dominique Leuenberger (dimstar_suse)
accepted
request 851909
from
Markéta Machová (mcalabkova)
(revision 3)
Dominique Leuenberger (dimstar_suse)
accepted
request 842792
from
Factory Maintainer (factory-maintainer)
(revision 2)
Automatic submission by obs-autosubmit
Dominique Leuenberger (dimstar_suse)
accepted
request 841455
from
Tomáš Chvátal (scarabeus_iv)
(revision 1)
Displaying all 19 revisions