ashb commented on a change in pull request #19890:
URL: https://github.com/apache/airflow/pull/19890#discussion_r759251677



##########
File path: setup.py
##########
@@ -513,6 +513,31 @@ def write_version(filename: str = os.path.join(*[my_dir, 
"airflow", "git_version
 ]
 # End dependencies group
 
+# Mypy 0.900 and above ships only with stubs from stdlib so if we need other 
stubs, we need to install them
+# manually as `types-*`. See 
https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports
+# for details. Wy want to install them explicitly because we want to 
eventually move to
+# mypyd which does not support installing the types dynamically with 
--install-types
+mypy_dependencies = [
+    'mypy',

Review comment:
       Should we pin/restrict the mypy version? I think we had problems in the 
past where mypy would update and change behaviour in a few places.




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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to