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)
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)
🚀 charset-normalizer is raising awareness around HTTP/2, and HTTP/3!
Did you know that Internet Explorer 11 shipped with an optional HTTP/2 support back in 2013? also libcurl did ship it in 2014[...]
All of this while our community is still struggling to make a firm advancement in HTTP clients. Now, many of you use Requests
as the defacto http client, now, and for many years now, Requests has been frozen. Being left in a vegetative state and not evolving,
this blocked millions of developers from using more advanced features.
We promptly invite Python developers to look at the drop-in replacement for Requests, namely Niquests.
It leverage charset-normalizer in a better way! Check it out, you will be positively surprised! Don't wait another decade.
We are thankful to @microsoft and involved parties for funding our work through the Microsoft FOSS Fund program.
Fix: nested context managers could incorrectly be analyzed to flag a missing
branch on the last context manager, as described in issue 1876_. This is
now fixed.
Fix: the missing branch message about not exiting a module had an extra
"didn't," as described in issue 1873_. This is now fixed.
Fix: a final wildcard match/case clause assigning to a name (case _ as value) was incorrectly marked as a missing branch. This is now fixed,
closing issue 1860_.
Fewer things are considered branches now. Lambdas, comprehensions, and
generator expressions are no longer marked as missing branches if they don't
complete execution. Closes issue 1852_.
Fix: the HTML report didn't properly show multi-line f-strings that end with
a backslash continuation. This is now fixed, closing issue 1836, thanks
to LiuYinCarl and Marco Ricci <pull 1838_>.
Fix: the LCOV report now has correct line numbers (fixing issue 1846) and
better branch descriptions for BRDA records (fixing issue 1850). There
are other changes to lcov also, including a new configuration option
:ref:line_checksums <config_lcov_line_checksums> to control whether line
checksums are included in the lcov report. The default is false. To keep
checksums set it to true. All this work is thanks to Zack Weinberg
(pull 1849_ and pull 1851_).
Fixed the docs for multi-line regex exclusions, closing issue 1863_.
Fixed a potential crash in the C tracer, closing issue 1835, thanks to
Jan Kühle <pull 1843_>.
This is the MarkupSafe 3.0.0 feature release. A feature release may include new features, remove previously deprecated code, add new deprecations, or introduce potentially breaking changes. The 3.0.x branch is now the supported fix branch, the 2.1.x branch will become a tag marking the end of support for that branch. We encourage everyone to upgrade, and to use a tool such as pip-tools to pin all dependencies and control upgrades. Test with warnings treated as errors to be able to adapt to deprecation warnings early.
Update signatures for Markup methods to match str signatures. Use positional-only arguments. #400
Some str methods on Markup no longer escape their argument: strip, lstrip, rstrip, removeprefix, removesuffix, partition, and rpartition; replace only escapes its new argument. These methods are conceptually linked to search methods such as in, find, and index, which already do not escape their argument. #401
The __version__ attribute is deprecated. Use feature detection, or importlib.metadata.version("markupsafe"), instead. #402
Address compiler warnings that became errors in GCC 14. :issue:466
Fix compatibility with proxy objects. :issue:467
Version 3.0.0
Released 2024-10-07
Support Python 3.13 and its experimental free-threaded build. :pr:461
Drop support for Python 3.7 and 3.8.
Use modern packaging metadata with pyproject.toml instead of setup.cfg.
:pr:348
Change distutils imports to setuptools. :pr:399
Use deferred evaluation of annotations. :pr:400
Update signatures for Markup methods to match str signatures. Use
positional-only arguments. :pr:400
Some str methods on Markup no longer escape their argument:
strip, lstrip, rstrip, removeprefix, removesuffix,
partition, and rpartition; replace only escapes its new
argument. These methods are conceptually linked to search methods such as
in, find, and index, which already do not escape their argument.
:issue:401
The __version__ attribute is deprecated. Use feature detection, or
importlib.metadata.version("markupsafe"), instead. :pr:402
We’ve just uploaded mypy 1.12 to the Python Package Index (PyPI). Mypy is a static type
checker for Python. This release includes new features, performance improvements and bug fixes.
You can install it as follows:
python3 -m pip install -U mypy
You can read the full documentation for this release on Read the Docs.
Support Python 3.12 Syntax for Generics (PEP 695)
Support for the new type parameter syntax introduced in Python 3.12 is now enabled by default,
documented, and no longer experimental. It was available through a feature flag in
mypy 1.11 as an experimental feature.
This example demonstrates the new syntax:
# Generic function
def f[T](https://github.com/python/mypy/blob/master/x: T) -> T: ...
reveal_type(f(1)) # Revealed type is 'int'
Generic class
class C[T]:
def init(self, x: T) -> None:
self.x = x
c = C('a')
reveal_type(c.x) # Revealed type is 'str'
Bumps the dependencies group with 15 updates in the /.config directory:
2.17.4
2.17.5
24.8.0
24.10.0
3.3.2
3.4.0
7.6.1
7.6.3
0.3.8
0.3.9
5.1.1
5.1.2
1.3.2
1.4.1
0.6.1
0.7.2
2.1.5
3.0.1
1.2.0
1.3.5
9.5.39
9.5.40
0.26.1
0.26.2
1.11.1
1.12.1
1.11.2
1.12.0
4.0.0
4.0.1
Updates
ansible-core
from 2.17.4 to 2.17.5Release notes
Sourced from ansible-core's releases.
Commits
5acd2b0
New release v2.17.5 (#84065)31df1bb
Update Ansible release version to v2.17.5rc1.post0. (#84030)f0fff1a
New release v2.17.5rc1 (#84027)589a3aa
copy, fix permissions and atime on diff partitions (#83824) (#83859)30651ec
delay keyword changed from int to float (#83901) (#83912)b9dfd1f
fix copy module update atime/mtime (#83235) (#83792)5f0e551
[stable-2.17] Prevent condor from being installed and fulfilling libfmt depen...f0badf8
Ansible Errors, Don't hide stacked messages when yaml (#83933) (#83999)d954d15
[2.17] Clarify galaxy CLI --help about install locations (#83919) (#83963)08d32bc
dnf5: re-introducestate: installed
alias (#83961) (#83976)Updates
black
from 24.8.0 to 24.10.0Release notes
Sourced from black's releases.
Changelog
Sourced from black's changelog.
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
charset-normalizer
from 3.3.2 to 3.4.0Release notes
Sourced from charset-normalizer's releases.
Changelog
Sourced from charset-normalizer's changelog.
Commits
f3118e3
:wrench: change download/upload artifact version to last working version33e67e8
:wrench: set compile-generator in generator_generic_slsa3 action73dd24c
:wrench: add explicit build deps to setuptools78f1e9b
:wrench: attempt to fix cd.yml *356ae702
:wrench: attempt to fix cd.yml *29720055
:wrench: attempt to fix cd.yml (macos part)1e10d06
Update CHANGELOG.md36c103a
:bookmark: Release 3.4.0 (#545)7658dfc
:arrow_up: Bump github/codeql-action from 3.26.11 to 3.26.12 (#544)ca2535d
:arrow_up: Bump github/codeql-action from 3.26.9 to 3.26.11 (#542)Updates
coverage
from 7.6.1 to 7.6.3Changelog
Sourced from coverage's changelog.
... (truncated)
Commits
342a4cb
docs: sample HTML for 7.6.3df03796
docs: prep for 7.6.3378c321
fix: nested context managers shouldn't cause a phantom missing branch #1876c8902ed
build: pypy 3.9 doesn't seem to be available nightlyc59a77b
docs(build): put a header on the GitHub releases65ac395
docs: fix a link in the changes2d3e72c
docs: add coverage-simple-excludes to the docs474a363
fix: didn't-ectomy. #18735229fc3
docs: mention 1852 is fixed6a4506f
build(docs): upgrade doc dependenciesUpdates
distlib
from 0.3.8 to 0.3.9Changelog
Sourced from distlib's changelog.
Commits
fab584e
Changes for 0.3.9.148fa95
Remove duplicated newline in shebang of windows launcher (#221)d1f40d6
Fix whitespace at end of file.2c4d2fa
Add support for wheel compatibility with the limited API. (#228)fac84c7
Do not use the absolute path to cache wheel extensions. (#226)6fbadf1
Add wheel with a C extension to test mounting (#229)a16423f
Add handling for cross-compilation environments. (#231)cbd4ae1
Upgrade codecov workflow to v4 (#232)5235013
Ignore .vscode project files. (#223)888c48b
Preload script wrappers at import time (#215)Updates
django
from 5.1.1 to 5.1.2Commits
c499184
[5.1.x] Bumped version for 5.1.2 release.6e07a77
[5.1.x] Added release date for 5.1.2.17fa759
[5.1.x] Fixed #35809 -- Set background color for selected rows in the admin's...e245f62
[5.1.x] Updated translations from Transifex.6bedb10
[5.1.x] Reindented attributes and methods for classes in docs/ref/middleware....bf64ac3
[5.1.x] Fixed #35670 -- Clarified the return value for LoginRequiredMiddlewar...5303113
[5.1.x] Relocated path() explanation to docs/ref/urls.txt to simplify tutoria...22bce64
[5.1.x] Fixed #35734 -- Used JSONB_BUILD_OBJECT database function on PostgreS...9e146b2
[5.1.x] Made cosmetic edits to the Steering council docs.251180f
[5.1.x] Removed setting the release schedule from Steering Council prerogativ...Updates
griffe
from 1.3.2 to 1.4.1Release notes
Sourced from griffe's releases.
Changelog
Sourced from griffe's changelog.
Commits
e725840
chore: Prepare release 1.4.15c11e13
chore: Template upgradef2d39b8
refactor: Drop support for Python 3.848ad843
chore: Template upgrade3108ada
chore: Prepare release 1.4.0806805c
feat: Add Markdown and GitHub output formats to thegriffe check
command6a9ca1d
chore: Synchronize public/insidersd998774
chore: Remove empty moduleUpdates
isodate
from 0.6.1 to 0.7.2Changelog
Sourced from isodate's changelog.
Commits
4408b60
update changelog, release 0.7.2 (0.7.x so missed python version requirements ...31ff767
restrict to python>=3.79443e63
some packaging updates2ace19f
modernise packaging8856fdf
Merge pull request #70 from kianmeng/fix-typos14aefdd
Merge pull request #66 from isodate/test-gha68a4bbe
Join classifier stringcc57560
Fix typosc19e4c3
Fix CI4a74ce2
Update pre-commitUpdates
markupsafe
from 2.1.5 to 3.0.1Release notes
Sourced from markupsafe's releases.
Changelog
Sourced from markupsafe's changelog.
Commits
ef0b95e
release version 3.0.154bb00b
fix exact str check (#469)7add29c
fix exact str checkb529164
cast to PyUnicodeObject (#468)cf4fc43
cast to PyUnicodeObject2c60930
start version 3.0.185813f1
release version 3.0.0 (#465)7643710
release version 3.0.044a54cd
Build Python 3.13 wheels (#461)0a00cfe
style changesUpdates
mkdocs-macros-plugin
from 1.2.0 to 1.3.5Changelog
Sourced from mkdocs-macros-plugin's changelog.
Commits
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-dependency6d99822
Addpathspec
as dependency69577e1
Separate standard DocProject and MarkdownPage classes962472c
Split test framework into DocProject (general) and MacrosDocProjecte164982
Improve tests (#244)Updates
mkdocs-material
from 9.5.39 to 9.5.40Release notes
Sourced from mkdocs-material's releases.
Changelog
Sourced from mkdocs-material's changelog.
... (truncated)
Commits
921e522
Prepare 9.5.40 release829d1c8
Fixed social cards not using site name on homepage (#7608)cf2b39d
Documentation10177cc
Documentation (#7604)f0c99d8
Documentation (#7602)a9be026
Fixed file watching for Chokidar 42014b63
Fixed file watching for Chokidar 425b2107
Updated dependenciesa83d44a
Updated publishing guide (#7584)ffcabca
Merge pull request #7582 from yanyongyu/schema/validation-anchorsUpdates
mkdocstrings
from 0.26.1 to 0.26.2Release notes
Sourced from mkdocstrings's releases.
Changelog
Sourced from mkdocstrings'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.1Release notes
Sourced from mkdocstrings-python's releases.
Changelog
Sourced from mkdocstrings-python's changelog.
Commits
e6b7542
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/python6615c91
build: Drop support for Python 3.8cbdf294
chore: Template upgradeUpdates
mypy
from 1.11.2 to 1.12.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits