Skip to content

Commit

Permalink
fork fastapi-admin, remove pendulum
Browse files Browse the repository at this point in the history
  • Loading branch information
laggron42 committed Oct 29, 2024
1 parent d737ae7 commit 153db6c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 112 deletions.
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ RUN pip install poetry==1.7.1

WORKDIR /code
COPY poetry.lock pyproject.toml /code/
COPY vendored /code/vendored

RUN poetry config virtualenvs.create false && poetry install --no-interaction --no-ansi

Expand Down
1 change: 0 additions & 1 deletion ballsdex/core/admin/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ class BallInstanceResource(Model):
),
filters.ForeignKey(model=Ball, name="ball", label="Ball"),
filters.ForeignKey(model=Special, name="special", label="Special"),
filters.Date(name="catch_date", label="Catch date"),
filters.Boolean(name="shiny", label="Shiny"),
filters.Boolean(name="favorite", label="Favorite"),
filters.Search(
Expand Down
109 changes: 5 additions & 104 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 1 addition & 6 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,9 @@ audioop-lts = {version = "^0.2.1", python = ">=3.13" }

# fastapi
fastapi = "^0.115.4"
fastapi-admin = {git = "https://github.com/fastapi-admin/fastapi-admin", rev = "ebea3bf71689caa583fe55aa25db899cf8eeae31"}
fastapi-admin = {git = "https://github.com/Ballsdex-Team/fastapi-admin", branch = "ballsdex"}
uvicorn = "^0.32.0"

# TODO: to remove
# pendulum has not released 3.13 wheels yet, and they have to be compiled using rust
# to avoid having an insane docker image, the wheel was built from source by laggron
pendulum = { file = "vendored/pendulum-3.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }

# database ORM
tortoise-orm = {extras = ["asyncpg"], version = "^0.21.4"}
tortoise-cli = "^0.1.2"
Expand Down
Binary file not shown.

0 comments on commit 153db6c

Please sign in to comment.