Skip to content

Commit 35871f8

Browse files
authored
Add dependency to httpx >= 0.25.0 everywhere (#40256)
Our "lowest-dependency" tests detectaed that weaviate client depends implicitly on httpx >= 0.19.0 (imports USE_CLIENT_DEFAULTS from httpx and it's missing < 0.19.0). Howeer this error is raised during importing of examples for weaviate in "Always" tests, and closer look at weaviate shows that it actually has >=0.25.0 and it makes sense for all our providers to bump httpx to 0.25.0 as minimum as well as add it to weaviate explicitly..
1 parent 1ddadf5 commit 35871f8

File tree

4 files changed

+5
-3
lines changed

4 files changed

+5
-3
lines changed

airflow/providers/google/provider.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ dependencies:
154154
- google-cloud-run>=0.10.0
155155
- google-cloud-batch>=0.13.0
156156
- grpcio-gcp>=0.2.2
157-
- httpx>=0.18.0
157+
- httpx>=0.25.0
158158
- json-merge-patch>=0.2
159159
- looker-sdk>=22.4.0
160160
- pandas-gbq>=0.7.0

airflow/providers/weaviate/provider.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@ integrations:
4848

4949
dependencies:
5050
- apache-airflow>=2.7.0
51+
- httpx>=0.25.0
5152
- weaviate-client>=3.24.2
5253
# In pandas 2.2 minimal version of the sqlalchemy is 2.0
5354
# https://pandas.pydata.org/docs/whatsnew/v2.2.0.html#increased-minimum-versions-for-dependencies

generated/provider_dependencies.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -631,7 +631,7 @@
631631
"google-cloud-vision>=3.4.0",
632632
"google-cloud-workflows>=1.10.0",
633633
"grpcio-gcp>=0.2.2",
634-
"httpx>=0.18.0",
634+
"httpx>=0.25.0",
635635
"json-merge-patch>=0.2",
636636
"looker-sdk>=22.4.0",
637637
"pandas-gbq>=0.7.0",
@@ -1304,6 +1304,7 @@
13041304
"weaviate": {
13051305
"deps": [
13061306
"apache-airflow>=2.7.0",
1307+
"httpx>=0.25.0",
13071308
"pandas>=1.5.3,<2.2;python_version<\"3.12\"",
13081309
"pandas>=2.1.1,<2.2;python_version>=\"3.12\"",
13091310
"weaviate-client>=3.24.2"

hatch_build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,7 @@
443443
'google-re2>=1.0;python_version<"3.12"',
444444
'google-re2>=1.1;python_version>="3.12"',
445445
"gunicorn>=20.1.0",
446-
"httpx>=0.18.0",
446+
"httpx>=0.25.0",
447447
'importlib_metadata>=6.5;python_version<"3.12"',
448448
# Importib_resources 6.2.0-6.3.1 break pytest_rewrite
449449
# see https://github.com/python/importlib_resources/issues/299

0 commit comments

Comments
 (0)