ashb opened a new pull request, #27958:
URL: https://github.com/apache/airflow/pull/27958
In trying to update the deps of breeze, I made a change to `setup.cfg`
and then rand `breeze static-checks update-breeze-readme-config-hash`
and ran in to two problems that this fixes
1. It prevents a self-update loop, where the change to `setup.cfg` was
detected, but the hash in the README hasn't been updated, so it just
came around again and just tried to reinstall again and again and
again.
2. This correctly sets/maintains `argv[0]` for the re-exec'd process
(which is what `sys.executable` gets set to) so that when we do
`assert_pre_commit_installed` and try to find the pre-commit version,
we don't invoke breeze again by mistake!
--
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]