fix: add click as explicit dependency#1751
Merged
bhirsz merged 1 commit intoMay 26, 2026
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds click as an explicit runtime dependency in the project configuration.
Changes:
- Add
click>=8.0.0todependenciesinpyproject.toml.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
bhirsz
approved these changes
May 26, 2026
Member
|
And congratz on 1000th PR in Robocop repository :) |
nvuillam
added a commit
to oxsecurity/megalinter
that referenced
this pull request
May 26, 2026
8.2.9 adds click as an explicit dependency, fixing the ModuleNotFoundError introduced when typer 0.26.0 vendored click and dropped it as a transitive dependency (upstream fix: MarketSquare/robotframework-robocop#1751).
nvuillam
added a commit
to oxsecurity/megalinter
that referenced
this pull request
May 26, 2026
* chore(deps): update alpine/terragrunt docker tag to v1.15.4 * ignore false positive * chore: ignore four Go stdlib CVEs not reachable in static-analysis linters CVE-2025-22871 (net/http bare LF), CVE-2025-58189 (TLS ALPN handshake), CVE-2025-61725 (net/mail ParseAddress), CVE-2025-61727 (crypto/x509 subdomain constraint). None reachable in Go CLI linters that read local files and make no inbound TLS, HTTP, or mail-parsing calls. * fix(robocop): bump robotframework-robocop to 8.2.9 8.2.9 adds click as an explicit dependency, fixing the ModuleNotFoundError introduced when typer 0.26.0 vendored click and dropped it as a transitive dependency (upstream fix: MarketSquare/robotframework-robocop#1751). * fix(robocop): read version from package metadata; robocop --version is broken robocop 8.2.9 mixes externally-installed click with typer 0.26's vendored click. The 'click.version_option' decorator on the typer group silently fails to register --version, so 'robocop --version' returns 'No such option'. Use the venv's Python and importlib.metadata to read the installed version until upstream fixes the typer/click integration. * fix(robocop): drop offending word from descriptor comment to satisfy cspell --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: nvuillam <nicolas.vuillamy@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request makes a minor update to the project's dependencies by adding a new requirement to the
pyproject.tomlfile.click>=8.0.0to the list of dependencies inpyproject.tomlto ensure the project has the necessary CLI framework installed.Closes #1750 .