mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-19 04:19:25 +00:00
Update Python version and dependencies in Dockerfile and pyproject.toml
This commit is contained in:
parent
05c520b740
commit
d8da7f6fd8
4 changed files with 544 additions and 543 deletions
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
FROM python:3.11
|
||||
FROM python:3.12
|
||||
|
||||
# poetry
|
||||
RUN pip install poetry
|
||||
|
|
|
|||
1050
apps/api/poetry.lock
generated
1050
apps/api/poetry.lock
generated
File diff suppressed because it is too large
Load diff
|
|
@ -1,5 +1,4 @@
|
|||
[tool.ruff]
|
||||
# E501 line too long (82 > 79 characters)
|
||||
ignore = ["E501", "E712"]
|
||||
|
||||
[tool.poetry]
|
||||
|
|
@ -10,11 +9,11 @@ authors = ["Badr B. (swve)"]
|
|||
readme = "README.md"
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.11"
|
||||
fastapi = "0.109.1"
|
||||
python = "^3.12"
|
||||
fastapi = "0.109.2"
|
||||
pydantic = {version = ">=1.8.0,<2.0.0", extras = ["email"]}
|
||||
sqlmodel = "0.0.10"
|
||||
uvicorn = "0.23.2"
|
||||
uvicorn = "0.27.1"
|
||||
pymongo = "4.3.3"
|
||||
motor = "3.1.1"
|
||||
psycopg2 = "^2.9.9"
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue