14
0

44 Commits

Author SHA256 Message Date
d46af83575 Accepting request 1273799 from devel:languages:python
- Update to 0.34.2:
  * Added
    + Add content-length to 500 response in wsproto implementation
  * Fixed
    + Flush stdout buffer on Windows to trigger reload
    + Drop ASGI spec version to 2.3 on HTTP scope
    + Enable httptools lenient data on httptools >= 0.6.3
  * Deprecated
    + Deprecate ServerState in the main module
  * Removed
    + Drop support for Python 3.8
    + Remove WatchGod support for --reload
- Add patch support-websockets-14+.patch:
  * Ignore multiple classes of DeprecationWarnings.

OBS-URL: https://build.opensuse.org/request/show/1273799
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=20
2025-05-02 12:55:37 +00:00
e5aaa0840c - Update to 0.34.2:
* Added
    + Add content-length to 500 response in wsproto implementation
  * Fixed
    + Flush stdout buffer on Windows to trigger reload
    + Drop ASGI spec version to 2.3 on HTTP scope
    + Enable httptools lenient data on httptools >= 0.6.3
  * Deprecated
    + Deprecate ServerState in the main module
  * Removed
    + Drop support for Python 3.8
    + Remove WatchGod support for --reload
- Add patch support-websockets-14+.patch:
  * Ignore multiple classes of DeprecationWarnings.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=40
2025-05-01 06:29:24 +00:00
5b19213f31 Accepting request 1219531 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1219531
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=19
2024-10-30 16:33:31 +00:00
d54bdd799e - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=38
2024-10-30 10:42:20 +00:00
3dfa6faedb Accepting request 1161561 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1161561
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=18
2024-03-26 18:25:33 +00:00
1b18efdf0a Accepting request 1161558 from home:dancermak:branches:devel:languages:python
New upstream release 0.29.0

OBS-URL: https://build.opensuse.org/request/show/1161558
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=36
2024-03-25 21:33:00 +00:00
00d1f714e9 Accepting request 1158719 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1158719
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=17
2024-03-18 15:43:14 +00:00
a52e041210 - 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

- Disable flacky test in s390x with current python-websockets,
  bsc#1217022

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=34
2024-03-17 10:12:13 +00:00
b4d6273e05 Accepting request 1142949 from devel:languages:python
- Disable flacky test in s390x with current python-websockets,
  bsc#1217022

OBS-URL: https://build.opensuse.org/request/show/1142949
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=16
2024-01-31 22:53:37 +00:00
bd3fbbb733 - Disable flacky test in s390x with current python-websockets,
bsc#1217022

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=32
2024-01-31 09:07:56 +00:00
49726f4689 Accepting request 1138563 from devel:languages:python
- 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()`

OBS-URL: https://build.opensuse.org/request/show/1138563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=15
2024-01-15 21:11:15 +00:00
711c0c3041 - 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()`

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=30
2024-01-14 10:56:14 +00:00
c1f70e8a0d Accepting request 1128878 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1128878
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=14
2023-11-27 21:42:31 +00:00
cc1551fdfb - 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

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=28
2023-11-26 10:55:01 +00:00
abb3fd8c7d Accepting request 1113682 from devel:languages:python
- 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.

OBS-URL: https://build.opensuse.org/request/show/1113682
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=13
2023-09-27 22:24:35 +00:00
49ab154b2b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=26 2023-09-26 14:17:56 +00:00
5fbe975228 - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=25
2023-09-26 14:17:47 +00:00
1453215dff Accepting request 1096010 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1096010
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=12
2023-06-30 17:58:08 +00:00
76acc1ab21 - limit to newer python versions, older are no longer needed
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=23
2023-06-22 15:28:47 +00:00
9a6ee94fbc Accepting request 1086703 from devel:languages:python
- 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)

OBS-URL: https://build.opensuse.org/request/show/1086703
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=11
2023-05-13 15:17:07 +00:00
004b764311 - 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)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=21
2023-05-12 08:39:20 +00:00
248b38a4eb Accepting request 1081993 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1081993
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=10
2023-04-22 20:02:00 +00:00
766b30781c Accepting request 1081685 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081685
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=19
2023-04-21 14:54:50 +00:00
611fc3742f Accepting request 1072282 from devel:languages:python
- skip optional uvloop test dependency for SLE15

