Skip to content

Depend on frequenz-api-marketmetering from PyPI - #92

Merged
Marenz merged 1 commit into
frequenz-floss:v0.x.xfrom
Marenz:chore/api-dep-from-pypi
Aug 5, 2026
Merged

Depend on frequenz-api-marketmetering from PyPI#92
Marenz merged 1 commit into
frequenz-floss:v0.x.xfrom
Marenz:chore/api-dep-from-pypi

Conversation

@Marenz

@Marenz Marenz commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

The v0.1.1 release upload failed because the API dependency was pinned to a git commit:

400 Can't have direct dependency: frequenz-api-marketmetering @ git+https://github.com/frequenz-floss/frequenz-api-marketmetering.git@3e90def

PyPI rejects distributions with direct URL dependencies, so no release can be published while that pin is in place.

frequenz-api-marketmetering 0.1.0 is now on PyPI. There is no proto diff between the pinned commit 3e90def and the v0.1.0 tag, so this is a drop-in swap. The dev-mkdocs and dev-pylint extras pin the exact version, matching frequenz-client-dispatch-python.

Verified that the built wheel metadata no longer contains any direct URL requirement. pytest_max, mypy and pylint pass against the PyPI package.

Note that the v0.1.0 and v0.1.1 tags are burned, so the next release has to be v0.1.2.

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>
@github-actions github-actions Bot added the part:tooling Affects the development tooling (CI, deployment, dependency management, etc.) label Aug 5, 2026
@Marenz
Marenz marked this pull request as ready for review August 5, 2026 09:18
@Marenz
Marenz requested a review from a team as a code owner August 5, 2026 09:18
@Marenz
Marenz requested review from daniel-zullo-frequenz and removed request for a team August 5, 2026 09:18
@Marenz
Marenz merged commit 40c53cb into frequenz-floss:v0.x.x Aug 5, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

part:tooling Affects the development tooling (CI, deployment, dependency management, etc.)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant