Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
- uses: actions/checkout@v2

- name: "Set up Python"
uses: actions/setup-python@v1
uses: actions/setup-python@v5
with:
python-version: '3.9'
python-version: '3.12'

- name: "python backend - install requirements"
working-directory: srv/python
Expand Down
3 changes: 1 addition & 2 deletions srv/python/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# MViewerStudio Backend v2

Ce dossier contient la version 2 du backend de mviewerstudio. Cette version est
écrite en python (3.7+) et utilise le framework Flask. Il n'y aucune base de
écrite en python (3.11+) et utilise le framework Flask. Il n'y aucune base de
données, les données sont stockées dans des fichiers json.

## Installation
Expand All @@ -19,4 +19,3 @@ Vous pouvez utiliser la composition docker présente à la racine du dépot. Le

* Lancer les tests unitaires : `pytest mviewerstudio_backend/test.py`
* Vérifier les types : `mypy --ignore-missing mviewerstudio_backend`

2 changes: 1 addition & 1 deletion srv/python/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
flask>=2
gunicorn>20,<21
gunicorn>20
lxml>=4.9.2
GitPython>=3
requests
Expand Down
4 changes: 2 additions & 2 deletions srv/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
url="https://github.com/mviewer/mviewerstudio",
packages=find_packages(),
install_requires=REQUIREMENTS,
python_requires=">=3.11",
classifiers=[
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.11",
"Framework :: Flask",
"Topic :: Internet :: WWW/HTTP",
"Topic :: Internet :: WWW/HTTP :: WSGI :: Application",
Expand Down