OBS-URL: https://build.opensuse.org/request/show/1072282
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=9
2023-03-17 16:00:53 +00:00
5055048554 - skip optional uvloop test dependency for SLE15
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=17
2023-03-16 08:23:35 +00:00
d6db7ea457 Accepting request 1066284 from devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1066284
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=8
2023-02-19 17:18:50 +00:00
62b7b42aac Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=15
2023-02-16 23:13:04 +00:00
194d66b601 Accepting request 1066222 from home:Simmphonie:branches:devel:languages:python
- 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

OBS-URL: https://build.opensuse.org/request/show/1066222
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=14
2023-02-16 18:05:55 +00:00
ad353d374b Accepting request 993302 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/993302
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=7
2022-08-08 06:45:05 +00:00
4c0b433ea3 Accepting request 993271 from home:dimstar:Factory
- Fix URL to 1537.patch: add ".patch" to the gh Pr to reference the
  raw patch, not the gh webui.

OBS-URL: https://build.opensuse.org/request/show/993271
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=12
2022-08-05 12:31:22 +00:00
e90d9646e9 Accepting request 990364 from home:bnavigator:branches:devel:languages:python
- Disable testing with watchfiles
  * We don't want it in Ring1-MinimalX

Having slept over it, I think it is best to not BuildRequire it at all.
See https://build.opensuse.org/request/show/990107

