Skip to content
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

Replace sys.exit with CondaBuildUserError exceptions #5255

Draft
wants to merge 42 commits into
base: 24.5.x
Choose a base branch
from

Conversation

kenodegard
Copy link
Contributor

@kenodegard kenodegard commented Mar 25, 2024

Description

Resolves #4209
Resolves #5242

Checklist - did you ...

  • Add a file to the news directory (using the template) for the next release's release notes?
  • Add / update necessary tests?
  • Add / update outdated documentation?

@conda-bot conda-bot added the cla-signed [bot] added once the contributor has signed the CLA label Mar 25, 2024
Copy link

codspeed-hq bot commented Mar 25, 2024

CodSpeed Performance Report

Merging #5255 will not alter performance

Comparing kenodegard:remove-sys.exit (1943a58) with 24.5.x (fa90c11)

Summary

✅ 3 untouched benchmarks

dependabot bot and others added 14 commits May 6, 2024 21:08
…conda#5329)

* Bump codecov/codecov-action from 4.3.0 to 4.3.1 in /.github/workflows

Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 4.3.0 to 4.3.1.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md)
- [Commits](codecov/codecov-action@8450866...5ecb98a)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ken Odegard <kodegard@anaconda.com>
…a#5328)

* Bump actions/checkout from 4.1.4 to 4.1.5 in /.github/workflows

Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](actions/checkout@0ad4b8f...44c2b7a)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ken Odegard <kodegard@anaconda.com>
Co-authored-by: Conda Bot <conda-bot@users.noreply.github.com>
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.4.2 → v0.4.3](astral-sh/ruff-pre-commit@v0.4.2...v0.4.3)

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Conda Bot <conda-bot@users.noreply.github.com>
…#5337)

* Bump conda/actions from 24.4.0 to 24.5.0 in /.github/workflows

Bumps [conda/actions](https://github.com/conda/actions) from 24.4.0 to 24.5.0.
- [Release notes](https://github.com/conda/actions/releases)
- [Commits](conda/actions@v24.4.0...976289d)

---
updated-dependencies:
- dependency-name: conda/actions
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* Apply suggestions from code review

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ken Odegard <kodegard@anaconda.com>
Check for any new files within `m.config.meta_dir` is unnecessary since they're already filtered out by `conda_build.utils.filter_files`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla-signed [bot] added once the contributor has signed the CLA
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace using sys.exit with higher level error/logic handling, e.g. custom exception Remove sys.exit calls
4 participants