./www/py-uvicorn, The lightning-fast ASGI server

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.32.0, Package name: py312-uvicorn-0.32.0, Maintainer: pkgsrc-users

Uvicorn is a lightning-fast ASGI server implementation, using uvloop and
httptools.

Until recently Python has lacked a minimal low-level server/application
interface for asyncio frameworks. The ASGI specification fills this gap, and
means we're now able to start building a common set of tooling usable across
all asyncio frameworks.


Required to run:
[devel/py-setuptools] [devel/py-click] [devel/py-uvloop] [www/py-websockets] [www/py-httptools] [www/py-h11] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 75.746 KB

Version history: (Expand)


CVS history: (Expand)


   2024-03-22 14:43:12 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-uvicorn: updated to 0.29.0

0.29.0 - 2024-03-19

Added

Cooperative signal handling

0.28.1 - 2024-03-19

Fixed

Revert raise ClientDisconnected on HTTP

0.28.0 - 2024-03-09

Added

Raise ClientDisconnected on send() when client disconnected

Fixed

Except AttributeError on sys.stdin.fileno() for Windows IIS10
Use X-Forwarded-Proto for WebSockets scheme when the proxy provides it
   2024-02-11 16:27:22 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-uvicorn: updated to 0.27.1

Version 0.27.1

Fix spurious h11.LocalProtocolError errors when processing pipelined requests
   2024-01-23 07:36:02 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-uvicorn: updated to 0.27.0

Version 0.27.0

Added

Raise ClientDisconnect(IOError) on send() when client disconnected
Bump ASGI WebSocket spec version to 2.4
   2024-01-18 11:35:04 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-uvicorn: updated to 0.26.0

0.26.0

Update --root-path to include the root path prefix in the full ASGI path as per \ 
the ASGI spec
Use __future__.annotations on some internal modules
   2024-01-10 11:33:07 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-uvicorn: updated to 0.25.0

0.25.0 - 2023-12-17

Added

Support the WebSocket Denial Response ASGI extension
Fixed

Allow explicit hidden file paths on --reload-include
Properly annotate uvicorn.run()

0.24.0.post1 - 2023-11-06

Fixed

Revert mkdocs-material from 9.1.21 to 9.2.6

0.24.0 - 2023-11-04

Added

Support Python 3.12
Allow setting app via environment variable UVICORN_APP

0.23.2 - 2023-07-31

Fixed

Maintain the same behavior of websockets from 10.4 on 11.0

0.23.1 - 2023-07-18

Fixed

Add typing_extensions for Python 3.10 and lower

0.23.0 - 2023-07-10

Added

Add --ws-max-queue parameter WebSockets

Removed

Drop support for Python 3.7
Remove asgiref as typing dependency

Fixed

Set scope["scheme"] to ws or wss instead of http or https on \ 
ProxyHeadersMiddleware for WebSockets

Changed

Raise ImportError on circular import
Use logger.getEffectiveLevel() instead of logger.level to check if log level is TRACE

0.22.0 - 2023-04-28

Added

Add --timeout-graceful-shutdown parameter
Handle SIGBREAK on Windows

Fixed

Shutdown event is now being triggered on Windows when using hot reload
--reload-delay is effectively used on the watchfiles reloader

0.21.1 - 2023-03-16

Fixed

Reset lifespan state on each request

0.21.0 - 2023-03-09

Added

Introduce lifespan state
Allow headers to be sent as iterables on H11 implementation
Improve discoverability when --port=0 is used

Changed

Avoid importing h11 and pyyaml when not needed to improve import time
Replace current native WSGIMiddleware implementation by a2wsgi
Change default --app-dir from "." (dot) to "" (empty string)

Fixed

Send code 1012 on shutdown for WebSockets
Use surrogateescape to encode headers on websockets implementation
Fix warning message on reload failure

0.20.0 - 2022-11-20

Added

Check if handshake is completed before sending frame on wsproto shutdown
Add default headers to WebSockets implementations
Warn user when reload and workers flag are used together

Fixed

Use correct WebSocket error codes on close
Send disconnect event on connection lost for wsproto
Add SIGQUIT handler to UvicornWorker
Fix crash on exist with "--uds" if socket doesn't exist
Annotate CONFIG_KWARGS in UvicornWorker class

Removed

Remove conditional on RemoteProtocolError.event_hint on wsproto
Remove unused handle_no_connect on wsproto implementation
   2023-10-28 21:57:26 by Thomas Klausner | Files touched by this commit (516) | Package updated
Log message:
python/wheel.mk: simplify a lot, and switch to 'installer' for installation

This follows the recommended bootstrap method (flit_core, build, installer).

However, installer installs different files than pip, so update PLISTs
for all packages using wheel.mk and bump their PKGREVISIONs.
   2023-06-06 14:42:56 by Taylor R Campbell | Files touched by this commit (1319)
Log message:
Mass-change BUILD_DEPENDS to TOOL_DEPENDS outside mk/.

Almost all uses, if not all of them, are wrong, according to the
semantics of BUILD_DEPENDS (packages built for target available for
use _by_ tools at build-time) and TOOL_DEPEPNDS (packages built for
host available for use _as_ tools at build-time).

No change to BUILD_DEPENDS as used correctly inside buildlink3.

As proposed on tech-pkg:
https://mail-index.netbsd.org/tech-pkg/2023/06/03/msg027632.html
   2023-03-29 11:34:15 by Thomas Klausner | Files touched by this commit (96)
Log message:
*: use PYTHON_VERSION instead of _PYTHON_VERSION