Merge pull request #158061 from fabaff/bump-pycfmodel

python3Packages.pycfmodel: 0.13.0 -> 0.16.0
This commit is contained in:
Fabian Affolter 2022-02-18 10:49:09 +01:00 committed by GitHub
commit cebe5a582b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 5 deletions

View File

@ -9,7 +9,7 @@
buildPythonPackage rec {
pname = "pycfmodel";
version = "0.13.0";
version = "0.16.0";
format = "setuptools";
disabled = pythonOlder "3.7";
@ -18,7 +18,7 @@ buildPythonPackage rec {
owner = "Skyscanner";
repo = pname;
rev = version;
hash = "sha256-BlnLf0C/wxPXhoAH0SRB22eGWbbZ05L20rNy6qfOI+A=";
hash = "sha256-44G1H6bOtqVkplaX/sHxEzErlunclLh97OPO0m6n9eM=";
};
propagatedBuildInputs = [
@ -33,6 +33,9 @@ buildPythonPackage rec {
disabledTests = [
# Test require network access
"test_cloudformation_actions"
"test_auxiliar_cast"
"test_valid_es_domain_from_aws_documentation_examples_resource_can_be_built"
"test_valid_opensearch_domain_from_aws_documentation_examples_resource_can_be_built"
];
pythonImportsCheck = [

View File

@ -3,7 +3,27 @@
, python3
}:
python3.pkgs.buildPythonApplication rec {
let
py = python3.override {
packageOverrides = self: super: {
# pycfmodel is pinned, https://github.com/Skyscanner/cfripper/issues/204
pycfmodel = super.pycfmodel.overridePythonAttrs (oldAttrs: rec {
version = "0.13.0";
src = fetchFromGitHub {
owner = "Skyscanner";
repo = "pycfmodel";
rev = version;
hash = "sha256-BlnLf0C/wxPXhoAH0SRB22eGWbbZ05L20rNy6qfOI+A=";
};
});
};
};
in
with py.pkgs;
buildPythonApplication rec {
pname = "cfripper";
version = "1.3.3";
@ -14,7 +34,7 @@ python3.pkgs.buildPythonApplication rec {
hash = "sha256-y3h/atfFl/wDmr+YBdsWrCez4PQBEcl3xNDyTwXZIp4=";
};
propagatedBuildInputs = with python3.pkgs; [
propagatedBuildInputs = with py.pkgs; [
boto3
cfn-flip
click
@ -25,7 +45,7 @@ python3.pkgs.buildPythonApplication rec {
setuptools
];
checkInputs = with python3.pkgs; [
checkInputs = with py.pkgs; [
moto
pytestCheckHook
];