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

raise PL deprecations as errors #57

Merged
merged 3 commits into from
Nov 10, 2023
Merged

Conversation

timmysilv
Copy link
Contributor

as title says. pytest --help shows that it processes -W options before processing any filterwarnings config options, so this should do it.

@timmysilv
Copy link
Contributor Author

many plugins use deprecated code. failures:

Copy link
Contributor

@albi3ro albi3ro left a comment

Choose a reason for hiding this comment

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

I'm good to merge this in immediately so that all the failures due to deprecations show up in the test matrix.

@timmysilv timmysilv merged commit f5ef56f into master Nov 10, 2023
0 of 4 checks passed
@trbromley trbromley deleted the pl-deprecation-as-error branch November 13, 2023 14:52
@trbromley
Copy link
Contributor

trbromley commented Nov 13, 2023

Is this what is causing stable/stable to fail for the plugins? E.g. for braket to fail?

@timmysilv
Copy link
Contributor Author

yes. oh boy. i'll fix it

@timmysilv
Copy link
Contributor Author

#58

timmysilv added a commit to PennyLaneAI/pennylane that referenced this pull request Nov 13, 2023
**Context:**
This warning was added eons ago (#2634), but it pre-dates our
deprecation management page so it slipped through the cracks.

**Description of the Change:**
Remove the support for passing `control_values` as a string to
`qml.ctrl`

**Benefits:**
Deprecation cycle is now complete!

**Possible Drawbacks:**
It wasn't on our deprecations page and was therefore never formally
scheduled for removal. But you know.. it's been almost 10 releases.

NOTE: I want to see PennyLaneAI/plugin-test-matrix#57 merged and get a
look at the matrix before we merge this into master. Too many things
breaking at once 😓
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants