This repository was archived by the owner on Nov 21, 2025. It is now read-only.
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
==0.15.5->==1.0.0==0.11.2->==0.13.2==3.0.2->==3.1.1==1.4.26->==1.4.34==2.0.2->==2.1.1==0.7.0->==0.8.0==1.7.4->==1.7.7==3.4.1->==3.5.0==22.1.0->==22.3.0==6.0.2->==6.3.2==1.6.1->==1.7.1==0.71.0->==0.75.1==3.3.2->==3.6.011.4.0->11.5.0==0.20.0->==0.22.0==5.9.3->==5.10.1==2.0.1->==2.1.2==4.6.3->==4.8.0==2.0.3->==2.1.0==3.6.4->==3.6.7==3.19.0->==3.20.0==1.7.0->==1.9.1==6.2.5->==7.1.1==0.16.0->==0.18.3==3.2->==3.3==2.4.0->==2.5.0==3.5.3->==4.2.1==2.26.0->==2.27.1==0.15.0->==0.17.6Release Notes
pgjones/hypercorn
v0.13.2Compare Source
v0.13.1Compare Source
v0.13.0Compare Source
v0.12.0Compare Source
but provide a host header.
Errorsuffix, most notablyLifespanFailuretoLifespanFailureError.django/asgiref
v3.5.0Compare Source
Python 3.6 is no longer supported, and asyncio calls have been changed to
use only the modern versions of the APIs as a result
Several causes of RuntimeErrors in cases where an event loop was assigned
to a thread but not running
Speed improvements in the Local class
psf/black
v22.3.0Compare Source
Preview style
#%%are now standardised to# %%(#2919)exceptstatements (#2939)forloops (#2945)Configuration
__pypackages__directories by default (#2836)--required-version(#2832).Documentation
Integrations
Output
Packaging
tomllibinstead oftomli(#2903)
black-primer, the deprecated internal devtool, has been removed and copied to aseparate repository (#2924)
Parser
forandasync forstatements, e.g
for item in *items_1, *items_2: pass(#2879).nedbat/coveragepy
v6.3.2Compare Source
Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function
decorators like CPython 3.8: both the @-line and the def-line are traced.
Fixes
issue 1326_.Debug: added
pybehaveto the list of :ref:cmd_debugand:ref:
cmd_run_debugoptions.Fix: show an intelligible error message if
--concurrency=multiprocessingis used without a configuration file. Closes
issue 1320_... _issue 1320:https://github.com/nedbat/coveragepy/issues/13200
.. _issue 1326https://github.com/nedbat/coveragepy/issues/132626
.. _changes_631:
v6.3.1Compare Source
Fix: deadlocks could occur when terminating processes. Some of these
deadlocks (described in
issue 1310_) are now fixed.Fix: a signal handler was being set from multiple threads, causing an error:
"ValueError: signal only works in main thread". This is now fixed, closing
issue 1312_.Fix:
--precisionon the command-line was being ignored while considering--fail-under. This is now fixed, thanks toMarcelo Trylesinski <pull 1317_>_.Fix: releases no longer provide 3.11.0-alpha wheels. Coverage.py uses CPython
internal fields which are moving during the alpha phase. Fixes
issue 1316_... _issue 1310:https://github.com/nedbat/coveragepy/issues/13100
.. _issue 1312https://github.com/nedbat/coveragepy/issues/131212
.. _issue 131https://github.com/nedbat/coveragepy/issues/1316316
.. _pull 13https://github.com/nedbat/coveragepy/pull/13171317
.. _changes_63:
v6.3Compare Source
Fix: adapt to pypy3.9's decorator tracing behavior. It now traces function
decorators like CPython 3.8: both the @-line and the def-line are traced.
Fixes
issue 1326_.Debug: added
pybehaveto the list of :ref:cmd_debugand:ref:
cmd_run_debugoptions.Fix: show an intelligible error message if
--concurrency=multiprocessingis used without a configuration file. Closes
issue 1320_... _issue 1320:https://github.com/nedbat/coveragepy/issues/13200
.. _issue 1326https://github.com/nedbat/coveragepy/issues/132626
.. _changes_631:
v6.2Compare Source
Feature: Now the
--concurrencysetting can now have a list of values, sothat threads and another lightweight threading package can be measured
together, such as
--concurrency=gevent,thread. Closesissue 1012_ andissue 1082_.Fix: A module specified as the
sourcesetting is imported during startup,before the user program imports it. This could cause problems if the rest of
the program isn't ready yet. For example,
issue 1203_ describes a Djangosetting that is accessed before settings have been configured. Now the early
import is wrapped in a try/except so errors then don't stop execution.
Fix: A colon in a decorator expression would cause an exclusion to end too
early, preventing the exclusion of the decorated function. This is now fixed.
Fix: The HTML report now will not overwrite a .gitignore file that already
exists in the HTML output directory (follow-on for
issue 1244_).API: The exceptions raised by Coverage.py have been specialized, to provide
finer-grained catching of exceptions by third-party code.
API: Using
suffix=Falsewhen constructing a Coverage object withmultiprocessing wouldn't suppress the data file suffix (
issue 989_). Thisis now fixed.
Debug: The
coverage debug datacommand will now sniff out combinable datafiles, and report on all of them.
Debug: The
coverage debugcommand used to accept a number of topics at atime, and show all of them, though this was never documented. This no longer
works, to allow for command-line options in the future.
.. _issue 989:https://github.com/nedbat/coveragepy/issues/9899
.. _issue 1012https://github.com/nedbat/coveragepy/issues/101212
.. _issue 108https://github.com/nedbat/coveragepy/issues/1082082
.. _issue 12https://github.com/nedbat/coveragepy/issues/12031203
.. _changes_612:
v6.1.2Compare Source
Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to
do with
exits through with-statements <issue 1270_>_.Fix: When remapping file paths through the
[paths]setting whilecombining, the
[run] relative_filessetting was ignored, resulting inabsolute paths for remapped file names (
issue 1147_). This is now fixed.Fix: Complex conditionals over excluded lines could have incorrectly reported
a missing branch (
issue 1271_). This is now fixed.Fix: More exceptions are now handled when trying to parse source files for
reporting. Problems that used to terminate coverage.py can now be handled
with
[report] ignore_errors. This helps with plugins failing to readfiles (
django_coverage_plugin issue 78_).Fix: Removed another vestige of jQuery from the source tarball
(
issue 840_).Fix: Added a default value for a new-to-6.x argument of an internal class.
This unsupported class is being used by coveralls (
issue 1273_). AlthoughI'd rather not "fix" unsupported interfaces, it's actually nicer with a
default value.
.. _django_coverage_plugin issue 78:https://github.com/nedbat/django_coverage_plugin/issues/788
.. _issue 1147https://github.com/nedbat/coveragepy/issues/114747
.. _issue 127https://github.com/nedbat/coveragepy/issues/1270270
.. _issue 12https://github.com/nedbat/coveragepy/issues/12711271
.. _issue 1https://github.com/nedbat/coveragepy/issues/1273/1273
.. _changes_611:
v6.1.1Compare Source
Fix: The sticky header on the HTML report didn't work unless you had branch
coverage enabled. This is now fixed: the sticky header works for everyone.
(Do people still use coverage without branch measurement!? j/k)
Fix: When using explicitly declared namespace packages, the "already imported
a file that will be measured" warning would be issued (
issue 888_). Thisis now fixed.
.. _issue 888:https://github.com/nedbat/coveragepy/issues/8888
.. _changes_61:
v6.1Compare Source
Python 3.11 is supported (tested with 3.11.0a2). One still-open issue has to
do with
exits through with-statements <issue 1270_>_.Fix: When remapping file paths through the
[paths]setting whilecombining, the
[run] relative_filessetting was ignored, resulting inabsolute paths for remapped file names (
issue 1147_). This is now fixed.Fix: Complex conditionals over excluded lines could have incorrectly reported
a missing branch (
issue 1271_). This is now fixed.Fix: More exceptions are now handled when trying to parse source files for
reporting. Problems that used to terminate coverage.py can now be handled
with
[report] ignore_errors. This helps with plugins failing to readfiles (
django_coverage_plugin issue 78_).Fix: Removed another vestige of jQuery from the source tarball
(
issue 840_).Fix: Added a default value for a new-to-6.x argument of an internal class.
This unsupported class is being used by coveralls (
issue 1273_). AlthoughI'd rather not "fix" unsupported interfaces, it's actually nicer with a
default value.
.. _django_coverage_plugin issue 78:https://github.com/nedbat/django_coverage_plugin/issues/788
.. _issue 1147https://github.com/nedbat/coveragepy/issues/114747
.. _issue 127https://github.com/nedbat/coveragepy/issues/1270270
.. _issue 12https://github.com/nedbat/coveragepy/issues/12711271
.. _issue 1https://github.com/nedbat/coveragepy/issues/1273/1273
.. _changes_611:
jamesls/fakeredis
v1.7.1Compare Source
v1.7.0Compare Source
tiangolo/fastapi
v0.75.1Compare Source
Translations
Internal
v0.75.0Compare Source
Features
generate_unique_id_functionand docs for generating clients. New docs: Advanced - Generate Clients. PR #4650 by @tiangolo.v0.74.1Compare Source
Features
v0.74.0Compare Source
Breaking Changes
AsyncExitStackto fix context for dependencies withyield. PR #4575 by @tiangolo.Dependencies with
yieldcan now catchHTTPExceptionand custom exceptions. For example:After the dependency with
yieldhandles the exception (or not) the exception is raised again. So that any exception handlers can catch it, or ultimately the default internalServerErrorMiddleware.If you depended on exceptions not being received by dependencies with
yield, and receiving an exception breaks the code afteryield, you can use a block withtryandfinally:...that way the
finallyblock is run regardless of any exception that might happen.Features
contextvarscontext for the code before and afteryield. This was the main objective of that PR.This means that now, if you set a value in a context variable before
yield, the value would still be available afteryield(as you would intuitively expect). And it also means that you can reset the context variable with a token afterwards.For example, this works correctly now:
...before this change it would raise an error when resetting the context variable, because the
contextvarscontext was different, because of the way it was implemented.Note: You probably don't need
contextvars, and you should probably avoid using them. But they are powerful and useful in some advanced scenarios, for example, migrating from code that used Flask'sgsemi-global variable.Technical Details: If you want to know more of the technical details you can check out the PR description #4575.
Internal
v0.73.0Compare Source
Features
UploadFileparameters without explicitFile(). PR #4469 by @tiangolo. New docs: Request Files - File Parameters with UploadFile.Query,Cookie,Header, andPathparameters. PR #3144 by @astraldawn. New docs: Query Parameters and String Validations - Exclude from OpenAPI.Docs
Fixes
jsonable_encoder. PR #2061 by @viveksunder.Internal
v0.72.0Compare Source
Features
Docs
Translations
docs/help-fastapi.md. PR #3847 by @jaystone776.docs/ko/docs/index.md. PR #4195 by @kty4119.docs/pl/docs/index.md. PR #4245 by @MicroPanda123.docs\tutorial\path-operation-configuration.md. PR #3312 by @jaystone776.Internal
content.tabs.link. PR #4399 by @tiangolo.tox-dev/py-filelock
v3.6.0Compare Source
v3.5.1Compare Source
v3.5.0Compare Source
v3.4.2Compare Source
v3.4.1Compare Source
v3.4.0Compare Source
isagalaev/highlight.js
v11.5.0Compare Source
Themes:
Tokyo-Night-darktheme Henri VandersleyenTokyo-Night-lighttheme Henri Vandersleyenpanda-syntax-darktheme Annmarie Switzerpanda-syntax-lighttheme Annmarie SwitzerNew Grammars:
Grammars:
typeandvariable.languagescopes Josh Goebel$pattern(numbers allowed in command names) Martin Mattelmeta.promptscope for REPL prompts, etc Josh Goebel***Hello world***without breaking Josh GoebelelseJosh Goebelencode/httpx
v0.22.0Compare Source
Added
socksiopackage. (#2034)Fixed
__del__with unclosed clients. (#2026)Headers.update(...)to correctly handle repeated headers (#2038)v0.21.3Compare Source
Fixed
SyncByteStreamorAsyncByteStream. Regression in 0.21.2. (#2016)v0.21.2Compare Source
Fixed
v0.21.1Compare Source
Fixed
response.urlproperty is now correctly annotated asURL, instead ofOptional[URL]. (#1940)v0.21.0Compare Source
The 0.21.0 release integrates against a newly redesigned
httpcorebackend.Both packages ought to automatically update to the required versions, but if you are
seeing any issues, you should ensure that you have
httpx==0.21.*andhttpcore==0.14.*installed.Added
-v/--verboseis used.-v/--verboseis used.should be formatted as HTTP/1.1 or HTTP/2, based on the result of the HTTP/2 negotiation.
Removed
pycqa/isort
v5.10.1Compare Source
v5.10.0Compare Source
tomlifor pyproject.toml configuration loader.Potentially breaking changes:
_astmodule incorrectly excluded from stdlib definition.lxml/lxml
v4.8.0Compare Source
==================
Features added
GH#337: Path-like objects are now supported throughout the API instead of just strings.
Patch by Henning Janssen.
The
ElementMakernow supportsQNamevalues as tags, which always overridethe default namespace of the factory.
Bugs fixed
lower case, whereas XML Schema datatypes define them as "NaN" and "INF" respectively.
Patch by Tobias Deiminger.
Other changes
v4.7.1Compare Source
==================
Features added
parser.feed()now encodes the input datato the native UTF-8 encoding directly, instead of going through
Py_UNICODE/wchar_tencoding first, which previously required duplicate recoding in most cases.Bugs fixed
The standard namespace prefixes were mishandled during "C14N2" serialisation on Python 3.
See https://mail.python.org/archives/list/lxml@python.org/thread/6ZFBHFOVHOS5GFDOAMPCT6HM5HZPWQ4Q/
lxml.objectifypreviously accepted non-XML numbers with underscores (like "1_000")as integers or float values in Python 3.6 and later. It now adheres to the number
format of the XML spec again.
LP#1939031: Static wheels of lxml now contain the header files of zlib and libiconv
(in addition to the already provided headers of libxml2/libxslt/libexslt).
Other changes
v4.7.0Compare Source
==================
v4.6.5Compare Source
==================
Bugs fixed
A vulnerability (GHSL-2021-1038) in the HTML cleaner allowed sneaking script
content through SVG images (CVE-2021-43818).
A vulnerability (GHSL-2021-1037) in the HTML cleaner allowed sneaking script
content through CSS imports and other crafted constructs (CVE-2021-43818).
v4.6.4Compare Source
==================
Features added
GH#317: A new property
system_urlwas added to DTD entities.Patch by Thirdegree.
GH#314: The
STATIC_*variables insetup.pycan now be passed via env vars.Patch by Isaac Jurado.
PyMySQL/mysqlclient
v2.1.0Compare Source
What's Changed
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.