Skip to content

Commit 153db6c

Browse files
committed
fork fastapi-admin, remove pendulum
1 parent d737ae7 commit 153db6c

5 files changed

+6
-112
lines changed

Dockerfile

-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ RUN pip install poetry==1.7.1
1313

1414
WORKDIR /code
1515
COPY poetry.lock pyproject.toml /code/
16-
COPY vendored /code/vendored
1716

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

ballsdex/core/admin/resources.py

-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,6 @@ class BallInstanceResource(Model):
253253
),
254254
filters.ForeignKey(model=Ball, name="ball", label="Ball"),
255255
filters.ForeignKey(model=Special, name="special", label="Special"),
256-
filters.Date(name="catch_date", label="Catch date"),
257256
filters.Boolean(name="shiny", label="Shiny"),
258257
filters.Boolean(name="favorite", label="Favorite"),
259258
filters.Search(

poetry.lock

+5-104
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

+1-6
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,9 @@ audioop-lts = {version = "^0.2.1", python = ">=3.13" }
1717

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

23-
# TODO: to remove
24-
# pendulum has not released 3.13 wheels yet, and they have to be compiled using rust
25-
# to avoid having an insane docker image, the wheel was built from source by laggron
26-
pendulum = { file = "vendored/pendulum-3.0.0-cp38-cp38-manylinux_2_17_aarch64.manylinux2014_aarch64.whl" }
27-
2823
# database ORM
2924
tortoise-orm = {extras = ["asyncpg"], version = "^0.21.4"}
3025
tortoise-cli = "^0.1.2"

0 commit comments

Comments
 (0)