-
Notifications
You must be signed in to change notification settings - Fork 1
Set checkov to latest version #75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
WalkthroughThe pull request updates the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. ✨ Finishing Touches🧪 Generate unit tests
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| "Jinja2", | ||
| "PyYAML", | ||
| "checkov", | ||
| "checkov>=3.2.457", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🛠️ Refactor suggestion
Constrain Checkov to the current major series for stability
Using only a lower bound (checkov>=3.2.457) allows any future 4.x (or higher) release—which may introduce breaking changes or drop Python 3.11 support—to slip in unnoticed. Add an upper bound (or use the ~= operator) to keep installs within the 3.x line and preserve reproducibility.
- "checkov>=3.2.457",
+ # Stay within the 3.x series to avoid unexpected breaking changes
+ "checkov>=3.2.457,<4",📝 Committable suggestion
‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.
| "checkov>=3.2.457", | |
| # Stay within the 3.x series to avoid unexpected breaking changes | |
| "checkov>=3.2.457,<4", |
🤖 Prompt for AI Agents
In pyproject.toml at line 20, the version constraint for Checkov currently only
specifies a minimum version, allowing any future major version to be installed,
which risks compatibility issues. Modify the version specifier to constrain
Checkov to the current major version series by adding an upper bound or using
the `~=` operator, for example, change `checkov>=3.2.457` to `checkov~=3.2.457`
to ensure only versions within the 3.x series are installed.
Summary by CodeRabbit