Skip to content

Commit

Permalink
Remove fixing cncf.kubernetes provider when generating constraints (#…
Browse files Browse the repository at this point in the history
…23994)

When we yanked cncf.kubernetes provider, we pinned 3.1.2
temporarily for provider generation. This removes the pinning as
we are already at 4.0.2 version

(cherry picked from commit 9a9c400)
  • Loading branch information
potiuk authored and ephraimbuddy committed May 29, 2022
1 parent 4c8c6b7 commit 7fe7f6a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scripts/in_container/_in_container_utils.sh
Original file line number Diff line number Diff line change
Expand Up @@ -326,10 +326,8 @@ function install_all_providers_from_pypi_with_eager_upgrade() {
# Installing it with Airflow makes sure that the version of package that matches current
# Airflow requirements will be used.
# shellcheck disable=SC2086
# NOTE! Until we unyank the cncf.kubernetes provider, we explicitly install yanked 3.1.2 version
# TODO:(potiuk) REMOVE IT WHEN provider is released
pip install -e ".[${NO_PROVIDERS_EXTRAS}]" "${packages_to_install[@]}" ${EAGER_UPGRADE_ADDITIONAL_REQUIREMENTS} \
--upgrade --upgrade-strategy eager apache-airflow-providers-cncf-kubernetes==3.1.2
--upgrade --upgrade-strategy eager

}

Expand Down

0 comments on commit 7fe7f6a

Please sign in to comment.