diff --git a/pkgs/development/python-modules/mirakuru/default.nix b/pkgs/development/python-modules/mirakuru/default.nix index aba0bb7a4920..dc4aeeb39041 100644 --- a/pkgs/development/python-modules/mirakuru/default.nix +++ b/pkgs/development/python-modules/mirakuru/default.nix @@ -5,6 +5,7 @@ fetchFromGitHub, pytestCheckHook, pytest-rerunfailures, + pytest-xdist, setuptools, psutil, netcat, @@ -14,14 +15,14 @@ buildPythonPackage rec { pname = "mirakuru"; - version = "2.6.0"; + version = "3.0.1"; pyproject = true; src = fetchFromGitHub { owner = "ClearcodeHQ"; repo = "mirakuru"; tag = "v${version}"; - hash = "sha256-R5prLIub2kVhsKRGWbZMf/v0U7oOBieoLiHwMRDEs0I="; + hash = "sha256-3WyjvHxr+6kG+cLSCEZkHoA70mSoT66ubmp0W9g2yJM="; }; build-system = [ setuptools ]; @@ -33,9 +34,13 @@ buildPythonPackage rec { ps python-daemon pytest-rerunfailures + pytest-xdist pytestCheckHook ]; + # socket bind races, but requires xdist_group + dontUsePytestXdist = true; + pythonImportsCheck = [ "mirakuru" ]; # Necessary for the tests to pass on Darwin with sandbox enabled. @@ -57,7 +62,7 @@ buildPythonPackage rec { meta = { homepage = "https://github.com/dbfixtures/mirakuru"; description = "Process orchestration tool designed for functional and integration tests"; - changelog = "https://github.com/ClearcodeHQ/mirakuru/blob/v${version}/CHANGES.rst"; + changelog = "https://github.com/ClearcodeHQ/mirakuru/blob/${src.tag}/CHANGES.rst"; license = lib.licenses.lgpl3Plus; maintainers = with lib.maintainers; [ bcdarwin ]; };