From 00bcec498cbf8577f47672e8f357109504865e0d Mon Sep 17 00:00:00 2001 From: Raffson Date: Sat, 15 Jul 2023 16:50:14 +0200 Subject: [PATCH] Update dependencies --- game/server/leaflet.py | 2 +- game/server/settings.py | 2 +- requirements.txt | 43 +++++++++++++++++++++-------------------- 3 files changed, 24 insertions(+), 23 deletions(-) diff --git a/game/server/leaflet.py b/game/server/leaflet.py index 6e5ed816..8e433c8e 100644 --- a/game/server/leaflet.py +++ b/game/server/leaflet.py @@ -15,7 +15,7 @@ class LeafletPoint(BaseModel): lng: float class Config: - orm_mode = True + from_attributes = True title = "LatLng" diff --git a/game/server/settings.py b/game/server/settings.py index 007591d0..f24ae182 100644 --- a/game/server/settings.py +++ b/game/server/settings.py @@ -2,7 +2,7 @@ from __future__ import annotations from functools import lru_cache -from pydantic import BaseSettings +from pydantic_settings import BaseSettings class ServerSettings(BaseSettings): diff --git a/requirements.txt b/requirements.txt index f207bcd8..0a486df7 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,65 +1,66 @@ altgraph==0.17.3 -anyio==3.7.0 +anyio==3.7.1 asgiref==3.7.2 atomicwrites==1.4.1 attrs==23.1.0 -black==23.3.0 +black==23.7.0 certifi==2023.5.7 cfgv==3.3.1 -click==8.1.3 +click==8.1.5 colorama==0.4.6 distlib==0.3.6 -Faker==18.10.1 -fastapi==0.97.0 +Faker==19.1.0 +fastapi==0.100.0 filelock==3.12.2 h11==0.14.0 -httptools==0.5.0 +httptools==0.6.0 identify==2.5.24 idna==3.4 iniconfig==2.0.0 Jinja2==3.1.2 lupa==2.0 MarkupSafe==2.1.3 -mypy==1.3.0 +mypy==1.4.1 mypy-extensions==1.0.0 nodeenv==1.8.0 packaging==23.1 pathspec==0.11.1 pefile==2023.2.7 -Pillow==9.5.0 -platformdirs==3.5.3 -pluggy==1.0.0 +Pillow==10.0.0 +platformdirs==3.8.1 +pluggy==1.2.0 pre-commit==3.3.3 -pydantic==1.10.9 +pydantic==2.0.3 +pydantic-settings==2.0.2 -e git+https://github.com/dcs-retribution/pydcs@b764ed61a800d95bb0db1fdb3687b393be45106d#egg=pydcs -pyinstaller==5.12.0 -pyinstaller-hooks-contrib==2023.3 -pyparsing==3.0.9 +pyinstaller==5.13.0 +pyinstaller-hooks-contrib==2023.5 +pyparsing==3.1.0 pyproj==3.6.0 pyshp==2.3.1 PySide2==5.15.2.1 -pytest==7.3.2 +pytest==7.4.0 pytest-cov==4.1.0 python-dateutil==2.8.2 python-dotenv==1.0.0 -pywin32-ctypes==0.2.0 +pywin32-ctypes==0.2.2 PyYAML==6.0 Shapely==2.0.1 shiboken2==5.15.2.1 six==1.16.0 sniffio==1.3.0 -starlette==0.27.0 +starlette==0.30.0 tabulate==0.9.0 text-unidecode==1.3 toml==0.10.2 tomli==2.0.1 types-Jinja2==2.11.9 types-MarkupSafe==1.1.10 -types-Pillow==9.5.0.4 +types-Pillow==10.0.0.1 types-PyYAML==6.0.12.10 types-tabulate==0.9.0.2 -typing_extensions==4.6.3 -uvicorn==0.22.0 -virtualenv==20.23.0 +typing_extensions==4.7.1 +uvicorn==0.23.0 +virtualenv==20.24.0 watchgod==0.8.2 websockets==11.0.3