apache-airflow: 1.10.3 -> 1.10.5, enable python
Includes misc fixes suggested during the PR process.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user