-
Notifications
You must be signed in to change notification settings - Fork 424
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
sys.exit
removals from build.py
#5402
Merged
Merged
Conversation
This file contains 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
conda-bot
added
the
cla-signed
[bot] added once the contributor has signed the CLA
label
Jul 9, 2024
CodSpeed Performance ReportMerging #5402 will not alter performanceComparing Summary
|
beeankha
changed the title
Jul 11, 2024
sys.exit
removals from features.py
, build.py
sys.exit
removals from features.py
, build.py
, and cli/main_build.py
kenodegard
requested changes
Jul 11, 2024
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.
We need to add tests checking for these exceptions being raised
beckermr
previously approved these changes
Jul 11, 2024
beeankha
changed the title
Jul 11, 2024
sys.exit
removals from features.py
, build.py
, and cli/main_build.py
sys.exit
removals from build.py
kenodegard
reviewed
Jul 11, 2024
beeankha
added a commit
to beeankha/conda-build
that referenced
this pull request
Jul 11, 2024
beeankha
added a commit
to beeankha/conda-build
that referenced
this pull request
Jul 11, 2024
kenodegard
approved these changes
Jul 12, 2024
beeankha
added a commit
that referenced
this pull request
Jul 15, 2024
* Remove remaining sys.exit calls from build.py * Remove sys.exit call from features.py * Revert cleanup changes in build.py * Remove sys.exit calls from main_build.py, update tests * Revert changes to in order to keep the PR small in scope * Revert changes to in order to keep the PR small in scope * Add test for build.py, deprecate constant * Delete exception which will never get raised * Remove deprecated code slated for removal in 24.7.x * Revert changes from PR 5402 * Add news file * Remove test_build.py test from #5402 * Remove more changes ported over from #5402 * Delete tests for 'conda build --test recipe/' * Undo removal of '_construct_metadata_for_test_from_recipe()' and related tests, delay removal to 24.9.x release * Update news file
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.
Description
Replacing
sys.exit
call inconda_build/build.py
with the newCondaBuildUserError
exception for better error handling, along with corresponding unit tests. Removed redundant code frompost_process_files()
function, which included asys.exit
call.The changes in this PR are separated out from work previously done by @kenodegard in #5255
Xref #4209
Checklist - did you ...
Add a file to thenews
directory (using the template) for the next release's release notes?Add / update outdated documentation?