Conversation
click 7.1.2 is affected by CVE-2026-7246 (command injection in click.edit(), fixed in 8.3.3). click >= 8.2 requires Python >= 3.10, while doctest/bootstrap.sh resolves to Python 3.9 in the Linux CI container, so the patched release cannot be required unconditionally. Use environment markers, mirroring sql-cli's 1.0-legacy setup.py. click is a test-only doctest dependency and the vulnerable click.edit() API is not used; test_docs.py only calls click.echo(). Signed-off-by: Chen Dai <daichen@amazon.com>
PR Code Analyzer ❗AI-powered 'Code-Diff-Analyzer' found issues on commit 7cc75c1.
The table above displays the top 10 most important findings. Pull Requests Author(s): Please update your Pull Request according to the report above. Repository Maintainer(s): You can Thanks. |
Codecov Report✅ All modified and coverable lines are covered by tests. ❌ Your project check has failed because the head coverage (63.26%) is below the target coverage (99.00%). You can increase the head coverage or adjust the target coverage. Additional details and impacted files@@ Coverage Diff @@
## main #5792 +/- ##
============================================
+ Coverage 63.24% 63.26% +0.01%
- Complexity 8820 8823 +3
============================================
Files 938 938
Lines 40211 40217 +6
Branches 4530 4532 +2
============================================
+ Hits 25432 25442 +10
+ Misses 13957 13951 -6
- Partials 822 824 +2
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Description
Bumps
clickfrom7.1.2to>=8.3.3indoctest/requirements.txtto address CVE-2026-7246 (command injection inclick.edit(), fixed in click 8.3.3). Test-only doctest dependency; not part of the shipped runtime.Related Issues
#5445
Check List
--signoffor-s.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.