-
Notifications
You must be signed in to change notification settings - Fork 615
refactor(python): create python package #5482
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
9e2d869 to
90c94a5
Compare
d26e8d5 to
cba72f6
Compare
4dc7bc3 to
391eaf9
Compare
391eaf9 to
dbd0cdc
Compare
cmd/pythonBuild.go
Outdated
|
|
||
| err := createVirtualEnvironment(utils, config, virutalEnvironmentPathMap) | ||
| if err != nil { | ||
| if err := python.CreateVirtualEnvironment(utils.RunExecutable, config.VirutalEnvironmentName); err != nil { |
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.
Can we fix the typo in VirutalEnvironmentName? With the current parameter name as alias to make it a non-breaking change...
cmd/pythonBuild.go
Outdated
| } | ||
|
|
||
| return nil | ||
| return python.RemoveVirtualEnvironment(utils.RemoveAll, config.VirutalEnvironmentName) |
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.
Could also be done with defer, in case for example publishing fails.
3b2d1be to
b759b6e
Compare
|
/it-go |
|
|
/it-go |
* origin: feat: add error pattern messages for build and scan steps (SAP#5457) refactor(python): create python package (SAP#5482) fix(python): correct parameter typo (SAP#5485) fix(CxOne): Fix incremental scan count and full scan cycle handling (SAP#5481) CxOne: Update compliance check for audited findings (SAP#5480) Disable TransportSkipVerification in sonarExecuteScan (SAP#5430) fix: Remove `--hide-secret` non-existent flag from helm uninstall (SAP#5478) feat(codeql): ignore paths and scan paths (SAP#5477) chore(renovate): add rule to update python Docker image (SAP#5474) Feat(CxOne): incremental scans based on another branch (SAP#5476)
* origin: feat: add error pattern messages for build and scan steps (SAP#5457) refactor(python): create python package (SAP#5482) fix(python): correct parameter typo (SAP#5485) fix(CxOne): Fix incremental scan count and full scan cycle handling (SAP#5481) CxOne: Update compliance check for audited findings (SAP#5480) Disable TransportSkipVerification in sonarExecuteScan (SAP#5430) fix: Remove `--hide-secret` non-existent flag from helm uninstall (SAP#5478) feat(codeql): ignore paths and scan paths (SAP#5477) chore(renovate): add rule to update python Docker image (SAP#5474) Feat(CxOne): incremental scans based on another branch (SAP#5476)
* origin: feat: add error pattern messages for build and scan steps (SAP#5457) refactor(python): create python package (SAP#5482) fix(python): correct parameter typo (SAP#5485) fix(CxOne): Fix incremental scan count and full scan cycle handling (SAP#5481) CxOne: Update compliance check for audited findings (SAP#5480) Disable TransportSkipVerification in sonarExecuteScan (SAP#5430) fix: Remove `--hide-secret` non-existent flag from helm uninstall (SAP#5478) feat(codeql): ignore paths and scan paths (SAP#5477) chore(renovate): add rule to update python Docker image (SAP#5474) Feat(CxOne): incremental scans based on another branch (SAP#5476)



Description
This extracts parts of the python step to an own
pythonpackage and adding dedicated tests.additional changes:
--root-user-action=ignorepythonfrom virtualEnv and install therefore missingwheelpackageChecklist
preliminary to #5463