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

Head commit for run:
d23a3bbed89ae04369983f21455bf85ccc1ae1cb / Jarek Potiuk <[email protected]>
Add mechanism to suspend providers (#30422)

As agreed in https://lists.apache.org/thread/g8b3k028qhzgw6c3yz4jvmlc67kcr9hj
we introduce mechanism to suspend providers from our suite of providers
when they are holding us back to older version of dependencies.

Provider's suspension is controlled from a single `suspend` flag in
`provider.yaml` - this flag is used to generate
providers_dependencies.json in generated folders (provider is skipped
if it has `suspended` flag set to `true`. This is enough to exclude
provider from the extras of airflow and (automatically) from being
used when CI image is build and constraints are being generated,
as well as from provider documentation/generation.

Also several parts of the CI build use the flag to filter out
such suspended provider from:

* verification of provider.yaml files in pre-commit is skipped
  in terms of importing and checking if classes are defined and
  listed in the provider.yaml
* the "tests" folders for providers are skipped automatically
  if the provider has "suspend" = true set
* in case of PR that is aimed to modify suspended providers directory
  tree (when it is not a global provider refactor) selective checks
  will detect it and fail such PR with appropriate message suggesting
  to fix the reason for suspention first
* documentation build is skipped for suspended providers
* mypy static checks will skip suspended provider folders while we
  will still run ruff checks on them (unlike mypy ruff does not
  expect the libraries that it imports to be available and we are
  running ruff in a separate environment where no airflow dependencies
  are installed anyway

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

With regards,
GitHub Actions via GitBox


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

Reply via email to