This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 9c1766dc39d [v3-0-test] Limit click back to 8.2.0 because it has an
ENVVAR bug for flags (PR #52404) (#52409)
9c1766dc39d is described below
commit 9c1766dc39db3d37330f4b427deb47b98508e0b9
Author: Jarek Potiuk <[email protected]>
AuthorDate: Sat Jun 28 16:04:54 2025 +0200
[v3-0-test] Limit click back to 8.2.0 because it has an ENVVAR bug for
flags (PR #52404) (#52409)
* Limit click back to 8.2.0 because it has an ENVVAR bug for flags (#52404)
There is a bug in Click 8.2.0 and 8.2.1 that makes flag variables do not
properly evaluate "false"-y values set in environment variables. See
the issue https://github.com/pallets/click/issues/2952
(cherry picked from commit 9140bd659a2f08433d235e7621281f1ba6a68002)
* [v3-0-test] Limit click back to 8.2.0 because it has an ENVVAR bug for
flags (#52404)
There is a bug in Click 8.2.0 and 8.2.1 that makes flag variables do not
properly evaluate "false"-y values set in environment variables. See
the issue https://github.com/pallets/click/issues/2952
(cherry picked from commit 9140bd659a2f08433d235e7621281f1ba6a68002)
Co-authored-by: Jarek Potiuk <[email protected]>
---
dev/breeze/README.md | 2 +-
dev/breeze/pyproject.toml | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/dev/breeze/README.md b/dev/breeze/README.md
index 6c6eba5e999..a754f22f20d 100644
--- a/dev/breeze/README.md
+++ b/dev/breeze/README.md
@@ -135,6 +135,6 @@ PLEASE DO NOT MODIFY THE HASH BELOW! IT IS AUTOMATICALLY
UPDATED BY PRE-COMMIT.
---------------------------------------------------------------------------------------------------------
-Package config hash:
19b7a69c4b7ef23d1c665286fd7ca1a1d8c28fa9ba8523da6c3e215d8cd7c4bc0406186898a90c92d8e9f527bc8fa8d5c6407f914d7674e59e4981bb3c795e8c
+Package config hash:
63f150c89cf47e8a20a044eb3b80cbd900900c11b2c40c2d0c3e70c92b7ca6c003cbde7974901b677410844b209b3eb1c09008b76ea6b8359f606c5a64164d1f
---------------------------------------------------------------------------------------------------------
diff --git a/dev/breeze/pyproject.toml b/dev/breeze/pyproject.toml
index eb0b1b49574..4e88e19315f 100644
--- a/dev/breeze/pyproject.toml
+++ b/dev/breeze/pyproject.toml
@@ -45,9 +45,9 @@ requires-python = "~=3.9"
dependencies = [
"black>=23.11.0",
- # TODO: Click 8.2.0 is Python 3.10+ only by mistake (should be ~3.8) so we
should limit it
- # until this is fixed https://github.com/pallets/click/issues/2896
- "click>=8.1.8, <8.2.0",
+ # There is a bug in Click 8.2.0 and 8.2.1 that makes flag variables do not
properly evaluate
+ # "false"-y values set in environment variables. See
https://github.com/pallets/click/issues/2952
+ "click>=8.1.8,<8.2.0",
"filelock>=3.13.0",
"flit>=3.12.0",
"flit-core>=3.12.0",