Skip to content

Commit 59df518

Browse files
committed
Update docs and template version
The version used in the documentation and generated Cookiecutter templates were outdated (v0.5.2). Now they point to the latest (upcoming) version (v0.6.2). Signed-off-by: Leandro Lucarella <[email protected]>
1 parent 6ed2cf0 commit 59df518

File tree

10 files changed

+32
-52
lines changed

10 files changed

+32
-52
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ directory will be created with the generated project name. For example:
4242
cd ~/devel
4343
cookiecutter gh:frequenz-floss/frequenz-repo-config-python \
4444
--directory=cookiecutter \
45-
--checkout v0.5.2
45+
--checkout v0.6.2
4646
```
4747

4848
This command will prompt you for the project type, name, and other

RELEASE_NOTES.md

Lines changed: 2 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,9 @@
11
# Frequenz Repository Configuration Release Notes
22

3-
## Summary
4-
5-
<!-- Here goes a general summary of what this release is about -->
6-
7-
## Upgrading
8-
9-
<!-- Here goes notes on how to upgrade from previous versions, including deprecations and what they should be replaced with -->
10-
11-
### Cookiecutter template
12-
13-
<!-- Here upgrade steps for cookiecutter specifically -->
14-
15-
## New Features
16-
17-
<!-- Here goes the main new features and examples or instructions on how to use them -->
18-
19-
### Cookiecutter template
20-
21-
<!-- Here new features for cookiecutter specifically -->
22-
233
## Bug Fixes
244

25-
<!-- Here goes notable bug fixes that are worth a special mention or explanation -->
5+
- Update the version used in the documentation.
266

277
### Cookiecutter template
288

29-
<!-- Here bug fixes for cookiecutter specifically -->
9+
- Update the generated version in dependencies.

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[{{cookiecutter.type}}] == 0.5.2",
8+
"frequenz-repo-config[{{cookiecutter.type}}] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -75,7 +75,7 @@ dev-mkdocs = [
7575
"mkdocs-material == 9.1.21",
7676
"mkdocs-section-index == 0.3.5",
7777
"mkdocstrings[python] == 0.22.0",
78-
"frequenz-repo-config[{{cookiecutter.type}}] == 0.5.2",
78+
"frequenz-repo-config[{{cookiecutter.type}}] == 0.6.2",
7979
]
8080
dev-mypy = [
8181
"mypy == 1.5.1",
@@ -87,7 +87,7 @@ dev-mypy = [
8787
]
8888
dev-noxfile = [
8989
"nox == 2023.4.22",
90-
"frequenz-repo-config[{{cookiecutter.type}}] == 0.5.2",
90+
"frequenz-repo-config[{{cookiecutter.type}}] == 0.6.2",
9191
]
9292
dev-pylint = [
9393
"pylint == 2.17.5",
@@ -96,7 +96,7 @@ dev-pylint = [
9696
]
9797
dev-pytest = [
9898
"pytest == 7.4.0",
99-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
99+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
100100
{%- if cookiecutter.type != "api" %}
101101
"pytest-mock == 3.11.1",
102102
"pytest-asyncio == 0.21.1",

docs/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Then simply run [Cookiecutter] where you want to create the new project:
3535

3636
```sh
3737
cookiecutter gh:frequenz-floss/frequenz-repo-config-python \
38-
--directory=cookiecutter --checkout v0.5.2
38+
--directory=cookiecutter --checkout v0.6.2
3939
```
4040

4141
This command will prompt you for the project type, name, and other
@@ -238,7 +238,7 @@ the files in your existing project by using `rsync` or similar tools:
238238
```sh
239239
cd /tmp
240240
cookiecutter gh:frequenz-floss/frequenz-repo-config-python \
241-
--directory=cookiecutter --checkout v0.5.2
241+
--directory=cookiecutter --checkout v0.6.2
242242
rsync -vr --exclude=.git/ new-project/ /path/to/existing/project
243243
cd /path/to/existing/project
244244
git diff
@@ -283,7 +283,7 @@ git commit -a # commit all changes
283283
cd ..
284284
cookiecutter gh:frequenz-floss/frequenz-repo-config-python \
285285
--directory=cookiecutter \
286-
--checkout v0.5.2 \
286+
--checkout v0.6.2 \
287287
--overwrite-if-exists \
288288
--replay \
289289
--replay-file project-directory/.cookiecutter-replay.json

