frequenz-client-base 0.2.0__tar.gz → 0.2.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (19) hide show
  1. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/PKG-INFO +1 -1
  2. frequenz-client-base-0.2.1/RELEASE_NOTES.md +6 -0
  3. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/pyproject.toml +17 -15
  4. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz_client_base.egg-info/PKG-INFO +1 -1
  5. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz_client_base.egg-info/requires.txt +13 -13
  6. frequenz-client-base-0.2.0/RELEASE_NOTES.md +0 -28
  7. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/LICENSE +0 -0
  8. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/MANIFEST.in +0 -0
  9. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/README.md +0 -0
  10. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/setup.cfg +0 -0
  11. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/__init__.py +0 -0
  12. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/conftest.py +0 -0
  13. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/conversion.py +0 -0
  14. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/py.typed +0 -0
  15. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/retry.py +0 -0
  16. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz/client/base/streaming.py +0 -0
  17. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz_client_base.egg-info/SOURCES.txt +0 -0
  18. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz_client_base.egg-info/dependency_links.txt +0 -0
  19. {frequenz-client-base-0.2.0 → frequenz-client-base-0.2.1}/src/frequenz_client_base.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: frequenz-client-base
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Utilities for writing Frequenz API clients
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License: MIT
@@ -0,0 +1,6 @@
1
+ # Frequenz Client Base Library Release Notes
2
+
3
+ ## Summary
4
+
5
+ * The generated docs now show the type of symbol in the table of contents and have cross-linking to the protobuf and channels documentation.
6
+ * The minimum supported version of `protobuf` was downgraded to 4.21.6, so downstream projects having this older version as minimum requirements can still use this release.
@@ -5,7 +5,7 @@
5
5
  requires = [
6
6
  "setuptools == 68.1.0",
7
7
  "setuptools_scm[toml] == 7.1.0",
8
- "frequenz-repo-config[lib] == 0.8.0",
8
+ "frequenz-repo-config[lib] == 0.9.1",
9
9
  ]
10
10
  build-backend = "setuptools.build_meta"
11
11
 
@@ -30,7 +30,7 @@ requires-python = ">= 3.11, < 4"
30
30
  dependencies = [
31
31
  "frequenz-channels >= v1.0.0-beta.2, < 2",
32
32
  "grpcio >= 1.54.2, < 2",
33
- "protobuf >= 4.25.3, < 5",
33
+ "protobuf >= 4.21.6, < 5",
34
34
  "typing-extensions >= 4.5.0, < 5",
35
35
  ]
36
36
  dynamic = ["version"]
@@ -45,20 +45,20 @@ dev-flake8 = [
45
45
  "flake8 == 7.0.0",
46
46
  "flake8-docstrings == 1.7.0",
47
47
  "flake8-pyproject == 1.2.3", # For reading the flake8 config from pyproject.toml
48
- "pydoclint == 0.3.9",
48
+ "pydoclint == 0.4.1",
49
49
  "pydocstyle == 6.3.0",
50
50
  ]
51
- dev-formatting = ["black == 24.1.1", "isort == 5.13.2"]
51
+ dev-formatting = ["black == 24.2.0", "isort == 5.13.2"]
52
52
  dev-mkdocs = [
53
- "black == 24.1.1",
53
+ "black == 24.2.0",
54
54
  "Markdown==3.5.2",
55
55
  "mike == 2.0.0",
56
56
  "mkdocs-gen-files == 0.5.0",
57
57
  "mkdocs-literate-nav == 0.6.1",
58
58
  "mkdocs-macros-plugin == 1.0.5",
59
- "mkdocs-material == 9.5.6",
60
- "mkdocstrings[python] == 0.24.0",
61
- "frequenz-repo-config[lib] == 0.8.0",
59
+ "mkdocs-material == 9.5.12",
60
+ "mkdocstrings[python] == 0.24.1",
61
+ "frequenz-repo-config[lib] == 0.9.1",
62
62
  ]
