Skip to content

Commit

Permalink
Upgrade to newest base client (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
shsms authored Feb 20, 2025
2 parents 940f7b8 + e41a0bc commit b75756f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 20 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ jobs:
run: python -m build

- name: Upload distribution files
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist-packages
path: dist/
Expand All @@ -155,7 +155,7 @@ jobs:
- name: Fetch sources
uses: actions/checkout@v4
- name: Download package
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist-packages
path: dist
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
mike set-default $MIKE_VERSION
- name: Upload site
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs-site
path: site/
Expand Down Expand Up @@ -295,7 +295,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Download distribution files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist-packages
path: dist
Expand Down Expand Up @@ -341,7 +341,7 @@ jobs:
id-token: write
steps:
- name: Download distribution files
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: dist-packages
path: dist
Expand Down
19 changes: 6 additions & 13 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,17 @@

## Summary

<!-- Here goes a general summary of what this release is about -->
This release introduces the `trading-cli` and updates the base-client.

## Upgrading

- The minimum required version of `frequenz-client-base` is now `v0.8.0`.
- The minimum required version of `frequenz-client-base` is now `v0.9.0`.

- The `Client` now expects gRPC URLs to be [this format](https://frequenz-floss.github.io/frequenz-client-base-python/latest/reference/frequenz/client/base/channel/#frequenz.client.base.channel.parse_grpc_uri) required by the `BaseApiClient`.
- The minimum required version of `frequenz-channels` is now `v1.6.1`.

## New Features

* Add a new tool to request historical weather data from the command line.
After installing the package, the `weather-cli` command can be used to
request historical weather data for user-defined parameters.
* Add a new tool to request historical weather data from the command
line. After installing the package, the `trading-cli` command can be
used to request historical weather data for user-defined parameters.
Replaces the historical forecast example.


<!-- Here goes the main new features and examples or instructions on how to use them -->

## Bug Fixes

<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ requires-python = ">= 3.11, < 4"
dependencies = [
"frequenz-api-common >= 0.6.0, < 0.7.0",
"googleapis-common-protos >= 1.56.4, < 2",
"frequenz-channels >= 1.0.0, < 2",
"frequenz-client-base >= 0.8.0, < 0.9",
"frequenz-channels >= 1.6.1, < 2",
"frequenz-client-base >= 0.9.0, < 0.10",
"numpy >= 1.24.2, < 2",
# We can't widen beyond 6 because of protobuf cross-version runtime guarantees
# https://protobuf.dev/support/cross-version-runtime-guarantee/#major
Expand Down

0 comments on commit b75756f

Please sign in to comment.