Matej Cepl
9e957b0cff
- Add support for HTTPS proxies. - Handle sni_hostname extension with SOCKS proxy. - Change the type of Extensions from Mapping[Str, Any] to MutableMapping[Str, Any]. - Handle HTTP/1.1 half-closed connections gracefully. - Drop Python 3.7 support. - Update httpcore-allow-deprecationwarnings-test.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-httpcore?expand=0&rev=26
22 lines
806 B
Diff
22 lines
806 B
Diff
---
|
|
pyproject.toml | 8 +++++++-
|
|
1 file changed, 7 insertions(+), 1 deletion(-)
|
|
|
|
--- a/pyproject.toml
|
|
+++ b/pyproject.toml
|
|
@@ -86,7 +86,13 @@ ignore_missing_imports = true
|
|
[tool.pytest.ini_options]
|
|
addopts = ["-rxXs", "--strict-config", "--strict-markers"]
|
|
markers = ["copied_from(source, changes=None): mark test as copied from somewhere else, along with a description of changes made to accodomate e.g. our test setup"]
|
|
-filterwarnings = ["error"]
|
|
+filterwarnings = [
|
|
+ "error",
|
|
+ "ignore:trio.MultiError is deprecated",
|
|
+ "ignore:unclosed <(socket.socket|ssl.SSLSocket) .*:ResourceWarning",
|
|
+ "ignore:ssl.wrap_socket() is deprecated, use SSLContext.wrap_socket():DeprecationWarning",
|
|
+ "ignore:ssl.PROTOCOL_TLS is deprecated:DeprecationWarning"
|
|
+]
|
|
|
|
[tool.coverage.run]
|
|
omit = [
|