The GitHub Actions job "Tests" on airflow.git has failed.
Run started by GitHub user potiuk (triggered by potiuk).

Head commit for run:
e784cd53659af69981ed4e3ff123b3a171112b86 / Jarek Potiuk <[email protected]>
Protect against manually updated generated dependencies

The "generated/provider_dependencies.json" is regenerated automatically
together with pyproject.toml from all the provider.yaml files. The
file contains information about dependencies for all providers and
it is used to determine a number of actions when we build providers
(for example it is used to automatically generated cross-provider
dependencies, and determine whether provider is ready to be released)

The "dependencies" from provider_dependencies.json are also
reflected in pyproject.toml file in order to determine what should
be installed when you install specific editable extra, so pyproject.toml
is also generated automatically together with
provider_dependencies.json. All is good when that generation is done
automatically, but so far, when you updated provider_dependencies.json
manually, the pyproject.toml was not regenerated - it was actually
skipped from regeneration.

This PR changes it by storing hash of provider_depenedencies.json (mixed
with the has of the script that generates them) in the generated
pyproject.toml file. This way, both - provider_dependencies and
pyproject.toml wil always be regenerated by the
"update_providers_dependencies.py" pre-commit whenever there is any
inconsistency between provider.yaml files, provider_dependencies.json
or pyproject.toml.

Report URL: https://github.com/apache/airflow/actions/runs/7684647183

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to