Pin Horus to 0.3.1 temporarily

[Why]
We pin a version of Horus even if we don't use it directly (it is a
dependency of Khepri). But currently, we can't update Khepri while still
needing the fix in Horus 0.3.1.

Horus 0.3.1 works around a crash in `cover` that mostly affects CI for
now.

This pinning will have to go away with the next update of Khepri.

(cherry picked from commit ae9fbb7bd5)
This commit is contained in:
Jean-Sébastien Pédron 2024-11-27 13:33:22 +01:00
parent 2d62820b54
commit 8751a6f4a3
No known key found for this signature in database
GPG Key ID: 39E99761A5FD94CC
2 changed files with 9 additions and 3 deletions

View File

@ -189,8 +189,8 @@ erlang_package.hex_package(
erlang_package.hex_package(
name = "horus",
build_file = "@rabbitmq-server//bazel:BUILD.horus",
sha256 = "4ebcb0ce86c8ee411d24b289c504b14431ee004d9f2c48e6f88d4128ded33a2e",
version = "0.2.6",
sha256 = "d564d30ebc274f0d92c3d44a336d0b892f000be159912ae4e6838701e85495ec",
version = "0.3.1",
)
erlang_package.hex_package(

View File

@ -128,9 +128,15 @@ endef
LOCAL_DEPS = sasl os_mon inets compiler public_key crypto ssl syntax_tools xmerl
BUILD_DEPS = rabbitmq_cli
DEPS = ranch rabbit_common amqp10_common rabbitmq_prelaunch ra sysmon_handler stdout_formatter recon redbug observer_cli osiris syslog systemd seshat khepri khepri_mnesia_migration cuttlefish gen_batch_server
DEPS = ranch rabbit_common amqp10_common rabbitmq_prelaunch ra sysmon_handler stdout_formatter recon redbug observer_cli osiris syslog systemd seshat horus khepri khepri_mnesia_migration cuttlefish gen_batch_server
TEST_DEPS = rabbitmq_ct_helpers rabbitmq_ct_client_helpers meck proper amqp_client rabbitmq_amqp_client rabbitmq_amqp1_0
# We pin a version of Horus even if we don't use it directly (it is a
# dependency of Khepri). But currently, we can't update Khepri while still
# needing the fix in Horus 0.3.1. This line and the mention of `horus` above
# should be removed with the next update of Khepri.
dep_horus = hex 0.3.1
PLT_APPS += mnesia runtime_tools
dep_syslog = git https://github.com/schlagert/syslog 4.0.0