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

Head commit for run:
5e423f5fc026a37793ec617a94533aa82a30b4ea / Jarek Potiuk <[email protected]>
Adjust limits when constructing cross-provider dependencies (#25364)

When we are constructing cross-provider dependencies, we should adjust
the limits to account for some apache-airflow packages that are not yet
released.

The adjustment is to add ".*" after the version number when
dependency is lower-bound with `>=`. It's not explicitly mentioned in
PEP 440 - it is only mentioned there that it works for
equality, but since `>=` is also part of `equal` it also
works there.

Example is a common-sql package that might be limited to `>=1.1.0`
in google provider as part of the change, but it might not yet be released
as it is being released together with the package it is needed by.

We  need to adjust the version whenever in our providers we
refer to other providers with >= install clause because  `--pre`
flag in `pip` only allows to install direct pre-release (and
development) dependencies but it does not modify requirements of
those package to also include pre-releases as transitive dependency.

Also, we need to remove the limits in `devel` dependencies because
the packages are not yet released at the moment we use those
dependencies, so the limits in `devel` should be removed, allowing
the developers to install Airflow without those devel packages.

Also a bug was found that would prevent to generate
the dependencies in case provider.yaml file only changed (bad
specification of .pre-commit include)

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

With regards,
GitHub Actions via GitBox


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

Reply via email to