-
Notifications
You must be signed in to change notification settings - Fork 80
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
Frogbot v2.24.1 changes behaviour for repositories with multiple Python packages #817
Comments
Hi @williamvigolo-bmll, thank you for reporting this issue. |
Thanks @attiasas, this looks like the culprit. We'll try out your workaround until we get around to sorting out the subpackages so they can build for Frogbot's purposes |
@attiasas can you advise how to handle this elegantly in our GitHub Org? Since the workflow in each repo uses |
@thomasheslinbmll, |
Thanks @attiasas. Wouldn't this require pushing that env change to Also, as @williamvigolo-bmll pointed out, we updated both the action ref ( |
Describe the bug
Hi, after the release of v2.24.1, we're seeing a breaking change in behaviour when a single repository contains multiple nested packages.
The repositories affected have one top-level package, and multiple nested packages. Something like this:
Current behavior
Previously Frogbot seems to only find and scan the top-level project (logs cut down for brevity):
But with 2.24.1, Frogbot now discovers the subprojects automatically and tries to scan them:
This is a breaking change, because Frogbot's behaviour has changed without a major version increase. In our case, the scanner failed to build the submodules because they require more than the standard
pip build
to build successfully.We get an error like this:
Followed by the usual pip build failure output.
Workaround: pin to 2.24.0 with:
Reproduction steps
Create a nested Python project repository as described above. Run Frogbot v2.24.1, then v2.24.0 on the same repository. Notice that the former discovers the subpackages, while the latter only discovers the top-level package.
Expected behavior
v2.24.1 should not include this breaking change in behaviour compared to v2.24.0.
This new behaviour should be put behind a config option until v3.
JFrog Frogbot version
2.24.1
Package manager info
pip 24.0, with setup.py
Git provider
GitHub
JFrog Frogbot configuration yaml file
jfrog.yaml
Operating system type and version
Ubuntu 22.04.5 LTS
JFrog Xray version
?
The text was updated successfully, but these errors were encountered: