Fix the python-olm hacks.

This commit is contained in:
Abel Luck 2023-11-28 12:33:14 +01:00
parent 26ff0d256b
commit bf8110010a
5 changed files with 1756 additions and 631 deletions

View file

@ -19,9 +19,7 @@ json-logging = "^1.3.0"
pydantic-settings = "^2.0.3"
prometheus-client = "^0.18.0"
prometheus-fastapi-instrumentator = "^6.1.0"
# Until python-olm 3.2.16 is released, also change Dockerfile
setuptools = "68.2.2"
python-olm = {git = "https://gitlab.matrix.org/matrix-org/olm.git", rev = "3.2.16", subdirectory = "python"}
python-olm = {version = "^3.2.16", source = "python-olm"}
[tool.poetry.dev-dependencies]
pytest = "^7.2.0"
@ -36,6 +34,12 @@ types-termcolor = "^1.1.5"
pytest-asyncio = "^0.20.2"
types-commonmark = "^0.9.2"
[[tool.poetry.source]]
name = "python-olm"
url = "https://gitlab.matrix.org/api/v4/projects/27/packages/pypi/simple"
default = false
secondary = false
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"