Merge pull request #303549 from r-ryantm/auto-update/python312Packages.junos-eznc

python312Packages.junos-eznc: 2.7.0 -> 2.7.1
This commit is contained in:
Fabian Affolter 2024-04-12 12:24:23 +02:00 committed by GitHub
commit 7cd7503abd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,29 +1,30 @@
{ lib {
, buildPythonPackage lib,
, fetchFromGitHub buildPythonPackage,
, jinja2 fetchFromGitHub,
, lxml jinja2,
, mock lxml,
, ncclient mock,
, netaddr ncclient,
, nose2 netaddr,
, ntc-templates nose2,
, paramiko ntc-templates,
, pyparsing paramiko,
, pyserial pyparsing,
, pythonOlder pyserial,
, pyyaml pythonOlder,
, scp pyyaml,
, setuptools scp,
, pytestCheckHook setuptools,
, six pytestCheckHook,
, transitions six,
, yamlordereddictloader transitions,
yamlordereddictloader,
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "junos-eznc"; pname = "junos-eznc";
version = "2.7.0"; version = "2.7.1";
pyproject = true; pyproject = true;
disabled = pythonOlder "3.8"; disabled = pythonOlder "3.8";
@ -32,14 +33,12 @@ buildPythonPackage rec {
owner = "Juniper"; owner = "Juniper";
repo = "py-junos-eznc"; repo = "py-junos-eznc";
rev = "refs/tags/${version}"; rev = "refs/tags/${version}";
hash = "sha256-06OV6UrF2i4SxL5dCvVxsEX2e8ef8UBFx/oMbvCZDaM="; hash = "sha256-aoi+in5A8qSdQNY3V4S4wBBfPchR1an7G6GQHDhgxpQ=";
}; };
nativeBuildInputs = [ build-system = [ setuptools ];
setuptools
];
propagatedBuildInputs = [ dependencies = [
jinja2 jinja2
lxml lxml
ncclient ncclient
@ -61,9 +60,7 @@ buildPythonPackage rec {
pytestCheckHook pytestCheckHook
]; ];
pytestFlagsArray = [ pytestFlagsArray = [ "tests/unit" ];
"tests/unit"
];
disabledTests = [ disabledTests = [
# jnpr.junos.exception.FactLoopError: A loop was detected while gathering the... # jnpr.junos.exception.FactLoopError: A loop was detected while gathering the...
@ -76,9 +73,7 @@ buildPythonPackage rec {
"test_domain_fact_from_config" "test_domain_fact_from_config"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [ "jnpr.junos" ];
"jnpr.junos"
];
meta = with lib; { meta = with lib; {
description = "Junos 'EZ' automation for non-programmers"; description = "Junos 'EZ' automation for non-programmers";