Skip to content

Commit b2be20d

Browse files
build: bump the python-production-updates group across 1 directory with 6 updates (#241)
* build: bump the python-production-updates group across 1 directory with 6 updates Bumps the python-production-updates group with 6 updates in the / directory: | Package | From | To | | --- | --- | --- | | [httpx](https://github.com/encode/httpx) | `0.27.2` | `0.28.1` | | [typer](https://github.com/fastapi/typer) | `0.12.5` | `0.15.1` | | [aiohttp](https://github.com/aio-libs/aiohttp) | `3.10.10` | `3.11.12` | | [tqdm](https://github.com/tqdm/tqdm) | `4.66.4` | `4.67.1` | | [yaspin](https://github.com/pavdmyt/yaspin) | `3.0.0` | `3.1.0` | | [pyrate-limiter](https://github.com/vutran1710/PyrateLimiter) | `3.6.0` | `3.7.0` | Updates `httpx` from 0.27.2 to 0.28.1 - [Release notes](https://github.com/encode/httpx/releases) - [Changelog](https://github.com/encode/httpx/blob/master/CHANGELOG.md) - [Commits](encode/httpx@0.27.2...0.28.1) Updates `typer` from 0.12.5 to 0.15.1 - [Release notes](https://github.com/fastapi/typer/releases) - [Changelog](https://github.com/fastapi/typer/blob/master/docs/release-notes.md) - [Commits](fastapi/typer@0.12.5...0.15.1) Updates `aiohttp` from 3.10.10 to 3.11.12 - [Release notes](https://github.com/aio-libs/aiohttp/releases) - [Changelog](https://github.com/aio-libs/aiohttp/blob/master/CHANGES.rst) - [Commits](aio-libs/aiohttp@v3.10.10...v3.11.12) Updates `tqdm` from 4.66.4 to 4.67.1 - [Release notes](https://github.com/tqdm/tqdm/releases) - [Commits](tqdm/tqdm@v4.66.4...v4.67.1) Updates `yaspin` from 3.0.0 to 3.1.0 - [Release notes](https://github.com/pavdmyt/yaspin/releases) - [Changelog](https://github.com/pavdmyt/yaspin/blob/master/HISTORY.rst) - [Commits](pavdmyt/yaspin@v3.0.0...v3.1.0) Updates `pyrate-limiter` from 3.6.0 to 3.7.0 - [Release notes](https://github.com/vutran1710/PyrateLimiter/releases) - [Changelog](https://github.com/vutran1710/PyrateLimiter/blob/master/CHANGELOG.md) - [Commits](vutran1710/PyrateLimiter@v3.6.0...v3.7.0) --- updated-dependencies: - dependency-name: httpx dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates - dependency-name: typer dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates - dependency-name: aiohttp dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates - dependency-name: tqdm dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates - dependency-name: yaspin dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates - dependency-name: pyrate-limiter dependency-type: direct:production update-type: version-update:semver-minor dependency-group: python-production-updates ... Signed-off-by: dependabot[bot] <support@github.com> * fix * now? * fix --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: ArzelaAscoIi <37148029+ArzelaAscoIi@users.noreply.github.com> Co-authored-by: Kristof Herrmann <kristof.herrmann@rwth-aachen.de>
1 parent 4d05466 commit b2be20d

File tree

3 files changed

+13
-12
lines changed

3 files changed

+13
-12
lines changed

deepset_cloud_sdk/_service/files_service.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
import structlog
1616
from tqdm import tqdm
1717
from yaspin import yaspin
18+
from yaspin.spinners import Spinners
1819

1920
from deepset_cloud_sdk._api.config import CommonConfig
2021
from deepset_cloud_sdk._api.deepset_cloud_api import DeepsetCloudAPI
@@ -345,7 +346,7 @@ def _remove_duplicates(file_paths: List[Path]) -> List[Path]:
345346
@staticmethod
346347
def _preprocess_paths(
347348
paths: List[Path],
348-
spinner: yaspin.Spinner = None,
349+
spinner: Spinners = None,
349350
recursive: bool = False,
350351
desired_file_types: List[str] | None = None,
351352
) -> List[Path]:

pyproject.toml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -23,16 +23,16 @@ classifiers = [
2323
]
2424
dependencies = [
2525
"structlog>=24.0.0",
26-
"httpx==0.27.2",
26+
"httpx==0.28.1",
2727
"python-dotenv==1.0.1",
28-
"typer==0.12.5",
28+
"typer==0.15.1",
2929
"tenacity==9.0.0",
30-
"aiohttp==3.10.10",
30+
"aiohttp==3.11.12",
3131
"aiofiles==24.1.0",
3232
"tabulate==0.9.0",
33-
"tqdm==4.66.4",
34-
"yaspin==3.0.0",
35-
"pyrate-limiter==3.6.0",
33+
"tqdm==4.67.1",
34+
"yaspin==3.1.0",
35+
"pyrate-limiter==3.7.0",
3636
]
3737

3838
[project.urls]
@@ -58,11 +58,11 @@ python = ["3.10"]
5858
[tool.hatch.envs.default]
5959
dependencies = [
6060
"structlog==24.2.0",
61-
"httpx==0.27.2",
61+
"httpx==0.28.1",
6262
"python-dotenv==1.0.1",
6363
"tenacity==9.0.0",
64-
"aiohttp==3.10.10",
65-
"pyrate-limiter==3.6.0",
64+
"aiohttp==3.11.12",
65+
"pyrate-limiter==3.7.0",
6666

6767
]
6868

tests/unit/api/test_files.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def mock_response(*args: Any, **kwargs: Any) -> httpx.Response:
163163
assert file.read() == "some content"
164164

165165
with Path.open(Path(tmp_dir + "/silly_things_1.txt.meta.json"), encoding="UTF-8") as file:
166-
assert file.read() == '{"key": "value"}'
166+
assert json.loads(file.read()) == {"key": "value"}
167167
assert mocked_deepset_cloud_api.get.call_count == 2
168168

169169
async def test_download_with_metadata_file_not_found(
@@ -293,7 +293,7 @@ def mock_response(*args: Any, **kwargs: Any) -> httpx.Response:
293293
assert _file.read() == "third content"
294294

295295
with Path.open(Path(tmp_dir + "/silly_things_1_2.txt.meta.json")) as _file:
296-
assert _file.read() == '{"key": "value"}'
296+
assert json.loads(_file.read()) == {"key": "value"}
297297

298298

299299
@pytest.mark.asyncio

0 commit comments

Comments
 (0)