Merge branch '125-fix-family-tree' into 'master'

Ajout de pygraphviz en dépendance

Closes #125

On change également la version minimale de python (`3.7` -> `3.8`)

Closes #125

See merge request ae-utbm/Sith!306
This commit is contained in:
Théo | Ailé 2022-05-08 12:09:38 +00:00
commit 253f204225
2 changed files with 7 additions and 3 deletions

View File

@ -21,7 +21,7 @@ unittests:
- poetry run ./manage.py compilemessages - poetry run ./manage.py compilemessages
# Run tests and export report # Run tests and export report
- poetry run coverage run ./manage.py test - poetry run coverage run ./manage.py test
- poetry run coverage html - poetry run coverage xml
- poetry run coverage report - poetry run coverage report
# Build documentation # Build documentation
- cd doc - cd doc
@ -32,9 +32,13 @@ unittests:
paths: paths:
- .cache/pip_tests - .cache/pip_tests
artifacts: artifacts:
when: always
paths: paths:
- coverage.xml
- coverage_report/ - coverage_report/
- docs/_build - docs/_build
reports:
junit: coverage.xml
# Check black # Check black
black: black:

View File

@ -19,7 +19,7 @@ homepage = "https://ae.utbm.fr/"
license = "GPL-3.0-only" license = "GPL-3.0-only"
[tool.poetry.dependencies] [tool.poetry.dependencies]
python = "^3.7" python = "^3.8"
Django = "^2.2" Django = "^2.2"
Pillow = "^8.3.2" Pillow = "^8.3.2"
mistune = "^0.8.4" mistune = "^0.8.4"
@ -41,7 +41,7 @@ django-simple-captcha = "^0.5.14"
python-dateutil = "^2.8.2" python-dateutil = "^2.8.2"
psycopg2-binary = "2.8.6" psycopg2-binary = "2.8.6"
sentry-sdk = "^1.4.3" sentry-sdk = "^1.4.3"
graphviz = "^0.17" pygraphviz = "^1.9"
Jinja2 = "<=3.0.3" Jinja2 = "<=3.0.3"
# Extra optional dependencies # Extra optional dependencies