Depend on frequenz-api-marketmetering from PyPI - #92
Merged
Conversation
The API dependency was pinned to a git commit because the package was
not published. PyPI rejects distributions with direct URL dependencies,
so the release upload failed with:
400 Can't have direct dependency: frequenz-api-marketmetering @
git+https://github.com/frequenz-floss/frequenz-api-marketmetering.git@3e90def
frequenz-api-marketmetering 0.1.0 is now on PyPI and its protos are
identical to the pinned commit, so switch to a normal version
specifier. The dev-mkdocs and dev-pylint extras pin the exact version,
matching the convention in the other Frequenz client repositories.
Signed-off-by: Mathias L. Baumann <mathias.baumann@frequenz.com>
Marenz
marked this pull request as ready for review
August 5, 2026 09:18
Marenz
requested review from
daniel-zullo-frequenz
and removed request for
a team
August 5, 2026 09:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The v0.1.1 release upload failed because the API dependency was pinned to a git commit:
PyPI rejects distributions with direct URL dependencies, so no release can be published while that pin is in place.
frequenz-api-marketmetering0.1.0 is now on PyPI. There is no proto diff between the pinned commit3e90defand thev0.1.0tag, so this is a drop-in swap. Thedev-mkdocsanddev-pylintextras pin the exact version, matchingfrequenz-client-dispatch-python.Verified that the built wheel metadata no longer contains any direct URL requirement.
pytest_max,mypyandpylintpass against the PyPI package.Note that the
v0.1.0andv0.1.1tags are burned, so the next release has to bev0.1.2.