apache-airflow: 1.10.3 -> 1.10.5, enable python

Includes misc fixes suggested during the PR process.
This commit is contained in:
Ariel
2019-11-15 16:14:25 -05:00
parent effe7f8a09
commit 7af3a955c9
10 changed files with 84 additions and 115 deletions

View File

@@ -2,7 +2,7 @@
, buildPythonPackage
, fetchFromGitHub
, marshmallow
, pytest
, pytestCheckHook
, isPy27
, enum34
, pytest-flake8
@@ -10,13 +10,13 @@
buildPythonPackage rec {
pname = "marshmallow-enum";
version = "1.4.1";
version = "1.5.1";
src = fetchFromGitHub {
owner = "justanr";
repo = "marshmallow_enum";
rev = "v${version}";
sha256 = "0ll65y8p0np6ayy8h8g5psf9xm7s0nclarxsh21fdsm72zscx356";
sha256 = "1ihrcmyfjabivg6hc44i59hnw5ijlg1byv3zs1rqxfynp8xr7398";
};
propagatedBuildInputs = [
@@ -24,13 +24,14 @@ buildPythonPackage rec {
] ++ lib.optionals isPy27 [ enum34 ];
checkInputs = [
pytest
pytestCheckHook
pytest-flake8
];
checkPhase = ''
pytest tests
'';
disabledTests = [
"test_custom_error_in_deserialize_by_name"
"test_custom_error_in_deserialize_by_value"
];
meta = with lib; {
description = "Enum field for Marshmallow";