mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-python/uvicorn: Bump to 0.42.0
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
@@ -2,3 +2,5 @@ DIST uvicorn-0.40.0.tar.gz 81761 BLAKE2B 9b71d6d56a81f265f10293434813f08e3445622
|
||||
DIST uvicorn-0.40.0.tar.gz.provenance 9247 BLAKE2B 3cd0b5a8913ad854adb4d043928c51dfa04486919c842ff1b63467cf19e66165762837c8038cb5615f0b46836d57e897be80dcefa327996d03da4657fdd3ab47 SHA512 234dcb974a066fa655502ab231ef19cfb8d776e861ba256dc038cafb447d88a7a9469d82fd3a99f11136b2b3a03202b6ba423e1a0981ad3f40a7b1a1136cc787
|
||||
DIST uvicorn-0.41.0.tar.gz 82633 BLAKE2B 3235ef1730133d3a3903d341916ae0bd0c74df5fc3c955d26159edc2c4afc2df87487630c051d3d838e10fe1984ca4440a5c1770add3418b31820df036087cf5 SHA512 6b1dabb94483dccbfea6e451c53900cf05453e6e5705c968a3718f145e049be83f4a2e0e460f3a5d3bbe4546f7b339d3e6ce60bc79fbcb4bd326d7d060c7fc77
|
||||
DIST uvicorn-0.41.0.tar.gz.provenance 9345 BLAKE2B c94e13e33656be32515595ea8242315bd4a8f0e88870b807fbfc97451a34a556e079aefac97df7524a7bc22bcb2656abad13bc7c5786b4672391dfa6c9502525 SHA512 c582314621fe7689b4c876b5727abab7612148a221de7dab43010c59c3691a18589bfc5392d41897a21566a7e4ea326c0567c119a085e708f94f82ab9ec0f2af
|
||||
DIST uvicorn-0.42.0.tar.gz 85393 BLAKE2B f73fdd2eb58c57445bbc79b03aba655405dd2f712104a08e3ecba8e677d87f13666d95b4e56dce3c257c65facb4f3c98c2bb8c5485d1e61f850fd3c9dfb89f84 SHA512 5b0fd379bbe7352ef0c89fa419ba72b93ec3c0faa3474f12149cc4bacbed25ec93f91fc8dc480a6907695f0a03630b9bdfb93514f8f91384175e8367a94de9ee
|
||||
DIST uvicorn-0.42.0.tar.gz.provenance 9248 BLAKE2B ede58e4feaef27d057837159cf8a80218407d12f7f3e0652ae913ef6e88205c3e981e84ab71ced37219df032b4bc20a7411551baaefd20d2f8b69d6cb066ff21 SHA512 18d6795dcd3be91b3146f378be0163af1c5598b549ff56256fc4decd3acc3c45463c4ba0879bc43994d681cfc6e809fc092fa7507a9b33bbd39a108dd90752fd
|
||||
|
||||
@@ -0,0 +1,75 @@
|
||||
# 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=( pypy3_11 python3_{11..14} )
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
DESCRIPTION="Lightning-fast ASGI server implementation"
|
||||
HOMEPAGE="
|
||||
https://www.uvicorn.org/
|
||||
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.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/httpx-0.28[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/typing-extensions[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-10.4[${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
|
||||
|
||||
python_test() {
|
||||
local 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]'
|
||||
)
|
||||
case ${EPYTHON} in
|
||||
pypy3*)
|
||||
# TODO
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/middleware/test_logging.py::test_running_log_using_fd
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "auto reload on file changes" dev-python/watchfiles
|
||||
}
|
||||
Reference in New Issue
Block a user