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

Head commit for run:
c6a2b8eb9b5a117d5baefbf932d5aea092b1afbe / Jarek Potiuk <[email protected]>
Replace chicken-egg providers with automated use of unreleased packages (#49799)

* Replace chicken-egg providers with automated use of unreleased packages

When we got rid of the .dev0 suffix, it is now possible to entirely
rely on building the packages locally using exsting mechanisms, that
check if packages have been already released - for CI builds, and can
rely on the fact that we need at least pre-release version of packages
if we are building pre-release version of airflow.

It works as follows:

* for CI builds (generate constraints and PROD image builds) - we are
  alwasys attempt to build ALL provider packages, but without
  --skip-tag-check - which means that if provider has been already
  released and it's version did not change in main, we are not going
  to build it locally and we will use it from PyPI. However if provider
  version is updated and the provider has not yet been released (checked
  by tag) - it will be build locally from sources and it will be used
  for constraint generation.

* for release PROD images build, on the other hand we NEVER build
  packages locally - we always rely on PyPI released packages, however
  if we are building pre-release version of airflow, we automatically
  add --pre flag that looks for pre-release packages in PyPI - this way
  pre-release version of airflow can be built with pre-release version
  of providers. We are still attempting to use constraints for that,
  however first - so unless there are no limits in apache airflow
  that prevent it from using released versions of providers, the
  constraint versions will be used - only if it fails, PROD images
  will fall back to non-constraint installation that will allow to
  use freely pre-release versions of packages from PyPI. This means
  for example that if we cherry-pick a change from main that increases
  minimum version of provider for apache-airflow to one that does not
  even have a pre-release version, building of rc version image for
  airflow will fail (which is a good thing). Lack of --pre flag
  for "release" version of Airlfow also means that if airlfow has
  a min version of provider that has no "released" version yet (only
  rc) - it will also fail (which is also a good thing)

* Update scripts/in_container/run_generate_constraints.py

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

With regards,
GitHub Actions via GitBox


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

Reply via email to