Skip to content

It should be necessary to specify --build-arg AIRFLOW_CONSTRAINTS_REFERENCE="constraints-${AIRFLOW_VERSION}" \ #14848

Description

@ecerulm

Description

By default AIRFLOW_CONSTRAINTS_REFERENCE is constraints-master and that will make the docker build fail if you are building for --build-arg AIRFLOW_VERSION="${AIRFLOW_VERSION}"

I suggest that that AIRFLOW_CONSTRAINT_REFERENCE default value is computed by default as constraints-${AIRFLOW_VERSION} instead of constraints-master.

Use case / motivation

I want avoid having to provide all three

  • AIRFLOW_VERSION
  • AIRFLOW_INSTALL_VERSION
  • AIRFLOW_CONSTRAINTS_REFERENCE

I think AIRFLOW_INSTALL_VERSION and AIRFLOW_CONSTRAINTS_REFERENCE can be computed from AIRFLOW_VERSION

Are you willing to submit a PR?

No

Related Issues

#14845

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions