Skip to content

Commit

Permalink
Fix publishing packaging ERROR
Browse files Browse the repository at this point in the history
The CI pipeline previously failed to publish the package
to PyPI because of a direct dependency on a git repository.

HTTPError: 400 Bad Request from https://upload.pypi.org/legacy/
Can't have direct dependency: frequenz-api-electricity-trading@
git+https://github.com/frequenz-floss/frequenz-api-electricity-trading@
8d89155. See https://packaging.python.org/specifications/core-metadata
for more information.

Signed-off-by: Daniel Zullo <daniel.zullo@frequenz.com>
  • Loading branch information
daniel-zullo-frequenz committed Aug 22, 2024
1 parent 2684287 commit b3ac0eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ dependencies = [
"grpcio >= 1.60.0, < 2",
"frequenz-channels >= 1.0.0, < 2",
"frequenz-client-base[grpcio] >= 0.5.0, < 0.6.0",
"frequenz-api-electricity-trading @ git+https://github.com/frequenz-floss/frequenz-api-electricity-trading@8d89155",
"frequenz-api-electricity-trading >= 0.2.2, < 1",
]
dynamic = ["version"]

Expand Down

0 comments on commit b3ac0eb

Please sign in to comment.