Merge pull request #156575 from fabaff/bump-checkov

checkov: 2.0.752 -> 2.0.753
This commit is contained in:
Fabian Affolter 2022-01-25 16:30:05 +01:00 committed by GitHub
commit 1860f951fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,13 +22,13 @@ with py.pkgs;
buildPythonApplication rec { buildPythonApplication rec {
pname = "checkov"; pname = "checkov";
version = "2.0.727"; version = "2.0.753";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "bridgecrewio"; owner = "bridgecrewio";
repo = pname; repo = pname;
rev = version; rev = version;
hash = "sha256-hegbkmM8ZN6zO2iANGRr2QRW3ErdtwYaTo618uELev0="; hash = "sha256-6CBe4BuztW3EoLWqGmuRmWfVfb1gP5cPEzYnyBtPEsE=";
}; };
nativeBuildInputs = with py.pkgs; [ nativeBuildInputs = with py.pkgs; [
@ -60,6 +60,7 @@ buildPythonApplication rec {
networkx networkx
packaging packaging
policyuniverse policyuniverse
prettytable
pyyaml pyyaml
semantic-version semantic-version
tabulate tabulate
@ -71,7 +72,6 @@ buildPythonApplication rec {
checkInputs = with py.pkgs; [ checkInputs = with py.pkgs; [
aioresponses aioresponses
jsonschema
mock mock
pytest-asyncio pytest-asyncio
pytest-mock pytest-mock
@ -81,8 +81,11 @@ buildPythonApplication rec {
postPatch = '' postPatch = ''
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0" \ --replace "cyclonedx-python-lib>=0.11.0,<1.0.0" "cyclonedx-python-lib>=0.11.0"
--replace "jsonschema==3.0.2" "jsonschema>=3.0.2" '';
preCheck = ''
export HOME=$(mktemp -d);
''; '';
disabledTests = [ disabledTests = [
@ -92,6 +95,9 @@ buildPythonApplication rec {
"TestSarifReport" "TestSarifReport"
# Will probably be fixed in one of the next releases # Will probably be fixed in one of the next releases
"test_valid_cyclonedx_bom" "test_valid_cyclonedx_bom"
# Requires prettytable release which is only available in staging
"test_skipped_check_exists"
"test_record_relative_path_with_relative_dir"
]; ];
disabledTestPaths = [ disabledTestPaths = [
@ -101,6 +107,9 @@ buildPythonApplication rec {
"tests/terraform/" "tests/terraform/"
# Performance tests have no value for us # Performance tests have no value for us
"performance_tests/test_checkov_performance.py" "performance_tests/test_checkov_performance.py"
# Requires prettytable release which is only available in staging
"tests/sca_package/"
"tests/test_runner_filter.py"
]; ];
pythonImportsCheck = [ pythonImportsCheck = [