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

@@ -62,16 +62,12 @@ buildPythonPackage rec {
postPatch = ''
substituteInPlace setup.py \
--replace "jsonschema>=3.0.1<4" "jsonschema" \
--replace "marshmallow>=2.18.0,<2.20" "marshmallow" \
--replace "PyJWT>=1.7.1" "PyJWT" \
--replace "Flask-SQLAlchemy>=2.4,<3" "Flask-SQLAlchemy" \
--replace "Flask-JWT-Extended>=3.18,<4" "Flask-JWT-Extended"
'';
checkPhase = ''
# remove mockldap requirement
rm flask_appbuilder/tests/_test_ldapsearch.py
nosetests flask_appbuilder.api flask_appbuilder.tests.test_api
'';
# majority of tests require network access or mongo
doCheck = false;