mailmanPackages: pin elasticsearch to 7.17.9

Hyperkitty's tests fail with 8.x, because it tries and fails to import
elastic_transport.  There are 7.17.10 and 7.17.11 releases, but for
unknown reasons they're not available on PyPI.

Link: https://github.com/elastic/elasticsearch-py/issues/2336
This commit is contained in:
Alyssa Ross 2023-10-10 12:06:30 +00:00
parent 755ef90835
commit 0d910a60ef
No known key found for this signature in database
GPG Key ID: F9DBED4859B271C0

View File

@ -20,6 +20,14 @@ python3.override {
*/
django = super.django_3;
elasticsearch = super.elasticsearch.overridePythonAttrs ({ pname, ... }: rec {
version = "7.17.9";
src = fetchPypi {
inherit pname version;
hash = "sha256-ZsTs4q3+fMEg4rameYof1cd3rs+C7sObuVzvfPx+orM=";
};
});
# https://gitlab.com/mailman/hyperkitty/-/merge_requests/541
mistune = super.mistune.overridePythonAttrs (old: rec {
version = "2.0.5";