mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 04:46:43 +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
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, pythonOlder
|
||||||
, poetry-core
|
, poetry-core
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, pytestCheckHook
|
, pytestCheckHook
|
||||||
@ -37,6 +38,10 @@ buildPythonPackage rec {
|
|||||||
|
|
||||||
nativeBuildInputs = [ poetry-core ];
|
nativeBuildInputs = [ poetry-core ];
|
||||||
|
|
||||||
|
# ModuleNotFoundError: No module named 'distutils'
|
||||||
|
# https://github.com/matze/pkgconfig/issues/64
|
||||||
|
doCheck = pythonOlder "3.12";
|
||||||
|
|
||||||
nativeCheckInputs = [ pytestCheckHook ];
|
nativeCheckInputs = [ pytestCheckHook ];
|
||||||
|
|
||||||
pythonImportsCheck = [ "pkgconfig" ];
|
pythonImportsCheck = [ "pkgconfig" ];
|
||||||
|
Loading…
Reference in New Issue
Block a user