python312Packages.geopy: fix build
This commit is contained in:
parent
10590daa39
commit
d357bc5303
1 changed files with 5 additions and 2 deletions
|
@ -1,10 +1,10 @@
|
|||
{ lib
|
||||
, async-generator
|
||||
, buildPythonPackage
|
||||
, docutils
|
||||
, fetchFromGitHub
|
||||
, geographiclib
|
||||
, pytestCheckHook
|
||||
, pythonAtLeast
|
||||
, pythonOlder
|
||||
, pytz
|
||||
}:
|
||||
|
@ -27,7 +27,6 @@ buildPythonPackage rec {
|
|||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
async-generator
|
||||
docutils
|
||||
pytestCheckHook
|
||||
pytz
|
||||
|
@ -38,6 +37,10 @@ buildPythonPackage rec {
|
|||
"test_user_agent_default"
|
||||
];
|
||||
|
||||
disabledTestPaths = lib.optionals (pythonAtLeast "3.12") [
|
||||
"test/test_init.py"
|
||||
];
|
||||
|
||||
pytestFlagsArray = [ "--skip-tests-requiring-internet" ];
|
||||
|
||||
pythonImportsCheck = [ "geopy" ];
|
||||
|
|
Loading…
Reference in a new issue