abhilash1in opened a new issue #10894: URL: https://github.com/apache/airflow/issues/10894
CC: @potiuk Running `./breeze initialize-local-virtualenv` from inside a brand new pyenv virtualenv (3.7) is causing errors: ``` Exception ignored in: <function _ConnectionRecord.checkout.<locals>.<lambda> at 0x108f35a70> Traceback (most recent call last): File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 506, in <lambda> File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 714, in _finalize_fairy File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 531, in checkin File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 388, in _return_conn File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 236, in _do_return_conn File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 543, in close File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 645, in __close File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 267, in _close_connection File "/Users/abhilash1in/.pyenv/versions/3.7.8/lib/python3.7/logging/__init__.py", line 1365, in debug File "/Users/abhilash1in/.pyenv/versions/3.7.8/lib/python3.7/logging/__init__.py", line 1621, in isEnabledFor TypeError: 'NoneType' object is not callable ``` Full logs: ``` abhilash1in@Abhilashs-MBP airflow % pyenv activate airflow pyenv-virtualenv: prompt changing will be removed from future release. configure `export PYENV_VIRTUALENV_DISABLE_PROMPT=1' to simulate the behavior. (airflow) abhilash1in@Abhilashs-MBP airflow % ./breeze initialize-local-virtualenv Initializing local virtualenv CI image. Branch name: master Docker image: apache/airflow:master-python3.7-ci Airflow source version: 2.0.0.dev0 Python version: 3.7 DockerHub user: apache DockerHub repo: airflow Backend: sqlite Initializing the virtualenv: /Users/abhilash1in/.pyenv/shims/python! This will wipe out /Users/abhilash1in/airflow and reset all the databases! Please confirm Proceeding with the initialization. Are you sure? [y/N/q] y The answer is 'yes'. Proceeding with the initialization. This can take some time! ~/Source/airflow ~/Source/airflow ~/Source/airflow Obtaining file:///Users/abhilash1in/Source/airflow Installing build dependencies ... done Getting requirements to build wheel ... done Installing backend dependencies ... done Preparing wheel metadata ... done Collecting Flask-AppBuilder==3.0.1 Using cached Flask_AppBuilder-3.0.1-py3-none-any.whl (1.7 MB) Collecting Flask-Babel==1.0.0 Using cached Flask_Babel-1.0.0-py3-none-any.whl (9.5 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/ba/fe/43/659919277d75dff2d7f32ef221eefa4d2fb1559b42600339c2/Flask_Bcrypt-0.7.1-py3-none-any.whl Collecting Flask-Caching==1.9.0 Using cached Flask_Caching-1.9.0-py2.py3-none-any.whl (33 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/d4/8f/d0/e3c62af58d89cbd80847eea2323da4af633993ca71f5c3ba85/Flask_JWT_Extended-3.24.1-py2.py3-none-any.whl Processing /Users/abhilash1in/Library/Caches/pip/wheels/39/10/74/d68194e28d5f7a83de5f66e5b2deff5ccbb424fe45e6b0e927/Flask_Login-0.4.1-py2.py3-none-any.whl Processing /Users/abhilash1in/Library/Caches/pip/wheels/3b/1e/c0/b941aa1a5954f1acabbf1671a64e27adc359c0b0e74b16f8b4/Flask_OpenID-1.2.5-cp37-none-any.whl Collecting Flask-SQLAlchemy==2.4.4 Using cached Flask_SQLAlchemy-2.4.4-py2.py3-none-any.whl (17 kB) Collecting Flask-WTF==0.14.3 Using cached Flask_WTF-0.14.3-py2.py3-none-any.whl (13 kB) Collecting Flask==1.1.2 Using cached Flask-1.1.2-py2.py3-none-any.whl (94 kB) Collecting GitPython==3.1.7 Using cached GitPython-3.1.7-py3-none-any.whl (158 kB) Collecting Jinja2==2.11.2 Using cached Jinja2-2.11.2-py2.py3-none-any.whl (125 kB) Collecting Markdown==2.6.11 Using cached Markdown-2.6.11-py2.py3-none-any.whl (78 kB) Collecting MarkupSafe==1.1.1 Using cached MarkupSafe-1.1.1-cp37-cp37m-macosx_10_6_intel.whl (18 kB) Collecting PyJWT==1.7.1 Using cached PyJWT-1.7.1-py2.py3-none-any.whl (18 kB) Collecting Pygments==2.6.1 Using cached Pygments-2.6.1-py3-none-any.whl (914 kB) Collecting SQLAlchemy-JSONField==0.9.0 Using cached SQLAlchemy_JSONField-0.9.0-py2.py3-none-any.whl (10 kB) Collecting SQLAlchemy-Utils==0.36.8 Using cached SQLAlchemy-Utils-0.36.8.tar.gz (138 kB) Collecting SQLAlchemy==1.3.19 Using cached SQLAlchemy-1.3.19-cp37-cp37m-macosx_10_14_x86_64.whl (1.2 MB) Collecting Sphinx==3.2.1 Using cached Sphinx-3.2.1-py3-none-any.whl (2.9 MB) Collecting WTForms==2.3.3 Using cached WTForms-2.3.3-py2.py3-none-any.whl (169 kB) Collecting Werkzeug==0.16.1 Using cached Werkzeug-0.16.1-py2.py3-none-any.whl (327 kB) Collecting alabaster==0.7.12 Using cached alabaster-0.7.12-py2.py3-none-any.whl (14 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/4e/b5/00/f93fe1c90b3d501774e91e2e99987f49d16019e40e4bd3afc3/alembic-1.4.2-py2.py3-none-any.whl Collecting apispec==3.3.1 Using cached apispec-3.3.1-py2.py3-none-any.whl (26 kB) Collecting argcomplete==1.12.0 Using cached argcomplete-1.12.0-py2.py3-none-any.whl (38 kB) Collecting attrs==19.3.0 Using cached attrs-19.3.0-py2.py3-none-any.whl (39 kB) Collecting bcrypt==3.2.0 Using cached bcrypt-3.2.0-cp36-abi3-macosx_10_9_x86_64.whl (31 kB) Collecting beautifulsoup4==4.7.1 Using cached beautifulsoup4-4.7.1-py3-none-any.whl (94 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/22/f5/18/df711b66eb25b21325c132757d4314db9ac5e8dabeaf196eab/blinker-1.4-py3-none-any.whl Collecting bowler==0.8.0 Using cached bowler-0.8.0-py3-none-any.whl (34 kB) Collecting cached-property==1.5.1 Using cached cached_property-1.5.1-py2.py3-none-any.whl (6.0 kB) Collecting cattrs==1.0.0 Using cached cattrs-1.0.0-py2.py3-none-any.whl (14 kB) Collecting cffi==1.14.2 Using cached cffi-1.14.2-cp37-cp37m-macosx_10_9_x86_64.whl (176 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/6b/8e/89/f93dc69d26c2bba667b1615ffd0bb0f91b977ec59cf9e19fa8/cgroupspy-0.1.6-py3-none-any.whl Collecting click==6.7 Using cached click-6.7-py2.py3-none-any.whl (71 kB) Collecting colorama==0.4.3 Using cached colorama-0.4.3-py2.py3-none-any.whl (15 kB) Collecting colorlog==4.0.2 Using cached colorlog-4.0.2-py2.py3-none-any.whl (17 kB) Collecting connexion==2.7.0 Using cached connexion-2.7.0-py2.py3-none-any.whl (77 kB) Collecting coverage==5.2.1 Using cached coverage-5.2.1-cp37-cp37m-macosx_10_13_x86_64.whl (205 kB) Collecting croniter==0.3.34 Using cached croniter-0.3.34-py2.py3-none-any.whl (19 kB) Collecting cryptography==3.0 Using cached cryptography-3.0-cp35-abi3-macosx_10_10_x86_64.whl (1.8 MB) Collecting dill==0.3.2 Using cached dill-0.3.2.zip (177 kB) Collecting docutils==0.16 Using cached docutils-0.16-py2.py3-none-any.whl (548 kB) Collecting email-validator==1.1.1 Using cached email_validator-1.1.1-py2.py3-none-any.whl (17 kB) Collecting fissix==20.8.0 Using cached fissix-20.8.0-py3-none-any.whl (186 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/3f/f5/68/634cb960bec7e229a1cba75ed2903a398b0491c2c62bccd79d/flake8_colors-0.1.6-py3-none-any.whl Collecting flake8==3.8.3 Using cached flake8-3.8.3-py2.py3-none-any.whl (72 kB) Collecting flaky==3.7.0 Using cached flaky-3.7.0-py2.py3-none-any.whl (22 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/81/b7/f4/1b38146234576bec8e9275e8bc49387d33e6af2aaa17f0b099/flask_swagger-0.2.13-cp37-none-any.whl Collecting freezegun==0.3.15 Using cached freezegun-0.3.15-py2.py3-none-any.whl (14 kB) Collecting funcsigs==1.0.2 Using cached funcsigs-1.0.2-py2.py3-none-any.whl (17 kB) Collecting gitdb==4.0.5 Using cached gitdb-4.0.5-py3-none-any.whl (63 kB) Collecting github3.py==1.3.0 Using cached github3.py-1.3.0-py2.py3-none-any.whl (153 kB) Collecting graphviz==0.14.1 Using cached graphviz-0.14.1-py2.py3-none-any.whl (18 kB) Collecting gunicorn==19.10.0 Using cached gunicorn-19.10.0-py2.py3-none-any.whl (113 kB) Collecting idna==2.10 Using cached idna-2.10-py2.py3-none-any.whl (58 kB) Collecting imagesize==1.2.0 Using cached imagesize-1.2.0-py2.py3-none-any.whl (4.8 kB) Collecting importlib-metadata==1.7.0 Using cached importlib_metadata-1.7.0-py2.py3-none-any.whl (31 kB) Collecting inflection==0.5.0 Using cached inflection-0.5.0-py2.py3-none-any.whl (5.8 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/b1/2b/e0/4932698c94c886d9d476e90916b43af63d5e708e146eb8b273/ipdb-0.13.3-py3-none-any.whl Collecting ipython==7.17.0 Using cached ipython-7.17.0-py3-none-any.whl (786 kB) Collecting iso8601==0.1.12 Using cached iso8601-0.1.12-py2.py3-none-any.whl (12 kB) Collecting itsdangerous==1.1.0 Using cached itsdangerous-1.1.0-py2.py3-none-any.whl (16 kB) Collecting jedi==0.17.2 Using cached jedi-0.17.2-py2.py3-none-any.whl (1.4 MB) Collecting jira==2.0.0 Using cached jira-2.0.0-py2.py3-none-any.whl (57 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/68/87/a4/14d13a1e45fc800f5d73256bb8444c503c3132df4b9b1c50f9/json_merge_patch-0.2-cp37-none-any.whl Collecting jsonschema==3.2.0 Using cached jsonschema-3.2.0-py2.py3-none-any.whl (56 kB) Collecting jwcrypto==0.7 Using cached jwcrypto-0.7-py2.py3-none-any.whl (78 kB) Collecting kubernetes==11.0.0 Using cached kubernetes-11.0.0-py3-none-any.whl (1.5 MB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/91/12/e1/4d21a652af35f37931a9537b5c8c91277e41a7efe1e7768587/lazy_object_proxy-1.5.1-cp37-cp37m-macosx_10_15_x86_64.whl Collecting lockfile==0.12.2 Using cached lockfile-0.12.2-py2.py3-none-any.whl (13 kB) Collecting marshmallow-enum==1.5.1 Using cached marshmallow_enum-1.5.1-py2.py3-none-any.whl (4.2 kB) Collecting marshmallow-oneofschema==2.0.1 Using cached marshmallow_oneofschema-2.0.1-py2.py3-none-any.whl (5.7 kB) Collecting marshmallow-sqlalchemy==0.23.1 Using cached marshmallow_sqlalchemy-0.23.1-py2.py3-none-any.whl (18 kB) Collecting marshmallow==3.7.1 Using cached marshmallow-3.7.1-py2.py3-none-any.whl (45 kB) Collecting mccabe==0.6.1 Using cached mccabe-0.6.1-py2.py3-none-any.whl (8.6 kB) Collecting mongomock==3.20.0 Using cached mongomock-3.20.0-py2.py3-none-any.whl (51 kB) Collecting moto==1.3.14 Using cached moto-1.3.14-py2.py3-none-any.whl (730 kB) Collecting mypy==0.770 Using cached mypy-0.770-cp37-cp37m-macosx_10_6_x86_64.whl (15.4 MB) Collecting mysql-connector-python==8.0.18 Using cached mysql_connector_python-8.0.18-cp37-cp37m-macosx_10_13_x86_64.whl (4.5 MB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/6d/7d/cb/181963137c414938d4faac9a57c966fb3a6ef675c25641c41a/mysqlclient-1.3.14-cp37-cp37m-macosx_10_14_x86_64.whl Collecting natsort==7.0.1 Using cached natsort-7.0.1-py3-none-any.whl (33 kB) Collecting oauthlib==2.1.0 Using cached oauthlib-2.1.0-py2.py3-none-any.whl (121 kB) Collecting openapi-spec-validator==0.2.9 Using cached openapi_spec_validator-0.2.9-py3-none-any.whl (25 kB) Collecting packaging==20.4 Using cached packaging-20.4-py2.py3-none-any.whl (37 kB) Collecting pandas==1.1.0 Using cached pandas-1.1.0-cp37-cp37m-macosx_10_9_x86_64.whl (10.4 MB) Collecting parameterized==0.7.4 Using cached parameterized-0.7.4-py2.py3-none-any.whl (25 kB) Collecting paramiko==2.7.1 Using cached paramiko-2.7.1-py2.py3-none-any.whl (206 kB) Collecting parso==0.7.1 Using cached parso-0.7.1-py2.py3-none-any.whl (109 kB) Collecting pbr==5.4.5 Using cached pbr-5.4.5-py2.py3-none-any.whl (110 kB) Collecting pendulum==2.1.2 Using cached pendulum-2.1.2-cp37-cp37m-macosx_10_15_x86_64.whl (124 kB) Collecting pexpect==4.8.0 Using cached pexpect-4.8.0-py2.py3-none-any.whl (59 kB) Collecting pickleshare==0.7.5 Using cached pickleshare-0.7.5-py2.py3-none-any.whl (6.9 kB) Collecting pipdeptree==1.0.0 Using cached pipdeptree-1.0.0-py3-none-any.whl (12 kB) Collecting pre-commit==2.6.0 Using cached pre_commit-2.6.0-py2.py3-none-any.whl (171 kB) Collecting prison==0.1.3 Using cached prison-0.1.3-py2.py3-none-any.whl (5.8 kB) Collecting prompt-toolkit==3.0.6 Using cached prompt_toolkit-3.0.6-py3-none-any.whl (354 kB) Collecting protobuf==3.13.0 Using cached protobuf-3.13.0-cp37-cp37m-macosx_10_9_x86_64.whl (1.3 MB) Collecting psutil==5.7.2 Using cached psutil-5.7.2.tar.gz (460 kB) Collecting ptyprocess==0.6.0 Using cached ptyprocess-0.6.0-py2.py3-none-any.whl (39 kB) Collecting pycodestyle==2.6.0 Using cached pycodestyle-2.6.0-py2.py3-none-any.whl (41 kB) Collecting pycparser==2.20 Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB) Collecting pyflakes==2.2.0 Using cached pyflakes-2.2.0-py2.py3-none-any.whl (66 kB) Collecting pylint==2.5.3 Using cached pylint-2.5.3-py3-none-any.whl (324 kB) Collecting pyparsing==2.4.7 Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB) Collecting pyrsistent==0.16.0 Using cached pyrsistent-0.16.0.tar.gz (108 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/02/ee/6d/30c335b17af87fd32d14ff0d0b9dea36f0478da5ece9199597/pysftp-0.2.9-py3-none-any.whl Collecting pytest-cov==2.10.1 Using cached pytest_cov-2.10.1-py2.py3-none-any.whl (19 kB) Collecting pytest-instafail==0.4.2 Using cached pytest_instafail-0.4.2-py2.py3-none-any.whl (4.2 kB) Collecting pytest-rerunfailures==9.0 Using cached pytest_rerunfailures-9.0-py3-none-any.whl (7.9 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/06/99/ad/39270e8b0ce8ad0784130fde3cc6392adc89ab92fb108f7b70/pytest_timeouts-1.2.1-py3-none-any.whl Collecting pytest-xdist==2.0.0 Using cached pytest_xdist-2.0.0-py2.py3-none-any.whl (36 kB) Collecting pytest==6.0.1 Using cached pytest-6.0.1-py3-none-any.whl (270 kB) Collecting python-daemon==2.2.4 Using cached python_daemon-2.2.4-py2.py3-none-any.whl (35 kB) Collecting python-dateutil==2.8.1 Using cached python_dateutil-2.8.1-py2.py3-none-any.whl (227 kB) Collecting python-editor==1.0.4 Using cached python_editor-1.0.4-py3-none-any.whl (4.9 kB) Collecting python-jose==3.2.0 Using cached python_jose-3.2.0-py2.py3-none-any.whl (26 kB) Collecting python-nvd3==0.15.0 Using cached python-nvd3-0.15.0.tar.gz (31 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/67/b8/ba/041548f30a6fc058c9b3f79a5b7b6aea925a15dd1e5c4992a4/python_slugify-4.0.1-py2.py3-none-any.whl Collecting python3-openid==3.2.0 Using cached python3_openid-3.2.0-py3-none-any.whl (133 kB) Collecting pytz==2020.1 Using cached pytz-2020.1-py2.py3-none-any.whl (510 kB) Collecting pytzdata==2020.1 Using cached pytzdata-2020.1-py2.py3-none-any.whl (489 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/59/fd/14/c1cfdba3a4fd676c09ce87247cdbec3398b84892967f016e9c/pywinrm-0.4.1-py2.py3-none-any.whl Processing /Users/abhilash1in/Library/Caches/pip/wheels/ae/6c/2b/6147e9b6d20afd24f0723b49ed70efb23eb8c94b404f0c4117/qds_sdk-1.16.0-py3-none-any.whl Collecting requests-mock==1.8.0 Using cached requests_mock-1.8.0-py2.py3-none-any.whl (23 kB) Collecting requests-ntlm==1.1.0 Using cached requests_ntlm-1.1.0-py2.py3-none-any.whl (5.7 kB) Collecting requests-oauthlib==1.1.0 Using cached requests_oauthlib-1.1.0-py2.py3-none-any.whl (21 kB) Collecting requests-toolbelt==0.9.1 Using cached requests_toolbelt-0.9.1-py2.py3-none-any.whl (54 kB) Collecting requests==2.24.0 Using cached requests-2.24.0-py2.py3-none-any.whl (61 kB) Collecting responses==0.10.16 Using cached responses-0.10.16-py2.py3-none-any.whl (15 kB) Collecting rsa==4.6 Using cached rsa-4.6-py3-none-any.whl (47 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/24/4b/6f/cceb54c29f42b50b5d11b8196eab1de6707c5742beac65f52b/sentinels-1.0.0-py3-none-any.whl Processing /Users/abhilash1in/Library/Caches/pip/wheels/e6/b1/a6/9719530228e258eba904501fef99d5d85c80d52bd8f14438a3/setproctitle-1.1.10-cp37-cp37m-macosx_10_15_x86_64.whl Collecting sh==1.13.1 Using cached sh-1.13.1-py2.py3-none-any.whl (40 kB) Collecting six==1.15.0 Using cached six-1.15.0-py2.py3-none-any.whl (10 kB) Collecting smmap==3.0.4 Using cached smmap-3.0.4-py2.py3-none-any.whl (25 kB) Collecting snowballstemmer==2.0.0 Using cached snowballstemmer-2.0.0-py2.py3-none-any.whl (97 kB) Collecting soupsieve==2.0.1 Using cached soupsieve-2.0.1-py3-none-any.whl (32 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/4a/4c/12/83c88bdc1bc352d7036de2891b5d6729adcf1bda3bab015560/sphinx_argparse-0.2.5-py3-none-any.whl Collecting sphinx-autoapi==1.0.0 Using cached sphinx_autoapi-1.0.0-py2.py3-none-any.whl (48 kB) Collecting sphinx-copybutton==0.3.0 Using cached sphinx_copybutton-0.3.0-py3-none-any.whl (11 kB) Collecting sphinx-jinja==1.1.1 Using cached sphinx_jinja-1.1.1-py3-none-any.whl (4.8 kB) Collecting sphinx-rtd-theme==0.5.0 Using cached sphinx_rtd_theme-0.5.0-py2.py3-none-any.whl (10.8 MB) Collecting sphinxcontrib-applehelp==1.0.2 Using cached sphinxcontrib_applehelp-1.0.2-py2.py3-none-any.whl (121 kB) Collecting sphinxcontrib-devhelp==1.0.2 Using cached sphinxcontrib_devhelp-1.0.2-py2.py3-none-any.whl (84 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/d8/4a/8e/f60726b9b4066d09f33048252c6b3b9922e3f04ab2f11a88fc/sphinxcontrib_dotnetdomain-0.4-py3-none-any.whl Collecting sphinxcontrib-golangdomain==0.2.0.dev0 Using cached sphinxcontrib_golangdomain-0.2.0.dev0-py3-none-any.whl (7.1 kB) Collecting sphinxcontrib-htmlhelp==1.0.3 Using cached sphinxcontrib_htmlhelp-1.0.3-py2.py3-none-any.whl (96 kB) Collecting sphinxcontrib-httpdomain==1.7.0 Using cached sphinxcontrib_httpdomain-1.7.0-py2.py3-none-any.whl (18 kB) Collecting sphinxcontrib-jsmath==1.0.1 Using cached sphinxcontrib_jsmath-1.0.1-py2.py3-none-any.whl (5.1 kB) Collecting sphinxcontrib-qthelp==1.0.3 Using cached sphinxcontrib_qthelp-1.0.3-py2.py3-none-any.whl (90 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/f7/c6/6b/cd797468204c3d60f18b3bffa41c407b9e125ed535cb17479a/sphinxcontrib_redoc-1.6.0-py3-none-any.whl Collecting sphinxcontrib-serializinghtml==1.1.4 Using cached sphinxcontrib_serializinghtml-1.1.4-py2.py3-none-any.whl (89 kB) Collecting sphinxcontrib-spelling==5.2.1 Using cached sphinxcontrib_spelling-5.2.1-py3-none-any.whl (16 kB) Collecting sshpubkeys==3.1.0 Using cached sshpubkeys-3.1.0-py2.py3-none-any.whl (12 kB) Collecting swagger-ui-bundle==0.0.8 Using cached swagger_ui_bundle-0.0.8-py3-none-any.whl (3.8 MB) Collecting tabulate==0.8.7 Using cached tabulate-0.8.7-py3-none-any.whl (24 kB) Collecting tenacity==5.1.5 Using cached tenacity-5.1.5-py2.py3-none-any.whl (34 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/7c/06/54/bc84598ba1daf8f970247f550b175aaaee85f68b4b0c5ab2c6/termcolor-1.1.0-cp37-none-any.whl Collecting text-unidecode==1.3 Using cached text_unidecode-1.3-py2.py3-none-any.whl (78 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/02/a2/46/689ccfcf40155c23edc7cdbd9de488611c8fdf49ff34b1706e/thrift-0.13.0-cp37-cp37m-macosx_10_15_x86_64.whl Collecting toml==0.10.1 Using cached toml-0.10.1-py2.py3-none-any.whl (19 kB) Collecting traitlets==4.3.3 Using cached traitlets-4.3.3-py2.py3-none-any.whl (75 kB) Collecting typed-ast==1.4.1 Using cached typed_ast-1.4.1-cp37-cp37m-macosx_10_9_x86_64.whl (223 kB) Collecting typing-extensions==3.7.4.2 Using cached typing_extensions-3.7.4.2-py3-none-any.whl (22 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/15/ae/df/a67bf1ed84e9bf230187d36d8dcfd30072bea0236cb059ed91/tzlocal-1.5.1-cp37-none-any.whl Processing /Users/abhilash1in/Library/Caches/pip/wheels/a6/09/e9/e800279c98a0a8c94543f3de6c8a562f60e51363ed26e71283/unicodecsv-0.14.1-cp37-none-any.whl Collecting uritemplate==3.0.1 Using cached uritemplate-3.0.1-py2.py3-none-any.whl (15 kB) Collecting urllib3==1.25.10 Using cached urllib3-1.25.10-py2.py3-none-any.whl (127 kB) Collecting virtualenv==20.0.31 Using cached virtualenv-20.0.31-py2.py3-none-any.whl (4.9 MB) Collecting wcwidth==0.2.5 Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB) Collecting websocket-client==0.57.0 Using cached websocket_client-0.57.0-py2.py3-none-any.whl (200 kB) Collecting xmltodict==0.12.0 Using cached xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB) Collecting yamllint==1.24.2 Using cached yamllint-1.24.2-py2.py3-none-any.whl (59 kB) Collecting zipp==3.1.0 Using cached zipp-3.1.0-py3-none-any.whl (4.9 kB) Collecting wheel; extra == "devel" Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB) Requirement already satisfied: setuptools; extra == "devel" in /Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages (from apache-airflow==2.0.0.dev0) (47.1.0) Collecting Babel==2.8.0 Using cached Babel-2.8.0-py2.py3-none-any.whl (8.6 MB) Collecting Mako==1.1.3 Using cached Mako-1.1.3-py2.py3-none-any.whl (75 kB) Collecting PyYAML==5.3.1 Using cached PyYAML-5.3.1.tar.gz (269 kB) Collecting clickclick==1.2.2 Using cached clickclick-1.2.2-py2.py3-none-any.whl (9.8 kB) Collecting dnspython==1.16.0 Using cached dnspython-1.16.0-py2.py3-none-any.whl (188 kB) Collecting appdirs==1.4.4 Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB) Collecting appnope; sys_platform == "darwin" Using cached appnope-0.1.0-py2.py3-none-any.whl (4.0 kB) Collecting backcall==0.2.0 Using cached backcall-0.2.0-py2.py3-none-any.whl (11 kB) Collecting decorator==4.4.2 Using cached decorator-4.4.2-py2.py3-none-any.whl (9.2 kB) Collecting defusedxml==0.6.0 Using cached defusedxml-0.6.0-py2.py3-none-any.whl (23 kB) Collecting certifi==2020.6.20 Using cached certifi-2020.6.20-py2.py3-none-any.whl (156 kB) Collecting google-auth==1.20.1 Using cached google_auth-1.20.1-py2.py3-none-any.whl (91 kB) Collecting cfn-lint==0.35.0 Using cached cfn_lint-0.35.0-py3-none-any.whl (3.9 MB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/3c/c6/cf/5fbcd01b053fee453a1c214363bdc65776ad82f219b0c9157c/jsondiff-1.1.2-py3-none-any.whl Collecting boto3==1.14.44 Using cached boto3-1.14.44-py2.py3-none-any.whl (129 kB) Collecting aws-xray-sdk==2.6.0 Using cached aws_xray_sdk-2.6.0-py2.py3-none-any.whl (94 kB) Collecting mock==4.0.2 Using cached mock-4.0.2-py3-none-any.whl (28 kB) Collecting boto==2.49.0 Using cached boto-2.49.0-py2.py3-none-any.whl (1.4 MB) Collecting botocore==1.17.44 Using cached botocore-1.17.44-py2.py3-none-any.whl (6.5 MB) Collecting docker==3.7.3 Using cached docker-3.7.3-py2.py3-none-any.whl (134 kB) Collecting mypy-extensions==0.4.3 Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB) Collecting numpy==1.19.1 Using cached numpy-1.19.1-cp37-cp37m-macosx_10_9_x86_64.whl (15.3 MB) Collecting PyNaCl==1.4.0 Using cached PyNaCl-1.4.0-cp35-abi3-macosx_10_10_x86_64.whl (380 kB) Requirement already satisfied: pip>=6.0.0 in /Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages (from pipdeptree==1.0.0->-c https://raw.githubusercontent.com/apache/airflow/constraints-master/constraints-3.7.txt (line 261)) (20.1.1) Collecting cfgv==3.2.0 Using cached cfgv-3.2.0-py2.py3-none-any.whl (7.3 kB) Collecting nodeenv==1.4.0 Using cached nodeenv-1.4.0-py2.py3-none-any.whl (21 kB) Collecting identify==1.4.28 Using cached identify-1.4.28-py2.py3-none-any.whl (97 kB) Collecting astroid==2.4.2 Using cached astroid-2.4.2-py3-none-any.whl (213 kB) Collecting isort==4.3.21 Using cached isort-4.3.21-py2.py3-none-any.whl (42 kB) Collecting execnet==1.7.1 Using cached execnet-1.7.1-py2.py3-none-any.whl (39 kB) Collecting pytest-forked==1.3.0 Using cached pytest_forked-1.3.0-py2.py3-none-any.whl (4.7 kB) Collecting py==1.9.0 Using cached py-1.9.0-py2.py3-none-any.whl (99 kB) Collecting iniconfig==1.0.1 Using cached iniconfig-1.0.1-py3-none-any.whl (4.2 kB) Collecting pluggy==0.13.1 Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB) Collecting more-itertools==8.4.0 Using cached more_itertools-8.4.0-py3-none-any.whl (43 kB) Collecting pyasn1==0.4.8 Using cached pyasn1-0.4.8-py2.py3-none-any.whl (77 kB) Collecting ecdsa==0.15 Using cached ecdsa-0.15-py2.py3-none-any.whl (100 kB) Collecting ntlm-auth==1.5.0 Using cached ntlm_auth-1.5.0-py2.py3-none-any.whl (29 kB) Collecting chardet==3.0.4 Using cached chardet-3.0.4-py2.py3-none-any.whl (133 kB) Collecting Unidecode==1.1.1 Using cached Unidecode-1.1.1-py2.py3-none-any.whl (238 kB) Collecting pyenchant==3.1.1 Using cached pyenchant-3.1.1-py3-none-any.whl (55 kB) Collecting ipython-genutils==0.2.0 Using cached ipython_genutils-0.2.0-py2.py3-none-any.whl (26 kB) Collecting distlib==0.3.1 Using cached distlib-0.3.1-py2.py3-none-any.whl (335 kB) Collecting filelock==3.0.12 Using cached filelock-3.0.12-py3-none-any.whl (7.6 kB) Collecting pathspec==0.8.0 Using cached pathspec-0.8.0-py2.py3-none-any.whl (28 kB) Collecting pyasn1-modules==0.2.8 Using cached pyasn1_modules-0.2.8-py2.py3-none-any.whl (155 kB) Collecting cachetools==4.1.1 Using cached cachetools-4.1.1-py3-none-any.whl (10 kB) Collecting aws-sam-translator==1.26.0 Using cached aws_sam_translator-1.26.0-py3-none-any.whl (181 kB) Collecting jsonpatch==1.26 Using cached jsonpatch-1.26-py2.py3-none-any.whl (11 kB) Collecting junit-xml==1.9 Using cached junit_xml-1.9-py2.py3-none-any.whl (7.1 kB) Collecting networkx==2.4 Using cached networkx-2.4-py3-none-any.whl (1.6 MB) Collecting jmespath==0.10.0 Using cached jmespath-0.10.0-py2.py3-none-any.whl (24 kB) Collecting s3transfer==0.3.3 Using cached s3transfer-0.3.3-py2.py3-none-any.whl (69 kB) Collecting future==0.18.2 Using cached future-0.18.2.tar.gz (829 kB) Processing /Users/abhilash1in/Library/Caches/pip/wheels/62/76/4c/aa25851149f3f6d9785f6c869387ad82b3fd37582fa8147ac6/wrapt-1.12.1-cp37-cp37m-macosx_10_15_x86_64.whl Collecting jsonpickle==1.4.1 Using cached jsonpickle-1.4.1-py2.py3-none-any.whl (36 kB) Collecting docker-pycreds==0.4.0 Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB) Collecting apipkg==1.5 Using cached apipkg-1.5-py2.py3-none-any.whl (4.9 kB) Collecting jsonpointer==2.0 Using cached jsonpointer-2.0-py2.py3-none-any.whl (7.6 kB) Using legacy setup.py install for PyYAML, since package 'wheel' is not installed. Using legacy setup.py install for SQLAlchemy-Utils, since package 'wheel' is not installed. Using legacy setup.py install for dill, since package 'wheel' is not installed. Using legacy setup.py install for future, since package 'wheel' is not installed. Using legacy setup.py install for psutil, since package 'wheel' is not installed. Using legacy setup.py install for pyrsistent, since package 'wheel' is not installed. Using legacy setup.py install for python-nvd3, since package 'wheel' is not installed. ERROR: astroid 2.4.2 has requirement lazy-object-proxy==1.4.*, but you'll have lazy-object-proxy 1.5.1 which is incompatible. ERROR: botocore 1.17.44 has requirement docutils<0.16,>=0.10, but you'll have docutils 0.16 which is incompatible. ERROR: python-jose 3.2.0 has requirement ecdsa<0.15, but you'll have ecdsa 0.15 which is incompatible. ERROR: moto 1.3.14 has requirement idna<2.9,>=2.5, but you'll have idna 2.10 which is incompatible. Installing collected packages: pytz, Babel, marshmallow, marshmallow-enum, itsdangerous, Werkzeug, MarkupSafe, Jinja2, click, Flask, WTForms, Flask-WTF, PyJWT, Flask-Login, idna, dnspython, email-validator, six, pyrsistent, zipp, importlib-metadata, attrs, jsonschema, SQLAlchemy, Flask-SQLAlchemy, SQLAlchemy-Utils, colorama, defusedxml, python3-openid, Flask-OpenID, marshmallow-sqlalchemy, python-dateutil, Flask-Babel, PyYAML, apispec, Flask-JWT-Extended, prison, Flask-AppBuilder, pycparser, cffi, bcrypt, Flask-Bcrypt, Flask-Caching, smmap, gitdb, GitPython, Mako, Markdown, PyNaCl, Pygments, SQLAlchemy-JSONField, sphinxcontrib-applehelp, sphinxcontrib-devhelp, sphinxcontrib-qthelp, imagesize, sphinxcontrib-htmlhelp, pyparsing, packaging, sphinxcontrib-jsmath, docutils, urllib3, certifi, chardet, requests, alabaster, sphinxcontrib-serializinghtml, snowballstemmer, Sphinx, Unidecode, python-editor, alembic, apipkg, appdirs, argcomplete, lazy-object-proxy, typed-ast, wrapt, astroid, jmespath, botocore, s3transfer, boto3, aws-sam-translator, future, jsonpickle, aws-xray-sdk, backcall, soupsieve, beautifulsoup4, blinker, boto, fissix, sh, bowler, cached-property, cachetools, cattrs, cfgv, jsonpointer, jsonpatch, junit-xml, decorator, networkx, cfn-lint, cgroupspy, clickclick, colorlog, openapi-spec-validator, inflection, swagger-ui-bundle, connexion, coverage, natsort, croniter, cryptography, dill, distlib, docker-pycreds, websocket-client, docker, ecdsa, execnet, filelock, pycodestyle, pyflakes, mccabe, flake8, flake8-colors, flaky, flask-swagger, freezegun, funcsigs, jwcrypto, uritemplate, github3.py, pyasn1, rsa, pyasn1-modules, google-auth, graphviz, gunicorn, identify, iniconfig, appnope, pickleshare, parso, jedi, ptyprocess, pexpect, wcwidth, prompt-toolkit, ipython-genutils, traitlets, ipython, ipdb, iso8601, isort, oauthlib, requests-oauthlib, pbr, requests-toolbelt, jira, json-merge-patch, jsondiff, kubernetes, lockfile, marshmallow-oneofschema, mock, se ntinels, mongomock, more-itertools, sshpubkeys, python-jose, xmltodict, responses, moto, mypy-extensions, typing-extensions, mypy, protobuf, mysql-connector-python, mysqlclient, nodeenv, ntlm-auth, numpy, pandas, parameterized, paramiko, pathspec, pytzdata, pendulum, pipdeptree, pluggy, toml, virtualenv, pre-commit, psutil, py, pyenchant, pylint, pysftp, pytest, pytest-cov, pytest-forked, pytest-instafail, pytest-rerunfailures, pytest-timeouts, pytest-xdist, python-daemon, text-unidecode, python-slugify, python-nvd3, requests-ntlm, pywinrm, qds-sdk, requests-mock, setproctitle, sphinx-argparse, sphinxcontrib-dotnetdomain, sphinxcontrib-golangdomain, sphinx-autoapi, sphinx-copybutton, sphinx-jinja, sphinx-rtd-theme, sphinxcontrib-httpdomain, sphinxcontrib-redoc, sphinxcontrib-spelling, tabulate, tenacity, termcolor, thrift, tzlocal, unicodecsv, yamllint, wheel, apache-airflow Running setup.py install for pyrsistent ... done Running setup.py install for SQLAlchemy-Utils ... done Running setup.py install for PyYAML ... done Running setup.py install for future ... done Running setup.py install for dill ... done Running setup.py install for psutil ... done Running setup.py install for python-nvd3 ... done Running setup.py develop for apache-airflow Successfully installed Babel-2.8.0 Flask-1.1.2 Flask-AppBuilder-3.0.1 Flask-Babel-1.0.0 Flask-Bcrypt-0.7.1 Flask-Caching-1.9.0 Flask-JWT-Extended-3.24.1 Flask-Login-0.4.1 Flask-OpenID-1.2.5 Flask-SQLAlchemy-2.4.4 Flask-WTF-0.14.3 GitPython-3.1.7 Jinja2-2.11.2 Mako-1.1.3 Markdown-2.6.11 MarkupSafe-1.1.1 PyJWT-1.7.1 PyNaCl-1.4.0 PyYAML-5.3.1 Pygments-2.6.1 SQLAlchemy-1.3.19 SQLAlchemy-JSONField-0.9.0 SQLAlchemy-Utils-0.36.8 Sphinx-3.2.1 Unidecode-1.1.1 WTForms-2.3.3 Werkzeug-0.16.1 alabaster-0.7.12 alembic-1.4.2 apache-airflow apipkg-1.5 apispec-3.3.1 appdirs-1.4.4 appnope-0.1.0 argcomplete-1.12.0 astroid-2.4.2 attrs-19.3.0 aws-sam-translator-1.26.0 aws-xray-sdk-2.6.0 backcall-0.2.0 bcrypt-3.2.0 beautifulsoup4-4.7.1 blinker-1.4 boto-2.49.0 boto3-1.14.44 botocore-1.17.44 bowler-0.8.0 cached-property-1.5.1 cachetools-4.1.1 cattrs-1.0.0 certifi-2020.6.20 cffi-1.14.2 cfgv-3.2.0 cfn-lint-0.35.0 cgroupspy-0.1.6 chardet-3.0.4 click-6.7 clickclick-1.2.2 colorama-0.4.3 colorlog-4.0.2 connexi on-2.7.0 coverage-5.2.1 croniter-0.3.34 cryptography-3.0 decorator-4.4.2 defusedxml-0.6.0 dill-0.3.2 distlib-0.3.1 dnspython-1.16.0 docker-3.7.3 docker-pycreds-0.4.0 docutils-0.16 ecdsa-0.15 email-validator-1.1.1 execnet-1.7.1 filelock-3.0.12 fissix-20.8.0 flake8-3.8.3 flake8-colors-0.1.6 flaky-3.7.0 flask-swagger-0.2.13 freezegun-0.3.15 funcsigs-1.0.2 future-0.18.2 gitdb-4.0.5 github3.py-1.3.0 google-auth-1.20.1 graphviz-0.14.1 gunicorn-19.10.0 identify-1.4.28 idna-2.10 imagesize-1.2.0 importlib-metadata-1.7.0 inflection-0.5.0 iniconfig-1.0.1 ipdb-0.13.3 ipython-7.17.0 ipython-genutils-0.2.0 iso8601-0.1.12 isort-4.3.21 itsdangerous-1.1.0 jedi-0.17.2 jira-2.0.0 jmespath-0.10.0 json-merge-patch-0.2 jsondiff-1.1.2 jsonpatch-1.26 jsonpickle-1.4.1 jsonpointer-2.0 jsonschema-3.2.0 junit-xml-1.9 jwcrypto-0.7 kubernetes-11.0.0 lazy-object-proxy-1.5.1 lockfile-0.12.2 marshmallow-3.7.1 marshmallow-enum-1.5.1 marshmallow-oneofschema-2.0.1 marshmallow-sqlalchemy-0.23.1 mccabe-0.6.1 mock-4.0.2 mongomock-3.20.0 more-itertools-8.4.0 moto-1.3.14 mypy-0.770 mypy-extensions-0.4.3 mysql-connector-python-8.0.18 mysqlclient-1.3.14 natsort-7.0.1 networkx-2.4 nodeenv-1.4.0 ntlm-auth-1.5.0 numpy-1.19.1 oauthlib-2.1.0 openapi-spec-validator-0.2.9 packaging-20.4 pandas-1.1.0 parameterized-0.7.4 paramiko-2.7.1 parso-0.7.1 pathspec-0.8.0 pbr-5.4.5 pendulum-2.1.2 pexpect-4.8.0 pickleshare-0.7.5 pipdeptree-1.0.0 pluggy-0.13.1 pre-commit-2.6.0 prison-0.1.3 prompt-toolkit-3.0.6 protobuf-3.13.0 psutil-5.7.2 ptyprocess-0.6.0 py-1.9.0 pyasn1-0.4.8 pyasn1-modules-0.2.8 pycodestyle-2.6.0 pycparser-2.20 pyenchant-3.1.1 pyflakes-2.2.0 pylint-2.5.3 pyparsing-2.4.7 pyrsistent-0.16.0 pysftp-0.2.9 pytest-6.0.1 pytest-cov-2.10.1 pytest-forked-1.3.0 pytest-instafail-0.4.2 pytest-rerunfailures-9.0 pytest-timeouts-1.2.1 pytest-xdist-2.0.0 python-daemon-2.2.4 python-dateutil-2.8.1 python-editor-1.0.4 python-jose-3.2.0 python-nvd3-0.15.0 python-slugify-4.0.1 python3-openid-3.2.0 pytz-2020.1 pytzdata-2020.1 pywinrm-0.4.1 qds-sdk-1.16.0 requests-2.24.0 requests-mock-1.8.0 requests-ntlm-1.1.0 requests-oauthlib-1.1.0 requests-toolbelt-0.9.1 responses-0.10.16 rsa-4.6 s3transfer-0.3.3 sentinels-1.0.0 setproctitle-1.1.10 sh-1.13.1 six-1.15.0 smmap-3.0.4 snowballstemmer-2.0.0 soupsieve-2.0.1 sphinx-argparse-0.2.5 sphinx-autoapi-1.0.0 sphinx-copybutton-0.3.0 sphinx-jinja-1.1.1 sphinx-rtd-theme-0.5.0 sphinxcontrib-applehelp-1.0.2 sphinxcontrib-devhelp-1.0.2 sphinxcontrib-dotnetdomain-0.4 sphinxcontrib-golangdomain-0.2.0.dev0 sphinxcontrib-htmlhelp-1.0.3 sphinxcontrib-httpdomain-1.7.0 sphinxcontrib-jsmath-1.0.1 sphinxcontrib-qthelp-1.0.3 sphinxcontrib-redoc-1.6.0 sphinxcontrib-serializinghtml-1.1.4 sphinxcontrib-spelling-5.2.1 sshpubkeys-3.1.0 swagger-ui-bundle-0.0.8 tabulate-0.8.7 tenacity-5.1.5 termcolor-1.1.0 text-unidecode-1.3 thrift-0.13.0 toml-0.10.1 traitlets-4.3.3 typed-ast-1.4.1 typing-extensions-3.7.4.2 tzlocal-1.5.1 unicodecsv-0.14.1 uritemplate-3.0.1 urllib3-1.25.10 virtualenv-20.0.3 1 wcwidth-0.2.5 websocket-client-0.57.0 wheel-0.35.1 wrapt-1.12.1 xmltodict-0.12.0 yamllint-1.24.2 zipp-3.1.0 WARNING: You are using pip version 20.1.1; however, version 20.2.3 is available. You should consider upgrading via the '/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/bin/python3.7 -m pip install --upgrade pip' command. ~/Source/airflow ~/Source/airflow Wiping and recreating /Users/abhilash1in/airflow /Users/abhilash1in/airflow/unittests.cfg /Users/abhilash1in/airflow/webserver_config.py /Users/abhilash1in/airflow/airflow.cfg /Users/abhilash1in/airflow/airflow.db /Users/abhilash1in/airflow/logs/scheduler/latest /Users/abhilash1in/airflow/logs/scheduler/2020-09-10 /Users/abhilash1in/airflow/logs/scheduler /Users/abhilash1in/airflow/logs /Users/abhilash1in/airflow/unittests.db /Users/abhilash1in/airflow Resetting AIRFLOW sqlite database DB: sqlite:////Users/abhilash1in/airflow/airflow.db [2020-09-10 13:50:33,692] {db.py:629} INFO - Dropping tables that exist [2020-09-10 13:50:33,796] {migration.py:155} INFO - Context impl SQLiteImpl. [2020-09-10 13:50:33,796] {migration.py:162} INFO - Will assume non-transactional DDL. [2020-09-10 13:50:34,100] {db.py:616} INFO - Creating tables INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.runtime.migration] Running upgrade -> e3a246e0dc1, current schema INFO [alembic.runtime.migration] Running upgrade e3a246e0dc1 -> 1507a7289a2f, create is_encrypted /Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/alembic/ddl/sqlite.py:41: UserWarning: Skipping unsupported ALTER for creation of implicit constraintPlease refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy. "Skipping unsupported ALTER for " INFO [alembic.runtime.migration] Running upgrade 1507a7289a2f -> 13eb55f81627, maintain history for compatibility with earlier migrations INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, More logging into task_instance INFO [alembic.runtime.migration] Running upgrade 338e90f54d61 -> 52d714495f0, job_id indices INFO [alembic.runtime.migration] Running upgrade 52d714495f0 -> 502898887f84, Adding extra to Log INFO [alembic.runtime.migration] Running upgrade 502898887f84 -> 1b38cef5b76e, add dagrun INFO [alembic.runtime.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration INFO [alembic.runtime.migration] Running upgrade 2e541a1dcfed -> 40e67319e3a9, dagrun_config INFO [alembic.runtime.migration] Running upgrade 40e67319e3a9 -> 561833c1c74b, add password column to user INFO [alembic.runtime.migration] Running upgrade 561833c1c74b -> 4446e08588, dagrun start end INFO [alembic.runtime.migration] Running upgrade 4446e08588 -> bbc73705a13e, Add notification_sent column to sla_miss INFO [alembic.runtime.migration] Running upgrade bbc73705a13e -> bba5a7cfc896, Add a column to track the encryption state of the 'Extra' field in connection INFO [alembic.runtime.migration] Running upgrade bba5a7cfc896 -> 1968acfc09e3, add is_encrypted column to variable table INFO [alembic.runtime.migration] Running upgrade 1968acfc09e3 -> 2e82aab8ef20, rename user table INFO [alembic.runtime.migration] Running upgrade 2e82aab8ef20 -> 211e584da130, add TI state index INFO [alembic.runtime.migration] Running upgrade 211e584da130 -> 64de9cddf6c9, add task fails journal table INFO [alembic.runtime.migration] Running upgrade 64de9cddf6c9 -> f2ca10b85618, add dag_stats table INFO [alembic.runtime.migration] Running upgrade f2ca10b85618 -> 4addfa1236f1, Add fractional seconds to mysql tables INFO [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices INFO [alembic.runtime.migration] Running upgrade 8504051e801b -> 5e7d17757c7a, add pid field to TaskInstance INFO [alembic.runtime.migration] Running upgrade 5e7d17757c7a -> 127d2bf2dfa7, Add dag_id/state index on dag_run table INFO [alembic.runtime.migration] Running upgrade 127d2bf2dfa7 -> cc1e65623dc7, add max tries column to task instance INFO [alembic.runtime.migration] Running upgrade cc1e65623dc7 -> bdaa763e6c56, Make xcom value column a large binary INFO [alembic.runtime.migration] Running upgrade bdaa763e6c56 -> 947454bf1dff, add ti job_id index INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types) INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 0e2a74e0fc9f, Add time zone awareness INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 33ae817a1ff4, kubernetes_resource_checkpointing INFO [alembic.runtime.migration] Running upgrade 33ae817a1ff4 -> 27c6a30d7c24, kubernetes_resource_checkpointing INFO [alembic.runtime.migration] Running upgrade 27c6a30d7c24 -> 86770d1215c0, add kubernetes scheduler uniqueness INFO [alembic.runtime.migration] Running upgrade 86770d1215c0, 0e2a74e0fc9f -> 05f30312d566, merge heads INFO [alembic.runtime.migration] Running upgrade 05f30312d566 -> f23433877c24, fix mysql not null constraint INFO [alembic.runtime.migration] Running upgrade f23433877c24 -> 856955da8476, fix sqlite foreign key INFO [alembic.runtime.migration] Running upgrade 856955da8476 -> 9635ae0956e7, index-faskfail INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> dd25f486b8ea, add idx_log_dag INFO [alembic.runtime.migration] Running upgrade dd25f486b8ea -> bf00311e1990, add index to taskinstance INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> 0a2a5b66e19d, add task_reschedule table INFO [alembic.runtime.migration] Running upgrade 0a2a5b66e19d, bf00311e1990 -> 03bc53e68815, merge_heads_2 INFO [alembic.runtime.migration] Running upgrade 03bc53e68815 -> 41f5f12752f8, add superuser field INFO [alembic.runtime.migration] Running upgrade 41f5f12752f8 -> c8ffec048a3b, add fields to dag INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> dd4ecb8fbee3, Add schedule interval to dag INFO [alembic.runtime.migration] Running upgrade dd4ecb8fbee3 -> 939bb1e647c8, task reschedule fk on cascade delete INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 6e96a59344a4, Make TaskInstance.pool not nullable INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table INFO [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> 74effc47d867, change datetime to datetime2(6) on MSSQL tables INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 004c1210f153, increase queue name size limit INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> a56c9515abdc, Remove dag_stat table INFO [alembic.runtime.migration] Running upgrade a56c9515abdc, 004c1210f153, 74effc47d867, b3b105409875 -> 08364691d074, Merge the four heads back together INFO [alembic.runtime.migration] Running upgrade 08364691d074 -> fe461863935f, increase_length_for_connection_password INFO [alembic.runtime.migration] Running upgrade fe461863935f -> 7939bcff74ba, Add DagTags table INFO [alembic.runtime.migration] Running upgrade 7939bcff74ba -> a4c2fd67d16b, add pool_slots field to task_instance INFO [alembic.runtime.migration] Running upgrade a4c2fd67d16b -> 852ae6c715af, Add RenderedTaskInstanceFields table INFO [alembic.runtime.migration] Running upgrade 852ae6c715af -> 952da73b5eff, add dag_code table INFO [alembic.runtime.migration] Running upgrade 952da73b5eff -> a66efa278eea, Add Precision to execution_date in RenderedTaskInstanceFields table INFO [alembic.runtime.migration] Running upgrade a66efa278eea -> cf5dc11e79ad, drop_user_and_chart INFO [alembic.runtime.migration] Running upgrade cf5dc11e79ad -> bbf4a7ad0465, Remove id column from xcom INFO [alembic.runtime.migration] Running upgrade bbf4a7ad0465 -> b25a55525161, Increase length of pool name INFO [alembic.runtime.migration] Running upgrade b25a55525161 -> 3c20cacc0044, Add DagRun run_type INFO [alembic.runtime.migration] Running upgrade 3c20cacc0044 -> 8f966b9c467a, Set conn_type as non-nullable INFO [alembic.runtime.migration] Running upgrade 8f966b9c467a -> 8d48763f6d53, add unique constraint to conn_id INFO [alembic.runtime.migration] Running upgrade 8d48763f6d53 -> da3f683c3a5a, Add dag_hash Column to serialized_dag table INFO [alembic.runtime.migration] Running upgrade da3f683c3a5a -> e38be357a868, Add sensor_instance table INFO [alembic.runtime.migration] Running upgrade e38be357a868 -> b247b1e3d1ed, Add queued by Job ID to TI Resetting AIRFLOW sqlite unit test database DB: sqlite:////Users/abhilash1in/airflow/unittests.db [2020-09-10 13:50:36,898] {db.py:629} INFO - Dropping tables that exist [2020-09-10 13:50:36,967] {migration.py:155} INFO - Context impl SQLiteImpl. [2020-09-10 13:50:36,967] {migration.py:162} INFO - Will assume non-transactional DDL. [2020-09-10 13:50:37,125] {db.py:616} INFO - Creating tables INFO [alembic.runtime.migration] Context impl SQLiteImpl. INFO [alembic.runtime.migration] Will assume non-transactional DDL. INFO [alembic.runtime.migration] Running upgrade -> e3a246e0dc1, current schema INFO [alembic.runtime.migration] Running upgrade e3a246e0dc1 -> 1507a7289a2f, create is_encrypted /Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/alembic/ddl/sqlite.py:41: UserWarning: Skipping unsupported ALTER for creation of implicit constraintPlease refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy. "Skipping unsupported ALTER for " INFO [alembic.runtime.migration] Running upgrade 1507a7289a2f -> 13eb55f81627, maintain history for compatibility with earlier migrations INFO [alembic.runtime.migration] Running upgrade 13eb55f81627 -> 338e90f54d61, More logging into task_instance INFO [alembic.runtime.migration] Running upgrade 338e90f54d61 -> 52d714495f0, job_id indices INFO [alembic.runtime.migration] Running upgrade 52d714495f0 -> 502898887f84, Adding extra to Log INFO [alembic.runtime.migration] Running upgrade 502898887f84 -> 1b38cef5b76e, add dagrun INFO [alembic.runtime.migration] Running upgrade 1b38cef5b76e -> 2e541a1dcfed, task_duration INFO [alembic.runtime.migration] Running upgrade 2e541a1dcfed -> 40e67319e3a9, dagrun_config INFO [alembic.runtime.migration] Running upgrade 40e67319e3a9 -> 561833c1c74b, add password column to user INFO [alembic.runtime.migration] Running upgrade 561833c1c74b -> 4446e08588, dagrun start end INFO [alembic.runtime.migration] Running upgrade 4446e08588 -> bbc73705a13e, Add notification_sent column to sla_miss INFO [alembic.runtime.migration] Running upgrade bbc73705a13e -> bba5a7cfc896, Add a column to track the encryption state of the 'Extra' field in connection INFO [alembic.runtime.migration] Running upgrade bba5a7cfc896 -> 1968acfc09e3, add is_encrypted column to variable table INFO [alembic.runtime.migration] Running upgrade 1968acfc09e3 -> 2e82aab8ef20, rename user table INFO [alembic.runtime.migration] Running upgrade 2e82aab8ef20 -> 211e584da130, add TI state index INFO [alembic.runtime.migration] Running upgrade 211e584da130 -> 64de9cddf6c9, add task fails journal table INFO [alembic.runtime.migration] Running upgrade 64de9cddf6c9 -> f2ca10b85618, add dag_stats table INFO [alembic.runtime.migration] Running upgrade f2ca10b85618 -> 4addfa1236f1, Add fractional seconds to mysql tables INFO [alembic.runtime.migration] Running upgrade 4addfa1236f1 -> 8504051e801b, xcom dag task indices INFO [alembic.runtime.migration] Running upgrade 8504051e801b -> 5e7d17757c7a, add pid field to TaskInstance INFO [alembic.runtime.migration] Running upgrade 5e7d17757c7a -> 127d2bf2dfa7, Add dag_id/state index on dag_run table INFO [alembic.runtime.migration] Running upgrade 127d2bf2dfa7 -> cc1e65623dc7, add max tries column to task instance INFO [alembic.runtime.migration] Running upgrade cc1e65623dc7 -> bdaa763e6c56, Make xcom value column a large binary INFO [alembic.runtime.migration] Running upgrade bdaa763e6c56 -> 947454bf1dff, add ti job_id index INFO [alembic.runtime.migration] Running upgrade 947454bf1dff -> d2ae31099d61, Increase text size for MySQL (not relevant for other DBs' text types) INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 0e2a74e0fc9f, Add time zone awareness INFO [alembic.runtime.migration] Running upgrade d2ae31099d61 -> 33ae817a1ff4, kubernetes_resource_checkpointing INFO [alembic.runtime.migration] Running upgrade 33ae817a1ff4 -> 27c6a30d7c24, kubernetes_resource_checkpointing INFO [alembic.runtime.migration] Running upgrade 27c6a30d7c24 -> 86770d1215c0, add kubernetes scheduler uniqueness INFO [alembic.runtime.migration] Running upgrade 86770d1215c0, 0e2a74e0fc9f -> 05f30312d566, merge heads INFO [alembic.runtime.migration] Running upgrade 05f30312d566 -> f23433877c24, fix mysql not null constraint INFO [alembic.runtime.migration] Running upgrade f23433877c24 -> 856955da8476, fix sqlite foreign key INFO [alembic.runtime.migration] Running upgrade 856955da8476 -> 9635ae0956e7, index-faskfail INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> dd25f486b8ea, add idx_log_dag INFO [alembic.runtime.migration] Running upgrade dd25f486b8ea -> bf00311e1990, add index to taskinstance INFO [alembic.runtime.migration] Running upgrade 9635ae0956e7 -> 0a2a5b66e19d, add task_reschedule table INFO [alembic.runtime.migration] Running upgrade 0a2a5b66e19d, bf00311e1990 -> 03bc53e68815, merge_heads_2 INFO [alembic.runtime.migration] Running upgrade 03bc53e68815 -> 41f5f12752f8, add superuser field /Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/alembic/ddl/sqlite.py:41: UserWarning: Skipping unsupported ALTER for creation of implicit constraintPlease refer to the batch mode feature which allows for SQLite migrations using a copy-and-move strategy. "Skipping unsupported ALTER for " INFO [alembic.runtime.migration] Running upgrade 41f5f12752f8 -> c8ffec048a3b, add fields to dag INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> dd4ecb8fbee3, Add schedule interval to dag INFO [alembic.runtime.migration] Running upgrade dd4ecb8fbee3 -> 939bb1e647c8, task reschedule fk on cascade delete INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 6e96a59344a4, Make TaskInstance.pool not nullable INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> d38e04c12aa2, add serialized_dag table INFO [alembic.runtime.migration] Running upgrade d38e04c12aa2 -> b3b105409875, add root_dag_id to DAG INFO [alembic.runtime.migration] Running upgrade 6e96a59344a4 -> 74effc47d867, change datetime to datetime2(6) on MSSQL tables INFO [alembic.runtime.migration] Running upgrade 939bb1e647c8 -> 004c1210f153, increase queue name size limit INFO [alembic.runtime.migration] Running upgrade c8ffec048a3b -> a56c9515abdc, Remove dag_stat table INFO [alembic.runtime.migration] Running upgrade a56c9515abdc, 004c1210f153, 74effc47d867, b3b105409875 -> 08364691d074, Merge the four heads back together INFO [alembic.runtime.migration] Running upgrade 08364691d074 -> fe461863935f, increase_length_for_connection_password INFO [alembic.runtime.migration] Running upgrade fe461863935f -> 7939bcff74ba, Add DagTags table INFO [alembic.runtime.migration] Running upgrade 7939bcff74ba -> a4c2fd67d16b, add pool_slots field to task_instance INFO [alembic.runtime.migration] Running upgrade a4c2fd67d16b -> 852ae6c715af, Add RenderedTaskInstanceFields table INFO [alembic.runtime.migration] Running upgrade 852ae6c715af -> 952da73b5eff, add dag_code table INFO [alembic.runtime.migration] Running upgrade 952da73b5eff -> a66efa278eea, Add Precision to execution_date in RenderedTaskInstanceFields table INFO [alembic.runtime.migration] Running upgrade a66efa278eea -> cf5dc11e79ad, drop_user_and_chart INFO [alembic.runtime.migration] Running upgrade cf5dc11e79ad -> bbf4a7ad0465, Remove id column from xcom INFO [alembic.runtime.migration] Running upgrade bbf4a7ad0465 -> b25a55525161, Increase length of pool name INFO [alembic.runtime.migration] Running upgrade b25a55525161 -> 3c20cacc0044, Add DagRun run_type INFO [alembic.runtime.migration] Running upgrade 3c20cacc0044 -> 8f966b9c467a, Set conn_type as non-nullable INFO [alembic.runtime.migration] Running upgrade 8f966b9c467a -> 8d48763f6d53, add unique constraint to conn_id INFO [alembic.runtime.migration] Running upgrade 8d48763f6d53 -> da3f683c3a5a, Add dag_hash Column to serialized_dag table INFO [alembic.runtime.migration] Running upgrade da3f683c3a5a -> e38be357a868, Add sensor_instance table INFO [alembic.runtime.migration] Running upgrade e38be357a868 -> b247b1e3d1ed, Add queued by Job ID to TI Exception ignored in: <function _ConnectionRecord.checkout.<locals>.<lambda> at 0x108f35a70> Traceback (most recent call last): File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 506, in <lambda> File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 714, in _finalize_fairy File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 531, in checkin File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 388, in _return_conn File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/impl.py", line 236, in _do_return_conn File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 543, in close File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 645, in __close File "/Users/abhilash1in/.pyenv/versions/3.7.8/envs/airflow/lib/python3.7/site-packages/sqlalchemy/pool/base.py", line 267, in _close_connection File "/Users/abhilash1in/.pyenv/versions/3.7.8/lib/python3.7/logging/__init__.py", line 1365, in debug File "/Users/abhilash1in/.pyenv/versions/3.7.8/lib/python3.7/logging/__init__.py", line 1621, in isEnabledFor TypeError: 'NoneType' object is not callable ``` <!-- Welcome to Apache Airflow! For a smooth issue process, try to answer the following questions. Don't worry if they're not all applicable; just try to include what you can :-) If you need to include code snippets or logs, please put them in fenced code blocks. If they're super-long, please use the details tag like <details><summary>super-long log</summary> lots of stuff </details> Please delete these comment blocks before submitting the issue. --> <!-- IMPORTANT!!! PLEASE CHECK "SIMILAR TO X EXISTING ISSUES" OPTION IF VISIBLE NEXT TO "SUBMIT NEW ISSUE" BUTTON!!! PLEASE CHECK IF THIS ISSUE HAS BEEN REPORTED PREVIOUSLY USING SEARCH!!! Please complete the next sections or the issue will be closed. This questions are the first thing we need to know to understand the context. --> **Apache Airflow version**: 2.0.0dev **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): **Environment**: - **Cloud provider or hardware configuration**: - **OS** (e.g. from /etc/os-release): macOS Catalina - **Kernel** (e.g. `uname -a`): `Darwin Abhilashs-MBP 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64` - **Install tools**: - **Others**: **What happened**: Running `breeze initialize-local-virtualenv` inside a brand new pyenv virualenv (3.7) resulted in an error. <!-- (please include exact error messages if you can) --> **What you expected to happen**: Expected `breeze initialize-local-virtualenv` inside a brand new pyenv virualenv (3.7) to complete successfully. <!-- What do you think went wrong? --> **How to reproduce it**: Run `breeze initialize-local-virtualenv` inside a brand new pyenv virualenv (3.7). <!--- As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags. If you are using kubernetes, please attempt to recreate the issue using minikube or kind. ## Install minikube/kind - Minikube https://minikube.sigs.k8s.io/docs/start/ - Kind https://kind.sigs.k8s.io/docs/user/quick-start/ If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action You can include images using the .md style of  To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file. ---> **Anything else we need to know**: <!-- How often does this problem occur? Once? Every time etc? Any relevant logs to include? Put them here in side a detail tag: <details><summary>x.log</summary> lots of stuff </details> --> ---------------------------------------------------------------- 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: us...@infra.apache.org