63
63
  dev-mypy = [
64
64
  "mypy == 1.8.0",
@@ -68,19 +68,19 @@ dev-mypy = [
68
68
  # For checking the noxfile, docs/ script, and tests
69
69
  "frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]",
70
70
  ]
71
- dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.8.0"]
71
+ dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.9.1"]
72
72
  dev-pylint = [
73
- "pylint == 3.0.3",
73
+ "pylint == 3.1.0",
74
74
  # For checking the noxfile, docs/ script, and tests
75
75
  "frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]",
76
76
  ]
77
77
  dev-pytest = [
78
- "pytest == 7.4.4",
79
- "frequenz-repo-config[extra-lint-examples] == 0.8.0",
78
+ "pytest == 8.0.2",
79
+ "frequenz-repo-config[extra-lint-examples] == 0.9.1",
80
80
  "pytest-mock == 3.12.0",
81
- "pytest-asyncio == 0.23.4",
81
+ "pytest-asyncio == 0.23.5",
82
82
  "async-solipsism == 0.5",
83
- "hypothesis == 6.98.8",
83
+ "hypothesis == 6.98.15",
84
84
  ]
85
85
  dev = [
86
86
  "frequenz-client-base[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",
@@ -136,6 +136,8 @@ disable = [
136
136
  # it is a type-check, for which we already have mypy.
137
137
  "unsubscriptable-object",
138
138
  # Checked by flake8
139
+ "redefined-outer-name",
140
+ "unused-import",
139
141
  "line-too-long",
140
142
  "unused-variable",
141
143
  "unnecessary-lambda-assignment",
@@ -159,7 +161,7 @@ packages = ["frequenz.client.base"]
159
161
  strict = true
160
162
 
161
163
  [[tool.mypy.overrides]]
162
- module = ["mkdocs_macros.*", "sybil", "sybil.*"]
164
+ module = ["mkdocs_macros.*"]
163
165
  ignore_missing_imports = true
164
166
 
165
167
  [tool.setuptools_scm]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: frequenz-client-base
3
- Version: 0.2.0
3
+ Version: 0.2.1
4
4
  Summary: Utilities for writing Frequenz API clients
5
5
  Author-email: Frequenz Energy-as-a-Service GmbH <floss@frequenz.com>
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  frequenz-channels<2,>=v1.0.0-beta.2
2
2
  grpcio<2,>=1.54.2
3
- protobuf<5,>=4.25.3
3
+ protobuf<5,>=4.21.6
4
4
  typing-extensions<5,>=4.5.0
5
5
 
6
6
  [dev]
@@ -10,23 +10,23 @@ frequenz-client-base[dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,d
10
10
  flake8==7.0.0
11
11
  flake8-docstrings==1.7.0
12
12
  flake8-pyproject==1.2.3
13
- pydoclint==0.3.9
13
+ pydoclint==0.4.1
14
14
  pydocstyle==6.3.0
15
15
 
16
16
  [dev-formatting]
17
- black==24.1.1
17
+ black==24.2.0
18
18
  isort==5.13.2
19
19
 
20
20
  [dev-mkdocs]
21
- black==24.1.1
21
+ black==24.2.0
22
22
  Markdown==3.5.2
23
23
  mike==2.0.0
24
24
  mkdocs-gen-files==0.5.0
25
25
  mkdocs-literate-nav==0.6.1
26
26
  mkdocs-macros-plugin==1.0.5
27
- mkdocs-material==9.5.6
28
- mkdocstrings[python]==0.24.0
29
- frequenz-repo-config[lib]==0.8.0
27
+ mkdocs-material==9.5.12
28
+ mkdocstrings[python]==0.24.1
29
+ frequenz-repo-config[lib]==0.9.1
30
30
 
31
31
  [dev-mypy]
32
32
  mypy==1.8.0
@@ -37,16 +37,16 @@ frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]
37
37
 
38
38
  [dev-noxfile]
39
39
  nox==2023.4.22
40
- frequenz-repo-config[lib]==0.8.0
40
+ frequenz-repo-config[lib]==0.9.1
41
41
 
42
42
  [dev-pylint]
43
- pylint==3.0.3
43
+ pylint==3.1.0
44
44
  frequenz-client-base[dev-mkdocs,dev-noxfile,dev-pytest]
45
45
 
46
46
  [dev-pytest]
47
- pytest==7.4.4
48
- frequenz-repo-config[extra-lint-examples]==0.8.0
47
+ pytest==8.0.2
48
+ frequenz-repo-config[extra-lint-examples]==0.9.1
49
49
  pytest-mock==3.12.0
50
- pytest-asyncio==0.23.4
50
+ pytest-asyncio==0.23.5
51
51
  async-solipsism==0.5
52
- hypothesis==6.98.8
52
+ hypothesis==6.98.15
@@ -1,28 +0,0 @@
1
- # Frequenz Client Base Library Release Notes
2
-
3
- ## Summary
4
-
5
- This release does a bit of restructuring and renaming of classes and modules. It also adds some new features and fixes some bugs.
6
-
7
- ## Upgrading
8
-
9
- The project structure was updated to use more consistent and shorter modules and class names.
10
-
11
- * `frequenz.client.base.grpc_streaming_helper` was renamed to `frequenz.client.base.streaming`.
12
-
13
- - The `GrpcStreamingHelper` class was renamed to `GrpcStreamBroadcaster`.
14
-
15
- + The constructor argument `retry_spec` was renamed to `retry_strategy`.
16
-
17
- * `frequenz.client.base.retry_strategy` was renamed to `frequenz.client.base.retry`.
18
-
19
- - The `RetryStrategy` class was renamed to `Strategy`.
20
-
21
- ## New Features
22
-
23
- * Functions to convert to `datetime` and protobufs `Timestamp` have been added.
24
- * The generated documentation was improved to include information on defaults and generic parameters.
25
-
26
- ## Bug Fixes
27
-
28
- * When copying `RetryStrategy`s, the type now will be correctly set to the original type.