Skip to content

Commit 1217841

Browse files
Fix publishing packaging ERROR (#34)
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.
2 parents 2684287 + a9a0ef8 commit 1217841

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ You can install the Frequenz Electricity Trading API client via pip. Replace `VE
3030

3131
```
3232
# Choose the version you want to install
33-
VERSION=0.2.0
33+
VERSION=0.2.2
3434
pip install frequenz-client-electricity-trading==$VERSION
3535
```
3636

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)