Skip to content

Commit

Permalink
Add missing -e flag when preparing PyPI constraints (apache#47445)
Browse files Browse the repository at this point in the history
When preparing `PyPI` constraints we are using `all-core` extra
to install all core dependencies of Airflow + all providers that
are downloaded from `PyPI`. However `all-core` extra is only available
in editable installation, not in standard one, so we need to use
editable installation to make use of the extra.
  • Loading branch information
potiuk authored Mar 6, 2025
1 parent da42a6d commit e81b19e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/in_container/run_generate_constraints.py
Original file line number Diff line number Diff line change
Expand Up @@ -423,6 +423,7 @@ def generate_constraints_pypi_providers(config_params: ConfigParams) -> None:
run_command(
cmd=[
*config_params.get_install_command,
"-e",
".[all-core]",
"--reinstall", # We need to pull the provider packages from PyPI - not use the local ones
*packages_to_install,
Expand Down

0 comments on commit e81b19e

Please sign in to comment.