You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2021/02/22 03:03:22 UTC

[GitHub] [airflow] petobens commented on issue #13149: Failure during "airflow db init" on fresh airflow 2.0 installation

petobens commented on issue #13149:
URL: https://github.com/apache/airflow/issues/13149#issuecomment-783006294


   I had to fork `flask-openid` to make it work:
   ```toml
   [tool.poetry]
   name = "airflow-new"
   version = "0.1.0"
   description = ""
   authors = ["petobens <fo...@bar.com>"]
   
   [tool.poetry.dependencies]
   python = "^3.8"
   flask-openid = {git = "https://github.com/petobens/flask-openid.git"}
   apache-airflow = "^2.0.1"
   
   [tool.poetry.dev-dependencies]
   
   [build-system]
   requires = ["poetry-core>=1.0.0"]
   build-backend = "poetry.core.masonry.api"
   ```
   basically removing the sys.version_info check that made poetry install the Python2 dependency instead of the correct Python3 one. Since Airflow 2.0 only supports Python >=3.6 can Airflow either use my fork or a new flask-openid fork with this workaround? (the official flask-openid library hasn't been updated in almost 5 years)


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org