Fixed regression (from :pr:8280) with adding Content-Disposition to the form-data
part after appending to writer -- by :user:Dreamsorcerer/:user:Olegt0rr.
Fixed "Unclosed client session" when initialization of
:py:class:~aiohttp.ClientSession fails -- by :user:NewGlad.
Related issues and pull requests on GitHub:
:issue:8253.
Fixed regression (from :pr:8280) with adding Content-Disposition to the form-data
part after appending to writer -- by :user:Dreamsorcerer/:user:Olegt0rr.
Related issues and pull requests on GitHub:
:issue:8332.
Added default Content-Disposition in multipart/form-data responses to avoid broken
form-data responses -- by :user:Dreamsorcerer.
Related issues and pull requests on GitHub:
:issue:8335.
Added initial support for function and class reporting in the HTML report. There are now three index pages which link to each other: files, functions, and classes. Other reports don't yet have this information, but it will be added in the future where it makes sense. Feedback gladly accepted! Finishes issue 780.
Other HTML report improvements:
There is now a "hide covered" checkbox to filter out 100% files, finishing issue 1384.
The index page is always sorted by one of its columns, with clearer indications of the sorting.
The "previous file" shortcut key didn't work on the index page, but now it does, fixing issue 1765.
The debug output showing which configuration files were tried now shows absolute paths to help diagnose problems where settings aren't taking effect, and is renamed from "attempted_config_files" to the more logical "config_files_attempted."
Added initial support for function and class reporting in the HTML report.
There are now three index pages which link to each other: files, functions,
and classes. Other reports don't yet have this information, but it will be
added in the future where it makes sense. Feedback gladly accepted!
Finishes issue 780_.
Other HTML report improvements:
There is now a "hide covered" checkbox to filter out 100% files, finishing
issue 1384_.
The index page is always sorted by one of its columns, with clearer
indications of the sorting.
The "previous file" shortcut key didn't work on the index page, but now it
does, fixing issue 1765_.
The debug output showing which configuration files were tried now shows
absolute paths to help diagnose problems where settings aren't taking effect,
and is renamed from "attempted_config_files" to the more logical
"config_files_attempted."
This library adheres to Semantic Versioning 2.0 <http://semver.org/>_.
1.2.1
Updated the copying of __notes__ to match CPython behavior (PR by CF Bolz-Tereick)
Corrected the type annotation of the exception handler callback to accept a
BaseExceptionGroup instead of BaseException
Fixed type errors on Python < 3.10 and the type annotation of suppress()
(PR by John Litborn)
1.2.0
Added special monkeypatching if Apport <https://github.com/canonical/apport>_ has
overridden sys.excepthook so it will format exception groups correctly
(PR by John Litborn)
Added a backport of contextlib.suppress() from Python 3.12.1 which also handles
suppressing exceptions inside exception groups
Fixed bare raise in a handler reraising the original naked exception rather than
an exception group which is what is raised when you do a raise in an except*
handler
1.1.3
catch() now raises a TypeError if passed an async exception handler instead of
just giving a RuntimeWarning about the coroutine never being awaited. (#66, PR by
John Litborn)
Fixed plain raise statement in an exception handler callback to work like a
raise in an except* block
Fixed new exception group not being chained to the original exception when raising an
exception group from exceptions raised in handler callbacks
Fixed type annotations of the derive(), subgroup() and split() methods to
match the ones in typeshed
1.1.2
Changed handling of exceptions in exception group handler callbacks to not wrap a
single exception in an exception group, as per
CPython issue 103590 <https://github.com/python/cpython/issues/103590>_
1.1.1
Worked around
CPython issue [#98778](https://github.com/agronholm/exceptiongroup/issues/98778) <https://github.com/python/cpython/issues/98778>_,
urllib.error.HTTPError(..., fp=None) raises KeyError on unknown attribute
access, on affected Python versions. (PR by Zac Hatfield-Dodds)
Improve best_match (and thereby error messages from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / allOf -- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).
(Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as == would.
Improve best_match (and thereby error messages from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / allOf -- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).
(Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as == would.
Commits
9882dbe Add / ignore the new specification test suite property.
We’ve just uploaded mypy 1.10 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 TypeIs (PEP 742)
Mypy now supports TypeIs (PEP 742), which allows
functions to narrow the type of a value, similar to isinstance(). Unlike TypeGuard,
TypeIs can narrow in both the if and else branches of an if statement:
[#178](https://github.com/pytest-dev/pluggy/issues/178) <https://github.com/pytest-dev/pluggy/issues/178>_: Add support for deprecating specific hook parameters, or more generally, for issuing a warning whenever a hook implementation requests certain parameters.
See :ref:warn_on_impl for details.
Bug Fixes
[#481](https://github.com/pytest-dev/pluggy/issues/481) <https://github.com/pytest-dev/pluggy/issues/481>_: PluginManager.get_plugins() no longer returns None for blocked plugins.
Bumps the minor-and-patch group with 17 updates:
3.9.4
3.9.5
24.3.0
24.4.2
7.4.4
7.5.0
1.2.0
1.2.1
3.1.42
3.1.43
4.21.1
4.22.0
1.9.0
1.10.0
4.2.0
4.2.1
1.4.0
1.5.0
2.6.4
2.7.1
8.1.1
8.2.0
0.23.5
0.23.6
0.33.0
0.35.0
0.9.0
0.12.3
4.10.0
4.11.0
69.2.0
69.5.1
2.21
2.22
Updates
aiohttp
from 3.9.4 to 3.9.5Release notes
Sourced from aiohttp's releases.
Changelog
Sourced from aiohttp's changelog.
Commits
b844d42
Release v3.9.5 (#8340)0415a4c
Patchback/backports/3.9/5fd29467fb63efdfae1ace280cec36b1f8139567/pr 8290 (#8311)f21c6f2
[PR #8335/5a6949da backport][3.9] Add Content-Disposition automatically (#8336)7eecdff
[PR #8332/482e6cdf backport][3.9] Add set_content_disposition test (#8333)82fbe64
[PR #8324/4a8fd08b backport][3.9] Add missing changelogs (#8330)01df7ec
Bump version7917ae2
Merge 3.1Updates
black
from 24.3.0 to 24.4.2Release notes
Sourced from black's releases.
Changelog
Sourced from black's changelog.
Commits
3702ba2
Prepare release 24.4.2 (#4335)e4aaa8a
Fix incorrect f-string tokenization (#4332)ba88fc3
Simplify string tokenization regexes (#4331)5683242
New release templatee7fb048
Prepare release 24.4.1 (#4328)3f0f8f1
Support PEP 696 (#4327)2f88085
Github Action: Directly install from repo ifexport-subst
is skipped (#4313)12ce3db
Move changelog entry to right section (#4326)1354be2
Add support to style function definitions with newlines before function stubs...f4b644b
Prevent wrapping of multiline fstrings in parens (#4325)Updates
coverage[toml]
from 7.4.4 to 7.5.0Release notes
Sourced from coverage[toml]'s releases.
Changelog
Sourced from coverage[toml]'s changelog.
Commits
5f4e034
docs: sample HTML for 7.5.0ed97cfb
docs: prep for 7.5.041e01d3
build: use macos 13 for 3.8 and 3.9 while GitHub rolls out macos 14583f0c0
test: add a test for skipping covered functionsb115ed3
refactor: keep Analysis private40a052e
docs: document CodeRegion and its plugin methods2ff9933
docs: remove comment that now explains nothing.a6ba1c8
fix: html report pages fully validate74c87a8
fix: previous page shortcut works in index page. #1765e016967
feat: main index page links to other index pagesUpdates
exceptiongroup
from 1.2.0 to 1.2.1Release notes
Sourced from exceptiongroup's releases.
Changelog
Sourced from exceptiongroup's changelog.
... (truncated)
Commits
b91b7a3
Added the release version521f02f
Fixed type errors, added type tests (#118)4639b1e
Fixed test failure on Python 3.12.3684b79a
Have tox install the package in editable mode9ebe9f5
Updated GitHub actionse57b07f
[pre-commit.ci] pre-commit autoupdate (#115)8d2f627
[pre-commit.ci] pre-commit autoupdate (#113)ee53e9f
BaseExceptionGroup.derive should not copy notes (#112)2f23259
Corrected the type annotation for the exception handler callback (#109)0c89199
[pre-commit.ci] pre-commit autoupdate (#110)Updates
gitpython
from 3.1.42 to 3.1.43Release notes
Sourced from gitpython's releases.
Commits
5364053
bump version to 3.1.434e626bd
Merge pull request #1886 from EliahKagan/deprecation-warningsf6060df
Add GitMeta alias8327b45
Test GitMeta aliasf92f4c3
Clarify security risk in USE_SHELL doc and warningsc7675d2
update security policy, to use GitHub instead of emailcf2576e
Make/use test.deprecation.lib; abandon idea to filter by module7cd3aa9
Make test.performance.lib docstring more specificb51b080
Explain the approach in test.deprecation to static checkingbdabb21
Expand USE_SHELL docstring; clarify a test usageUpdates
jsonschema
from 4.21.1 to 4.22.0Release notes
Sourced from jsonschema's releases.
Changelog
Sourced from jsonschema's changelog.
Commits
9882dbe
Add / ignore the new specification test suite property.ebc90bb
Merge commit '8fcfc3a674a7188a4fcc822b7a91efb3e0422a20'8fcfc3a
Squashed 'json/' changes from b41167c74..54f3784a830b7537
Pin pyenchant to pre from below until pyenchant/pyenchant#302 is released.c3729db
Enable doctests for the rest of the referencing page.70a994c
Remove a now-unneeded noqa since apparently this is fixed in new ruff.e6d0ef1
Fix a minor typo in the referencing example docs.bceaf41
Another placeholder benchmark for future optimization.b20234e
Consider errors from earlier indices (in instances) to be better matches41b49c6
Minor improvement to test failure message when a best match test fails.Updates
mypy
from 1.9.0 to 1.10.0Changelog
Sourced from mypy's changelog.
... (truncated)
Commits
3faf0fc
Remove +dev for version for release 1.10a5998d2
Update CHANGELOG.md (#17159)62ea5b0
Various updates to changelog for 1.10 (#17158)2f0864c
Update CHANGELOG.md with draft for release 1.10 (#17150)e1443bb
fix: incorrect returned type of access descriptors on unions of types (#16604)5161ac2
Sync typeshed (#17124)e2fc1f2
Fix crash when expanding invalid Unpack in aCallable
alias (#17028)3ff6e47
Docs: docstrings in checker.py, ast_helpers.py (#16908)732d98e
Fix string formatting for string enums (#16555)8019010
Narrow individual items when matching a tuple to a sequence pattern (#16905)Updates
platformdirs
from 4.2.0 to 4.2.1Release notes
Sourced from platformdirs's releases.
Commits
9781f05
[pre-commit.ci] pre-commit autoupdate (#276)b44d57d
Allow working without ctypes (#275)89b6b2b
[pre-commit.ci] pre-commit autoupdate (#274)f211ab4
[pre-commit.ci] pre-commit autoupdate (#273)077e11e
[pre-commit.ci] pre-commit autoupdate (#272)c8870a1
[pre-commit.ci] pre-commit autoupdate (#271)7039c66
Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 (#270)16f93e2
[pre-commit.ci] pre-commit autoupdate (#266)f9b9d6d
chore: update dead Microsoft's known folders documentation link (#267)1aece7e
chore: various minor fixes (#263)Updates
pluggy
from 1.4.0 to 1.5.0Changelog
Sourced from pluggy's changelog.
Commits
f8aa4a0
Preparing release 1.5.0b4a8c92
Merge pull request #495 from bluetech/warn-on-impl-args6f6ea68
Add support deprecating hook parameters91f88d2
Merge pull request #496 from bluetech/codecov-action89ce829
ci: replace upload-coverage script with codecov github action29f104d
Lift pluggy (#493)c2b36b4
Merge pull request #491 from pytest-dev/pre-commit-ci-update-config2b533c9
[pre-commit.ci] pre-commit autoupdate04d1bcd
[pre-commit.ci] pre-commit autoupdate (#490)f74e94b
[pre-commit.ci] pre-commit autoupdate (#489)Updates
pydantic
from 2.6.4 to 2.7.1Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
2612947
2.7.1 release prep (#9307)2b8efa2
Move TODO regarding pickling to markdown (#9288)73d1049
adds test case for unexpected discriminated union behavior (#9236)c33b925
Change CI to usemacos-13
for Python 3.8 and 3.9 (#9305)82e4664
Fix model json schema with config types (#9287)@dependabot recreate
Looks like these dependencies are updatable in another way, so this is no longer needed.