Update Python version and dependencies in Dockerfile and pyproject.toml

This commit is contained in:
swve 2024-02-21 16:52:56 +01:00
parent 05c520b740
commit d8da7f6fd8
4 changed files with 544 additions and 543 deletions

View file

@ -1,5 +1,5 @@
# #
FROM python:3.11 FROM python:3.12
# poetry # poetry
RUN pip install poetry RUN pip install poetry

1050
apps/api/poetry.lock generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,4 @@
[tool.ruff] [tool.ruff]
# E501 line too long (82 > 79 characters)
ignore = ["E501", "E712"] ignore = ["E501", "E712"]
[tool.poetry] [tool.poetry]
@ -10,11 +9,11 @@ authors = ["Badr B. (swve)"]
readme = "README.md" readme = "README.md"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.11" python = "^3.12"
fastapi = "0.109.1" fastapi = "0.109.2"
pydantic = {version = ">=1.8.0,<2.0.0", extras = ["email"]} pydantic = {version = ">=1.8.0,<2.0.0", extras = ["email"]}
sqlmodel = "0.0.10" sqlmodel = "0.0.10"
uvicorn = "0.23.2" uvicorn = "0.27.1"
pymongo = "4.3.3" pymongo = "4.3.3"
motor = "3.1.1" motor = "3.1.1"
psycopg2 = "^2.9.9" psycopg2 = "^2.9.9"

View file

@ -1,28 +0,0 @@
fastapi==0.109.1
pydantic>=1.8.0,<2.0.0
sqlmodel==0.0.10
uvicorn==0.23.2
pymongo==4.3.3
motor==3.1.1
psycopg2
python-multipart
boto3
botocore
python-jose
passlib
fastapi-jwt-auth
pytest
httpx
faker
requests
pyyaml
sentry-sdk[fastapi]
pydantic[email]>=1.8.0,<2.0.0
langchain==0.1.0
langchain-community
langchain-openai
tiktoken
openai
chromadb
python-dotenv
redis