Merge pull request #251730 from tjni/molecule

molecule: add missing build dependencies
This commit is contained in:
Theodore Ni 2023-08-27 02:03:10 -07:00 committed by GitHub
commit 86beecc0a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,8 +11,10 @@
, pluggy , pluggy
, rich , rich
, setuptools , setuptools
, setuptools-scm
, yamllint , yamllint
, wcmatch , wcmatch
, wheel
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -25,6 +27,12 @@ buildPythonPackage rec {
hash = "sha256-ssARHVtEp3pW7364WhxhtHAWW5fRFXiioWgEczTI3yM="; hash = "sha256-ssARHVtEp3pW7364WhxhtHAWW5fRFXiioWgEczTI3yM=";
}; };
nativeBuildInputs = [
setuptools
setuptools-scm
wheel
];
propagatedBuildInputs = [ propagatedBuildInputs = [
ansible-compat ansible-compat
ansible-core ansible-core
@ -38,10 +46,6 @@ buildPythonPackage rec {
wcmatch wcmatch
] ++ lib.optional withPlugins molecule-plugins; ] ++ lib.optional withPlugins molecule-plugins;
nativeBuildInputs = [
setuptools
];
pythonImportsCheck = [ "molecule" ]; pythonImportsCheck = [ "molecule" ];
# tests can't be easily run without installing things from ansible-galaxy # tests can't be easily run without installing things from ansible-galaxy