potiuk commented on a change in pull request #15515:
URL: https://github.com/apache/airflow/pull/15515#discussion_r656172949
##########
File path: setup.cfg
##########
@@ -106,7 +107,7 @@ install_requires =
graphviz>=0.12
gunicorn>=19.5.0
httpx
- importlib_metadata~=1.7;python_version<"3.9" # We could work with 3.1, but
argparse needs <2
+ importlib_metadata~=3.1;python_version<"3.9"
Review comment:
I actually changed it to >=1.7 now to handle current constraint files,
so we should automatically get latest compatible version.
BTW. Should not we install `importlib-metadata` regardless of python version
? This is what jira package does anyway and it seems it gets updated more
frequently than Python 3.9 is. We might - at some point in time start relying
on some features there. Seems that importlib_metadata 4.4 for example is only
available in 3.10 (https://github.com/python/importlib_metadata).
Maybe we should just remove `;python<3.9`
--
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]