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

fix: override _run_inner instead of run to catch exceptions #5035

Merged
merged 3 commits into from
Sep 18, 2024

Conversation

sergiusens
Copy link
Collaborator

  • Have you followed the guidelines for contributing?
  • Have you signed the CLA?
  • Have you successfully run tox run -m lint?
  • Have you successfully run tox run -e test-py310? (supported versions: py39, py310, py311, py312)

Fixes #4930

@sergiusens sergiusens force-pushed the CRAFT-3139/run_inner branch 2 times, most recently from 7891cae to 43a835f Compare September 13, 2024 16:25
@mr-cal
Copy link
Collaborator

mr-cal commented Sep 13, 2024

core24 spread failures should disappear when you retarget hotfix/8.4.

- Setup the emitter fixture where required
- Make more use of pytest.mark.usefixtures for unused fixtures
- Remove some of the unused fixtures

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
Remove the heading from the original error to not give the impression
it is a craft application error to the user, but instead an error
generated store side.

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
@sergiusens sergiusens changed the base branch from main to hotfix/8.4 September 18, 2024 12:34
@sergiusens sergiusens marked this pull request as ready for review September 18, 2024 12:34
Copy link
Contributor

@lengau lengau left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just released craft-application now

requirements-devel.txt Outdated Show resolved Hide resolved
requirements-docs.txt Outdated Show resolved Hide resolved
requirements.txt Outdated Show resolved Hide resolved
@sergiusens sergiusens requested review from mr-cal and removed request for tigarmo September 18, 2024 19:35
@sergiusens sergiusens merged commit e25a78b into hotfix/8.4 Sep 18, 2024
8 of 10 checks passed
@sergiusens sergiusens deleted the CRAFT-3139/run_inner branch September 18, 2024 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bug: "snapcraft register foo" prints unfriendly error
3 participants