Skip to content

remove errors/warnings from top-level #7207

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

Draft
wants to merge 2 commits into
base: add-errors-mod
Choose a base branch
from

Conversation

andrijapau
Copy link
Contributor

@andrijapau andrijapau commented Apr 4, 2025

Context:

#7205 adds the new exceptions module but doesn't use it internally in the source code because Catalyst and Lightning use the top-level imports and affect the CI.

Description of the Change:

Update to use that new module rather than top level imports.

Benefits: Should not depend on top-level imports.

Possible Drawbacks: None

[sc-88956]

Copy link
Contributor

github-actions bot commented Apr 4, 2025

Hello. You may have forgotten to update the changelog!
Please edit doc/releases/changelog-dev.md with:

  • A one-to-two sentence description of the change. You may include a small working example for new features.
  • A link back to this PR.
  • Your name (or GitHub username) in the contributors section.

@andrijapau andrijapau marked this pull request as draft April 4, 2025 16:29
@andrijapau andrijapau changed the title remove errors and warnings from top level import remove PennyLane errors/warnings from top-level Apr 11, 2025
@andrijapau andrijapau changed the title remove PennyLane errors/warnings from top-level remove errors/warnings from top-level Apr 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
WIP 🚧 Work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant