Unverified Commit aaa4b9e6 authored by Martin Weinelt's avatar Martin Weinelt Committed by GitHub
Browse files

ansible: add jmespath by default (#173364)

parents 5253e225 c9d7e166
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@
  lib,
  buildPythonPackage,
  fetchPypi,
  python,
  pythonOlder,
  installShellFiles,
  docutils,
@@ -25,6 +26,8 @@
  windowsSupport ? false,
  pywinrm,
  xmltodict,
  # Additional packages to add to dependencies
  extraPackages ? _: [ ],
}:

buildPythonPackage rec {
@@ -88,7 +91,8 @@ buildPythonPackage rec {
    scp
    xmltodict
  ]
  ++ lib.optionals windowsSupport [ pywinrm ];
  ++ lib.optionals windowsSupport [ pywinrm ]
  ++ extraPackages python.pkgs;

  pythonRelaxDeps = [ "resolvelib" ];

+5 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@
  buildPythonPackage,
  fetchPypi,
  setuptools,
  jmespath,
  jsonschema,
  jxmlease,
  ncclient,
@@ -63,6 +64,10 @@ buildPythonPackage {
      xmltodict
      # ansible.windows

      # Default ansible collections dependencies
      # community.general
      jmespath

      # lots of collections with dedicated requirements.txt and pyproject.toml files,
      # add the dependencies for the collections you need conditionally and install
      # ansible using overrides to enable the collections you need.