uranusjr commented on issue #14989:
URL: https://github.com/apache/airflow/issues/14989#issuecomment-811042552


   The main issue with pulling versions from the constraints file to format is 
not during the fetching part, but how the same version can be passed to Sphinx, 
since the URLs are also needed in `conf.py`. So if we use version-ed URLs, 
`conf.py` would also need to grow some kind of mechanism to correctly interpret 
versions of the dependencies, which seems awkward to me.
   
   A better approach IMO might be to directly hard-code those versions in 
`third_party_inventories.py` instead, and have some kind of automated process 
to update that file together with the constraints files. This also means we 
don’t need to use the constraints file as the GitHub Action cache key, but can 
use `third_party_inventories.py` instead.


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