Skip to content

Commit 5e5b14d

Browse files
authored
Bump SDK dependency to 1.0.0rc901 (#317)
We also need to bump the documentation references to the SDK to the new version and the channels too, as the SDK now depends on 1.1.x, and the `typing-extensions` dependency to 4.6.1, as it is the minimum version required by the SDK.
2 parents b0ff4bc + adee29d commit 5e5b14d

File tree

9 files changed

+17
-16
lines changed

9 files changed

+17
-16
lines changed

RELEASE_NOTES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* API projects don't include the `google-common-protos` dependency by default.
2323
* API projects updated the `grpcio` dependency to `1.66.1`.
2424
* API projects updated the `frequenz-api-common` dependency to `0.6`.
25+
* Update the SDK dependency to `1.0.0rc901`.
2526
* Change `edit_uri` default branch to v0.x.x in mkdocs.yml.
2627

2728
## Bug Fixes

cookiecutter/{{cookiecutter.github_repo_name}}/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,8 @@ plugins:
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv
123123
{%- if cookiecutter.type in ("actor", "app", "model") %}
124-
- https://frequenz-floss.github.io/frequenz-channels-python/v0.16/objects.inv
125-
- https://frequenz-floss.github.io/frequenz-sdk-python/v0.25/objects.inv
124+
- https://frequenz-floss.github.io/frequenz-channels-python/v1/objects.inv
125+
- https://frequenz-floss.github.io/frequenz-sdk-python/v1.0-pre/objects.inv
126126
{%- elif cookiecutter.type == "api" %}
127127
- https://frequenz-floss.github.io/frequenz-api-common/v0.6/objects.inv
128128
- https://grpc.github.io/grpc/python/objects.inv

cookiecutter/{{cookiecutter.github_repo_name}}/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,11 @@ requires-python = ">= 3.11, < 4"
4444
# TODO(cookiecutter): Remove and add more dependencies if appropriate
4545
{%- if cookiecutter.type in ("app", "actor", "model") %}
4646
dependencies = [
47-
"typing-extensions == 4.5.0",
47+
"typing-extensions == 4.6.1",
4848
# Make sure to update the version for cross-referencing also in the
4949
# mkdocs.yml file when changing the version here (look for the config key
5050
# plugins.mkdocstrings.handlers.python.import)
51-
"frequenz-sdk == 0.25.0",
51+
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
5252
]
5353
{%- elif cookiecutter.type == "api" %}
5454
dependencies = [

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ plugins:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv
123-
- https://frequenz-floss.github.io/frequenz-channels-python/v0.16/objects.inv
124-
- https://frequenz-floss.github.io/frequenz-sdk-python/v0.25/objects.inv
123+
- https://frequenz-floss.github.io/frequenz-channels-python/v1/objects.inv
124+
- https://frequenz-floss.github.io/frequenz-sdk-python/v1.0-pre/objects.inv
125125
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
126126
# Note this plugin must be loaded after mkdocstrings to be able to use macros
127127
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more

tests_golden/integration/test_cookiecutter_generation/actor/frequenz-actor-test/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ classifiers = [
2828
requires-python = ">= 3.11, < 4"
2929
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3030
dependencies = [
31-
"typing-extensions == 4.5.0",
31+
"typing-extensions == 4.6.1",
3232
# Make sure to update the version for cross-referencing also in the
3333
# mkdocs.yml file when changing the version here (look for the config key
3434
# plugins.mkdocstrings.handlers.python.import)
35-
"frequenz-sdk == 0.25.0",
35+
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
3636
]
3737
dynamic = ["version"]
3838

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ plugins:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv
123-
- https://frequenz-floss.github.io/frequenz-channels-python/v0.16/objects.inv
124-
- https://frequenz-floss.github.io/frequenz-sdk-python/v0.25/objects.inv
123+
- https://frequenz-floss.github.io/frequenz-channels-python/v1/objects.inv
124+
- https://frequenz-floss.github.io/frequenz-sdk-python/v1.0-pre/objects.inv
125125
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
126126
# Note this plugin must be loaded after mkdocstrings to be able to use macros
127127
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more

tests_golden/integration/test_cookiecutter_generation/app/frequenz-app-test/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ classifiers = [
2727
requires-python = ">= 3.11, < 4"
2828
# TODO(cookiecutter): Remove and add more dependencies if appropriate
2929
dependencies = [
30-
"typing-extensions == 4.5.0",
30+
"typing-extensions == 4.6.1",
3131
# Make sure to update the version for cross-referencing also in the
3232
# mkdocs.yml file when changing the version here (look for the config key
3333
# plugins.mkdocstrings.handlers.python.import)
34-
"frequenz-sdk == 0.25.0",
34+
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
3535
]
3636
dynamic = ["version"]
3737

tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/mkdocs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,8 +120,8 @@ plugins:
120120
# TODO(cookiecutter): You might want to add other external references here
121121
# See https://mkdocstrings.github.io/python/usage/#import for details
122122
- https://docs.python.org/3/objects.inv
123-
- https://frequenz-floss.github.io/frequenz-channels-python/v0.16/objects.inv
124-
- https://frequenz-floss.github.io/frequenz-sdk-python/v0.25/objects.inv
123+
- https://frequenz-floss.github.io/frequenz-channels-python/v1/objects.inv
124+
- https://frequenz-floss.github.io/frequenz-sdk-python/v1.0-pre/objects.inv
125125
- https://typing-extensions.readthedocs.io/en/stable/objects.inv
126126
# Note this plugin must be loaded after mkdocstrings to be able to use macros
127127
# inside docstrings. See the comment in `docs/_scripts/macros.py` for more

tests_golden/integration/test_cookiecutter_generation/model/frequenz-model-test/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,11 +28,11 @@ classifiers = [
2828
requires-python = ">= 3.11, < 4"
2929
# TODO(cookiecutter): Remove and add more dependencies if appropriate
3030
dependencies = [
31-
"typing-extensions == 4.5.0",
31+
"typing-extensions == 4.6.1",
3232
# Make sure to update the version for cross-referencing also in the
3333
# mkdocs.yml file when changing the version here (look for the config key
3434
# plugins.mkdocstrings.handlers.python.import)
35-
"frequenz-sdk == 0.25.0",
35+
"frequenz-sdk >= 1.0.0rc901, < 1.0.0rc1000",
3636
]
3737
dynamic = ["version"]
3838

0 commit comments

Comments
 (0)