src/frequenz/repo/config/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@
289289
# ...
290290
dev-pytest = [
291291
# ...
292-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
292+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
293293
]
294294
# ...
295295
[[tool.mypy.overrides]]
@@ -402,7 +402,7 @@
402402
requires = [
403403
"setuptools >= 67.3.2, < 68",
404404
"setuptools_scm[toml] >= 7.1.0, < 8",
405-
"frequenz-repo-config[api] >= 0.5.2, < 0.6.0",
405+
"frequenz-repo-config[api] >= 0.6.2, < 0.7.0",
406406
]
407407
build-backend = "setuptools.build_meta"
408408

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[actor] == 0.5.2",
8+
"frequenz-repo-config[actor] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -57,7 +57,7 @@ dev-mkdocs = [
5757
"mkdocs-material == 9.1.21",
5858
"mkdocs-section-index == 0.3.5",
5959
"mkdocstrings[python] == 0.22.0",
60-
"frequenz-repo-config[actor] == 0.5.2",
60+
"frequenz-repo-config[actor] == 0.6.2",
6161
]
6262
dev-mypy = [
6363
"mypy == 1.5.1",
@@ -66,7 +66,7 @@ dev-mypy = [
6666
]
6767
dev-noxfile = [
6868
"nox == 2023.4.22",
69-
"frequenz-repo-config[actor] == 0.5.2",
69+
"frequenz-repo-config[actor] == 0.6.2",
7070
]
7171
dev-pylint = [
7272
"pylint == 2.17.5",
@@ -75,7 +75,7 @@ dev-pylint = [
7575
]
7676
dev-pytest = [
7777
"pytest == 7.4.0",
78-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
78+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
7979
"pytest-mock == 3.11.1",
8080
"pytest-asyncio == 0.21.1",
8181
"async-solipsism == 0.5",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[api] == 0.5.2",
8+
"frequenz-repo-config[api] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -55,7 +55,7 @@ dev-mkdocs = [
5555
"mkdocs-material == 9.1.21",
5656
"mkdocs-section-index == 0.3.5",
5757
"mkdocstrings[python] == 0.22.0",
58-
"frequenz-repo-config[api] == 0.5.2",
58+
"frequenz-repo-config[api] == 0.6.2",
5959
]
6060
dev-mypy = [
6161
"mypy == 1.5.1",
@@ -65,7 +65,7 @@ dev-mypy = [
6565
]
6666
dev-noxfile = [
6767
"nox == 2023.4.22",
68-
"frequenz-repo-config[api] == 0.5.2",
68+
"frequenz-repo-config[api] == 0.6.2",
6969
]
7070
dev-pylint = [
7171
"pylint == 2.17.5",
@@ -74,7 +74,7 @@ dev-pylint = [
7474
]
7575
dev-pytest = [
7676
"pytest == 7.4.0",
77-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
77+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
7878
]
7979
dev = [
8080
"frequenz-api-test[dev-mkdocs,dev-flake8,dev-formatting,dev-mkdocs,dev-mypy,dev-noxfile,dev-pylint,dev-pytest]",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[app] == 0.5.2",
8+
"frequenz-repo-config[app] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -56,7 +56,7 @@ dev-mkdocs = [
5656
"mkdocs-material == 9.1.21",
5757
"mkdocs-section-index == 0.3.5",
5858
"mkdocstrings[python] == 0.22.0",
59-
"frequenz-repo-config[app] == 0.5.2",
59+
"frequenz-repo-config[app] == 0.6.2",
6060
]
6161
dev-mypy = [
6262
"mypy == 1.5.1",
@@ -65,7 +65,7 @@ dev-mypy = [
6565
]
6666
dev-noxfile = [
6767
"nox == 2023.4.22",
68-
"frequenz-repo-config[app] == 0.5.2",
68+
"frequenz-repo-config[app] == 0.6.2",
6969
]
7070
dev-pylint = [
7171
"pylint == 2.17.5",
@@ -74,7 +74,7 @@ dev-pylint = [
7474
]
7575
dev-pytest = [
7676
"pytest == 7.4.0",
77-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
77+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
7878
"pytest-mock == 3.11.1",
7979
"pytest-asyncio == 0.21.1",
8080
"async-solipsism == 0.5",

tests_golden/integration/test_cookiecutter_generation/lib/frequenz-test-python/pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[lib] == 0.5.2",
8+
"frequenz-repo-config[lib] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -53,7 +53,7 @@ dev-mkdocs = [
5353
"mkdocs-material == 9.1.21",
5454
"mkdocs-section-index == 0.3.5",
5555
"mkdocstrings[python] == 0.22.0",
56-
"frequenz-repo-config[lib] == 0.5.2",
56+
"frequenz-repo-config[lib] == 0.6.2",
5757
]
5858
dev-mypy = [
5959
"mypy == 1.5.1",
@@ -62,7 +62,7 @@ dev-mypy = [
6262
]
6363
dev-noxfile = [
6464
"nox == 2023.4.22",
65-
"frequenz-repo-config[lib] == 0.5.2",
65+
"frequenz-repo-config[lib] == 0.6.2",
6666
]
6767
dev-pylint = [
6868
"pylint == 2.17.5",
@@ -71,7 +71,7 @@ dev-pylint = [
7171
]
7272
dev-pytest = [
7373
"pytest == 7.4.0",
74-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
74+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
7575
"pytest-mock == 3.11.1",
7676
"pytest-asyncio == 0.21.1",
7777
"async-solipsism == 0.5",

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
requires = [
66
"setuptools == 68.1.0",
77
"setuptools_scm[toml] == 7.1.0",
8-
"frequenz-repo-config[model] == 0.5.2",
8+
"frequenz-repo-config[model] == 0.6.2",
99
]
1010
build-backend = "setuptools.build_meta"
1111

@@ -57,7 +57,7 @@ dev-mkdocs = [
5757
"mkdocs-material == 9.1.21",
5858
"mkdocs-section-index == 0.3.5",
5959
"mkdocstrings[python] == 0.22.0",
60-
"frequenz-repo-config[model] == 0.5.2",
60+
"frequenz-repo-config[model] == 0.6.2",
6161
]
6262
dev-mypy = [
6363
"mypy == 1.5.1",
@@ -66,7 +66,7 @@ dev-mypy = [
6666
]
6767
dev-noxfile = [
6868
"nox == 2023.4.22",
69-
"frequenz-repo-config[model] == 0.5.2",
69+
"frequenz-repo-config[model] == 0.6.2",
7070
]
7171
dev-pylint = [
7272
"pylint == 2.17.5",
@@ -75,7 +75,7 @@ dev-pylint = [
7575
]
7676
dev-pytest = [
7777
"pytest == 7.4.0",
78-
"frequenz-repo-config[extra-lint-examples] == 0.5.2",
78+
"frequenz-repo-config[extra-lint-examples] == 0.6.2",
7979
"pytest-mock == 3.11.1",
8080
"pytest-asyncio == 0.21.1",
8181
"async-solipsism == 0.5",

0 commit comments

Comments
 (0)