Skip to content

Commit b3ac0eb

Browse files
Fix publishing packaging ERROR
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 <[email protected]>
1 parent 2684287 commit b3ac0eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ dependencies = [
3232
"grpcio >= 1.60.0, < 2",
3333
"frequenz-channels >= 1.0.0, < 2",
3434
"frequenz-client-base[grpcio] >= 0.5.0, < 0.6.0",
35-
"frequenz-api-electricity-trading @ git+https://github.com/frequenz-floss/frequenz-api-electricity-trading@8d89155",
35+
"frequenz-api-electricity-trading >= 0.2.2, < 1",
3636
]
3737
dynamic = ["version"]
3838

0 commit comments

Comments
 (0)