odajun opened a new issue #15198:
URL: https://github.com/apache/airflow/issues/15198


   **Apache Airflow version**: 1.10.14
   
   
   **Kubernetes version (if you are using kubernetes)** (use `kubectl 
version`): 1.19
   
   **Environment**:
   
   - **Cloud provider or hardware configuration**:  Openstack, 4 cores, 8GB RAM
   - **OS** (e.g. from /etc/os-release): /etc/centos-release CnetOS Linux 
release 7.9.2009
   - **Kernel** (e.g. `uname -a`): Linux
   - **Install tools**: Docker container (own build), Airflow is installed via 
   ```
   pip install apache-airflow[celery,hive,jdbc,mysql,redis,s3]==1.10.14
   pip install 
hdfs,requests_kerberos,prometheus-client,apache-airflow-upgrade-check,sqlalchemy=1.3.23,apache-airflow-backport-providers-apache-hive,apache-airflow-backport-providers-http
   ```
   
   **What happened**:
   
   While preparing for the upgrade by [following the steps in the 
documentation](https://airflow.apache.org/docs/apache-airflow/stable/upgrading-to-2.html),
 I was faced with an error at the point where I implemented the following 
changes.
   
   ```
   before : from airflow.operators.http_operator import SimpleHttpOperator
   after  : from airflow.providers.http.operators.http import SimpleHttpOperator
   ```
   
   error message
   ```
   ERROR - cannot import name 'make_kwargs_callable' from 
'airflow.utils.operators_helpers'
   ```
   
   
   **Anything else we need to know**:
   
   I suspect the following commit is required for 1.10.x version as well.
   
https://github.com/apache/airflow/commit/badd890675d3cb3dfc088bff6a1d73dfdc275f31#diff-d2d9b3696f554c1d2aee440470[…]27dc193705e85b833b1f739271e81b14
   
   There are other people who are encountering the same error.
   https://apache-airflow.slack.com/archives/CCQB40SQJ/p1616504379010200


-- 
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:
[email protected]


Reply via email to