Upgrade path to Pydantic 2.0 by turukawa · Pull Request #35 · whythawk/full-stack-fastapi-postgresql

@turukawa

Major path updates include:

- frontend:
  - Node 16 to 18
  - Latest Pinia requires changes in `stores`, where imports are not required, and parameter declaration must happen in functions.
- backend and celeryworker:
  - Python 3.9 to 3.11
  - Poetry to Hatch
  - Postgres 14 to 15

@turukawa

Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: #35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.
 Fixing Pinia referencing changes and standardising naming conventions
- Token invalid settings seems somewhat pointless ... just remove it entirely to avoid risk of weird conflicts
- Simplified crud paging with a site-level setting ... risk of some sort of DoS attack by having a way to bypass row-fetch limits
- Placeholder for a sockets-based API

br3ndonland

Co-authored-by: Brendon Smith <bws@bws.bio>
Co-authored-by: Brendon Smith <bws@bws.bio>

@turukawa

@turukawa

@turukawa turukawa deleted the upgrade-path-to-pydantic-2.0 branch

August 11, 2023 09:16

ai-28 pushed a commit to ai-28/fastAPI-mongoDB that referenced this pull request

Mar 27, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

siriusblack-7c added a commit to siriusblack-7c/Full-Stack-FastAPI-React-MongoDB-FARM-Base-Project-Generator that referenced this pull request

May 30, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

DragonWhite500 added a commit to DragonWhite500/full-stack-fastapi-mongodb that referenced this pull request

Jul 14, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

tb91117 added a commit to tb91117/fastapi-mongodb-full-stack that referenced this pull request

Jul 31, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

xcho7i added a commit to xcho7i/Full-Stack-FastAPI-React-MongoDB-FARM-Base-Project-Generator that referenced this pull request

Aug 4, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

bee-dev215 added a commit to bee-dev215/full-stack-fastapi-mongodb that referenced this pull request

Aug 17, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

SIntel423 added a commit to SIntel423/fullstack-fastapi-mongodb that referenced this pull request

Sep 19, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

candaleadrian pushed a commit to candaleadrian/full-stack-fastapi-mongodb-frontend that referenced this pull request

Sep 22, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

candaleadrian pushed a commit to candaleadrian/full-stack-fastapi-mongodb-backend that referenced this pull request

Sep 22, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

ai-28 added a commit to ai-28/fastAPI-mongoDB that referenced this pull request

Oct 21, 2025
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.

GXCoder78 added a commit to GXCoder78/full-stack-fastapi-mongodb that referenced this pull request

Jan 14, 2026
Celeryworker fix:

Recommended `hatch run production:python /app/app/celeryworker_pre_start.py` does not work. Use `hatch run python /app/app/celeryworker_pre_start.py` instead.

Frontend:

Weird issue with latest version of Vite: whythawk/full-stack-fastapi-postgresql#35

Requires changing of `/app` to *any other directory name*. This is a Docker/Vite issue and may be fixed in a future version of Vite.