Skip to content
This repository was archived by the owner on Oct 27, 2023. It is now read-only.

Initial commit fixing RTD, among other things. #66

Merged
merged 5 commits into from
May 8, 2023
Merged

Conversation

vincentmr
Copy link
Contributor

@vincentmr vincentmr 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: Fixes currently failing tests.

Possible Drawbacks:

Related GitHub Issues:
PennyLaneAI/pennylane-lightning#448

@vincentmr vincentmr marked this pull request as ready for review May 5, 2023 21:20
Copy link
Member

@multiphaseCFD multiphaseCFD left a comment

Choose a reason for hiding this comment

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

Thanks @vincentmr for putting this together! Looks good to me.

@vincentmr vincentmr merged commit 41365b1 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