This is an automated email from the ASF dual-hosted git repository.
taragolis pushed a commit to branch pendulum-prerelease
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/pendulum-prerelease by this
push:
new 340978b8e1 Lax pip check dependencies when install pre-release version
of pendulum
340978b8e1 is described below
commit 340978b8e10eb953c567ebcad75b7e33b58c49d7
Author: Andrey Anshin <[email protected]>
AuthorDate: Wed Nov 22 21:13:01 2023 +0400
Lax pip check dependencies when install pre-release version of pendulum
---
Dockerfile.ci | 3 ++-
scripts/docker/entrypoint_ci.sh | 3 ++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/Dockerfile.ci b/Dockerfile.ci
index 333277d4ea..565e75fae7 100644
--- a/Dockerfile.ci
+++ b/Dockerfile.ci
@@ -1059,7 +1059,8 @@ if [[ -n ${USE_PENDULUM_PRERELEASE:=} ]]; then
echo "${COLOR_BLUE}Replace pendulum by pre-release version:
${USE_PENDULUM_PRERELEASE}${COLOR_RESET}"
echo
pip install --root-user-action ignore
"pendulum==${USE_PENDULUM_PRERELEASE}"
- pip check
+ # We have an upper bound limitation <3, and better keep this limitation it
until pendulum 3.0 officially released.
+ pip check || true
fi
pip uninstall --root-user-action ignore "pytest-capture-warnings" -y
>/dev/null 2>&1 || true
diff --git a/scripts/docker/entrypoint_ci.sh b/scripts/docker/entrypoint_ci.sh
index 43bfd05475..a98045c287 100755
--- a/scripts/docker/entrypoint_ci.sh
+++ b/scripts/docker/entrypoint_ci.sh
@@ -359,7 +359,8 @@ if [[ -n ${USE_PENDULUM_PRERELEASE:=} ]]; then
echo "${COLOR_BLUE}Replace pendulum by pre-release version:
${USE_PENDULUM_PRERELEASE}${COLOR_RESET}"
echo
pip install --root-user-action ignore
"pendulum==${USE_PENDULUM_PRERELEASE}"
- pip check
+ # We have an upper bound limitation <3, and better keep this limitation it
until pendulum 3.0 officially released.
+ pip check || true
fi
# Just in case uninstall the pytest-capture-warning which we vendored-in