gwynevans opened a new issue #11303: URL: https://github.com/apache/airflow/issues/11303
**Apache Airflow version**: 1.10.12 **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): **Environment**: Ubuntu fresh install - **Cloud provider or hardware configuration**: - **OS** (e.g. from /etc/os-release): - **Kernel** (e.g. `uname -a`): - **Install tools**: - **Others**: **What happened**: Running commands such as "airflow list_dags" results in a PendingDeprecationWarning at models/dag.py:1337 <!-- (please include exact error messages if you can) --> Sorry, can't currently copy exact msgs from my test VM **What you expected to happen**: No warnings with a clean install. <!-- What do you think went wrong? --> Digging into the cause appears to be that the test "and self.task_dict[task.task_id] is not task" is returning False when comparing "Task(BashOperator)" with "Task(BashOperator)". I suspect that the test should be "!=" instead, but I'm not 100% sure, hence this report. **How to reproduce it**: <!--- 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: [email protected]
