Frequenz-repo-config

Latest version: v0.9.2

Safety actively analyzes 642295 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.7.4

Frequenz Repository Configuration Release Notes

Summary

This release fixes a bug in `mike` version sorting.

Upgrading

- `frequenz.repo.config.mkdocs.mike.`: The `sort_versions()` function now takes plain `str`s as arguments instead of `MikeVersionInfo` objects.

Cookiecutter template

There is no need to regenerate any templates with this release.

Bug Fixes

- CI / `mkdocs`: `mike` version sorting now properly sort pre-releases as older than stable releases for the same major and minor version.


What's Changed
* Fix `mike` version sorting by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/171


**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.7.3...v0.7.4

0.7.3

Frequenz Repository Configuration Release Notes

Summary

This release adds support for `pylint` 3, so downstream projects can upgrade their `pylint` version.

Upgrading

If upgrading `pylint` you might get a few new check errors.

Cookiecutter template

There is no need to regenerate any templates with this release.

Bug Fixes

- `mkdocs`: The `conftest` module is now properly hidden from the documentation again.


What's Changed
* Add support for pylint 3.0 by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/169
* docs: Hide `conftest` at any level by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/170


**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.7.2...v0.7.3

0.7.2

Frequenz Repository Configuration Release Notes

Upgrading

Cookiecutter template

Instead of regenerating the templates, you can simply:

- Run this command to fix the typo and wrong `cli` package:

sh
sed -i 's/annothations/annotations/' docs/_css/style.css
sed -i 's/frequenz\.repo\.config\.cli\.version\.mkdocs\.sort/frequenz.repo.config.cli.version.mike.sort/' .github/workflows/ci.yaml


- Replace the comment after the copyright notice in `.github/containers/nox-cross-arch/arm64-ubuntu-20.04-python-3.11.Dockerfile` with:

Dockerfile
This Dockerfile is used to run the tests in arm64, which is not supported by
GitHub Actions at the moment.


Bug Fixes

Cookiecutter template

- docs: Fix typo in `docs/_css/style.css` ("annothations" -> "annotations")
- ci: Fix the description of the arm64 `Dockerfile`


What's Changed
* Fix minor issues in some comments by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/167
* Clear release notes by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/166


**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.7.1...v0.7.2

0.7.1

Frequenz Repository Configuration Release Notes

New Features

Cookiecutter template

- Show a link to the documentation in PyPI.

What's Changed
* Add link to documentation on PyPI by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/164


**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.7.0...v0.7.1

0.7.0

Frequenz Repository Configuration Release Notes

Summary

This release focuses on improving the documentation generation and the CI. In particular it brings a new versioning scheme for the documentation that supports multiple development branches and exposes pre-releases.

Upgrading

Cookiecutter template

- The recommended `cookiecutter` version was bumped to 2.4.0 to avoid some buggy old versions.

- `mkdocs`

- The script `docs/mkdocstrings_autoapi.py` was moved to `docs/_scripts/mkdocstrings.py`.
- Note that now code annotations will be numbered. This is useful to hint about the order one should read the annotations.
- The following files were renamed to keep the documentation directory clean for documentation files:

- `docs/css` -> `docs/_css`
- `docs/overrides` -> `docs/_overrides`
- `logo.png` -> `docs/_img/logo.png`

- You might need to remove old `mike` version aliases. Probably removing `next` should be enough:

bash
mike delete -p next


You can use `mike list` to list all versions and aliases.

- CI

- You can now make your branch protection rule only require the "Test with nox" CI job to pass. All the matrix expansions will merge into it, so there is no need to change branch protection rules if matrix elements are added or removed.
- Dependabot now will check for updates monthly and on a random day and time.

- The `src/conftest.py` file was moved to `src/<project_path>/conftest.py`.

This is to leave the `src` directory free of any files, so it is easier to navigate using auto-completion and GitHub file browser.

New Features

- `frequenz_repo_config.version`: New module to get the version information for a repository.
- `frequnz_repo_config.github`: New module to interact with GitHub.
- `frequenz.repo_config.mkdocs.mike`: New module to manage `mike` versions and aliases.
- `frequenz.repo_config.cli`: New package to implement CLI commands.

