Skip to content

Commit

Permalink
Merge pull request #16 from jokester/backend-py311
Browse files Browse the repository at this point in the history
upgrade to python 3.11
  • Loading branch information
jokester authored Jun 16, 2024
2 parents 58cc696 + e0ac8c5 commit 0523698
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 28 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/check-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 .
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.10
FROM python:3.11

LABEL project="moeflow-backend"

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
34 changes: 10 additions & 24 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand All @@ -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

0 comments on commit 0523698

Please sign in to comment.