OBS-URL: https://build.opensuse.org/request/show/990364
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=11
2022-07-20 10:11:36 +00:00
c6a39f7e35 Accepting request 990058 from home:bnavigator:branches:devel:languages:python
- Update to version 0.18.2
  * Add default `log_config` on `uvicorn.run()` (#1541)
  * Revert `logging` file name modification (#1543)
- Release 0.18.1
  * Use `DEFAULT_MAX_INCOMPLETE_EVENT_SIZE` as default to
    `h11_max_incomplete_event_size` on the CLI (#1534)
- Release 0.18.0
  * The `reload` flag prioritizes `watchfiles` instead of the
    deprecated `watchgod` (#1437)
  *  Annotate `uvicorn.run()` function (#1423)
  * Allow configuring `max_incomplete_event_size` for `h11`
    implementation (#1514)
  * Remove `asgiref` dependency (#1532)
  * Turn `raw_path` into bytes on both websockets implementations
    (#1487)
  * Revert log exception traceback in case of invalid HTTP request
    (#1518)
  * Set `asyncio.WindowsSelectorEventLoopPolicy()` when using
    multiple workers to avoid "WinError 87" (#1454)
- Release 0.17.5
  * Fix case where url is fragmented in httptools protocol (#1263)
    2/16/22
  * Fix WSGI middleware not to explode quadratically in the case of
    a larger body (#1329)
  *  Send HTTP 400 response for invalid request (#1352)
- Release 0.17.4
  *  Replace `create_server` by `create_unix_server` (#1362)
- Release 0.17.3
   * Drop wsproto version checking. (#1359)
- Release 0.17.2

OBS-URL: https://build.opensuse.org/request/show/990058
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=10
2022-07-19 09:33:14 +00:00
e8ec96d7e4 Accepting request 950334 from devel:languages:python
- Add missing Requires on python-asgiref.

OBS-URL: https://build.opensuse.org/request/show/950334
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=6
2022-02-03 22:16:12 +00:00
0654f3c2b9 - Add missing Requires on python-asgiref.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=9
2022-02-01 05:38:46 +00:00
94e7c3baf0 Accepting request 948410 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/948410
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=5
2022-01-24 22:10:13 +00:00
8f3e4fbf63 Accepting request 948359 from home:kwk:branches:devel:languages:python
- Update to version 0.17.0:
  * Release 0.17.0 (#1322)
  * Fix reload process behavior when exception is raised (#1313)
  * Fix version that supports Python 3.6 on the README (#1316)
  * Add missing http version on websockets scope (#1309)
  * Remove Python 3.6 (#1261)
  * Support `extra_headers` for WS `accept` message (#1293)
  * Allow configurable websocket per-message-deflate setting (#1300)
  * Remove root_path from logs (#1294)
- Update to version 0.16.0:
  * Version 0.16.0 (#1270)
  * Allow app-dir parameter on the run() function (#1271)
- Update to version 0.15.0:
  * Added
    - Change reload to be configurable with glob patterns. Currently
      only .py files are watched, which is different from the previous
      default behavior. (#820) 08/08/21
    - Add Python 3.10-rc.1 support. Now the server uses asyncio.run
      which will: start a fresh asyncio event loop, on shutdown cancel any
      background tasks rather than aborting them, aexit any remaining async
      generators, and shutdown the default ThreadPoolExecutor. (#1070) 30/07/21
    - Exit with status 3 when worker starts failed (#1077) 22/06/21
    - Add option to set websocket ping interval and timeout (#1048) 09/06/21
    - Adapt bind_socket to make it usable with multiple processes (#1009) 21/06/21
    - Add existence check to the reload directory(ies) (#1089) 21/06/21
    - Add missing trace log for websocket protocols (#1083) 19/06/21
    - Support disabling default Server and Date headers (#818)  11/06/21
  * Changed
    - Add PEP440 compliant version of click (#1099) 29/06/21
    - Bump asgiref to 3.4.0 (#1100) 29/06/21
  * Fixed
    - When receiving a SIGTERM supervisors now terminate their
      processes before joining them (#1069) 30/07/21
    - Fix the need of httptools on minimal installation (#1135) 30/07/21
    - Fix ping parameters annotation in Config class (#1127) 19/07/21
- Update to version 0.14.0:
  * Added
    - Defaults ws max_size on server to 16MB (#995) 5/29/21
    - Improve user feedback if no ws library installed (#926 and
      #1023) 2/27/21
    - Support 'reason' field in 'websocket.close' messages (#957) 2/24/21
    - Implemented lifespan.shutdown.failed (#755) 2/25/21
  * Changed
    - Upgraded websockets requirements (#1065) 6/1/21
    - Switch to asyncio streams API (#869) 5/29/21
    - Update httptools from 0.1.* to 0.2.* (#1024) 5/28/21
    - Allow Click 8.0, refs #1016 (#1042) 5/23/21
    - Add search for a trusted host in ProxyHeadersMiddleware (#591) 3/13/21
    - Up wsproto to 1.0.0 (#892) 2/25/21
  * Fixed
    - Force reload_dirs to be a list (#978) 6/1/21
    - Fix gunicorn worker not running if extras not installed (#901) 5/28/21
    - Fix socket port 0 (#975) 3/5/21
    - Prevent garbage collection of main lifespan task (#972) 3/4/21
        
- Update to version 0.13.0:
  * Add --factory flag to support factory-style application imports.
    (#875) 2020-12-07 50fc0d1
  * Skip installation of signal handlers when not in the main thread.
    Allows using Server in multithreaded contexts without having to
    override .install_signal_handlers(). (#871) 2020-12-07 ce2ef45

OBS-URL: https://build.opensuse.org/request/show/948359
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=8
2022-01-24 13:29:59 +00:00
98a4fd75d4 Accepting request 919750 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/919750
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=4
2021-09-17 21:26:06 +00:00
d6e00dd6fc Accepting request 919662 from home:dimstar:Factory
- Do not build for python 3.6: the required dependency uvloop does
  no longer support Python 3.6 since version 0.16.

OBS-URL: https://build.opensuse.org/request/show/919662
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=7
2021-09-17 13:22:19 +00:00
5ff37935a3 Accepting request 851909 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/851909
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=3
2020-12-01 13:23:10 +00:00
215fc4c4c4 Accepting request 851646 from home:jayvdb:branches:devel:languages:python
- Skip three tests due to minor change introduced in wsproto 1.0.0
- Add some missing minimum versions to Requires and BuildRequires
- Update to v0.12.3

OBS-URL: https://build.opensuse.org/request/show/851646
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=5
2020-11-30 16:11:56 +00:00
bab5217991 Accepting request 842792 from devel:languages:python
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/842792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=2
2020-10-20 14:17:11 +00:00
3f02880534 Accepting request 841455 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/841455
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-uvicorn?expand=0&rev=1
2020-10-13 13:46:09 +00:00
Tomáš Chvátal
07a02186cb Accepting request 841470 from home:jengelh:branches:devel:languages:python
- Trim marketing wording from descriptions.

OBS-URL: https://build.opensuse.org/request/show/841470
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=2
2020-10-13 09:53:07 +00:00
Tomáš Chvátal
e194c33b1b Accepting request 841065 from home:jayvdb:py-submit
Dependency of httpx

OBS-URL: https://build.opensuse.org/request/show/841065
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-uvicorn?expand=0&rev=1
2020-10-13 09:32:40 +00:00