Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 export PYBUILD_NAME=httpcore
4 # missing pproxy: test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool
5 # missing pytest-trio: test_response_async_read, test_response_async_streaming, test_connection_pool_concurrency, test_connection_pool_concurrency_same_domain_closing, test_connection_pool_concurrency_same_domain_keepalive
6 export PYBUILD_TEST_ARGS=--verbose -o asyncio_mode=strict -k ' \
7 not test_closing_http_request \
8 and not test_connection_pool_get_connection_info \
9 and not test_explicit_backend_name \
10 and not test_http2_request \
11 and not test_http_proxy \
12 and not test_http_request \
13 and not test_http_request_cannot_reuse_dropped_connection \
14 and not test_http_request_local_address \
15 and not test_http_request_reuse_connection \
16 and not test_https_request \
17 and not test_https_request_reuse_connection \
18 and not test_max_keepalive_connections_handled_correctly \
19 and not test_proxy_https_requests \
20 and not test_proxy_socket_does_not_leak_when_the_connection_hasnt_been_added_to_pool \
21 and not test_threadsafe_basic \
22 and not test_broken_socket_detection_many_open_files \
23 and not test_no_retries \
24 and not test_retries_enabled \
25 and not test_retries_exceeded \
26 and not test_connection_timeout_tcp \
27 and not test_connection_timeout_uds \
28 and not test_response_async_read \
29 and not test_response_async_streaming \
30 and not test_connection_pool_concurrency \
31 and not test_connection_pool_concurrency_same_domain_closing \
32 and not test_connection_pool_concurrency_same_domain_keepalive \
33 and not test_ssl_request \
34 and not test_extra_info \
35 and not test_socks5_request_incorrect_auth \
36 and not test_socks5_request_failed_to_provide_auth \
37 and not test_socks5_request_connect_failed \
38 and not test_authenticated_socks5_request \
39 and not test_socks5_request \
40 '
41
42 %:
43 dh $@ --with python3 --buildsystem=pybuild
44
45 override_dh_auto_install:
46 find .pybuild -type f -name .coverage -delete
47 dh_auto_install