Skip to content

Commit

Permalink
chore: bump python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mikonse committed Dec 12, 2024
1 parent 12bef09 commit 3d72b47
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
24 changes: 12 additions & 12 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@ dynamic = ["version", "description"]
classifiers = [
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"License :: OSI Approved :: GNU Affero General Public License v3 (AGPLv3)",
"Development Status :: 5 - Production/Stable",
]
requires-python = ">=3.10"
dependencies = [
"typer~=0.9.0",
"fastapi==0.110.0",
"pydantic[email]~=2.6.0",
"pydantic-settings==2.2.1",
"uvicorn[standard]~=0.27.0",
"typer~=0.15.1",
"fastapi==0.115.6",
"pydantic[email]~=2.10.3",
"pydantic-settings==2.6.1",
"uvicorn[standard]~=0.32.1",
"python-jose[cryptography]~=3.3.0",
"asyncpg~=0.29.0",
"asyncpg~=0.30.0",
"passlib[bcrypt]~=1.7.0",
"websockets~=12.0.0",
"python-multipart~=0.0.9",
"PyYAML~=6.0.0",
"websockets~=14.1",
"python-multipart~=0.0.19",
"PyYAML~=6.0.2",
]

[project.optional-dependencies]
Expand All @@ -43,9 +43,9 @@ test = [
dev = [
"isort",
"black",
"mypy==1.8.0",
"mypy==1.13.0",
"types-PyYAML~=6.0",
"pylint==3.1.0",
"pylint==3.3.2",
"bump-my-version~=0.18"
]
docs = [
Expand Down
5 changes: 3 additions & 2 deletions tests/http_tests/common.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# pylint: disable=attribute-defined-outside-init
from httpx import AsyncClient
from httpx import ASGITransport, AsyncClient

from abrechnung.http.api import Api
from tests.common import TEST_CONFIG, BaseTestCase
Expand All @@ -12,7 +12,8 @@ async def asyncSetUp(self) -> None:
self.http_service = Api(config=self.test_config)
await self.http_service._setup()

self.client = AsyncClient(app=self.http_service.api, base_url="https://abrechnung.sft.lol")
self.transport = ASGITransport(app=self.http_service.api)
self.client = AsyncClient(transport=self.transport, base_url="https://abrechnung.sft.lol")
self.transaction_service = self.http_service.transaction_service
self.account_service = self.http_service.account_service
self.group_service = self.http_service.group_service
Expand Down

0 comments on commit 3d72b47

Please sign in to comment.