Skip to content

Commit e79eec2

Browse files
authored
Switch from httpx to httpxyz (#924)
* Switch from httpx to httpxyz * Fix lock file
1 parent 55c06ee commit e79eec2

6 files changed

Lines changed: 56 additions & 9 deletions

File tree

poetry.lock

Lines changed: 51 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ dependencies = [
2626
"pooch (>=1.8.2,<2.0.0)",
2727

2828
"docutils (>=0.19,<1.0)",
29-
"httpx (>=0.28.1,<1.0)",
29+
"httpxyz (>=0.31.2,<1.0)",
3030
"beautifulsoup4 (>=4.13.3,<5.0.0)",
3131
"lxml (>=6.0.2,<7.0.0)",
3232
"pyyaml (>=6.0.3,<7.0.0)",

scopesim/commands/user_commands.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from typing import Any
99

1010
import yaml
11-
import httpx
11+
import httpxyz as httpx
1212
from packaging.version import parse
1313

1414
from astar_utils import NestedMapping, RecursiveNestedMapping, NestedChainMap

scopesim/server/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from collections.abc import Iterator, Iterable, Mapping
88

99
import yaml
10-
import httpx
10+
import httpxyz as httpx
1111
from more_itertools import first, last, groupby_transform
1212

1313
from .github_utils import download_github_folder

scopesim/server/download_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
from zipfile import ZipFile
77
from pathlib import Path
88

9-
import httpx
9+
import httpxyz as httpx
1010
import bs4
1111
import pooch
1212

scopesim/tests/tests_server/test_database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
@pytest.fixture(scope="class")
1515
def mock_client():
16-
# TODO: investigate proper mocking via httpx
16+
# TODO: investigate proper mocking via httpxyz
1717
with db.create_client(db.get_base_url()) as client:
1818
yield client
1919

0 commit comments

Comments
 (0)