Merge pull request #216104 from dotlambda/pytest-forked-1.6.0

python310Packages.pytest-forked: 1.4.0 -> 1.6.0

authored by

Martin Weinelt and committed by
GitHub
770db258 565e08be

+18 -18
+18 -18
pkgs/development/python-modules/pytest-forked/default.nix
··· 1 { lib 2 , buildPythonPackage 3 , pythonOlder 4 - , fetchPypi 5 - , fetchpatch 6 , setuptools-scm 7 , py 8 , pytest 9 , pytestCheckHook ··· 11 12 buildPythonPackage rec { 13 pname = "pytest-forked"; 14 - version = "1.4.0"; 15 16 - disabled = pythonOlder "3.6"; 17 18 - src = fetchPypi { 19 - inherit pname version; 20 - sha256 = "sha256-i2dYfI+Yy7rf3YBFOe1UVbbtA4AiA0hd0vU8FCLXRA4="; 21 }; 22 23 - patches = [ 24 - # pytest 7.2.0 compat, remove after 1.4.0 25 - (fetchpatch { 26 - url = "https://github.com/pytest-dev/pytest-forked/commit/c3c753e96916a4bc5a8a37699e75c6cbbd653fa2.patch"; 27 - hash = "sha256-QPgxBeMQ0eKJyHXYZyBicVbE+JyKPV/Kbjsb8gNJBGA="; 28 - }) 29 - (fetchpatch { 30 - url = "https://github.com/pytest-dev/pytest-forked/commit/de584eda15df6db7912ab6197cfb9ff23024ef23.patch"; 31 - hash = "sha256-VLE32xZRwFK0nEgCWuSoMW/yyFHEURtNFU9Aa9haLhk="; 32 - }) 33 ]; 34 35 - nativeBuildInputs = [ setuptools-scm ]; 36 37 buildInputs = [ 38 pytest ··· 50 setupHook = ./setup-hook.sh; 51 52 meta = { 53 description = "Run tests in isolated forked subprocesses"; 54 homepage = "https://github.com/pytest-dev/pytest-forked"; 55 license = lib.licenses.mit;
··· 1 { lib 2 , buildPythonPackage 3 , pythonOlder 4 + , fetchFromGitHub 5 + , setuptools 6 , setuptools-scm 7 + , wheel 8 , py 9 , pytest 10 , pytestCheckHook ··· 12 13 buildPythonPackage rec { 14 pname = "pytest-forked"; 15 + version = "1.6.0"; 16 17 + disabled = pythonOlder "3.7"; 18 19 + format = "pyproject"; 20 + 21 + src = fetchFromGitHub { 22 + owner = "pytest-dev"; 23 + repo = "pytest-forked"; 24 + rev = "refs/tags/v${version}"; 25 + hash = "sha256-owkGwF5WQ17/CXwTsIYJ2AgktekRB4qhtsDxR0LCI/k="; 26 }; 27 28 + nativeBuildInputs = [ 29 + setuptools 30 + setuptools-scm 31 + wheel 32 ]; 33 34 + SETUPTOOLS_SCM_PRETEND_VERSION = version; 35 36 buildInputs = [ 37 pytest ··· 49 setupHook = ./setup-hook.sh; 50 51 meta = { 52 + changelog = "https://github.com/pytest-dev/pytest-forked/blob/${src.rev}/CHANGELOG.rst"; 53 description = "Run tests in isolated forked subprocesses"; 54 homepage = "https://github.com/pytest-dev/pytest-forked"; 55 license = lib.licenses.mit;