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 2020/12/08 16:33:23 UTC

[GitHub] [airflow] sephethus opened a new issue #12924: cannot import name 'resolve_types' from 'attr'

sephethus opened a new issue #12924:
URL: https://github.com/apache/airflow/issues/12924


   **Apache Airflow version**: 1.10.12
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl version`):
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**: Local PC
   - **OS** (e.g. from /etc/os-release): Ubuntu 20.04
   - **Kernel** (e.g. `uname -a`): 5.4.0-56-generic #62-Ubuntu SMP
   - **Install tools**: docker-compose using https://github.com/puckel/docker-airflow
   - **Others**:
   
   **What happened**:
   
   Webserver will not start due to airflow error: ImportError: cannot import name 'resolve_types' from 'attr' (/usr/local/lib/python3.7/site-packages/attr/__init__.py)
   
   **What you expected to happen**: 
   
   Webserver start to test dags locally
   
   **How to reproduce it**:
   
   Use the docker-compose container above https://github.com/puckel/docker-airflow.git
   Ubuntu 20.04
   Run docker-compose up
   
   Error occurs every single time.
   
   Things already tried:
   
   Modified dockerfile to include constraints for Python 3.7 container: --constraint "https://raw.githubusercontent.com/apache/airflow/constraints-1.10.12/constraints-3.7.txt"
   
   Added cattrs==1.0.0
   
   Downgraded pip==20.2.4
   
   Added attrs
   
   None of the above suggestions are working. Anyone able to reproduce this and help solve? 


----------------------------------------------------------------
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



[GitHub] [airflow] boring-cyborg[bot] commented on issue #12924: cannot import name 'resolve_types' from 'attr'

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #12924:
URL: https://github.com/apache/airflow/issues/12924#issuecomment-740745002


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


----------------------------------------------------------------
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



[GitHub] [airflow] turbaszek commented on issue #12924: cannot import name 'resolve_types' from 'attr'

Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #12924:
URL: https://github.com/apache/airflow/issues/12924#issuecomment-741111013


   Also I would suggest to consider using community supported docker:
   ```
   docker pull apache/airflow:1.10.12-python3.6
   ```
   
   


----------------------------------------------------------------
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



[GitHub] [airflow] turbaszek commented on issue #12924: cannot import name 'resolve_types' from 'attr'

Posted by GitBox <gi...@apache.org>.
turbaszek commented on issue #12924:
URL: https://github.com/apache/airflow/issues/12924#issuecomment-741105560


   Duplicate of #11965 
   


----------------------------------------------------------------
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



[GitHub] [airflow] turbaszek closed issue #12924: cannot import name 'resolve_types' from 'attr'

Posted by GitBox <gi...@apache.org>.
turbaszek closed issue #12924:
URL: https://github.com/apache/airflow/issues/12924


   


----------------------------------------------------------------
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