devpi-server: fix tests

Tests relied on a function that has no order guarantee. A fix was merged
to devpi master [1]. We point the package to this commit which should fix
the failing tests on hydra.

[1] https://github.com/devpi/devpi/pull/821
This commit is contained in:
Jean-François Roche 2020-10-14 00:32:18 +02:00 committed by Jon
parent dbceedca96
commit 3a57ec4744

View File

@ -1,18 +1,22 @@
{ stdenv, python3Packages, nginx }: { stdenv, fetchFromGitHub, python3Packages, nginx }:
python3Packages.buildPythonApplication rec { python3Packages.buildPythonApplication rec {
pname = "devpi-server"; pname = "devpi-server";
version = "5.5.0"; version = "6.0.0.dev0";
src = python3Packages.fetchPypi { src = fetchFromGitHub {
inherit pname version; owner = "devpi";
sha256 = "0lily4a0k13bygx07x2f2q4nkwny0fj34hpac9i6mc70ysdn1hhi"; repo = "devpi";
rev = "68ee291ef29a93f6d921d4927aec8d13919b4a4c";
sha256 = "1ivd5dy9f2gq07w8n2gywa0n0d9wv8644l53ni9fz7i69jf8q2fm";
}; };
sourceRoot = "source/server";
propagatedBuildInputs = with python3Packages; [ propagatedBuildInputs = with python3Packages; [
py py
appdirs appdirs
devpi-common devpi-common
defusedxml
execnet execnet
itsdangerous itsdangerous
repoze_lru repoze_lru