Skip to content

Commit

Permalink
Fix publishing packaging ERROR (#34)
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.
  • Loading branch information
daniel-zullo-frequenz committed Aug 22, 2024
2 parents 2684287 + a9a0ef8 commit 1217841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ You can install the Frequenz Electricity Trading API client via pip. Replace `VE

```
# Choose the version you want to install
VERSION=0.2.0
VERSION=0.2.2
pip install frequenz-client-electricity-trading==$VERSION
```

Expand Down
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 1217841

Please sign in to comment.