- `frequenz.repo.config.cli.version.mike.info`: New command to print GitHub Action variables with for the current `mike` version.
- `frequenz.repo.config.cli.version.mike.sort`: New command to sort `mike` versions file (`versions.json`).

Cookiecutter template

- `mkdocs`

- New markdown extensions: [`def_list` / `task_list`](https://squidfunk.github.io/mkdocs-material/reference/lists/) and [`footnotes`](https://squidfunk.github.io/mkdocs-material/reference/footnotes/).
- New [`mkdocs-macros`](https://mkdocs-macros-plugin.readthedocs.io/en/latest/) extension.
- Show inherited attributes in the documentation.
- Make code annotations numbered. This is useful to hint about the order one should read the annotations.
- Add a navigation footer to show previous and next pages. This is specially useful when reading the documentation in a mobile device since the navigation bar is hidden.
- Updated dependencies.
- The hooking of `mkdocstrings` to `macros` plugins is moved to a separate function to avoid the noise in the `define_env()` function.
- Improve formatting of signatures to show the types.
- We use a new `mike` versioning scheme:

- Versions now have a title with the full tag name for tags and includes the (short) commit SHA for branches so users can know exactly which version they are reading.
- Pre-releases are now published too as `vX.Y-pre`. They have aliases to point to the latest pre-release in a major (`vX-pre`) and the absolute latest pre-release (`latest-pre`).
- All branches are now published with their own version as `vX.Y-dev`. They have aliases to point to the latest version in a major (`vX-dev`) and the absolute latest version (`latest-dev`). This means the old `next` becomes `latest-dev`.

- CI

- Add CI job to test package installation on multiple platforms (amd64 and arm64).
- Add CI job to run the tests in arm64.
- Add a CI job to *join* all `nox` runs, so only one branch protection rule needs to be used.
- Dependabot now will check for updates monthly and on a random day and time. This is to avoid all repositories updating at the same time.

- Add a section about cross-arch testing to `CONTRIBUTING.md`.

Bug Fixes

Cookiecutter template

- `mkdocs`

- Fixed mermaid diagrams not rendering in the documentation.
- `mypy` ignores for `cookiecutter` have been removed. They should have never be there as generated projects don't use `cookiecutter`.
- `mypy` overrides now are applied to API projects too.
- Now the `latest` `mike` version will point to the highest stable version available, not the latest version published.

- Dependabot branches are now not tested for `push` events, as they are already tested by `pull` events.


What's Changed
* Clear release notes by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/139
* Several fixes and improvements by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/141
* Move cookiecutter filters to a Jinja2 extension by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/143
* Make dependabot update monthly by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/144
* Add a navigation footer to show previous and next pages by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/148
* [ci] [cross-arch] Allow creating venvs with python 3.11 by tiyash-basu-frequenz in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/151
* Don't run cookiecutter tests in arm64 by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/155
* Don't test the push event for dependabot branches by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/154
* Move `src/confest.py` to `src/frequenz/repo/conftest.py` by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/146
* Improve `mike` versions by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/150
* Keep versions up to date in the docs by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/162

New Contributors
* tiyash-basu-frequenz made their first contribution in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/151

**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.6.2...v0.7.0

0.7.0rc.1

Frequenz Repository Configuration Release Notes

Summary

This release focuses on improving the documentation generation and the CI. In particular it brings a new versioning scheme for the documentation that supports multiple development branches and exposes pre-releases.

Upgrading

Cookiecutter template

- The recommended `cookiecutter` version was bumped to 2.4.0 to avoid some buggy old versions.

- `mkdocs`

- The script `docs/mkdocstrings_autoapi.py` was moved to `docs/_scripts/mkdocstrings.py`.
- Note that now code annotations will be numbered. This is useful to hint about the order one should read the annotations.
- The following files were renamed to keep the documentation directory clean for documentation files:

- `docs/css` -> `docs/_css`
- `docs/overrides` -> `docs/_overrides`
- `logo.png` -> `docs/_img/logo.png`

- You might need to remove old `mike` version aliases. Probably removing `next` should be enough:

bash
mike delete -p next


You can use `mike list` to list all versions and aliases.

- CI

- You can now make your branch protection rule only require the "Test with nox" CI job to pass. All the matrix expansions will merge into it, so there is no need to change branch protection rules if matrix elements are added or removed.
- Dependabot now will check for updates monthly and on a random day and time.

- The `src/conftest.py` file was moved to `src/<project_path>/conftest.py`.

This is to leave the `src` directory free of any files, so it is easier to navigate using auto-completion and GitHub file browser.

New Features

- `frequenz_repo_config.version`: New module to get the version information for a repository.
- `frequnz_repo_config.github`: New module to interact with GitHub.
- `frequenz.repo_config.mkdocs.mike`: New module to manage `mike` versions and aliases.
- `frequenz.repo_config.cli`: New package to implement CLI commands.

- `frequenz.repo.config.cli.version.mike.info`: New command to print GitHub Action variables with for the current `mike` version.
- `frequenz.repo.config.cli.version.mike.sort`: New command to sort `mike` versions file (`versions.json`).

Cookiecutter template

- `mkdocs`

- New markdown extensions: [`def_list` / `task_list`](https://squidfunk.github.io/mkdocs-material/reference/lists/) and [`footnotes`](https://squidfunk.github.io/mkdocs-material/reference/footnotes/).
- New [`mkdocs-macros`](https://mkdocs-macros-plugin.readthedocs.io/en/latest/) extension.
- Show inherited attributes in the documentation.
- Make code annotations numbered. This is useful to hint about the order one should read the annotations.
- Add a navigation footer to show previous and next pages. This is specially useful when reading the documentation in a mobile device since the navigation bar is hidden.
- Updated dependencies.
- The hooking of `mkdocstrings` to `macros` plugins is moved to a separate function to avoid the noise in the `define_env()` function.
- Improve formatting of signatures to show the types.
- We use a new `mike` versioning scheme:

- Versions now have a title with the full tag name for tags and includes the (short) commit SHA for branches so users can know exactly which version they are reading.
- Pre-releases are now published too as `vX.Y-pre`. They have aliases to point to the latest pre-release in a major (`vX-pre`) and the absolute latest pre-release (`latest-pre`).
- All branches are now published with their own version as `vX.Y-dev`. They have aliases to point to the latest version in a major (`vX-dev`) and the absolute latest version (`latest-dev`). This means the old `next` becomes `latest-dev`.

- CI

- Add CI job to test package installation on multiple platforms (amd64 and arm64).
- Add CI job to run the tests in arm64.
- Add a CI job to *join* all `nox` runs, so only one branch protection rule needs to be used.
- Dependabot now will check for updates monthly and on a random day and time. This is to avoid all repositories updating at the same time.

- Add a section about cross-arch testing to `CONTRIBUTING.md`.

Bug Fixes

Cookiecutter template

- `mkdocs`

- Fixed mermaid diagrams not rendering in the documentation.
- `mypy` ignores for `cookiecutter` have been removed. They should have never be there as generated projects don't use `cookiecutter`.
- `mypy` overrides now are applied to API projects too.
- Now the `latest` `mike` version will point to the highest stable version available, not the latest version published.

- Dependabot branches are now not tested for `push` events, as they are already tested by `pull` events.


What's Changed
* Clear release notes by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/139
* Several fixes and improvements by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/141
* Move cookiecutter filters to a Jinja2 extension by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/143
* Make dependabot update monthly by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/144
* Add a navigation footer to show previous and next pages by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/148
* [ci] [cross-arch] Allow creating venvs with python 3.11 by tiyash-basu-frequenz in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/151
* Don't run cookiecutter tests in arm64 by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/155
* Don't test the push event for dependabot branches by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/154
* Move `src/confest.py` to `src/frequenz/repo/conftest.py` by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/146
* Improve `mike` versions by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/150
* Keep versions up to date in the docs by llucax in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/162

New Contributors
* tiyash-basu-frequenz made their first contribution in https://github.com/frequenz-floss/frequenz-repo-config-python/pull/151

**Full Changelog**: https://github.com/frequenz-floss/frequenz-repo-config-python/compare/v0.6.2...v0.7.0-rc.1

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.