Skip to content
This repository was archived by the owner on Feb 5, 2024. It is now read-only.

Update tests for PL 0.31 to remove deprecated functions #114

Merged
merged 11 commits into from
May 8, 2023

Conversation

multiphaseCFD
Copy link
Member

@multiphaseCFD multiphaseCFD commented May 5, 2023

Before submitting

Please complete the following checklist when submitting a PR:

  • All new features must include a unit test.
    If you've fixed a bug or added code that should be tested, add a test to the
    tests directory!

  • All new functions and code must be clearly commented and documented.
    If you do make documentation changes, make sure that the docs build and
    render correctly by running make docs.

  • Ensure that the test suite passes, by running make test.

  • Add a new entry to the .github/CHANGELOG.md file, summarizing the
    change, and including a link back to the PR.

  • Ensure that code is properly formatted by running make format.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.


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:

Possible Drawbacks:

Related GitHub Issues:

@multiphaseCFD multiphaseCFD changed the title [WIP]Pl v031 compat Update tests for PL 0.31 to remove deprecated functions May 5, 2023
@multiphaseCFD multiphaseCFD marked this pull request as ready for review May 5, 2023 21:48
@multiphaseCFD multiphaseCFD requested review from mlxd and AmintorDusko May 5, 2023 21:49
@multiphaseCFD multiphaseCFD self-assigned this May 5, 2023
@multiphaseCFD multiphaseCFD requested a review from vincentmr May 5, 2023 21:49
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 @multiphaseCFD

@multiphaseCFD multiphaseCFD merged commit ccc58a6 into main May 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants