mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
python312Packages.locationsharinglib: drop nose dependency
This commit is contained in:
parent
e34c7a6b2a
commit
8ea77fe071
1 changed files with 2 additions and 16 deletions
|
@ -1,12 +1,9 @@
|
|||
{
|
||||
lib,
|
||||
betamax,
|
||||
buildPythonPackage,
|
||||
cachetools,
|
||||
coloredlogs,
|
||||
emoji,
|
||||
fetchPypi,
|
||||
nose,
|
||||
pythonOlder,
|
||||
pytz,
|
||||
requests,
|
||||
|
@ -30,13 +27,6 @@ buildPythonPackage rec {
|
|||
cachetools
|
||||
pytz
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
betamax
|
||||
emoji
|
||||
nose
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
# Tests requirements want to pull in multiple modules which we don't need
|
||||
substituteInPlace setup.py \
|
||||
|
@ -46,12 +36,8 @@ buildPythonPackage rec {
|
|||
--replace "pytz>=2023.3" "pytz"
|
||||
'';
|
||||
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
# Only coverage no real unit tests
|
||||
nosetests
|
||||
runHook postCheck
|
||||
'';
|
||||
# There are no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "locationsharinglib" ];
|
||||
|
||||
|
|
Loading…
Reference in a new issue