Black is now officially tested with Python 3.13 and provides Python 3.13
mypyc-compiled wheels. (#4436) (#4449)
Black will issue an error when used with Python 3.12.5, due to an upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. (#4447)
Black no longer supports running with Python 3.8 (#4452)
Stable style
Fix crashes involving comments in parenthesised return types or X | Y style unions.
(#4453)
Fix skipping Jupyter cells with unknown %% magic (#4462)
Preview style
Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#4440)
Caching
Fix bug where the cache was shared between runs with and without --unstable (#4466)
Packaging
Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
blackd now requires a newer version of aiohttp. (#4451)
Output
Added Python target version information on parse error (#4378)
Add information about Black version to internal error messages (#4457)
24.8.0
Stable style
Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#4363)
Packaging
Packaging metadata updated: docs are explictly linked, the issue tracker is now also
linked. This improves the PyPI listing for Black. (#4345)
Parser
Fix regression where Black failed to parse a multiline f-string containing another
multiline string (#4339)
Black is now officially tested with Python 3.13 and provides Python 3.13
mypyc-compiled wheels. (#4436) (#4449)
Black will issue an error when used with Python 3.12.5, due to an upstream memory
safety issue in Python 3.12.5 that can cause Black's AST safety checks to fail. Please
use Python 3.12.6 or Python 3.12.4 instead. (#4447)
Black no longer supports running with Python 3.8 (#4452)
Stable style
Fix crashes involving comments in parenthesised return types or X | Y style unions.
(#4453)
Fix skipping Jupyter cells with unknown %% magic (#4462)
Preview style
Fix type annotation spacing between * and more complex type variable tuple (i.e. def fn(*args: *tuple[*Ts, T]) -> None: pass) (#4440)
Caching
Fix bug where the cache was shared between runs with and without --unstable (#4466)
Packaging
Upgrade version of mypyc used to 1.12 beta (#4450) (#4449)
blackd now requires a newer version of aiohttp. (#4451)
Output
Added Python target version information on parse error (#4378)
Add information about Black version to internal error messages (#4457)
24.8.0
Stable style
Fix crash when # fmt: off is used before a closing parenthesis or bracket. (#4363)
Packaging
Packaging metadata updated: docs are explictly linked, the issue tracker is now also
linked. This improves the PyPI listing for Black. (#4345)
Parser
Fix regression where Black failed to parse a multiline f-string containing another
A new AbbrTreeprocessor has been introduced, which replaces the now deprecated
AbbrInlineProcessor. Abbreviation processing now happens after Attribute Lists,
avoiding a conflict between the two extensions (#1460).
The AbbrPreprocessor class has been renamed to AbbrBlockprocessor, which
better reflects what it is. AbbrPreprocessor has been deprecated.
A call to Markdown.reset() now clears all previously defined abbreviations.
Abbreviations are now sorted by length before executing AbbrTreeprocessor
to ensure that multi-word abbreviations are implemented even if an abbreviation
exists for one of those component words. (#1465)
Abbreviations without a definition are now ignored. This avoids applying
abbr tags to text without a title value.
Added an optional glossary configuration option to the abbreviations extension.
This provides a simple and efficient way to apply a dictionary of abbreviations
to every page.
Abbreviations can now be disabled by setting their definition to "" or ''.
This can be useful when using the glossary option.
Fixed
Fixed links to source code on GitHub from the documentation (#1453).
A new AbbrTreeprocessor has been introduced, which replaces the now deprecated
AbbrInlineProcessor. Abbreviation processing now happens after Attribute Lists,
avoiding a conflict between the two extensions (#1460).
The AbbrPreprocessor class has been renamed to AbbrBlockprocessor, which
better reflects what it is. AbbrPreprocessor has been deprecated.
A call to Markdown.reset() now clears all previously defined abbreviations.
Abbreviations are now sorted by length before executing AbbrTreeprocessor
to ensure that multi-word abbreviations are implemented even if an abbreviation
exists for one of those component words. (#1465)
Abbreviations without a definition are now ignored. This avoids applying
abbr tags to text without a title value.
Added an optional glossary configuration option to the abbreviations extension.
This provides a simple and efficient way to apply a dictionary of abbreviations
to every page.
Abbreviations can now be disabled by setting their definition to "" or ''.
This can be useful when using the glossary option.
Fixed
Fixed links to source code on GitHub from the documentation (#1453).
[3.6] -- 2024-03-14
Changed
Refactor TOC Sanitation
All postprocessors are now run on heading content.
Footnote references are now stripped from heading content. Fixes #660.
A more robust striptags is provided to convert headings to plain text.
Unlike, the markupsafe implementation, HTML entities are not unescaped.
The plain text name, rich html, and unescaped raw data-toc-label are
saved to toc_tokens, allowing users to access the full rich text content of
the headings directly from toc_tokens.
The value of data-toc-label is sanitized separate from heading content
before being written to name. This fixes a bug which allowed markup through
in certain circumstances. To access the raw unsanitized data, retrieve the
Added: complete test framework, using pytest and Mkdocs-Test (#244)
A number of automated test cases are implemented.
Changed: move from setup.py to pyproject.toml (#250)
1.2.0, 2024-09-15
Added: three hooks register_variables/macros/filters to facilitate
cooperation with other MkDocs plugins.
Fixed: `define_env() was always required in module (#191)
Added: trace the case when no module is found (INFO)
Improved documentation, particularly about HTML pages
Added: parameters j2_comment_start_string and
j2_comment_end_string to plugin's parameters,
to specify alternate markers for comments.
Added the multiline parameter force_render_paths in the config file,
to specify directories or file patterns to be rendered for the case when render_by_default = false
(the render_macros parameter in the YAML header of the page
has the last word).
class Pet(Enum):
CAT = 1 # Member attribute
DOG = 2 # Member attribute
WOLF: int = 3 # New error: Enum members must be left unannotated
species: str # Considered a non-member attribute
In particular, the specification change can result in issues in type stubs (.pyi files), since
historically it was common to leave the value absent:
# In a type stub (.pyi file)
class Pet(Enum):
# Change in semantics: previously considered members, now non-member attributes
CAT: int
DOG: int
# Mypy will now issue a warning if it detects this situation in type stubs:
# > Detected enum "Pet" in a type stub with zero members.
# > There is a chance this is due to a recent change in the semantics of enum membership.
# > If so, use `member = value` to mark an enum member, instead of `member: type`
class Pet(Enum):
# As per the specification, you should now do one of the following:
DOG = 1 # Member attribute with value 1 and known type
WOLF = cast(int, ...) # Member attribute with unknown value but known type
LION = ... # Member attribute with unknown value and unknown type
Contributed by Terence Honles in PR 17207 and
Shantanu Jain in PR 18068.
Mypy 1.13
We’ve just uploaded mypy 1.13 to the Python Package Index (PyPI).
Mypy is a static type checker for Python. You can install it as follows:
This release adds explicit support for Python 3.13 and drops support for running Nox itself under Python 3.7. Note that you can still use 3.7 in your Nox sessions, we just dropped support for installing & running nox itself in 3.7.
We'd like to thank the following folks who conributed to this release:
This seems silly. grpcio-tools was bumped but not grpcio. It seems both need to be bumped at the same time. I'm not sure if this also needs the common API to bump these dependencies, you could try first bumping grpcio manually here.
I also noticed this repo is accumulating quite a bit of dependency updates. I recommend allocating some time to bring it up to date. Let me know if you need some help.
Bumps the required group with 15 updates in the / directory:
1.66.1
1.67.1
7.1.0
7.1.1
0.5.6
0.5.9
24.4.2
24.10.0
3.6.0
3.7
2.1.2
2.1.3
1.0.5
1.3.7
9.5.30
9.5.43
0.26.1
0.26.2
1.11.1
1.12.2
1.9.0
1.13.0
3.6.0.20240316
3.7.0.20240822
2024.4.15
2024.10.9
8.2.2
8.3.3
3.2.5
3.3.1
Updates
grpcio-tools
from 1.66.1 to 1.67.1Release notes
Sourced from grpcio-tools's releases.
... (truncated)
Commits
d328661
[Release] Bump version to 1.67.1 (on v1.67.x branch) (#38011)fb19ed1
[Backport] Addingnoexcept
to required Cython functions to fix potential de...74f2458
[release] Bump release version to v1.67.0 (#37846)2139e88
[release] backport "Handle backport PRs without piper info in release notes a...7e2ea89
increased timeout for armv7 artifact build to 2 hours (#37807)fb22b98
Merge branch 'v1.67.x' of https://www.github.com/grpc/grpc into v1.67.xbcfee53
[Backport to 1.67.x] Add templating and support for Python 3.13 (#37643) (#37...a4fd219
Add templating and support for Python 3.13 (#37643)1eb5673
[objc] backport grpc/grpc#37690 to v1.67.x (#37712)ace22e3
[ruby] reduce an INFO log to DEBUG (backport https://github.com/grpc/grpc/pul...Updates
flake8
from 7.1.0 to 7.1.1Commits
cf1542c
Release 7.1.1939ea3d
Merge pull request #1949 from stephenfin/issue-1948bdcd5c2
Handle escaped braces in f-strings2a811cc
Merge pull request #1946 from Viicos/patch-110314ad
Fix wording of plugins documentationUpdates
pydoclint
from 0.5.6 to 0.5.9Release notes
Sourced from pydoclint's releases.
Changelog
Sourced from pydoclint's changelog.
Commits
8170436
Improve handling of long type annotations (#173)27ff769
doc(usage): Including a null-ls use with neovim. (#167)5e941f5
fix: DOC503 catch namespaced exceptions (#168)f758604
feat: introduce DOC503 for checking specific raised exceptions (#161)ae28589
Switch from tab to 4 spaces in baseline (#152)1e80fd3
tox: usedeps = .
instead ofpip install
(#160)23b89f6
docs: add "sphinx" as an allowed style (#159)Updates
black
from 24.4.2 to 24.10.0Release notes
Sourced from black's releases.
... (truncated)
Changelog
Sourced from black's changelog.
... (truncated)
Commits
1b2427a
Prepare release 24.10.0 (#4471)a22b1eb
Add mypyc 3.13 wheel build (#4449)b7d0e72
Bump AndreMiras/coveralls-python-action from 65c1672f0b8a201702d86c81b79187df...f1a2f92
Include --unstable in cache key (#4466)8d9d18c
Fix skipping Jupyter cells with unknown %% magic (#4462)bbfdba3
Fix docs CI: use venv for uv to fix 'failed to create directory' (#4460)8fb2add
Use builtin generics (#4458)2a45cec
Fix crashes with comments in parentheses (#4453)b4d6d86
Drop Python 3.8 support (#4452)ac018c1
Require newer aiohttp for blackd (#4451)Updates
markdown
from 3.6.0 to 3.7Release notes
Sourced from markdown's releases.
Changelog
Sourced from markdown's changelog.
... (truncated)
Commits
da03cd6
Bump version to 3.7bd836a1
Update griffe_extensions to support Griffe v 1.0.33359fa
Abbr Extension: Definition Sorting and Glossary storageec8c305
Refactorabbr
Extension993b57b
Fixed links to source code on GitHub from the documentationUpdates
mike
from 2.1.2 to 2.1.3Release notes
Sourced from mike's releases.
Changelog
Sourced from mike's changelog.
Commits
c4e9608
Update version to 2.1.33b19e27
Announce the previous changedd9826a
Consult deploy prefix when deleting files during deploy; resolves #22791cf5ee
Properly escape parameters in regex90cf131
Update version to 2.2.0.dev0Updates
mkdocs-macros-plugin
from 1.0.5 to 1.3.7Changelog
Sourced from mkdocs-macros-plugin's changelog.
Commits
b906a36
Bump version number5641806
Fixed incompatibility with d2 module (#249)3a73707
Migrate to pyproject.toml99733be
Demote info messages as debug (#248)6a9a0e4
Bump version number, for distribution (should solve #247)32cd528
Test the hooks for external registration (#237)16be58d
Migrate all tests toward the mkdocs-test framework (#244)59f82db
Replacing local implementation of SuperDict by super-collections version38b9681
Merge branch 'master' of github.com:fralau/mkdocs_macros_plugin into mastereebbbd1
Merge pull request #246 from dwreeves/add-pathspec-as-dependencyUpdates
mkdocs-material
from 9.5.30 to 9.5.43Release notes
Sourced from mkdocs-material's releases.
... (truncated)
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
8a60b49
Prepare 9.5.43 releasef82a345
Documentation4918a10
Added support for quoted external CSS URLs in privacy plugin (#7651)7dc96f1
Added support for downloading external images in SVG for privacy plugin (#7650)1357cd2
Updated dependencies198a680
Documentation (#7633)9aebe14
Updated dependenciesf3a390e
Prepare 9.5.42 releaseade227c
Updated README.md (#7631)cc1508f
Fixed encoding of boolean attributes in privacy pluginUpdates
mkdocstrings[python]
from 0.26.1 to 0.26.2Release notes
Sourced from mkdocstrings[python]'s releases.
Changelog
Sourced from mkdocstrings[python]'s changelog.
Commits
bcdfc70
chore: Prepare release 0.26.2f26edeb
build: Drop support for Python 3.8b383527
chore: Template upgrade7f35f56
docs: Remove sponsors only mention for mkdocstrings-shellUpdates
mkdocstrings-python
from 1.11.1 to 1.12.2Release notes
Sourced from mkdocstrings-python's releases.
Changelog
Sourced from mkdocstrings-python's changelog.
Commits
1b064a0
chore: Prepare release 1.12.273f11dc
fix: Always render cross-references outside of signaturese6b7542
chore: Prepare release 1.12.19dee4d4
fix: Don't escape parameter default valuese455022
chore: Prepare release 1.12.0701ba60
docs: Various documentation updates7f9757d
feat: Auto-summary of members0f2c25c
feat: Render function overloads0176b83
feat: Parameter headings, more automatic cross-referencesb461d14
Merge branch 'main' of github.com:mkdocstrings/pythonUpdates
mypy
from 1.9.0 to 1.13.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
eb31034
Bump version to 1.13.02eeb588
Update changelog for 1.12.1 (#17999)bc0386b
Changelog for 1.13 (#18000)5c4d2db
Add faster-cache extra, test in CI (#17978)854ad18
Make is_sub_path faster (#17962)50aa4ca
Speed up stubs suggestions (#17965)7c27808
Use orjson instead of json, when available (#17955)2cd2406
Use fast path in modulefinder more often (#17950)e20aaee
Let mypyc optimise os.path.join (#17949)159974c
Use sha1 for hashing (#17953)Updates
types-markdown
from 3.6.0.20240316 to 3.7.0.20240822Commits
Updates
nox
from 2024.4.15 to 2024.10.9Release notes
Sourced from nox's releases.
Changelog
Sourced from
llucax
commented
2 weeks ago
This seems silly.
grpcio-tools
was bumped but notgrpcio
. It seems both need to be bumped at the same time. I'm not sure if this also needs the common API to bump these dependencies, you could try first bumpinggrpcio
manually here.I also noticed this repo is accumulating quite a bit of dependency updates. I recommend allocating some time to bring it up to date. Let me know if you need some help.