Closed PietropaoloFrisoni closed 1 month ago
@PietropaoloFrisoni is there a Shortcut story for this?
@trbromley Just added the link to Shortcut
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 99.65%. Comparing base (
6715095
) to head (c879f34
). Report is 1 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@PietropaoloFrisoni is it clear who the reviewers are for this PR?
@PietropaoloFrisoni is it clear who the reviewers are for this PR?
No, this PR does not have reviewers assigned yet (but it's a low-priority PR)
Context: After #5769 and #5754, we can potentially replace all the occurrences of the
semantic_version
package withpackaging
in the PennyLane source code, and removesemantic_version
from the required Python packages. A similar attempt was performed in #5782, but it was reverted due to some errors in the plugin-matrix tests.Description of the Change: We replace the remaining occurrences of
semantic_version
withpackaging
and removesemantic_version
from the required packages in PennyLane. With respect to #5782, now the plugins can be correctly instantiated as:etc.
Specifically, the reason was the usage of
packaging
to replacesemantic_version
in thepennylane/__init__.py
file. There was an incompatibility between the workflow of the two packages. Right now, the replacement has been performed to maintain the workflow. For example,Benefits: One package less to keep track of in the dependencies.
Possible Drawbacks: Errors in the plugin-text matrix. If they happen, we'll react as quickly as possible.
Related GitHub Issues: None.
Related Shortcut Stories [sc-64659]