forked from psf/requests
-
-
Notifications
You must be signed in to change notification settings - Fork 23
/
pyproject.toml
118 lines (110 loc) · 3.65 KB
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[build-system]
requires = ["hatchling>=1.6.0,<2"]
build-backend = "hatchling.build"
[project]
name = "niquests"
description = "Niquests is a simple, yet elegant, HTTP library. It is a drop-in replacement for Requests, which is under feature freeze."
readme = "README.md"
license-files = { paths = ["LICENSE"] }
license = "Apache-2.0"
keywords = ["requests", "http2", "http3", "QUIC", "http", "https", "http client", "http/1.1", "ocsp", "revocation", "tls", "multiplexed", "dns-over-quic", "doq", "dns-over-tls", "dot", "dns-over-https", "doh", "dnssec"]
authors = [
{name = "Kenneth Reitz", email = "me@kennethreitz.org"}
]
maintainers = [
{name = "Ahmed R. TAHRI", email="tahri.ahmed@proton.me"},
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Environment :: Web Environment",
"Intended Audience :: Developers",
"License :: OSI Approved :: Apache Software License",
"Natural Language :: English",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Software Development :: Libraries",
]
requires-python = ">=3.7"
dynamic = ["version"]
dependencies = [
"charset_normalizer>=2,<4",
"idna>=2.5,<4",
"urllib3.future>=2.11.900,<3",
"wassima>=1.0.1,<2",
"kiss_headers>=2,<4",
]
[project.optional-dependencies]
socks = [
"urllib3.future[socks]",
]
http3 = [
"urllib3.future[qh3]",
]
ocsp = [
"urllib3.future[qh3]",
]
ws = [
"urllib3.future[ws]",
]
speedups = [
"orjson>=3,<4",
"urllib3.future[zstd,brotli]",
]
[project.urls]
"Changelog" = "https://github.com/jawah/niquests/blob/main/HISTORY.md"
"Documentation" = "https://niquests.readthedocs.io"
"Code" = "https://github.com/jawah/niquests"
"Issue tracker" = "https://github.com/jawah/niquests/issues"
[tool.hatch.version]
path = "src/niquests/__version__.py"
[tool.hatch.build.targets.sdist]
include = [
"/docs",
"/src",
"/tests",
"/requirements-dev.txt",
"/HISTORY.md",
"/README.md",
"/SECURITY.md",
"/AUTHORS.rst",
"/LICENSE",
"/NOTICE",
"/Makefile",
]
[tool.hatch.build.targets.wheel]
packages = [
"src/niquests",
]
[tool.isort]
profile = "black"
src_paths = ["src/niquests", "tests"]
honor_noqa = true
add_imports = "from __future__ import annotations"
[tool.pytest.ini_options]
addopts = "--doctest-modules"
doctest_optionflags = "NORMALIZE_WHITESPACE ELLIPSIS"
minversion = "6.2"
testpaths = ["tests"]
filterwarnings = [
"error",
'''ignore:'parse_authorization_header' is deprecated and will be removed:DeprecationWarning''',
'''ignore:The 'set_digest' method is deprecated and will be removed:UserWarning''',
'''ignore:Passing bytes as a header value is deprecated and will:DeprecationWarning''',
'''ignore:The 'JSONIFY_PRETTYPRINT_REGULAR' config key is deprecated and will:DeprecationWarning''',
'''ignore:unclosed .*:ResourceWarning''',
'''ignore:Parsed a negative serial number:cryptography.utils.CryptographyDeprecationWarning''',
'''ignore:A plugin raised an exception during an old-style hookwrapper teardown''',
'''ignore:.*:pytest.PytestUnraisableExceptionWarning''',
]