{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":523701831,"defaultBranch":"v0.x.x","name":"frequenz-api-microgrid","ownerLogin":"frequenz-floss","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2022-08-11T11:44:18.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/110669031?v=4","public":true,"private":false,"isOrgOwned":true},"refInfo":{"name":"","listCacheKey":"v0:1726672462.0","currentOid":""},"activityList":{"items":[{"before":"c7787f1f18762dc93d76982037985883b06807e0","after":"ad82a7651f5fe9f35253b990cca5792a28c8d57c","ref":"refs/heads/gh-pages","pushedAt":"2024-09-18T15:16:11.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deployed 8f4e4f8 to next with MkDocs 1.6.1 and mike 1.1.2","shortMessageHtmlLink":"Deployed 8f4e4f8 to next with MkDocs 1.6.1 and mike 1.1.2"}},{"before":"8f4e4f897d0082140c8eb8da9dd70c8efdb1aa92","after":null,"ref":"refs/heads/gh-readonly-queue/v0.x.x/pr-261-fb8f711968b8f10569c677a89381e488cc88f944","pushedAt":"2024-09-18T15:14:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"fb8f711968b8f10569c677a89381e488cc88f944","after":"8f4e4f897d0082140c8eb8da9dd70c8efdb1aa92","ref":"refs/heads/v0.x.x","pushedAt":"2024-09-18T15:14:20.000Z","pushType":"merge_queue_merge","commitsCount":3,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Bump `protobuf` and `grpcio` dependencies (#261)\n\nThe `protobuf` version 4.25.x will go out of support soon(ish), on 31\nMar 2025. Since we don't need to keep compatibility to any legacy code,\nwe can bump it in advance as a preparation.\n\nThe `googleapis-common-protos` version was also bumped to 1.65.0, as the\nprevious version was too old to work with the new `protobuf` version.\n\nhttps://protobuf.dev/support/version-support/#python","shortMessageHtmlLink":"Bump Sourced from pydoclint's\nreleases. Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.6...0.5.7 Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.5...0.5.6 Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.4...0.5.5 Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.3...0.5.4 Sourced from pydoclint's\nchangelog. Added Changed Fixed Full diff Fixed Changed Full diff Added Full diff Sourced from black's\nreleases. Sourced from black's\nchangelog. Sourced from mkdocs-material's\nreleases. Thanks go to Thanks go to Thanks go to Thanks go to Thanks to ... (truncated) Sourced from mkdocs-material's\nchangelog. mkdocs-material-9.5.34 (2024-08-31) mkdocs-material-9.5.33 (2024-08-23) mkdocs-material-9.5.32 (2024-08-19) mkdocs-material-9.5.31+insiders-4.53.12 (2024-08-02) mkdocs-material-9.5.31 (2024-08-02) mkdocs-material-9.5.30 (2024-07-23) mkdocs-material-9.5.29 (2024-07-14) mkdocs-material-9.5.28 (2024-07-02) mkdocs-material-9.5.27 (2024-06-16) mkdocs-material-9.5.26 (2024-06-06) mkdocs-material-9.5.25+insiders-4.53.11 (2024-05-27) mkdocs-material-9.5.25 (2024-05-27) ... (truncated) Sourced from frequenz-repo-config[api]'s\nreleases. This release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading. A new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone. To run it, the simplest way is to fetch it from GitHub and run it\ndirectly: Make sure the version you want to migrate to is correct in the\nURL. For jumping multiple versions you should run the script multiple\ntimes, once for each version. And remember to follow any manual instructions for each run. ... (truncated) Sourced from frequenz-repo-config[api]'s\nchangelog. This release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading. A new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone. To run it, the simplest way is to fetch it from GitHub and run it\ndirectly: Make sure the version you want to migrate to is correct in the\nURL. For jumping multiple versions you should run the script multiple\ntimes, once for each version. And remember to follow any manual instructions for each run. ... (truncated) Sourced from mypy's\nchangelog. We’ve just uploaded mypy 1.11 to the Python Package Index (PyPI). Mypy is a static type\nchecker for Python. This release includes new features, performance\nimprovements and bug fixes. You can install it as follows: You can read the full documentation for this release on Read the Docs. Mypy now supports the new type parameter syntax introduced in Python\n3.12 (PEP 695).\nThis feature is still experimental and must be enabled with the\n This example demonstrates the new syntax: reveal_type(f(1)) # Revealed type is 'int' class C[T]:\ndef init(self, x: T) -> None:\nself.x = x c = C('a')\nreveal_type(c.x) # Revealed type is 'str' type A[T] = C[list[T]]\nprotobuf
and grpcio
dependencies (#261)"}},{"before":null,"after":"8f4e4f897d0082140c8eb8da9dd70c8efdb1aa92","ref":"refs/heads/gh-readonly-queue/v0.x.x/pr-261-fb8f711968b8f10569c677a89381e488cc88f944","pushedAt":"2024-09-18T15:13:00.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Bump `protobuf` and `grpcio` dependencies (#261)\n\nThe `protobuf` version 4.25.x will go out of support soon(ish), on 31\nMar 2025. Since we don't need to keep compatibility to any legacy code,\nwe can bump it in advance as a preparation.\n\nThe `googleapis-common-protos` version was also bumped to 1.65.0, as the\nprevious version was too old to work with the new `protobuf` version.\n\nhttps://protobuf.dev/support/version-support/#python","shortMessageHtmlLink":"Bump protobuf
and grpcio
dependencies (#261)"}},{"before":"99df9e67690fe8dfeb39b397c2605bb81682249a","after":"c7787f1f18762dc93d76982037985883b06807e0","ref":"refs/heads/gh-pages","pushedAt":"2024-09-13T12:51:02.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deployed ac7c7a1 to v0.15 with MkDocs 1.6.1 and mike 1.1.2","shortMessageHtmlLink":"Deployed ac7c7a1 to v0.15 with MkDocs 1.6.1 and mike 1.1.2"}},{"before":"ac7c7a143cf7a79ba4f9dcf9828240c12fd018a3","after":null,"ref":"refs/heads/gh-readonly-queue/v0.15.x/pr-259-44f2c86e0712e93d215a26e256d4a725f34af3a8","pushedAt":"2024-09-13T12:44:24.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"44f2c86e0712e93d215a26e256d4a725f34af3a8","after":"ac7c7a143cf7a79ba4f9dcf9828240c12fd018a3","ref":"refs/heads/v0.15.x","pushedAt":"2024-09-13T12:44:23.000Z","pushType":"merge_queue_merge","commitsCount":6,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Fix `grpc` dependencies (#259)\n\nThis is a backport of #254 plus a few v0.15 specific fixes to make the\nCI pass in this old branch.\n\n- **Bump `frequenz-api-common` submodule to v0.6.2**\n- **Pin grpc related dependencies**\n- **Bump mkdocstrings dependencies**\n- **Fix `mypy` configuration**\n- **Stop using strict mode in `mkdocs.yml`**","shortMessageHtmlLink":"Fix grpc
dependencies (#259)"}},{"before":null,"after":"ac7c7a143cf7a79ba4f9dcf9828240c12fd018a3","ref":"refs/heads/gh-readonly-queue/v0.15.x/pr-259-44f2c86e0712e93d215a26e256d4a725f34af3a8","pushedAt":"2024-09-13T12:40:59.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Fix `grpc` dependencies (#259)\n\nThis is a backport of #254 plus a few v0.15 specific fixes to make the\nCI pass in this old branch.\n\n- **Bump `frequenz-api-common` submodule to v0.6.2**\n- **Pin grpc related dependencies**\n- **Bump mkdocstrings dependencies**\n- **Fix `mypy` configuration**\n- **Stop using strict mode in `mkdocs.yml`**","shortMessageHtmlLink":"Fix grpc
dependencies (#259)"}},{"before":"861ec2e0e1c42ed48b9442cdaab92f218cb92541","after":"99df9e67690fe8dfeb39b397c2605bb81682249a","ref":"refs/heads/gh-pages","pushedAt":"2024-09-13T10:58:09.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"github-actions[bot]","name":null,"path":"/apps/github-actions","primaryAvatarUrl":"https://avatars.githubusercontent.com/in/15368?s=80&v=4"},"commit":{"message":"Deployed fb8f711 to next with MkDocs 1.6.1 and mike 1.1.2","shortMessageHtmlLink":"Deployed fb8f711 to next with MkDocs 1.6.1 and mike 1.1.2"}},{"before":"a8a9698f2baa538ea0cc09bf9466ab61b5a5d4ef","after":null,"ref":"refs/heads/dependabot/pip/required-ce011d0f4b","pushedAt":"2024-09-13T10:56:22.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"llucax","name":"Leandro Lucarella","path":"/llucax","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/1031485?s=80&v=4"}},{"before":"fb8f711968b8f10569c677a89381e488cc88f944","after":null,"ref":"refs/heads/gh-readonly-queue/v0.x.x/pr-257-6291e8e9d1c0769ec7b93cb8300dfb3c3f096ec0","pushedAt":"2024-09-13T10:56:21.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"}},{"before":"6291e8e9d1c0769ec7b93cb8300dfb3c3f096ec0","after":"fb8f711968b8f10569c677a89381e488cc88f944","ref":"refs/heads/v0.x.x","pushedAt":"2024-09-13T10:56:20.000Z","pushType":"merge_queue_merge","commitsCount":2,"pusher":{"login":"github-merge-queue[bot]","name":null,"path":"/apps/github-merge-queue","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/9919?s=80&v=4"},"commit":{"message":"Bump the required group across 1 directory with 9 updates (#257)\n\nBumps the required group with 9 updates in the / directory:\n\n| Package | From | To |\n| --- | --- | --- |\n| [flake8](https://github.com/pycqa/flake8) | `7.1.0` | `7.1.1` |\n| [pydoclint](https://github.com/jsh9/pydoclint) | `0.5.3` | `0.5.7` |\n| [black](https://github.com/psf/black) | `24.4.2` | `24.8.0` |\n| [mkdocs-material](https://github.com/squidfunk/mkdocs-material) |\n`9.5.20` | `9.5.34` |\n|\n[frequenz-repo-config[api]](https://github.com/frequenz-floss/frequenz-repo-config-python)\n| `0.9.2` | `0.10.0` |\n| [mypy](https://github.com/python/mypy) | `1.10.1` | `1.11.2` |\n| [pylint](https://github.com/pylint-dev/pylint) | `3.2.5` | `3.2.7` |\n| [pytest](https://github.com/pytest-dev/pytest) | `8.2.2` | `8.3.3` |\n|\n[frequenz-repo-config[extra-lint-examples]](https://github.com/frequenz-floss/frequenz-repo-config-python)\n| `0.9.2` | `0.10.0` |\n\nUpdates `flake8` from 7.1.0 to 7.1.1\nCommits
\n\n
\n\nUpdates `pydoclint` from 0.5.3 to 0.5.7\nRelease notes
\n\n
\n0.5.7
\nWhat's Changed
\n\n
\n@Amar1729
in jsh9/pydoclint#159deps = .
instead of pip install
\nby @Amar1729
in\njsh9/pydoclint#160@cidrblock
in jsh9/pydoclint#152@Amar1729
in jsh9/pydoclint#161New Contributors
\n\n
\n@Amar1729
\nmade their first contribution in jsh9/pydoclint#159@cidrblock
\nmade their first contribution in jsh9/pydoclint#1520.5.6
\nWhat's Changed
\n\n
\n.py
by\n@jsh9
in jsh9/pydoclint#1550.5.5
\nWhat's Changed
\n\n
\n@jsh9
in jsh9/pydoclint#1540.5.4
\nWhat's Changed
\n\n
\n@jsh9
in jsh9/pydoclint#149@jsh9
in jsh9/pydoclint#153Changelog
\n\n
\n[0.5.7] - 2024-09-02
\n\n
\n\n
\nDOC503
, which checks that\nexceptions in the\nfunction body match those in the "Raises" section of the\ndocstring\n
\n[0.5.6] - 2024-07-17
\n\n
\n\n
\n.py
as\nfiles[0.5.5] - 2024-07-15
\n\n
\n\n
\na = b = c = 1
style cannot be\nproperly parsed\n(jsh9/pydoclint#151)\n
\n--treat-property-methods-as-class-attributes
to\nFalse
to restore backward compatibility[0.5.4] - 2024-07-14
\n\n
\n\n
\n--should-document-private-class-attributes
\n(if False, private\nclass attributes should not appear in the docstring)--treat-property-methods-as-class-attributes
\n(if True,\n@property
methods are treated like class attributes and\nneed to be\ndocumented in the class docstring)Commits
\n\n
\nf758604
\nfeat: introduce DOC503 for checking specific raised exceptions (#161)ae28589
\nSwitch from tab to 4 spaces in baseline (#152)1e80fd3
\ntox: use deps = .
instead of pip install
(#160)23b89f6
\ndocs: add "sphinx" as an allowed style (#159)94efc5f
\nStop trying to check folder with names ending in .py
(#155)0247ef5
\nImprove class attr comparison logic (#154)0b750d5
\nAdd option to treat property methods as class attributes (#153)3c39d2e
\nAdd an option for private class attributes (#149)
\n\nUpdates `black` from 24.4.2 to 24.8.0\nRelease notes
\n\n
\n24.8.0
\nStable style
\n\n
\n# fmt: off
is used before a closing\nparenthesis or bracket. (#4363)Packaging
\n\n
\nParser
\n\n
\n\\{
inside\nf-strings very well (#4422)Performance
\n\n
\n.gitignore
(#4415)Blackd
\n\n
\nChangelog
\n\n
\n24.8.0
\nStable style
\n\n
\n# fmt: off
is used before a closing\nparenthesis or bracket. (#4363)Packaging
\n\n
\nParser
\n\n
\n\\{
inside\nf-strings very well (#4422)Performance
\n\n
\n.gitignore
(#4415)Blackd
\n\n
\nCommits
\n\n
\nb965c2a
\nPrepare release 24.8.0 (#4426)9ccf279
\nDocument find_project_root
ignoring\npyproject.toml
without [tool.black]
...14b6e61
\nfix: Enhace black efficiently to skip directories listed in .gitignore\n(#4415)b1c4dd9
\nfix: respect braces better in f-string parsing (#4422)4b4ae43
\nFix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
\ndocs: fix the installation command of extra for blackd (#4413)8827acc
\nBump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
\nBump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
\nfix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
\nUpdate actions/checkout
to v4 to stop node deprecation\nwarnings (#4379)
\n\nUpdates `mkdocs-material` from 9.5.20 to 9.5.34\nRelease notes
\n\n
\nmkdocs-material-9.5.34
\n\n
\n@manselmi
for their\ncontributionsmkdocs-material-9.5.33
\n\n
\nmkdocs-material-9.5.32
\n\n
\n@joaopalmeiro
\nfor their contributionsmkdocs-material-9.5.31
\n\n
\nmkdocs-material-9.5.30
\n\n
\n@sisp
for their\ncontributionsmkdocs-material-9.5.29
\n\n
\n@mmontes11
for\ntheir contributionsmkdocs-material-9.5.28
\n\n
\nmkdocs-material-9.5.27
\n\n
\n@Eilyre
for their\ncontributionsmkdocs-material-9.5.26
\n\n
\nmkdocs-material-9.5.25
\n\n
\nmkdocs-material-9.5.24
\n\n
\nmkdocs-material-9.5.23
\n\n\nChangelog
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\n\n
\nCommits
\n\n
\n7d6096a
\nPrepare 9.5.34 release6f3c05b
\nUpdated dependenciesd3b1792
\nUpdated Mermaid to v11 (#7475)f88c436
\nUnpinned Stylelint and plugins3b12816
\nUnpinned TypeScript ESLint integration and checkscafd67b
\nFixed error in build script80ae560
\nUnpinned svgo dependencya91ee70
\nPrepare 9.5.33 release4104faf
\nUpdated dependencies8ee7137
\nUpdated premium sponsors
\n\nUpdates `frequenz-repo-config[api]` from 0.9.2 to 0.10.0\nRelease notes
\n\n
\nv0.10.0
\nFrequenz Repository Configuration Release Notes
\nSummary
\nUpgrading
\nCookiecutter template
\n\n
\n
\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
New Features
\n\n
\nEnhancements
\n\n
\nCookiecutter template
\n\n
\nMarkdown
dependency was bumped so we don't need to\nadd a type: ignore
due to incorrect type hints.pylint
checks that are already checked by\nother tools.Bug Fixes
\n\n
\nCookiecutter template
\n\n
\n\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.test-installation
job in the CI workflow.Changelog
\n\n
\nFrequenz Repository Configuration Release Notes
\nSummary
\nUpgrading
\nCookiecutter template
\n\n
\n
\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
New Features
\n\n
\nEnhancements
\n\n
\nCookiecutter template
\n\n
\nMarkdown
dependency was bumped so we don't need to\nadd a type: ignore
due to incorrect type hints.pylint
checks that are already checked by\nother tools.Bug Fixes
\n\n
\nCookiecutter template
\n\n
\n\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.test-installation
job in the CI workflow.Commits
\n\n
\nbfd45a8
\nAdd pull-requests read permission to the release-notes-check workflow\n(#289)6aa6bc0
\nPrepare for the v0.10.0 release (#290)297b184
\nUpdate version in the template pyproject.toml632283d
\nPrepare the release notes for v0.10.0 release1778ff8
\nAdd pull-requests read permission to the release-notes-check\nworkflow2ac253a
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3 (#288)1660756
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3327879b
\nFix credentials not passed or configured the CI workflow (#286)6195bc7
\nUpdate release notesbef233c
\nRemove the TODOs from the migration
\n\nUpdates `mypy` from 1.10.1 to 1.11.2\nChangelog
\n\n
Mypy Release Notes
\nNext release
\nMypy 1.11
\n
\npython3 -m pip install -U mypy\n
Support Python 3.12 Syntax for Generics (PEP 695)
\n--enable-incomplete-feature=NewGenericSyntax
flag, or with\nenable_incomplete_feature = NewGenericSyntax
in the mypy\nconfiguration file.\nWe plan to enable this by default in the next mypy feature release.# Generic function\ndef f[T](https://github.com/python/mypy/blob/master/x: T) -> T: ...\n
Generic class
\nType alias
\n
This feature was contributed by Jukka Lehtosalo.
\nfunctools.partial
Mypy now type checks uses of functools.partial
.\nPreviously mypy would accept arbitrary arguments.
This example will now produce an error:
\nfrom functools import partial\n</tr></table>\n
\n\n... (truncated)
\n\n789f02c
\nBump version to 1.11.2917cc75
\nAn alternative fix for a union-like literal string (#17639)7d805b3
\nUnwrap TypedDict item types before storing (#17640)32675dd
\nRevert "Fix Literal strings containing pipe characters" (#17638)778542b
\nRevert "Fix RawExpressionType.accept
crash with\n--cache-fine-grained
" (#1...14ab742
\nBump version to 1.11.2+dev570b90a
\nBump version to 1.11b3a102e
\nFix RawExpressionType.accept
crash with\n--cache-fine-grained
(#17588)aec04c7
\nFix PEP 604 isinstance caching (#17563)cb44e4d
\nFix typing.TypeAliasType
being undefined on python <\n3.12 (#17558)a98215b
\nBump pylint to 3.2.7, update changelog1deaffa
\nFix to maintain order of package paths (#9887)\n(#9897)b4c2951
\n[Backport maintenance/3.2.x] Fix a crash in\nundefined-loop-variable
with `e...f1925f4
\nFix crash in refactoring checker when calling bound lambda (#9867)7d1626c
\nFix a false positive unreachable
for NoReturn
\ncoroutine functions (#9844)...da19566
\nBump pylint to 3.2.6, update changelog (#9825)810c59c
\nUpdate setuptools to >=71.0.4 (#9812)\n(#9824)5f19cd5
\nFix a crash when a subclass extends __slots__
(#9817)\n(#9822)c0b1d22
\nBump astroid to 3.2.4 (#9816)\n(#9821)1d877de
\nFix consider-using-min-max-builtin (#9802)\n(#9803)Sourced from pytest's\nreleases.
\n\n\n8.3.3
\npytest 8.3.3 (2024-09-09)
\nBug fixes
\n\n
\n- \n
\n#12446:\nAvoid calling
\n@property
(and other instance descriptors)\nduring fixture discovery -- byasottile
{.interpreted-text\nrole="user"}- \n
\n#12659:\nFixed the issue of not displaying assertion failure differences when\nusing the parameter
\n--import-mode=importlib
in\npytest>=8.1.- \n
\n#12667:\nFixed a regression where type change in\n[ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to\nfail.
\n- \n
\n#12744:\nFixed typing compatibility with Python 3.9 or less -- replaced\n[typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} --\nby
\nAvasam
{.interpreted-text role="user"}- \n
\n#12745:\nFixed an issue with backslashes being incorrectly converted in nodeid\npaths on Windows, ensuring consistent path handling across\nenvironments.
\n- \n
\n#6682:\nFixed bug where the verbosity levels where not being respected when\nprinting the "msg" part of failed assertion (as in\n
\nassert condition, msg
).- \n
\n#9422:\nFix bug where disabling the terminal plugin via
\n-p\nno:terminal
would cause crashes related to missing the\nverbose
option.-- by
\nGTowers1
{.interpreted-text\nrole="user"}Improved documentation
\n\n
\n- #12663:\nClarify that the [pytest_deselected]{.title-ref} hook should be called\nfrom [pytest_collection_modifyitems]{.title-ref} hook implementations\nwhen items are deselected.
\n- #12678:\nRemove erroneous quotes from [tmp_path_retention_policy]{.title-ref}\nexample in docs.
\nMiscellaneous internal changes
\n\n
\n- #12769:\nFix typos discovered by codespell and add codespell to pre-commit\nhooks.
\n8.3.2
\npytest 8.3.2 (2024-07-24)
\nBug fixes
\n\n
\n- \n
\n#12652:\nResolve regression [conda]{.title-ref} environments where no longer\nbeing automatically detected.
\n-- by
\nRonnyPfannschmidt
{.interpreted-text\nrole="user"}8.3.1
\npytest 8.3.1 (2024-07-20)
\nThe 8.3.0 release failed to include the change notes and docs for the\nrelease. This patch release remedies this. There are no other\nchanges.
\n\n
... (truncated)
\nd0f136f
\nbuild(deps): Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (#12790)972f307
\nPrepare release version 8.3.30dabdcf
\nInclude co-authors in release announcement (#12795)\n(#12797)a9910a4
\nDo not discover properties when iterating fixtures (#12781)\n(#12788)0f10b6b
\nFix issue with slashes being turned into backslashes on Windows (#12760)\n(#12...300d13d
\nMerge pull request #12785\nfrom pytest-dev/patchback/backports/8.3.x/57cccf7f4...e5d32c7
\nMerge pull request #12784\nfrom svenevs/fix/docs-example-parametrize-minor-typobc913d1
\nStreamline checks for verbose option (#12706)\n(#12778)01cfcc9
\nFix typos and introduce codespell pre-commit hook (#12769)\n(#12774)4873394
\ndoc: Remove past training (#12772)\n(#12773)Sourced from frequenz-repo-config[extra-lint-examples]'s\nreleases.
\n\n\nv0.10.0
\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.
... (truncated)
\nSourced from frequenz-repo-config[extra-lint-examples]'s\nchangelog.
\n\n\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.- Make sure credentials are configured for all jobs that check out the\nrepository in the CI workflow.
\n
... (truncated)
\nbfd45a8
\nAdd pull-requests read permission to the release-notes-check workflow\n(#289)6aa6bc0
\nPrepare for the v0.10.0 release (#290)297b184
\nUpdate version in the template pyproject.toml632283d
\nPrepare the release notes for v0.10.0 release1778ff8
\nAdd pull-requests read permission to the release-notes-check\nworkflow2ac253a
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3 (#288)1660756
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3327879b
\nFix credentials not passed or configured the CI workflow (#286)6195bc7
\nUpdate release notesbef233c
\nRemove the TODOs from the migrationSourced from pydoclint's\nreleases.
\n\n\n0.5.7
\nWhat's Changed
\n\n
\n- docs: add "sphinx" as an allowed style by
\n@Amar1729
in jsh9/pydoclint#159- tox: use
\ndeps = .
instead ofpip install
\nby@Amar1729
in\njsh9/pydoclint#160- Switch from tab to 4 spaces in baseline by
\n@cidrblock
in jsh9/pydoclint#152- feat: introduce DOC503 for checking specific raised exceptions by
\n@Amar1729
in jsh9/pydoclint#161New Contributors
\n\n
\n- \n
@Amar1729
\nmade their first contribution in jsh9/pydoclint#159- \n
@cidrblock
\nmade their first contribution in jsh9/pydoclint#152Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.6...0.5.7
\n0.5.6
\nWhat's Changed
\n\n
\n- Stop trying to check folder with names ending in
\n.py
by\n@jsh9
in jsh9/pydoclint#155Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.5...0.5.6
\n0.5.5
\nWhat's Changed
\n\n
\n- Improve class attr comparison logic by
\n@jsh9
in jsh9/pydoclint#154Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.4...0.5.5
\n0.5.4
\nWhat's Changed
\n\n
\n- Add an option for private class attributes by
\n@jsh9
in jsh9/pydoclint#149- Add option to treat property methods as class attributes by
\n@jsh9
in jsh9/pydoclint#153Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.3...0.5.4
\n
Sourced from pydoclint's\nchangelog.
\n\n\n[0.5.7] - 2024-09-02
\n\n
\n- \n
\nAdded
\n\n
\n- A new violation code,
\nDOC503
, which checks that\nexceptions in the\nfunction body match those in the "Raises" section of the\ndocstring- \n
\nChanged
\n\n
\n- Switched from tab to 4 spaces in baseline
\n[0.5.6] - 2024-07-17
\n\n
\n- \n
\nFixed
\n\n
\n- Fixed a bug where pydoclint treats folders whose names end\nwith
\n.py
as\nfiles- \n
\nFull diff
\n\n[0.5.5] - 2024-07-15
\n\n
\n- \n
\nFixed
\n\n
\n- Fixed a bug where
\na = b = c = 1
style cannot be\nproperly parsed\n(jsh9/pydoclint#151)- \n
\nChanged
\n\n
\n- Changed the default of\n
\n--treat-property-methods-as-class-attributes
to\nFalse
to restore backward compatibility- \n
\nFull diff
\n\n[0.5.4] - 2024-07-14
\n\n
\n- \n
\nAdded
\n\n
\n- An option
\n--should-document-private-class-attributes
\n(if False, private\nclass attributes should not appear in the docstring)- An option
\n--treat-property-methods-as-class-attributes
\n(if True,\n@property
methods are treated like class attributes and\nneed to be\ndocumented in the class docstring)- \n
\nFull diff
\n\n
f758604
\nfeat: introduce DOC503 for checking specific raised exceptions (#161)ae28589
\nSwitch from tab to 4 spaces in baseline (#152)1e80fd3
\ntox: use deps = .
instead of pip install
(#160)23b89f6
\ndocs: add "sphinx" as an allowed style (#159)94efc5f
\nStop trying to check folder with names ending in .py
(#155)0247ef5
\nImprove class attr comparison logic (#154)0b750d5
\nAdd option to treat property methods as class attributes (#153)3c39d2e
\nAdd an option for private class attributes (#149)Sourced from black's\nreleases.
\n\n\n24.8.0
\nStable style
\n\n
\n- Fix crash when
\n# fmt: off
is used before a closing\nparenthesis or bracket. (#4363)Packaging
\n\n
\n- Packaging metadata updated: docs are explictly linked, the issue\ntracker is now also\nlinked. This improves the PyPI listing for Black. (#4345)
\nParser
\n\n
\n- Fix regression where Black failed to parse a multiline f-string\ncontaining another\nmultiline string (#4339)
\n- Fix regression where Black failed to parse an escaped single quote\ninside an f-string\n(#4401)
\n- Fix bug with Black incorrectly parsing empty lines with a backslash\n(#4343)
\n- Fix bugs with Black's tokenizer not handling
\n\\{
inside\nf-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens\nwithin f-strings\n(#4423)
\nPerformance
\n\n
\n- Improve performance when a large directory is listed in\n
\n.gitignore
(#4415)Blackd
\n\n
\n- Fix blackd (and all extras installs) for docker container (#4357)
\n
Sourced from black's\nchangelog.
\n\n\n24.8.0
\nStable style
\n\n
\n- Fix crash when
\n# fmt: off
is used before a closing\nparenthesis or bracket. (#4363)Packaging
\n\n
\n- Packaging metadata updated: docs are explictly linked, the issue\ntracker is now also\nlinked. This improves the PyPI listing for Black. (#4345)
\nParser
\n\n
\n- Fix regression where Black failed to parse a multiline f-string\ncontaining another\nmultiline string (#4339)
\n- Fix regression where Black failed to parse an escaped single quote\ninside an f-string\n(#4401)
\n- Fix bug with Black incorrectly parsing empty lines with a backslash\n(#4343)
\n- Fix bugs with Black's tokenizer not handling
\n\\{
inside\nf-strings very well (#4422)- Fix incorrect line numbers in the tokenizer for certain tokens\nwithin f-strings\n(#4423)
\nPerformance
\n\n
\n- Improve performance when a large directory is listed in\n
\n.gitignore
(#4415)Blackd
\n\n
\n- Fix blackd (and all extras installs) for docker container (#4357)
\n
b965c2a
\nPrepare release 24.8.0 (#4426)9ccf279
\nDocument find_project_root
ignoring\npyproject.toml
without [tool.black]
...14b6e61
\nfix: Enhace black efficiently to skip directories listed in .gitignore\n(#4415)b1c4dd9
\nfix: respect braces better in f-string parsing (#4422)4b4ae43
\nFix incorrect linenos on fstring tokens with escaped newlines (#4423)7fa1faf
\ndocs: fix the installation command of extra for blackd (#4413)8827acc
\nBump sphinx from 7.3.7 to 7.4.0 in /docs (#4404)b0da11d
\nBump furo from 2024.5.6 to 2024.7.18 in /docs (#4409)721dff5
\nfix: avoid formatting backslash strings inside f-strings (#4401)7e2afc9
\nUpdate actions/checkout
to v4 to stop node deprecation\nwarnings (#4379)Sourced from mkdocs-material's\nreleases.
\n\n\nmkdocs-material-9.5.34
\n\n
\n- Updated Mermaid.js to version 11 (latest)
\nThanks go to
\n@manselmi
for their\ncontributionsmkdocs-material-9.5.33
\n\n
\n- Fixed #7453:\nIncorrect position of tooltip when sorting table
\nmkdocs-material-9.5.32
\n\n
\n- Fixed RXSS vulnerability via deep link in search results
\n- Added support for fetching latest release from GitLab
\nThanks go to
\n@joaopalmeiro
\nfor their contributionsmkdocs-material-9.5.31
\n\n
\n- Fixed #7405:\nDockerHub missing images > 9.5.27 due to change in Alpine/APK
\nmkdocs-material-9.5.30
\n\n
\n- Fixed #7380:\nNavigation icons disappearing on hover in Safari
\n- Fixed #7367:\nBlog readtime computation includes SVG text content
\nThanks go to
\n@sisp
for their\ncontributionsmkdocs-material-9.5.29
\n\n
\n- Updated Galician translations
\n- Fixed #7362:\nAnnotations in figure captions rendering incorrectly
\nThanks go to
\n@mmontes11
for\ntheir contributionsmkdocs-material-9.5.28
\n\n
\n- Fixed #7313:\nImproved tooltips mounted in sidebar when feature is disabled
\nmkdocs-material-9.5.27
\n\n
\n- Updated Estonian translations
\nThanks to
\n@Eilyre
for their\ncontributionsmkdocs-material-9.5.26
\n\n
\n- Fixed #7232:\nTab switches on scroll when linking tabs (9.5.19 regression)
\n- Fixed #7230:\nBlog author avatar broken when referring to local file
\nmkdocs-material-9.5.25
\n\n
\n- Fixed #7209:\nTags plugin crashing on numeric tags
\nmkdocs-material-9.5.24
\n\n
\n- Fixed #7187:\nVersion selector title rendering issue
\nmkdocs-material-9.5.23
\n\n\n
... (truncated)
\nSourced from mkdocs-material's\nchangelog.
\n\n\nmkdocs-material-9.5.34 (2024-08-31)
\n\n
\n- Updated Mermaid.js to version 11 (latest)
\nmkdocs-material-9.5.33 (2024-08-23)
\n\n
\n- Fixed #7453:\nIncorrect position of tooltip when sorting table
\nmkdocs-material-9.5.32 (2024-08-19)
\n\n
\n- Fixed RXSS vulnerability via deep link in search results
\n- Added support for fetching latest release from GitLab
\nmkdocs-material-9.5.31+insiders-4.53.12 (2024-08-02)
\n\n
\n- Fixed #7410:\nInstant previews jump on content tabs with anchor links
\n- Fixed #7408:\nInstant previews jump on content tabs
\nmkdocs-material-9.5.31 (2024-08-02)
\n\n
\n- Fixed #7405:\nDockerHub missing images > 9.5.27 due to change in Alpine/APK
\nmkdocs-material-9.5.30 (2024-07-23)
\n\n
\n- Fixed #7380:\nNavigation icons disappearing on hover in Safari
\n- Fixed #7367:\nBlog readtime computation includes SVG text content
\nmkdocs-material-9.5.29 (2024-07-14)
\n\n
\n- Updated Galician translations
\n- Fixed #7362:\nAnnotations in figure captions rendering incorrectly
\nmkdocs-material-9.5.28 (2024-07-02)
\n\n
\n- Fixed #7313:\nImproved tooltips mounted in sidebar when feature is disabled
\nmkdocs-material-9.5.27 (2024-06-16)
\n\n
\n- Updated Estonian translations
\nmkdocs-material-9.5.26 (2024-06-06)
\n\n
\n- Fixed #7232:\nTab switches on scroll when linking tabs (9.5.19 regression)
\n- Fixed #7230:\nBlog author avatar broken when referring to local file
\nmkdocs-material-9.5.25+insiders-4.53.11 (2024-05-27)
\n\n
\n- Fixed projects plugin crashing when serving before building\nsubprojects
\nmkdocs-material-9.5.25 (2024-05-27)
\n\n
... (truncated)
\n7d6096a
\nPrepare 9.5.34 release6f3c05b
\nUpdated dependenciesd3b1792
\nUpdated Mermaid to v11 (#7475)f88c436
\nUnpinned Stylelint and plugins3b12816
\nUnpinned TypeScript ESLint integration and checkscafd67b
\nFixed error in build script80ae560
\nUnpinned svgo dependencya91ee70
\nPrepare 9.5.33 release4104faf
\nUpdated dependencies8ee7137
\nUpdated premium sponsorsSourced from frequenz-repo-config[api]'s\nreleases.
\n\n\nv0.10.0
\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.
... (truncated)
\nSourced from frequenz-repo-config[api]'s\nchangelog.
\n\n\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.- Make sure credentials are configured for all jobs that check out the\nrepository in the CI workflow.
\n
... (truncated)
\nbfd45a8
\nAdd pull-requests read permission to the release-notes-check workflow\n(#289)6aa6bc0
\nPrepare for the v0.10.0 release (#290)297b184
\nUpdate version in the template pyproject.toml632283d
\nPrepare the release notes for v0.10.0 release1778ff8
\nAdd pull-requests read permission to the release-notes-check\nworkflow2ac253a
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3 (#288)1660756
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3327879b
\nFix credentials not passed or configured the CI workflow (#286)6195bc7
\nUpdate release notesbef233c
\nRemove the TODOs from the migrationSourced from mypy's\nchangelog.
\n\n\nMypy Release Notes
\nNext release
\nMypy 1.11
\nWe’ve just uploaded mypy 1.11 to the Python Package Index (PyPI). Mypy is a static type\nchecker for Python. This release includes new features, performance\nimprovements and bug fixes. You can install it as follows:
\n\npython3 -m pip install -U mypy\n
You can read the full documentation for this release on Read the Docs.
\nSupport Python 3.12 Syntax for Generics (PEP 695)
\nMypy now supports the new type parameter syntax introduced in Python\n3.12 (PEP 695).\nThis feature is still experimental and must be enabled with the\n
\n--enable-incomplete-feature=NewGenericSyntax
flag, or with\nenable_incomplete_feature = NewGenericSyntax
in the mypy\nconfiguration file.\nWe plan to enable this by default in the next mypy feature release.This example demonstrates the new syntax:
\n\n# Generic function\ndef f[T](https://github.com/python/mypy/blob/master/x: T) -> T: ...\n
reveal_type(f(1)) # Revealed type is 'int'
\nGeneric class
\nclass C[T]:\ndef init(self, x: T) -> None:\nself.x = x
\nc = C('a')\nreveal_type(c.x) # Revealed type is 'str'
\nType alias
\ntype A[T] = C[list[T]]\n
This feature was contributed by Jukka Lehtosalo.
\nSupport for
\nfunctools.partial
Mypy now type checks uses of
\nfunctools.partial
.\nPreviously mypy would accept arbitrary arguments.This example will now produce an error:
\n\nfrom functools import partial\n</tr></table>\n
... (truncated)
\n789f02c
\nBump version to 1.11.2917cc75
\nAn alternative fix for a union-like literal string (#17639)7d805b3
\nUnwrap TypedDict item types before storing (#17640)32675dd
\nRevert "Fix Literal strings containing pipe characters" (#17638)778542b
\nRevert "Fix RawExpressionType.accept
crash with\n--cache-fine-grained
" (#1...14ab742
\nBump version to 1.11.2+dev570b90a
\nBump version to 1.11b3a102e
\nFix RawExpressionType.accept
crash with\n--cache-fine-grained
(#17588)aec04c7
\nFix PEP 604 isinstance caching (#17563)cb44e4d
\nFix typing.TypeAliasType
being undefined on python <\n3.12 (#17558)a98215b
\nBump pylint to 3.2.7, update changelog1deaffa
\nFix to maintain order of package paths (#9887)\n(#9897)b4c2951
\n[Backport maintenance/3.2.x] Fix a crash in\nundefined-loop-variable
with `e...f1925f4
\nFix crash in refactoring checker when calling bound lambda (#9867)7d1626c
\nFix a false positive unreachable
for NoReturn
\ncoroutine functions (#9844)...da19566
\nBump pylint to 3.2.6, update changelog (#9825)810c59c
\nUpdate setuptools to >=71.0.4 (#9812)\n(#9824)5f19cd5
\nFix a crash when a subclass extends __slots__
(#9817)\n(#9822)c0b1d22
\nBump astroid to 3.2.4 (#9816)\n(#9821)1d877de
\nFix consider-using-min-max-builtin (#9802)\n(#9803)Sourced from pytest's\nreleases.
\n\n\n8.3.3
\npytest 8.3.3 (2024-09-09)
\nBug fixes
\n\n
\n- \n
\n#12446:\nAvoid calling
\n@property
(and other instance descriptors)\nduring fixture discovery -- byasottile
{.interpreted-text\nrole="user"}- \n
\n#12659:\nFixed the issue of not displaying assertion failure differences when\nusing the parameter
\n--import-mode=importlib
in\npytest>=8.1.- \n
\n#12667:\nFixed a regression where type change in\n[ExceptionInfo.errisinstance]{.title-ref} caused [mypy]{.title-ref} to\nfail.
\n- \n
\n#12744:\nFixed typing compatibility with Python 3.9 or less -- replaced\n[typing.Self]{.title-ref} with [typing_extensions.Self]{.title-ref} --\nby
\nAvasam
{.interpreted-text role="user"}- \n
\n#12745:\nFixed an issue with backslashes being incorrectly converted in nodeid\npaths on Windows, ensuring consistent path handling across\nenvironments.
\n- \n
\n#6682:\nFixed bug where the verbosity levels where not being respected when\nprinting the "msg" part of failed assertion (as in\n
\nassert condition, msg
).- \n
\n#9422:\nFix bug where disabling the terminal plugin via
\n-p\nno:terminal
would cause crashes related to missing the\nverbose
option.-- by
\nGTowers1
{.interpreted-text\nrole="user"}Improved documentation
\n\n
\n- #12663:\nClarify that the [pytest_deselected]{.title-ref} hook should be called\nfrom [pytest_collection_modifyitems]{.title-ref} hook implementations\nwhen items are deselected.
\n- #12678:\nRemove erroneous quotes from [tmp_path_retention_policy]{.title-ref}\nexample in docs.
\nMiscellaneous internal changes
\n\n
\n- #12769:\nFix typos discovered by codespell and add codespell to pre-commit\nhooks.
\n8.3.2
\npytest 8.3.2 (2024-07-24)
\nBug fixes
\n\n
\n- \n
\n#12652:\nResolve regression [conda]{.title-ref} environments where no longer\nbeing automatically detected.
\n-- by
\nRonnyPfannschmidt
{.interpreted-text\nrole="user"}8.3.1
\npytest 8.3.1 (2024-07-20)
\nThe 8.3.0 release failed to include the change notes and docs for the\nrelease. This patch release remedies this. There are no other\nchanges.
\n\n
... (truncated)
\nd0f136f
\nbuild(deps): Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (#12790)972f307
\nPrepare release version 8.3.30dabdcf
\nInclude co-authors in release announcement (#12795)\n(#12797)a9910a4
\nDo not discover properties when iterating fixtures (#12781)\n(#12788)0f10b6b
\nFix issue with slashes being turned into backslashes on Windows (#12760)\n(#12...300d13d
\nMerge pull request #12785\nfrom pytest-dev/patchback/backports/8.3.x/57cccf7f4...e5d32c7
\nMerge pull request #12784\nfrom svenevs/fix/docs-example-parametrize-minor-typobc913d1
\nStreamline checks for verbose option (#12706)\n(#12778)01cfcc9
\nFix typos and introduce codespell pre-commit hook (#12769)\n(#12774)4873394
\ndoc: Remove past training (#12772)\n(#12773)Sourced from frequenz-repo-config[extra-lint-examples]'s\nreleases.
\n\n\nv0.10.0
\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.
... (truncated)
\nSourced from frequenz-repo-config[extra-lint-examples]'s\nchangelog.
\n\n\nFrequenz Repository Configuration Release Notes
\nSummary
\nThis release includes quite a few enhancements and bug fixes for the\ncookiecutter template, but most importantly a new script for migrating\nto new templates, generating the templates is no longer needed for\nupgrading.
\nUpgrading
\nCookiecutter template
\n\n
\n- \n
\nA new script for migrating to new templates (instead of regenerating\nall files) is provided. It can't handle the upgrade 100% automatically,\nbut should make the migration process much easier and less error\nprone.
\nTo run it, the simplest way is to fetch it from GitHub and run it\ndirectly:
\n\ncurl -sSL\nhttps://raw.githubusercontent.com/frequenz-floss/frequenz-repo-config-python/v0.10.0/cookiecutter/migrate.sh\n| sh\n
Make sure the version you want to migrate to is correct in the\nURL.
\nFor jumping multiple versions you should run the script multiple\ntimes, once for each version.
\nAnd remember to follow any manual instructions for each run.
\nNew Features
\n\n
\n- A new GitHub ruleset is provided to configure the merge queue, so\nbranch protection rules are not needed anymore.
\nEnhancements
\n\n
\n- The generated docs now show the symbol type in the table of\ncontents.
\nCookiecutter template
\n\n
\n- The
\nMarkdown
dependency was bumped so we don't need to\nadd atype: ignore
due to incorrect type hints.- The generated docs now show the symbol type in the table of\ncontents.
\n- The dependecies were updated to the latest versions.
\n- Disabled some
\npylint
checks that are already checked by\nother tools.- The generated documentation now uses symlinks for aliases, which\nallows deep linking when using aliases too.
\nBug Fixes
\n\n
\n- The code example extractor relied on a bug in the upstream sybil\nproject that was recently fixed, thus our code also needed to be\nfixed.
\nCookiecutter template
\n\n
\n\n- Fixed a bug where the pip cache post action fails in the CI workflow\nbecause of permissions issues.
\n- Make the
\nnox-cross-arch-all
job fail if any\nnox-cross-arch
matrix job fails.- Fix credentials not being passed to the\n
\ntest-installation
job in the CI workflow.- Make sure credentials are configured for all jobs that check out the\nrepository in the CI workflow.
\n
... (truncated)
\nbfd45a8
\nAdd pull-requests read permission to the release-notes-check workflow\n(#289)6aa6bc0
\nPrepare for the v0.10.0 release (#290)297b184
\nUpdate version in the template pyproject.toml632283d
\nPrepare the release notes for v0.10.0 release1778ff8
\nAdd pull-requests read permission to the release-notes-check\nworkflow2ac253a
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3 (#288)1660756
\nDisable the new check-class-attributes
check in pydoclint\n0.5.3327879b
\nFix credentials not passed or configured the CI workflow (#286)6195bc7
\nUpdate release notesbef233c
\nRemove the TODOs from the migration65a38c4
\nRelease 7.1.034c97e0
\nMerge pull request #1939\nfrom PyCQA/new-pycodestyledefd315
\nlatest pycodestyle408d4d6
\nMerge pull request #1930\nfrom mzagol/patch-1866ad72
\nAdd --extend-exclude to the TOC33e5083
\nMerge pull request #1923\nfrom Viicos/entry-points-docs6659b21
\nFix toctree ordering in indexba0f566
\nUse explicit external references350f254
\nUse explicit external references49f52a8
\nUpdate documentation regarding entry pointsSourced from pydoclint's\nreleases.
\n\n\n0.5.3
\nWhat's Changed
\n\n
\n- Add DOC604 & 605 test cases; improve DOC605 err msg by
\n@jsh9
in jsh9/pydoclint#147Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.2...0.5.3
\n0.5.2
\nWhat's Changed
\n\n
\n- Make url a proper link by
\n@Gabriel-p
in jsh9/pydoclint#137- Don't report DOC6xx if no docstring or short docstring by
\n@jsh9
in jsh9/pydoclint#145- Don't report DOC109 if arg list is empty by
\n@jsh9
in jsh9/pydoclint#146- Updated some documentations (https://github.com/jsh9/pydoclint/commit/1a270b085a7117bc7b8a72cc4cc53491108ad588)
\nNew Contributors
\n\n
\n- \n
@Gabriel-p
\nmade their first contribution in jsh9/pydoclint#137Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.1...0.5.2
\n0.5.1
\nWhat's Changed
\n\n
\n- Fix annotation unparsing bug by
\n@jsh9
in jsh9/pydoclint#132- Fix another bug in class attr checking by
\n@jsh9
in jsh9/pydoclint#133- Use "attribute" docstring section in Sphinx style by
\n@jsh9
in jsh9/pydoclint#136Full Changelog: https://github.com/jsh9/pydoclint/compare/0.5.0...0.5.1
\n0.5.0
\nWhat's Changed
\n\n
\n- Check class attributes against docstring by
\n@jsh9
in jsh9/pydoclint#130\n\n
\n- This functionality checks class attributes against the\n"Attributes"\nsection of the docstring
\n- There is a new config option,
\n--check-class-attributes
\n(or-cca
),\nwhich defaults toTrue
. Therefore, this breaks backward\ncompatibility.- To maintain backward compatibility, set\n
\n--check-class-attributes
to\nFalse
- Options like
\n--check-arg-order
,\n--arg-type-hints-in-signature
, and\n--arg-type-hints-in-docstring
are still effective in\nchecking class\nattributesFull Changelog: https://github.com/jsh9/pydoclint/compare/0.4.2...0.5.0
\n0.4.2
\nWhat's Changed
\n\n
\n- Improve DOC403 message by
\n@jsh9
in jsh9/pydoclint#129Full Changelog: https://github.com/jsh9/pydoclint/compare/0.4.1...0.4.2
\n
Sourced from pydoclint's\nchangelog.
\n\n\n[0.5.3] - 2024-06-26
\n\n
\n- \n
\nChanged
\n\n
\n- Added DOC604 & 605 test cases
\n- Improved DOC605 error message
\n- \n
\nFull diff
\n\n[0.5.2] - 2024-06-26
\n\n
\n- \n
\nChanged
\n\n
\n- Pinned to a higher version (0.0.9) of docstring_parser_fork
\n- Relaxed class attribute checking logic\n
\n\n
\n- When a class has no docstring, no DOC6xx violations will be\nreported
\n- When a class has a short docstring (and\n
\n--skip-checking-short-docstrings
) is set to\nTrue
, no DOC6xx\nviolations will be reported- \n
\nFull diff
\n\n[0.5.1] - 2024-06-24
\n\n
\n- \n
\nFixed
\n\n
\n- Fixed a bug in unparsing annotations when checking class\nattributes
\n- Fixed a bug in checking class attributes where there are no\nattributes in\nclass def or in docstring
\n- \n
\nChanged
\n\n
\n- Used a dedicated "attribute" section for Sphinx-style\ndocstrings
\n- \n
\nFull diff
\n\n[0.5.0] - 2024-06-22
\n\n
\n\n- \n
\nAdded
\n\n
\n- Added checks for class attributes\n
\n\n
\n- This functionality checks class attributes against the\n"Attributes"\nsection of the docstring
\n- There is a new config option,
\n--check-class-attributes
\n(or-cca
),\nwhich defaults toTrue
. Therefore, this breaks backward\ncompatibility.- To maintain backward compatibility, set\n
\n--check-class-attributes
to\nFalse
... (truncated)
\n98f7a5c
\nAdd DOC604 & 605 test cases; improve DOC605 err msg (#147)4d0293a
\nDon't report DOC109 if arg list is empty (#146)4dd1667
\nDon't report DOC6xx if no docstring or short docstring (#145)457a559
\nSwitch to pprint for Doc objectsbf674fa
\nMake url a proper link (#137)1a270b0
\nAdd DOC6xx explanations to docsf43a961
\nUse "attribute" docstring section in Sphinx style (#136)63bed6b
\nFix another bug in class attr checking (#133)a5e24e6
\nFix annotation unparsing bug (#132)2c4337c
\nUpdate documentationSourced from mkdocs-material's\nreleases.
\n\n\nmkdocs-material-9.5.27
\n\n
\n- Updated Estonian translations
\nThanks to
\n@Eilyre
for their\ncontributionsmkdocs-material-9.5.26
\n\n
Sourced from mkdocs-material's\nchangelog.
\n\n\nmkdocs-material-9.5.27 (2024-06-16)
\n\n
\n- Updated Estonian translations
\nmkdocs-material-9.5.26 (2024-06-06)
\n\n
\n- Fixed #7232:\nTab switches on scroll when linking tabs (9.5.19 regression)
\n- Fixed #7230:\nBlog author avatar broken when referring to local file
\nmkdocs-material-9.5.25+insiders-4.53.11 (2024-05-27)
\n\n
\n- Fixed projects plugin crashing when serving before building\nsubprojects
\nmkdocs-material-9.5.25 (2024-05-27)
\n\n
\n- Fixed #7209:\nTags plugin crashing on numeric tags
\nmkdocs-material-9.5.24+insiders-4.53.10 (2024-05-20)
\n\n
\n- Fixed projects plugin crashing in serve mode when disabled
\n- Fixed projects plugin crashing when building nested projects
\nmkdocs-material-9.5.24+insiders-4.53.9 (2024-05-20)
\n\n
\n- Fixed #7191:\nTags listings not rendering when toc_depth is changed
\nmkdocs-material-9.5.24 (2024-05-20)
\n\n
\n- Fixed #7187:\nVersion selector title rendering issue
\nmkdocs-material-9.5.23 (2024-05-15)
\n\n
\n- Fixed #7183:\nEdge case in anchor navigation when using instant navigation
\n- Fixed #6436:\nVersion selector not showing version alias
\nmkdocs-material-9.5.22 (2024-05-12)
\n\n
\n- Fixed #7170:\nCopy button adds empty lines for line spans (9.5.18 regression)
\n- Fixed #7160:\nVersion switching doesn't stay on page (9.5.5 regression)
\n- Fixed #5619:\nLinks in Mermaid.js diagrams not discernible
\nmkdocs-material-9.5.21 (2024-05-03)
\n\n
\n- Fixed #7133:\nEnsure latest version of Mermaid.js is used
\n- Fixed #7125:\nAdded warning for dotfiles in info plugin
\nmkdocs-material-9.5.20 (2024-04-29)
\n\n
\n\n- Fixed deprecation warning in privacy plugin (9.5.19 regression)
\n- Fixed #7119:\nTags plugin emits deprecation warning (9.5.19 regression)
\n
... (truncated)
\nf4adebd
\nPrepare 9.5.27 release9e1f527
\nUpdated dependenciesf4db9de
\nUpdated Estonian translationsb45c51d
\nChanged Twitter to X (#7266)4ba7a6d
\nAdd reference to PlantUML Markdown schema (#7260)ccc8d84
\nUpdated dependencies0c54a88
\nUpdated Premium sponsorsf887197
\nUpdated changelog0d5a08c
\nPrepare 9.5.26 release1cc45d5
\nFixed active tab stolen on scroll with linked content tabsSourced from mypy's\nchangelog.
\n\n\nMypy 1.10.1
\n\n
\n- Fix error reporting on cached run after uninstallation of third\nparty library (Shantanu, PR 17420)
\nAcknowledgements
\nThanks to all mypy contributors who contributed to this release:
\n\n
\n- Alex Waygood
\n- Ali Hamdan
\n- Edward Paget
\n- Evgeniy Slobodkin
\n- Hashem
\n- hesam
\n- Hugo van Kemenade
\n- Ihor
\n- James Braza
\n- Jelle Zijlstra
\n- jhance
\n- Jukka Lehtosalo
\n- Loïc Simon
\n- Marc Mueller
\n- Matthieu Devlin
\n- Michael R. Crusoe
\n- Nikita Sobolev
\n- Oskari Lehto
\n- Riccardo Di Maio
\n- Richard Si
\n- roberfi
\n- Roman Solomatin
\n- Sam Xifaras
\n- Shantanu
\n- Spencer Brown
\n- Srinivas Lade
\n- Tamir Duberstein
\n- youkaichao
\nI’d also like to thank my employer, Dropbox, for supporting mypy\ndevelopment.
\nMypy 1.9
\nWe’ve just uploaded mypy 1.9 to the Python Package Index (PyPI). Mypy is a static type\nchecker for Python. This release includes new features, performance\nimprovements and bug fixes. You can install it as follows:
\n\npython3 -m pip install -U mypy\n
You can read the full documentation for this release on Read the Docs.
\nBreaking Changes
\nBecause the version of typeshed we use in mypy 1.9 doesn't support\n3.7, neither does mypy 1.9. (Jared Hance, PR 16883)
\n\n
... (truncated)
\nc28b525
\n[1.10 backport] Fix error reporting on cached run after uninstallation\nof thi...ae730ac
\nBump pylint to 3.2.5, update changelog (#9756)be7b5cc
\n[unreachable-code] Fix the false positive in python 3.8 (#9753)\n(#9755)6c3ab77
\n[release] Fix 3.2.4 release date following issue with twine 5.1.0 (#9749)\n(#9...425ad66
\nBump pylint to 3.2.4, update changelog (#9746)c41c35a
\n[possibly-used-before-assignment] Avoid FP for typing.NoReturn &\nNever (#9714...22e4d36
\n[symilar] Rename the unittest file that had a typo.3cf313a
\n[symilar] Fix the short form options that weren't being processed\nproperlye13544f
\n[symilar] Fix crash when giving bad options to symilarc3e2579
\n[unnecessary-list-index-lookup] Fix crashes for uninferrable 'start'\nvalue in...6b66ca6
\n[undefined-variable] Fix a crash for undefined lineno in annotations (#9705)\n...Sourced from pytest's\nreleases.
\n\n\n8.2.2
\npytest 8.2.2 (2024-06-04)
\nBug Fixes
\n\n
\n- #12355:\nFix possible catastrophic performance slowdown on a certain\nparametrization pattern involving many higher-scoped parameters.
\n- #12367:\nFix a regression in pytest 8.2.0 where unittest class instances (a fresh\none is created for each test) were not released promptly on test\nteardown but only on session teardown.
\n- #12381:\nFix possible "Directory not empty" crashes arising from\nconcurent cache dir (
\n.pytest_cache
) creation. Regressed in\npytest 8.2.0.Improved Documentation
\n\n
\n- #12290:\nUpdated Sphinx theme to use Furo instead of Flask, enabling Dark mode\ntheme.
\n- #12356:\nAdded a subsection to the documentation for debugging flaky tests to\nmention\nlack of thread safety in pytest as a possible source of flakyness.
\n- #12363:\nThe documentation webpages now links to a canonical version to reduce\noutdated documentation in search engine results.
\n
329d371
\nPrepare release version 8.2.2214d098
\nMerge pull request #12414\nfrom bluetech/backport-12409153a436
\n[8.2.x] fixtures: fix catastrophic performance problem in\nreorder_items
b41d5a5
\nMerge pull request #12412\nfrom pytest-dev/backport-12408-to-8.2.x9bb73d7
\n[8.2.x] cacheprovider: fix "Directory not empty" crash from\ncache directory c...4569a01
\n[8.2.x] doc: Update trainings/events (#12402)1d103e5
\n[8.2.x] Clarify pytest_ignore_collect docs (#12386)240a252
\n[8.2.x] Add html_baseurl to sphinx conf.py (#12372)a5ee3c4
\nMerge pull request #12370\nfrom pytest-dev/backport-12368-to-8.2.xf7358ae
\n[8.2.x] unittest: fix class instances no longer released on test\nteardown sin...