diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index bed6092..18dfd61 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml @@ -12,7 +12,7 @@ jobs: - uses: actions/checkout@v4 - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' cache: 'pip' - run: pip install -r requirements.txt - run: ruff check . @@ -25,7 +25,7 @@ jobs: - run: docker-compose -f tests/deps.yaml up -d - uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' cache: 'pip' - run: pip install -r requirements.txt - run: cp -rv .env.test.sample .env.test diff --git a/Dockerfile b/Dockerfile index ab9f790..6ff72de 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10 +FROM python:3.11 LABEL project="moeflow-backend" diff --git a/Makefile b/Makefile index 5a3d863..1d5dfd6 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ PYTEST_COV_ARGS = FORCE: ; create-venv: - python3.10 -mvenv venv + python3.11 -mvenv venv deps: venv/bin/pip install -r requirements.txt diff --git a/requirements.txt b/requirements.txt index 814bdc9..03cd15a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,5 @@ # GENERATED: run make requirements.txt to recreate lock file asgiref==3.7.2 - typing_extensions==4.12.2 Flask-APIKit==0.0.7 Flask==2.2.5 click==8.1.3 @@ -32,7 +31,7 @@ flower==0.9.5 click==8.1.3 click-repl==0.3.0 click==8.1.3 - prompt_toolkit==3.0.46 + prompt_toolkit==3.0.47 wcwidth==0.2.13 kombu==5.3.7 amqp==5.2.0 @@ -95,7 +94,7 @@ gunicorn==20.0.4 mongoengine==0.20.0 pymongo==3.13.0 mongomock==4.1.2 - packaging==24.0 + packaging==24.1 sentinels==1.0.0 oss2==2.7.0 aliyun-python-sdk-core-v3==2.13.3 @@ -115,55 +114,42 @@ oss2==2.7.0 idna==2.8 urllib3==1.25.11 Pillow==8.0.1 -pip==23.0.1 +pip==24.0 pipdeptree==2.13.2 pytest-cov==5.0.0 coverage==7.5.3 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 pytest-dotenv==0.5.2 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 python-dotenv==1.0.1 pytest-html==4.1.1 Jinja2==3.1.4 MarkupSafe==2.1.5 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 pytest-metadata==3.1.1 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 pytest-md==0.2.0 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 pytest-xdist==3.6.1 execnet==2.1.1 pytest==8.2.1 - exceptiongroup==1.2.1 iniconfig==2.0.0 - packaging==24.0 + packaging==24.1 pluggy==1.5.0 - tomli==2.0.1 redis==5.0.3 - async-timeout==4.0.3 -ruff==0.4.8 +ruff==0.4.9