-
Notifications
You must be signed in to change notification settings - Fork 530
/
Copy pathconfig.py
178 lines (177 loc) · 4.3 KB
/
config.py
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
# The TEST_SUITE_CONFIG dictionary defines, for each integration test suite,
# the main package (framework, library) to test with; any additional test
# dependencies, optionally gated behind specific conditions; and optionally
# the Python versions to test on.
#
# See scripts/populate_tox/README.md for more info on the format and examples.
TEST_SUITE_CONFIG = {
"ariadne": {
"package": "ariadne",
"deps": {
"*": ["fastapi", "flask", "httpx"],
},
"python": ">=3.8",
},
"bottle": {
"package": "bottle",
"deps": {
"*": ["werkzeug<2.1.0"],
},
},
"celery": {
"package": "celery",
"deps": {
"*": ["newrelic", "redis"],
"py3.7": ["importlib-metadata<5.0"],
},
},
"clickhouse_driver": {
"package": "clickhouse-driver",
},
"dramatiq": {
"package": "dramatiq",
},
"falcon": {
"package": "falcon",
"python": "<3.13",
},
"flask": {
"package": "flask",
"deps": {
"*": ["flask-login", "werkzeug"],
"<2.0": ["werkzeug<2.1.0", "markupsafe<2.1.0"],
},
},
"gql": {
"package": "gql[all]",
},
"graphene": {
"package": "graphene",
"deps": {
"*": ["blinker", "fastapi", "flask", "httpx"],
"py3.6": ["aiocontextvars"],
},
},
"grpc": {
"package": "grpcio",
"deps": {
"*": ["protobuf", "mypy-protobuf", "types-protobuf", "pytest-asyncio"],
},
"python": ">=3.7",
},
"huey": {
"package": "huey",
},
"huggingface_hub": {
"package": "huggingface_hub",
},
"launchdarkly": {
"package": "launchdarkly-server-sdk",
},
"loguru": {
"package": "loguru",
},
"openfeature": {
"package": "openfeature-sdk",
},
"pymongo": {
"package": "pymongo",
"deps": {
"*": ["mockupdb"],
},
},
"pyramid": {
"package": "pyramid",
"deps": {
"*": ["werkzeug<2.1.0"],
},
},
"redis_py_cluster_legacy": {
"package": "redis-py-cluster",
},
"requests": {
"package": "requests",
},
"sanic": {
"package": "sanic",
"python": ">=3.6",
"deps": {
"*": ["websockets<11.0", "aiohttp"],
">=21.3.0": ["sanic_testing"],
"py3.6": ["aiocontextvars==0.2.1"],
},
},
"spark": {
"package": "pyspark",
"python": ">=3.8",
},
"sqlalchemy": {
"package": "sqlalchemy",
},
"starlette": {
"package": "starlette",
"deps": {
"*": [
"pytest-asyncio",
"python-multipart",
"requests",
"anyio<4.0.0",
"jinja2",
"httpx",
],
"<0.37": ["httpx<0.28.0"],
"<0.15": ["jinja2<3.1"],
"py3.6": ["aiocontextvars"],
},
},
"starlite": {
"package": "starlite",
"deps": {
"*": [
"pytest-asyncio",
"python-multipart",
"requests",
"cryptography",
"pydantic<2.0.0",
"httpx<0.28",
],
},
"python": "<=3.11",
"include": "!=2.0.0a1,!=2.0.0a2", # these are not relevant as there will never be a stable 2.0 release (starlite continues as litestar)
},
"statsig": {
"package": "statsig",
"deps": {
"*": ["typing_extensions"],
},
},
"strawberry": {
"package": "strawberry-graphql[fastapi,flask]",
"deps": {
"*": ["httpx"],
},
},
"tornado": {
"package": "tornado",
"deps": {
"*": ["pytest"],
"<=6.4.1": [
"pytest<8.2"
], # https://github.com/tornadoweb/tornado/pull/3382
"py3.6": ["aiocontextvars"],
},
},
"trytond": {
"package": "trytond",
"deps": {
"*": ["werkzeug"],
"<=5.0": ["werkzeug<1.0"],
},
},
"typer": {
"package": "typer",
},
"unleash": {
"package": "UnleashClient",
},
}