Merge pull request #133049 from SuperSandro2000/cleanup

This commit is contained in:
Sandro 2021-08-07 23:13:00 +02:00 committed by GitHub
commit 94cff14200
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 6 deletions

View File

@ -31,9 +31,12 @@ buildPythonPackage rec {
poetry-core poetry-core
]; ];
buildInputs = [
pytest
];
propagatedBuildInputs = [ propagatedBuildInputs = [
aiohttp aiohttp
pytest
pytest-asyncio pytest-asyncio
]; ];

View File

@ -3,7 +3,6 @@
, pythonOlder , pythonOlder
, fetchFromGitHub , fetchFromGitHub
, colorama , colorama
, pytest-runner
, pytest , pytest
, pytestCheckHook , pytestCheckHook
}: }:
@ -20,13 +19,17 @@ buildPythonPackage rec {
sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2"; sha256 = "1siv3pk4fsabz254fdzr7c0pxy124habnbw4ym66pfk883fr96g2";
}; };
nativeBuildInputs = [ postPatch = ''
pytest-runner substituteInPlace setup.cfg \
--replace "pytest-runner" ""
'';
buildInputs = [
pytest
]; ];
propagatedBuildInputs = [ propagatedBuildInputs = [
colorama colorama
pytest
]; ];
checkInputs = [ checkInputs = [

View File

@ -1,7 +1,6 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchFromGitHub , fetchFromGitHub
, fetchpatch
, ifaddr , ifaddr
, poetry-core , poetry-core
, pythonOlder , pythonOlder