Unbreak CI: pin prometheus-client dep
This commit is contained in:
@@ -20,6 +20,10 @@ venv_path=${repo_root:-./}.venv
|
|||||||
if [ ! -d "$venv_path" ]; then
|
if [ ! -d "$venv_path" ]; then
|
||||||
"python${PYTHON_VERSION:-3}" -m venv "$venv_path"
|
"python${PYTHON_VERSION:-3}" -m venv "$venv_path"
|
||||||
"$venv_path/bin/pip" install -e '.[dev]'
|
"$venv_path/bin/pip" install -e '.[dev]'
|
||||||
|
|
||||||
|
# Temp: downgrade prometheus-client until Synapse is compatible with 0.24.0+
|
||||||
|
# See https://github.com/element-hq/synapse/issues/19375
|
||||||
|
"$venv_path/bin/pip" install --force prometheus-client==0.23.1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
[ $# -gt 1 ] && . "$venv_path/bin/activate" && "$@"
|
[ $# -gt 1 ] && . "$venv_path/bin/activate" && "$@"
|
||||||
|
|||||||
@@ -6,6 +6,11 @@ isolated_build = true
|
|||||||
|
|
||||||
[testenv:py]
|
[testenv:py]
|
||||||
|
|
||||||
|
deps =
|
||||||
|
# Temp: downgrade prometheus-client until Synapse is compatible with 0.24.0+
|
||||||
|
# See https://github.com/element-hq/synapse/issues/19375
|
||||||
|
prometheus-client==0.23.1
|
||||||
|
|
||||||
extras = dev
|
extras = dev
|
||||||
|
|
||||||
commands =
|
commands =
|
||||||
|
|||||||
Reference in New Issue
Block a user