Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ RUN apt-get update -q \
# install uv
COPY --from=uv /uv /uvx /usr/local/bin/

# prepare Python install scope
ENV UV_PYTHON_INSTALL_DIR="/home/apl/.local/share/uv/python"
USER apl

# install Python
RUN uv python install $PYTHON_VERSION

# prepare venv
USER apl
RUN mkdir /home/apl/.venv

# setup shell setting
Expand Down
7 changes: 0 additions & 7 deletions app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -314,10 +314,3 @@
# O11y Settings
######################################################
PYROSCOPE_SERVER_URL = os.environ.get("PYROSCOPE_SERVER_URL")

####################################################
# Other settings
####################################################
# Load test
BASIC_AUTH_USER = os.environ.get("BASIC_AUTH_USER")
BASIC_AUTH_PASS = os.environ.get("BASIC_AUTH_PASS")
31 changes: 15 additions & 16 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ authors = [{ name = "BOOSTRY Co., Ltd.", email = "dev@boostry.co.jp" }]
license = { text = "Apache License, Version 2.0" }
requires-python = "==3.14.*"
dependencies = [
"boto3~=1.42.18",
"boto3~=1.43.34",
"eth-keyfile==0.8.1",
"eth-utils~=6.0.0",
"fastapi~=0.136.1",
"fastapi~=0.138.0",
"gunicorn~=26.0.0",
"hexbytes~=1.3.0",
"PyMySQL[rsa]~=1.1.0",
"psycopg[c]<4.0.0,>=3.2.0",
"psycopg[c]>=3.3.4,<4.0.0",
"pydantic[email]~=2.13.4",
"sqlalchemy[asyncio]<3.0.0,>=2.0.33",
"uvicorn[standard]~=0.44.0",
"sqlalchemy[asyncio]>=2.0.51,<3.0.0",
"uvicorn[standard]~=0.49.0",
"uvicorn-worker~=0.4.0",
"web3==7.16.0",
"tzdata<2026.0,>=2025.1",
"tzdata>=2026.2,<2027.0",
"alembic<2.0.0,>=1.14.0",
"aiomysql==0.3.2",
"httpx~=0.28.0",
"memray<2.0.0,>=1.14.0",
"py-spy>=0.4.0",
"asyncpg~=0.30.0",
"pyroscope-io>=0.8.11",
"asyncpg~=0.31.0",
"pyroscope-io>=1.0.12",
"pyroscope-otel>=0.4.1",
"opentelemetry-sdk>=1.33.0",
"opentelemetry-instrumentation-fastapi>=0.54b0,<1.0.0",
Expand All @@ -43,23 +43,22 @@ dependencies = [

[dependency-groups]
dev = [
"pytest>=9.0.3,<10.0.0",
"pytest-cov<6.0.0,>=5.0.0",
"pytest-order<2.0.0,>=1.2.1",
"locustio==0.9.0",
"ruff<1.0.0,>=0.5.4",
"pytest>=9.1.1,<10.0.0",
"pytest-cov>=7.1.0,<8.0.0",
"pytest-order>=1.5.0,<2.0.0",
"ruff>=0.15.18,<1.0.0",
"pre-commit>=3.6.0,<5.0.0",
"pytest-alembic<1.0.0,>=0.10.7",
"pytest-freezer<1.0.0,>=0.4.8",
"textual-dev<2.0.0,>=1.2.1",
"pytest-asyncio==1.3.0",
"pytest-asyncio==1.4.0",
"pytest-aiohttp<2.0.0,>=1.0.5",
"ruamel-yaml<1.0.0,>=0.18.6",
"pytest-memray<2.0.0,>=1.6.0",
"pyright>=1.1.407",
"types-botocore>=1.0.2",
"boto3-stubs[all]>=1.42.29",
"typer~=0.12.3",
"boto3-stubs[all]>=1.43.34",
"typer~=0.26.7",
]

[tool.ruff]
Expand Down
5 changes: 4 additions & 1 deletion tests/Dockerfile_unittest
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,14 @@ RUN apt-get update -q \
# install uv
COPY --from=uv /uv /uvx /usr/local/bin/

# prepare Python install scope
ENV UV_PYTHON_INSTALL_DIR="/home/apl/.local/share/uv/python"
USER apl

# install Python
RUN uv python install $PYTHON_VERSION

# prepare venv
USER apl
RUN mkdir /home/apl/.venv

# setup shell setting
Expand Down
20 changes: 0 additions & 20 deletions tests/loadtest/README.md

This file was deleted.

109 changes: 0 additions & 109 deletions tests/loadtest/locustfile.py

This file was deleted.

42 changes: 0 additions & 42 deletions typings/locust/__init__.pyi

This file was deleted.

Loading
Loading