Upgrade dependencies and install xapian from sources

This commit is contained in:
2024-06-22 21:15:37 +02:00
parent ee437649f0
commit 5416d88c97
5 changed files with 852 additions and 666 deletions

View File

@ -6,6 +6,7 @@ authors = [
"Skia <skia@hya.sk>",
"klmp200 <antoine@bartuccio.fr>",
"Krophil <pierre.brunet@krophil.fr>",
"Maréchal <thgirod@hotmail.com>",
"Och <francescowitz68@gmail.com>",
"tleb <tleb@openmailbox.org>",
"Soldat <ryan-68@live.fr>",
@ -19,7 +20,7 @@ homepage = "https://ae.utbm.fr/"
license = "GPL-3.0-only"
[tool.poetry.dependencies]
python = "^3.8"
python = "^3.10,<3.12"
Django = "^3.2"
Pillow = "^9.2"
mistune = "^0.8.4"
@ -31,29 +32,32 @@ djangorestframework = "^3.13"
django-phonenumber-field = "^6.3"
phonenumbers = "^8.12"
django-ajax-selects = "^2.1.0"
reportlab = "^3.6"
reportlab = "^4.2"
django-haystack = "^3.2.1"
xapian-haystack = "^3.0.1"
xapian-bindings = "^0.1.0"
libsass = "^0.22"
django-ordered-model = "^3.7"
django-simple-captcha = "^0.5.17"
python-dateutil = "^2.8.2"
psycopg2-binary = "2.9.3"
psycopg2-binary = "^2.9"
sentry-sdk = "^1.21.0"
pygraphviz = "^1.9"
pygraphviz = "^1.1"
Jinja2 = "^3.1"
django-countries = "^7.5.1"
dict2xml = "^1.7.3"
Sphinx = "^5" # Needed for building xapian
tomli = "^2.0.1"
# Extra optional dependencies
coverage = {version = "^5.5", optional = true}
# Docs extra dependencies
Sphinx = {version = "^4.2.0", optional = true}
sphinx-rtd-theme = {version = "^1.0.0", optional = true}
sphinx-copybutton = {version = "^0.4.0", optional = true}
[tool.xapian]
version = "1.4.25"
[tool.poetry.extras]
testing = ["coverage"]
docs = ["Sphinx", "sphinx-rtd-theme", "sphinx-copybutton"]