mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-03 12:23:02 +00:00
python312Packages.pkgconfig: disable tests
They rely on distutils, which has been removed from the stdlib.
This commit is contained in:
parent
7606692796
commit
ad821a1c2e
@ -1,6 +1,7 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchFromGitHub
|
||||
, pythonOlder
|
||||
, poetry-core
|
||||
, pkg-config
|
||||
, pytestCheckHook
|
||||
@ -37,6 +38,10 @@ buildPythonPackage rec {
|
||||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
# ModuleNotFoundError: No module named 'distutils'
|
||||
# https://github.com/matze/pkgconfig/issues/64
|
||||
doCheck = pythonOlder "3.12";
|
||||
|
||||
nativeCheckInputs = [ pytestCheckHook ];
|
||||
|
||||
pythonImportsCheck = [ "pkgconfig" ];
|
||||
|
Loading…
Reference in New Issue
Block a user