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.0
11.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.6
Release Notes
pgjones/hypercorn
v0.13.2
Compare Source
v0.13.1
Compare Source
v0.13.0
Compare Source
v0.12.0
Compare Source
but provide a host header.
Error
suffix, most notablyLifespanFailure
toLifespanFailureError
.django/asgiref
v3.5.0
Compare 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.0
Compare Source
Preview style
#%%
are now standardised to# %%
(#2919)except
statements (#2939)for
loops (#2945)Configuration
__pypackages__
directories by default (#2836)--required-version
(#2832).Documentation
Integrations
Output
Packaging
tomllib
instead oftomli
(#2903)
black-primer
, the deprecated internal devtool, has been removed and copied to aseparate repository (#2924)
Parser
for
andasync for
statements, e.g
for item in *items_1, *items_2: pass
(#2879).nedbat/coveragepy
v6.3.2
Compare 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
pybehave
to the list of :ref:cmd_debug
and:ref:
cmd_run_debug
options.Fix: show an intelligible error message if
--concurrency=multiprocessing
is 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.1
Compare 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:
--precision
on 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.3
Compare 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
pybehave
to the list of :ref:cmd_debug
and:ref:
cmd_run_debug
options.Fix: show an intelligible error message if
--concurrency=multiprocessing
is 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.2
Compare Source
Feature: Now the
--concurrency
setting 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
source
setting 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=False
when constructing a Coverage object withmultiprocessing wouldn't suppress the data file suffix (
issue 989
_). Thisis now fixed.
Debug: The
coverage debug data
command will now sniff out combinable datafiles, and report on all of them.
Debug: The
coverage debug
command 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.2
Compare 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_files
setting 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.1
Compare 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.1
Compare 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_files
setting 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.1
Compare Source
v1.7.0
Compare Source
tiangolo/fastapi
v0.75.1
Compare Source
Translations
Internal
v0.75.0
Compare Source
Features
generate_unique_id_function
and docs for generating clients. New docs: Advanced - Generate Clients. PR #4650 by @tiangolo.v0.74.1
Compare Source
Features
v0.74.0
Compare Source
Breaking Changes
AsyncExitStack
to fix context for dependencies withyield
. PR #4575 by @tiangolo.Dependencies with
yield
can now catchHTTPException
and custom exceptions. For example:After the dependency with
yield
handles 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 withtry
andfinally
:...that way the
finally
block is run regardless of any exception that might happen.Features
contextvars
context 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
contextvars
context 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'sg
semi-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.0
Compare Source
Features
UploadFile
parameters without explicitFile()
. PR #4469 by @tiangolo. New docs: Request Files - File Parameters with UploadFile.Query
,Cookie
,Header
, andPath
parameters. 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.0
Compare 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.0
Compare Source
v3.5.1
Compare Source
v3.5.0
Compare Source
v3.4.2
Compare Source
v3.4.1
Compare Source
v3.4.0
Compare Source
isagalaev/highlight.js
v11.5.0
Compare Source
Themes:
Tokyo-Night-dark
theme Henri VandersleyenTokyo-Night-light
theme Henri Vandersleyenpanda-syntax-dark
theme Annmarie Switzerpanda-syntax-light
theme Annmarie SwitzerNew Grammars:
Grammars:
type
andvariable.language
scopes Josh Goebel$pattern
(numbers allowed in command names) Martin Mattelmeta.prompt
scope for REPL prompts, etc Josh Goebel***Hello world***
without breaking Josh Goebelelse
Josh Goebelencode/httpx
v0.22.0
Compare Source
Added
socksio
package. (#2034)Fixed
__del__
with unclosed clients. (#2026)Headers.update(...)
to correctly handle repeated headers (#2038)v0.21.3
Compare Source
Fixed
SyncByteStream
orAsyncByteStream
. Regression in 0.21.2. (#2016)v0.21.2
Compare Source
Fixed
v0.21.1
Compare Source
Fixed
response.url
property is now correctly annotated asURL
, instead ofOptional[URL]
. (#1940)v0.21.0
Compare Source
The 0.21.0 release integrates against a newly redesigned
httpcore
backend.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/--verbose
is used.-v/--verbose
is 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.1
Compare Source
v5.10.0
Compare Source
tomli
for pyproject.toml configuration loader.Potentially breaking changes:
_ast
module incorrectly excluded from stdlib definition.lxml/lxml
v4.8.0
Compare Source
==================
Features added
GH#337: Path-like objects are now supported throughout the API instead of just strings.
Patch by Henning Janssen.
The
ElementMaker
now supportsQName
values 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.1
Compare Source
==================
Features added
parser.feed()
now encodes the input datato the native UTF-8 encoding directly, instead of going through
Py_UNICODE
/wchar_t
encoding 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.objectify
previously 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.0
Compare Source
==================
v4.6.5
Compare 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.4
Compare Source
==================
Features added
GH#317: A new property
system_url
was added to DTD entities.Patch by Thirdegree.
GH#314: The
STATIC_*
variables insetup.py
can now be passed via env vars.Patch by Isaac Jurado.
PyMySQL/mysqlclient
v2.1.0
Compare 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.