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

Update tests for PL 0.31 to remove deprecated functions #448

Merged
merged 9 commits into from
May 5, 2023
Merged

Conversation

mlxd
Copy link
Member

@mlxd mlxd commented May 4, 2023

Context: PennyLane v0.30.0-dev has removed support for previously deprecated functions, as defined in https://docs.pennylane.ai/en/stable/development/deprecations.html. This PR updates those functions to the new supported syntax.

Description of the Change: As above. In addition, due to an ongoing issue with RTD builds using unaligned versions of setuptools and pip, we create a subtle change to the RTD builder to fix the package versions until readthedocs/readthedocs.org#10287 becomes usable. In addition, to avoid CI issues, CYBot is now GHBot and will auto-update the package versions in the CI.

Benefits: Fixes currently failing tests.

Possible Drawbacks:

Related GitHub Issues:

@github-actions
Copy link
Contributor

github-actions bot commented May 4, 2023

Hello. You may have forgotten to update the changelog!
Please edit .github/CHANGELOG.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.

@codecov
Copy link

codecov bot commented May 4, 2023

Codecov Report

Merging #448 (d61e94b) into master (7bbe3b4) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #448   +/-   ##
=======================================
  Coverage   99.82%   99.82%           
=======================================
  Files          50       50           
  Lines        4654     4654           
=======================================
  Hits         4646     4646           
  Misses          8        8           
Impacted Files Coverage Δ
pennylane_lightning/_version.py 100.00% <100.00%> (ø)

@mlxd mlxd marked this pull request as ready for review May 5, 2023 15:12
@mlxd mlxd requested a review from a team May 5, 2023 15:12
Copy link
Contributor

@vincentmr vincentmr left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks @mlxd

@AmintorDusko
Copy link
Contributor

Nice work, short and sweet! I'm just waiting for the CIs to conclude successfully and will approve!

@mlxd mlxd merged commit 7651582 into master May 5, 2023
@mlxd mlxd deleted the pl_v031_compat branch May 5, 2023 17:15
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.

4 participants