python3Packages.fix-airflow: fix dependencies

This commit is contained in:
Jonathan Ringer 2020-02-12 23:09:20 -08:00 committed by Jon
parent 984eb94496
commit b4b0bc9d38

View file

@ -137,6 +137,8 @@ buildPythonPackage rec {
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "flask>=1.1.0, <2.0" "flask" \ --replace "flask>=1.1.0, <2.0" "flask" \
--replace "jinja2>=2.10.1, <2.11.0" "jinja2" \
--replace "pandas>=0.17.1, <1.0.0" "pandas" \
--replace "flask-caching>=1.3.3, <1.4.0" "flask-caching" \ --replace "flask-caching>=1.3.3, <1.4.0" "flask-caching" \
--replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \ --replace "flask-appbuilder>=1.12.5, <2.0.0" "flask-appbuilder" \
--replace "pendulum==1.4.4" "pendulum" \ --replace "pendulum==1.4.4" "pendulum" \
@ -156,7 +158,7 @@ buildPythonPackage rec {
--replace "sqlalchemy~=1.3" "sqlalchemy" \ --replace "sqlalchemy~=1.3" "sqlalchemy" \
--replace "gunicorn>=19.5.0, <20.0" "gunicorn" \ --replace "gunicorn>=19.5.0, <20.0" "gunicorn" \
--replace "werkzeug>=0.14.1, <0.15.0" "werkzeug" --replace "werkzeug>=0.14.1, <0.15.0" "werkzeug"
# dumb-init is only needed for CI and Docker, not relevant for NixOS. # dumb-init is only needed for CI and Docker, not relevant for NixOS.
substituteInPlace setup.py \ substituteInPlace setup.py \
--replace "'dumb-init>=1.2.2'," "" --replace "'dumb-init>=1.2.2'," ""