healtchecks: 3.9 -> 3.11

Also, add new pyjwt dependency.

Test currently fail at the very last check, suggesting that the
services does run but that our wrapper for manage.py is currently broken.

phaer 80f0ffd7 3e0ec81d

Changed files
+11 -5
nixos
tests
web-apps
pkgs
by-name
he
healthchecks
+8 -3
nixos/tests/web-apps/healthchecks.nix
···
with subtest("Manage script works"):
# "shell" sucommand should succeed, needs python in PATH.
-
assert "foo\n" == machine.succeed("echo 'print(\"foo\")' | sudo -u healthchecks healthchecks-manage shell")
-
+
t.assertIn(
+
"\nfoo\n",
+
machine.succeed("echo 'print(\"foo\")' | sudo -u healthchecks healthchecks-manage shell")
+
)
# Shouldn't fail if not called by healthchecks user
-
assert "foo\n" == machine.succeed("echo 'print(\"foo\")' | healthchecks-manage shell")
+
t.assertIn(
+
"\nfoo\n",
+
machine.succeed("echo 'print(\"foo\")' | healthchecks-manage shell")
+
)
'';
}
+3 -2
pkgs/by-name/he/healthchecks/package.nix
···
in
py.pkgs.buildPythonApplication rec {
pname = "healthchecks";
-
version = "3.9";
+
version = "3.11";
format = "other";
src = fetchFromGitHub {
owner = "healthchecks";
repo = "healthchecks";
tag = "v${version}";
-
sha256 = "sha256-78Ku7yYhgIZ+uIMPKkExIXUOKmfiRMjEiBm2SugyD+s=";
+
sha256 = "sha256-s8qhCp+6d2rixgrduWXopiWEpBCLVKkoDjTYT0eLSN8=";
};
propagatedBuildInputs = with py.pkgs; [
···
psycopg2
pycurl
pydantic
+
pyjwt
pyotp
segno
statsd