Skip to content

Commit e1036c7

Browse files
Merge pull request #1080 from planetlabs/hotfix/pin-httpx
Hotfix: Pin httpx to v0.27.2
2 parents 815d260 + b43d5cf commit e1036c7

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ description = "Planet SDK for Python"
99
dependencies = [
1010
"click>=8.0",
1111
"geojson",
12-
"httpx>=0.23.0",
12+
"httpx<0.28.0",
1313
"jsonschema",
1414
"pyjwt>=2.1",
1515
"tqdm>=4.56",

tests/integration/test_data_api.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ async def test_search_geometry(geom_fixture,
168168
cl = DataClient(session, base_url=TEST_URL)
169169
geom = request.getfixturevalue(geom_fixture)
170170
items_list = [
171-
i async for i in cl.search(
172-
['PSScene'], name='quick_search', geometry=geom)
171+
i async for i in cl.search(['PSScene'], name='quick_search',
172+
geometry=geom)
173173
]
174174
# check that request is correct
175175
expected_request = {
@@ -274,8 +274,8 @@ async def test_search_sort(item_descriptions,
274274

275275
# run through the iterator to actually initiate the call
276276
[
277-
i async for i in cl.search(
278-
['PSScene'], search_filter=search_filter, sort=sort)
277+
i async for i in cl.search(['PSScene'], search_filter=search_filter,
278+
sort=sort)
279279
]
280280

281281

@@ -297,8 +297,8 @@ async def test_search_limit(item_descriptions,
297297

298298
cl = DataClient(session, base_url=TEST_URL)
299299
items_list = [
300-
i async for i in cl.search(
301-
['PSScene'], search_filter=search_filter, limit=2)
300+
i async for i in cl.search(['PSScene'], search_filter=search_filter,
301+
limit=2)
302302
]
303303

304304
# check only the first two results were returned

0 commit comments

Comments
 (0)