Merge pull request #163 from grillazz/158-granian-poc

bum project deps
This commit is contained in:
Jakub Miazek 2024-07-12 20:41:51 +02:00 committed by GitHub
commit 4e844184d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 535 additions and 501 deletions

View File

@ -81,7 +81,7 @@ To build , run and test and more ... use magic of make help to play with this pr
1. make docker-build 1. make docker-build
2. make docker-up 2. make docker-up
3. make docker-apply-db-migrations 3. make docker-apply-db-migrations
4. make docker-feed-db 4. make docker-feed-database
``` ```
@ -193,9 +193,9 @@ I've included a few of my favorites to kick things off!
[fastapi.tiangolo.com]: https://img.shields.io/badge/FastAPI-0.111.0-009485?style=for-the-badge&logo=fastapi&logoColor=white [fastapi.tiangolo.com]: https://img.shields.io/badge/FastAPI-0.111.0-009485?style=for-the-badge&logo=fastapi&logoColor=white
[fastapi-url]: https://fastapi.tiangolo.com/ [fastapi-url]: https://fastapi.tiangolo.com/
[pydantic.com]: https://img.shields.io/badge/Pydantic-2.7.3-e92063?style=for-the-badge&logo=pydantic&logoColor=white [pydantic.com]: https://img.shields.io/badge/Pydantic-2.8.2-e92063?style=for-the-badge&logo=pydantic&logoColor=white
[pydantic-url]: https://docs.pydantic.dev/latest/ [pydantic-url]: https://docs.pydantic.dev/latest/
[sqlalchemy.org]: https://img.shields.io/badge/SQLAlchemy-2.0.30-bb0000?color=bb0000&style=for-the-badge [sqlalchemy.org]: https://img.shields.io/badge/SQLAlchemy-2.0.31-bb0000?color=bb0000&style=for-the-badge
[sqlalchemy-url]: https://docs.sqlalchemy.org/en/20/ [sqlalchemy-url]: https://docs.sqlalchemy.org/en/20/
[uvicorn.org]: https://img.shields.io/badge/Uvicorn-0.30.1-2094f3?style=for-the-badge&logo=uvicorn&logoColor=white [uvicorn.org]: https://img.shields.io/badge/Uvicorn-0.30.1-2094f3?style=for-the-badge&logo=uvicorn&logoColor=white
[uvicorn-url]: https://www.uvicorn.org/ [uvicorn-url]: https://www.uvicorn.org/
@ -203,10 +203,9 @@ I've included a few of my favorites to kick things off!
[asyncpg-url]: https://magicstack.github.io/asyncpg/current/ [asyncpg-url]: https://magicstack.github.io/asyncpg/current/
[pytest.org]: https://img.shields.io/badge/pytest-8.2.2-fff?style=for-the-badge&logo=pytest&logoColor=white [pytest.org]: https://img.shields.io/badge/pytest-8.2.2-fff?style=for-the-badge&logo=pytest&logoColor=white
[pytest-url]: https://docs.pytest.org/en/6.2.x/ [pytest-url]: https://docs.pytest.org/en/6.2.x/
[alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.13.1-6BA81E?style=for-the-badge&logo=alembic&logoColor=white [alembic.sqlalchemy.org]: https://img.shields.io/badge/alembic-1.13.2-6BA81E?style=for-the-badge&logo=alembic&logoColor=white
[alembic-url]: https://alembic.sqlalchemy.org/en/latest/ [alembic-url]: https://alembic.sqlalchemy.org/en/latest/
[rich.readthedocs.io]: https://img.shields.io/badge/rich-13.7.1-009485?style=for-the-badge&logo=rich&logoColor=white [rich.readthedocs.io]: https://img.shields.io/badge/rich-13.7.1-009485?style=for-the-badge&logo=rich&logoColor=white
[rich-url]: https://rich.readthedocs.io/en/latest/ [rich-url]: https://rich.readthedocs.io/en/latest/
[redis.io]: https://img.shields.io/badge/redis-5.0.5-dc382d?style=for-the-badge&logo=redis&logoColor=white [redis.io]: https://img.shields.io/badge/redis-5.0.7-dc382d?style=for-the-badge&logo=redis&logoColor=white
[redis-url]: https://redis.io/ [redis-url]: https://redis.io/

View File

@ -45,7 +45,7 @@ async def lifespan(_app: FastAPI):
await _app.postgres_pool.close() await _app.postgres_pool.close()
app = FastAPI(title="Stuff And Nonsense API", version="0.6", lifespan=lifespan) app = FastAPI(title="Stuff And Nonsense API", version="0.14", lifespan=lifespan)
app.include_router(stuff_router) app.include_router(stuff_router)
app.include_router(nonsense_router) app.include_router(nonsense_router)

999
poetry.lock generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[tool.poetry] [tool.poetry]
name = "fastapi-sqlalchemy-asyncpg" name = "fastapi-sqlalchemy-asyncpg"
version = "0.0.13" version = "0.0.14"
description = "" description = ""
authors = ["Jakub Miazek <the@grillazz.com>"] authors = ["Jakub Miazek <the@grillazz.com>"]
packages = [] packages = []
@ -9,30 +9,30 @@ license = "MIT"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.12" python = "^3.12"
fastapi = "^0.111.0" fastapi = "^0.111.0"
pydantic = {version = "^2.7.3", extras = ["email"]} pydantic = {version = "^2.8.2", extras = ["email"]}
pydantic-settings = "^2.3.1" pydantic-settings = "^2.3.4"
sqlalchemy = "^2.0.30" sqlalchemy = "^2.0.31"
uvicorn = { version = "^0.30.1", extras = ["standard"]} uvicorn = { version = "^0.30.1", extras = ["standard"]}
asyncpg = "^0.29.0" asyncpg = "^0.29.0"
alembic = "^1.13.1" alembic = "^1.13.2"
httpx = "^0.27.0" httpx = "^0.27.0"
pytest = "^8.2.2" pytest = "^8.2.2"
pytest-cov = "^5.0.0" pytest-cov = "^5.0.0"
uvloop = "^0.18.0" uvloop = "^0.19.0"
httptools = "^0.6.1" httptools = "^0.6.1"
rich = "^13.7.1" rich = "^13.7.1"
pyjwt = {version = "^2.8.0", extras = ["cryptography"]} pyjwt = {version = "^2.8.0", extras = ["cryptography"]}
redis = "^5.0.5" redis = "^5.0.7"
passlib = {version = "^1.7.4", extras = ["bcrypt"]} passlib = {version = "^1.7.4", extras = ["bcrypt"]}
polars = "^0.20.31" polars = "^1.1.0"
python-multipart = "^0.0.9" python-multipart = "^0.0.9"
fastexcel = "^0.10.2" fastexcel = "^0.10.2"
fastapi-cache2 = {git = "https://github.com/yoco-tech/fastapi-cache.git", rev = "main"} fastapi-cache2 = {git = "https://github.com/yoco-tech/fastapi-cache.git", rev = "main"}
inline-snapshot = "^0.10.2" inline-snapshot = "^0.11.0"
dirty-equals = "^0.7.1.post0" dirty-equals = "^0.7.1.post0"
polyfactory = "^2.16.0" polyfactory = "^2.16.2"
granian = "^1.4.1" granian = "^1.5.1"
transformers = "^4.41.2" transformers = "^4.42.4"
[tool.poetry.group.dev.dependencies] [tool.poetry.group.dev.dependencies]
devtools = { extras = ["pygments"], version = "*" } devtools = { extras = ["pygments"], version = "*" }