mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
dev-python/uvicorn: Bump to 0.53.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST uvicorn-0.52.3.tar.gz 100621 BLAKE2B dc1041554e622bbd43fc9c34b6b9022a859f07
|
||||
DIST uvicorn-0.52.3.tar.gz.provenance 9802 BLAKE2B d6e9972bb59bdd2e517628a605c90879456a68b2e2394a2ba53186e5af7039d4ba7d33ee20f6204539db78dd6bdc894c00cda47242383cf3d5b510d4f321fd37 SHA512 6a5a87767eea9e3ddd512e8de39679ddbe4317d89d4205ac7b491d1c03a69b64625502d895aa9113f770a053a253ae359752b73628010e85ed874a29c278f3fc
|
||||
DIST uvicorn-0.52.4.tar.gz 100627 BLAKE2B 40024b93412deef10f04528293b48d4aff1cc69e5a0f3844e07d942640d9aeabc05dfa77f620eacd52934b16192fbba7d6c59e87197526c5f03f4d967d2c7960 SHA512 3a9e77316c71228748fab1b5190033099a613a0976252b080f4d1c3f3b2cd0722baeff9b99320e60fa708a7dd7c276696727112539df67419c12eba5de7cc856
|
||||
DIST uvicorn-0.52.4.tar.gz.provenance 9504 BLAKE2B 74f1722b006f3e8e9694d5c5806236d405cc27ae0f47eceea1bc9b9391b5a6415442f0e512c29df091f8b694ae1c267045a099414af76aa11d413822cb3ff218 SHA512 4b5df0b5b2ab1f7c405c9c9a9bb15f5dafa9ecbbb542c98392d7fbfc877aab55b0bb63fbe135d0c579f1032cc40747b0b6773bd4f6351cfe367a2e71dcf70776
|
||||
DIST uvicorn-0.53.0.tar.gz 110881 BLAKE2B 2f453b495350a391127d4eb1eddddf6e11a35c50c8cd3e5b301ecd4d00375283f43f4073eb12aa5375875c43cc13c1aefb0e319b626e9b9f9101de9881a565d5 SHA512 2d05ef27a1f8063ac1182ddaee9e20f3de4cc4e472fd6134ed37db446cae20274a3deff7402e0ae0491ebb1fa73b0f7ab435b7bc2e422c8fa2648c461d4d4bbb
|
||||
DIST uvicorn-0.53.0.tar.gz.provenance 9598 BLAKE2B 6ab41cb71a8b982c6d01831b979d05558531919255c47c92460e1429445e70d8107c419db3344bc14cc8ddedf1d8fda4f5f6477f17dfba2cf9d9fe1bc01827cf SHA512 7467113fd5e175a01fb5dda3c20adf4a26737bda8178c1ed8c0f6f338d5c36892dcd56fffa9f389215cbf16e01e71d0faa6da2d8853bdc76f02dd1eaa7059381
|
||||
|
||||
70
dev-python/uvicorn/uvicorn-0.53.0.ebuild
Normal file
70
dev-python/uvicorn/uvicorn-0.53.0.ebuild
Normal file
@@ -0,0 +1,70 @@
|
||||
# Copyright 2021-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYPI_VERIFY_REPO=https://github.com/Kludex/uvicorn
|
||||
PYTHON_COMPAT=( python3_{12..15} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Lightning-fast ASGI server implementation"
|
||||
HOMEPAGE="
|
||||
https://uvicorn.dev/
|
||||
https://github.com/Kludex/uvicorn/
|
||||
https://pypi.org/project/uvicorn/
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/a2wsgi[${PYTHON_USEDEP}]
|
||||
>=dev-python/httptools-0.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/httpx2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-13.0[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
>=dev-python/watchfiles-0.20[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
EPYTEST_PLUGINS=( anyio pytest-mock )
|
||||
EPYTEST_RERUNS=5
|
||||
EPYTEST_XDIST=1
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# too long path for unix socket
|
||||
tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers
|
||||
# TODO
|
||||
'tests/protocols/test_http.py::test_close_connection_with_multiple_requests[httptools]'
|
||||
'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[httptools-max=defaults sent=defaults+1]'
|
||||
'tests/protocols/test_websocket.py::test_send_binary_data_to_server_bigger_than_default_on_websockets[h11-max=defaults sent=defaults+1]'
|
||||
# tests broken with non-ancient dev-python/websockets
|
||||
tests/protocols/test_websocket.py::test_fragmented_message_exceeding_max_size
|
||||
tests/protocols/test_websocket.py::test_fragmented_message_reassembly
|
||||
)
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
tests/benchmarks
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "auto reload on file changes" dev-python/watchfiles
|
||||
}
|
||||
Reference in New Issue
Block a user