In Python 3.12 and above, you can try an experimental core based on the new
:mod:sys.monitoring <python:sys.monitoring> module by defining a
COVERAGE_CORE=sysmon environment variable. This should be faster for
line coverage, but not for branch coverage, and plugins and dynamic contexts
are not yet supported with it. I am very interested to hear how it works (or
doesn't!) for you.
.. _changes_7-3-4:
Version 7.3.4 — 2023-12-20
Fix: the change for multi-line signature exclusions in 7.3.3 broke other
forms of nested clauses being excluded properly. This is now fixed, closing
issue 1713_.
Fix: in the HTML report, selecting code for copying won't select the line
numbers also. Thanks, Robert Harris <pull 1717_>_.
The proxy argument was added. You should use the proxy argument instead of the deprecated proxies, or use mounts= for more complex configurations. (#2879)
Deprecated
The proxies argument is now deprecated. It will still continue to work, but it will be removed in the future. (#2879)
Fixed
Fix cases of double escaping of URL path components. Allow / as a safe character in the query portion. (#2990)
Handle NO_PROXY envvar cases when a fully qualified URL is supplied as the value. (#2741)
Allow URLs where username or password contains unescaped '@'. (#2986)
Ensure ASGI raw_path does not include URL query component. (#2999)
The proxy argument was added. You should use the proxy argument instead of the deprecated proxies, or use mounts= for more complex configurations. (#2879)
Deprecated
The proxies argument is now deprecated. It will still continue to work, but it will be removed in the future. (#2879)
Fixed
Fix cases of double escaping of URL path components. Allow / as a safe character in the query portion. (#2990)
Handle NO_PROXY envvar cases when a fully qualified URL is supplied as the value. (#2741)
Allow URLs where username or password contains unescaped '@'. (#2986)
Ensure ASGI raw_path does not include URL query component. (#2999)
Character escaping in C14N2 serialisation now uses a single pass over the text
instead of searching for each unescaped character separately.
Early support for Python 3.13a2 was added.
Bugs fixed
LP#1976304: The Element.addnext() method previously inserted the new element
before existing tail text. The tail text of both sibling elements now stays on
the respective elements.
LP#1980767, GH#379: TreeBuilder.close() could fail with a TypeError after
parsing incorrect input. Original patch by Enrico Minack.
Element.itertext(with_tail=False) returned the tail text of comments and
processing instructions, despite the explicit option.
GH#370: A crash with recent libxml2 2.11.x versions was resolved.
Patch by Michael Schlenker.
A compile problem with recent libxml2 2.12.x versions was resolved.
The internal exception handling in C callbacks was improved for Cython 3.0.
The exception declarations of xmlInputReadCallback, xmlInputCloseCallback,
xmlOutputWriteCallback and xmlOutputCloseCallback in tree.pxd were
corrected to prevent running Python code or calling into the C-API with a live
exception set.
GH#385: The long deprecated unittest.m̀akeSuite() function is no longer used.
Patch by Miro Hrončok.
LP#1522052: A file-system specific test is now optional and should no longer fail
on systems that don't support it.
GH#392: Some tests were adapted for libxml2 2.13.
Patch by Nick Wellnhofer.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the python-packages group with 7 updates:
23.12.3
23.12.4
7.3.3
7.4.0
23.12.0
23.12.1
0.25.2
0.26.0
7.0.0
7.0.1
4.9.3
5.0.0
0.1.8
0.1.9
Updates
pontos
from 23.12.3 to 23.12.4Release notes
Sourced from pontos's releases.
Commits
6277504
Automatic release to 23.12.474d6ee1
Add: Make CPE hashablef280e08
Add: Add repository topics script (#947)cab9d1f
Deps: Bump the actions group with 1 update4717b61
Deps: Bump the python-packages group with 5 updates9556850
Automatic adjustments after releaseUpdates
coverage
from 7.3.3 to 7.4.0Changelog
Sourced from coverage's changelog.
Commits
23a015c
docs: sample HTML for 7.4.04f020d4
docs: prep for 7.4.05bb88c3
build: temporarily disable metacov, it's flaky now with sysmon support3879b97
docs: mention sys.monitoring support9a84eeb
style: environment variable names should be monospace7882b8c
refactor: clean lint and mypy for sysmon et al5dad1a1
test: test which core we getb7e0c34
fix: don't default to sysmon yete5babcf
docs: explain the COVERAGE_*_CORE testing variablesebdc277
fix: usecore
more consistently thantracer
Updates
black
from 23.12.0 to 23.12.1Release notes
Sourced from black's releases.
Changelog
Sourced from black's changelog.
Commits
ec91a2b
Prepare release 23.12.1 (#4124)8fec1c3
Adds paren to deps for hidden extra constraint (#4108)35ce37d
Add new changelog templateUpdates
httpx
from 0.25.2 to 0.26.0Release notes
Sourced from httpx's releases.
Changelog
Sourced from httpx's changelog.
Commits
08eff92
Version 0.26.0 (#3009)b4b27ff
Remove unused curio check (#3010)a11fc38
Cleanup URL percent-encoding behavior. (#2990)3b9060e
Fix environment proxies (#2741)2318fd8
Enablingruff
C416 (#3001)2c51edd
Update CHANGELOG.md (#3000)1e11096
Fixediter_text
adding an empty string (#2998)90538a3
Ensure that ASGI 'raw_path' does not include query component of URL. (#2999)f8981f3
Add the 'proxy' parameter and deprecate 'proxies'. (#2879)b471f01
Allow URLs where username or password contains unescaped '@'. (#2986)Updates
importlib-metadata
from 7.0.0 to 7.0.1Changelog
Sourced from importlib-metadata's changelog.
Commits
f2e84e3
Finalizee9e9f77
Merge commit '98196a'98196a7
Fixed type annotations to allow strings.f38e051
Add Python 3.13 to compatibility matrix. Ref python/cpython#113174.0c1d32e
Inline os.PathLike using future annotations.b99c9d6
Refine SimplePath to allow for os.PathLike on input and SimplePath on output.200cf45
Merge pull request #480 from python/bugfix/distribution-simplepathac243d3
Include _meta in docs to fix doc build failures.1b3f272
Corrected the interface for SimplePath to encompass the expectations of locat...fc4df51
Rely on read_text and read_bytes from located paths.Updates
lxml
from 4.9.3 to 5.0.0Changelog
Sourced from lxml's changelog.
... (truncated)
Commits
73fa115
Prepare release of lxml 5.0.0.6256584
Update changelog.b38cebf
Disable external entity resolution (XXE) by default (GH-391)2de6ecf
tests: Set no_network=False in HTTP tests (GH-392)5024820
Minor code cleanup.9f58aa7
Do not let "Element.itertext()"" return tail text of PIs and comments if the ...badcb49
Update changelog.e82b1f5
CI: Build the coverage job with STATIC_DEPS=true to make it independent of th...8324137
Fix test in Py2.7.ac82838
Fix the work around for a test failure in Python 3.11.Updates
ruff
from 0.1.8 to 0.1.9Release notes
Sourced from ruff's releases.
... (truncated)
Changelog
Sourced from ruff's changelog.
... (truncated)
Commits
0263f27
Bump version to v0.1.9 (#9231)c6d8076
Set target versions in Black tests (#9221)8cb7950
Addtarget_version
to formatter options (#9220)ef4bd8d
Fix: Avoid parenthesizing subscript targets and values (#9209)5d41c84
SIM300: CONSTANT_CASE variables are improperly flagged for yoda violation (#9...cbe3bf9
Avoidasyncio-dangling-task
violations on shadowed bindings (#9215)4b4160e
Allow removal oftyping
fromexempt-modules
(#9214)29846f5
PreferNever
toNoReturn
in auto-typing (#9213)07b293d
Add fix to automatically removeprint
andpprint
statements (#9208)5ccc21a
Add support forNoReturn
in auto-return-typing (#9206)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show