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_>_.
Fix: function definitions with multi-line signatures can now be excluded by
matching any of the lines, closing issue 684. Thanks, Jan Rusak, Maciej Kowalczyk and Joanna Ejzel <pull 1705_>.
Fix: XML reports could fail with a TypeError if files had numeric components
that were duplicates except for leading zeroes, like file1.py and
file001.py. Fixes issue 1709_.
The coverage annotate command used to announce that it would be removed
in a future version. Enough people got in touch to say that they use it, so
it will stay. Don't expect it to keep up with other new features though.
Added new :ref:debug options <cmd_run_debug>:
pytest writes the pytest test name into the debug output.
dataop2 writes the full data being added to CoverageData objects.
#11140: Fix non-string constants at the top of file being detected as docstrings on Python>=3.8.
#11572: Handle an edge case where sys.stderr{.interpreted-text role="data"} and sys.__stderr__{.interpreted-text role="data"} might already be closed when faulthandler{.interpreted-text role="ref"} is tearing down.
#11710: Fixed tracebacks from collection errors not getting pruned.
#7966: Removed unhelpful error message from assertion rewrite mechanism when exceptions are raised in __iter__ methods. Now they are treated un-iterable instead.
Improved Documentation
#11091: Updated documentation to refer to hyphenated options: replaced --junitxml with --junit-xml and --collectonly with --collect-only.
Read the v2 migration guide <https://urllib3.readthedocs.io/en/latest/v2-migration-guide.html>__ for help upgrading to the latest version of urllib3.
Removals
Removed support for the deprecated urllib3[secure] extra. ([#2680](https://github.com/urllib3/urllib3/issues/2680) <https://github.com/urllib3/urllib3/issues/2680>__)
Removed support for the deprecated SecureTransport TLS implementation. ([#2681](https://github.com/urllib3/urllib3/issues/2681) <https://github.com/urllib3/urllib3/issues/2681>__)
Removed support for the end-of-life Python 3.7. ([#3143](https://github.com/urllib3/urllib3/issues/3143) <https://github.com/urllib3/urllib3/issues/3143>__)
Bugfixes
Allowed loading CA certificates from memory for proxies. ([#3065](https://github.com/urllib3/urllib3/issues/3065) <https://github.com/urllib3/urllib3/issues/3065>__)
Fixed decoding Gzip-encoded responses which specified x-gzip content-encoding. ([#3174](https://github.com/urllib3/urllib3/issues/3174) <https://github.com/urllib3/urllib3/issues/3174>__)
api-change:connect: [botocore] Minor trait updates for User APIs
api-change:kms: [botocore] Documentation updates for AWS Key Management Service (KMS).
api-change:redshift-serverless: [botocore] use_fips_ssl and require_ssl parameter support for Workgroup, UpdateWorkgroup, and CreateWorkgroup
1.34.13
api-change:config: [botocore] Updated ResourceType enum with new resource types onboarded by AWS Config in November and December 2023.
api-change:docdb: [botocore] Adding PerformanceInsightsEnabled and PerformanceInsightsKMSKeyId fields to DescribeDBInstances Response.
api-change:ecs: [botocore] This release adds support for managed instance draining which facilitates graceful termination of Amazon ECS instances.
api-change:es: [botocore] This release adds support for new or existing Amazon OpenSearch domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher suites for domain endpoints.
api-change:lightsail: [botocore] This release adds support to set up an HTTPS endpoint on an instance.
api-change:opensearch: [botocore] This release adds support for new or existing Amazon OpenSearch domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher suites for domain endpoints.
api-change:sagemaker: [botocore] Adding support for provisioned throughput mode for SageMaker Feature Groups
api-change:servicecatalog: [botocore] Added Idempotency token support to Service Catalog AssociateServiceActionWithProvisioningArtifact, DisassociateServiceActionFromProvisioningArtifact, DeleteServiceAction API
api-change:endpoint-rules: [botocore] Update endpoint-rules client to latest version
1.34.12
api-change:connect: [botocore] Amazon Connect, Contact Lens Evaluation API increase evaluation notes max length to 3072.
api-change:mediaconvert: [botocore] This release includes video engine updates including HEVC improvements, support for ingesting VP9 encoded video in MP4 containers, and support for user-specified 3D LUTs.
api-change:location: [botocore] This release introduces a new parameter to bypasses an API key's expiry conditions and delete the key.
api-change:quicksight: [botocore] Add LinkEntityArn support for different partitions; Add UnsupportedUserEditionException in UpdateDashboardLinks API; Add support for New Reader Experience Topics
1.34.10
api-change:codestar-connections: [botocore] New integration with the GitLab self-managed provider type.
api-change:kinesis-video-archived-media: [botocore] NoDataRetentionException thrown when GetImages requested for a Stream that does not retain data (that is, has a DataRetentionInHours of 0).
api-change:sagemaker: [botocore] Amazon SageMaker Studio now supports Docker access from within app container
1.34.9
api-change:emr: [botocore] Update emr client to latest version
api-change:connect: Minor trait updates for User APIs
api-change:kms: Documentation updates for AWS Key Management Service (KMS).
api-change:redshift-serverless: use_fips_ssl and require_ssl parameter support for Workgroup, UpdateWorkgroup, and CreateWorkgroup
1.34.13
api-change:config: Updated ResourceType enum with new resource types onboarded by AWS Config in November and December 2023.
api-change:docdb: Adding PerformanceInsightsEnabled and PerformanceInsightsKMSKeyId fields to DescribeDBInstances Response.
api-change:ecs: This release adds support for managed instance draining which facilitates graceful termination of Amazon ECS instances.
api-change:es: This release adds support for new or existing Amazon OpenSearch domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher suites for domain endpoints.
api-change:lightsail: This release adds support to set up an HTTPS endpoint on an instance.
api-change:opensearch: This release adds support for new or existing Amazon OpenSearch domains to enable TLS 1.3 or TLS 1.2 with perfect forward secrecy cipher suites for domain endpoints.
api-change:sagemaker: Adding support for provisioned throughput mode for SageMaker Feature Groups
api-change:servicecatalog: Added Idempotency token support to Service Catalog AssociateServiceActionWithProvisioningArtifact, DisassociateServiceActionFromProvisioningArtifact, DeleteServiceAction API
api-change:endpoint-rules: Update endpoint-rules client to latest version
1.34.12
api-change:connect: Amazon Connect, Contact Lens Evaluation API increase evaluation notes max length to 3072.
api-change:mediaconvert: This release includes video engine updates including HEVC improvements, support for ingesting VP9 encoded video in MP4 containers, and support for user-specified 3D LUTs.
api-change:location: This release introduces a new parameter to bypasses an API key's expiry conditions and delete the key.
api-change:quicksight: Add LinkEntityArn support for different partitions; Add UnsupportedUserEditionException in UpdateDashboardLinks API; Add support for New Reader Experience Topics
1.34.10
api-change:codestar-connections: New integration with the GitLab self-managed provider type.
api-change:kinesis-video-archived-media: NoDataRetentionException thrown when GetImages requested for a Stream that does not retain data (that is, has a DataRetentionInHours of 0).
api-change:sagemaker: Amazon SageMaker Studio now supports Docker access from within app container
1.34.9
api-change:emr: Update emr client to latest version
Python 3.12: Restore the full ability to walk the stack of a suspended
greenlet; previously only the innermost frame was exposed. See issue 388 <https://github.com/python-greenlet/greenlet/issues/388>. Fix by
Joshua Oreman in PR 393 <https://github.com/python-greenlet/greenlet/pull/393/>.
3.0.2 (2023-12-08)
Packaging: Add a minimal pyproject.toml to sdists.
Packaging: Various updates to macOS wheels.
Fix a test case on Arm32. Note that this is not a supported platform
(there is no CI for it) and support is best effort; there may be
other issues lurking. See issue 385 <https://github.com/python-greenlet/greenlet/issues/385>_
[orm] [usecase] Added preliminary support for Python 3.12 pep-695 type alias structures,
when resolving custom type maps for ORM Annotated Declarative mappings.
[orm] [bug] Fixed issue where when making use of the
_orm.relationship.post_update feature at the same time as using
a mapper version_id_col could lead to a situation where the second UPDATE
statement emitted by the post-update feature would fail to make use of the
correct version identifier, assuming an UPDATE was already emitted in that
flush which had already bumped the version counter.
[orm] [bug] Fixed issue where ORM Annotated Declarative would mis-interpret the left
hand side of a relationship without any collection specified as
uselist=True if the left type were given as a class and not a string,
without using future-style annotations.
[sql] [bug] Improved compilation of _sql.any_() / _sql.all_() in the
context of a negation of boolean comparison, will now render NOT (expr)
rather than reversing the equality operator to not equals, allowing
finer-grained control of negations for these non-typical operators.
[typing] [bug] Fixed regressions caused by typing added to the sqlalchemy.sql.functions
module in version 2.0.24, as part of #6810:
- Further enhancements to pep-484 typing to allow SQL functions from
`_sql.func` derived elements to work more effectively with ORM-mapped
attributes ([#10801](https://www.sqlalchemy.org/trac/ticket/10801))
Fixed the argument types passed to functions so that literal expressions
This feature release adds typing_extensions.ReadOnly, as specified
by PEP 705, and makes various other improvements, especially to
@typing_extensions.deprecated().
There are no changes since 4.9.0rc1.
4.9.0rc1
Add support for PEP 705, adding typing_extensions.ReadOnly. Patch
by Jelle Zijlstra.
All parameters on NewType.__call__ are now positional-only. This means that
the signature of typing_extensions.NewType.__call__ now exactly matches the
signature of typing.NewType.__call__. Patch by Alex Waygood.
Fix bug with using @deprecated on a mixin class. Inheriting from a
deprecated class now raises a DeprecationWarning. Patch by Jelle Zijlstra.
@deprecated now gives a better error message if you pass a non-str
argument to the msg parameter. Patch by Alex Waygood.
@deprecated is now implemented as a class for better introspectability.
Patch by Jelle Zijlstra.
Exclude __match_args__ from Protocol members.
Backport of python/cpython#110683 by Nikita Sobolev.
When creating a typing_extensions.NamedTuple class, ensure __set_name__
is called on all objects that define __set_name__ and exist in the values
of the NamedTuple class's class dictionary. Patch by Alex Waygood,
backporting python/cpython#111876.
Improve the error message when trying to call issubclass() against a
Protocol that has non-method members. Patch by Alex Waygood (backporting
python/cpython#112344, by Randolph Scholz).
This feature release adds typing_extensions.ReadOnly, as specified
by PEP 705, and makes various other improvements, especially to
@typing_extensions.deprecated().
There are no changes since 4.9.0rc1.
Release 4.9.0rc1 (November 29, 2023)
Add support for PEP 705, adding typing_extensions.ReadOnly. Patch
by Jelle Zijlstra.
All parameters on NewType.__call__ are now positional-only. This means that
the signature of typing_extensions.NewType.__call__ now exactly matches the
signature of typing.NewType.__call__. Patch by Alex Waygood.
Fix bug with using @deprecated on a mixin class. Inheriting from a
deprecated class now raises a DeprecationWarning. Patch by Jelle Zijlstra.
@deprecated now gives a better error message if you pass a non-str
argument to the msg parameter. Patch by Alex Waygood.
@deprecated is now implemented as a class for better introspectability.
Patch by Jelle Zijlstra.
Exclude __match_args__ from Protocol members.
Backport of python/cpython#110683 by Nikita Sobolev.
When creating a typing_extensions.NamedTuple class, ensure __set_name__
is called on all objects that define __set_name__ and exist in the values
of the NamedTuple class's class dictionary. Patch by Alex Waygood,
backporting python/cpython#111876.
Improve the error message when trying to call issubclass() against a
Protocol that has non-method members. Patch by Alex Waygood (backporting
python/cpython#112344, by Randolph Scholz).
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 all-dependencies group in /api with 16 updates:
7.3.2
7.4.0
0.3.7
0.3.8
2.5.32
2.5.33
3.5.0
3.6.0
7.4.3
7.4.4
2.0.7
2.1.0
1.33.6
1.34.14
1.33.6
1.34.14
3.0.1
3.0.3
7.0.0
7.0.1
2.5.2
2.5.3
2.14.5
2.14.6
0.8.2
0.10.0
2.0.23
2.0.25
4.8.0
4.9.0
23.3.1
23.3.2
Updates
coverage
from 7.3.2 to 7.4.0Changelog
Sourced from coverage's changelog.
... (truncated)
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
distlib
from 0.3.7 to 0.3.8Changelog
Sourced from distlib's changelog.
Commits
ab5f8e7
Changes for 0.3.8.86bb212
Update change log.488599f
Updates based on flake8 checks.0e261af
Use legacy version implementation for Python itself.8242f39
Update copyright years.e27569b
Fix #208: Handle deprecation removals in Python 3.13.65a014b
Update requirements and CI matrix.124108a
Skip test for non-final Python versions.ff48e09
Fix #206: include tox.ini in sdist.eeaa18d
Fix #204: Use symlinks in venv creation during test.Updates
identify
from 2.5.32 to 2.5.33Commits
3d4672c
v2.5.3369fcae7
Merge pull request #433 from om-henners/patch-18dfb002
Addpyt
extensionbce1aad
Merge pull request #430 from pre-commit/pre-commit-ci-update-config5bf8237
[pre-commit.ci] pre-commit autoupdateUpdates
pre-commit
from 3.5.0 to 3.6.0Release notes
Sourced from pre-commit's releases.
Changelog
Sourced from pre-commit's changelog.
Commits
9c9983d
v3.6.07dc0a59
Merge pull request #3093 from pre-commit/removeprefixd3fa7f4
Merge pull request #3092 from pre-commit/minimum-version-first08478ec
python 3.9+: use removeprefix047439a
attempt minimum_pre_commit_version first when parsing configs23a2b73
Merge pull request #3079 from edgarrmondragon/deprecation-rmtree-onerrorcffabe5
Address deprecation warning inshutil.rmtree(onerror=...)
51df34e
Merge pull request #3078 from pre-commit/pre-commit-ci-update-confige36cefc
[pre-commit.ci] pre-commit autoupdate2280645
Merge pull request #3064 from pre-commit/pre-commit-ci-update-configUpdates
pytest
from 7.4.3 to 7.4.4Release notes
Sourced from pytest's releases.
Commits
33f694f
Prepare release version 7.4.476c107c
Merge pull request #11751 from bluetech/backport-11143-to-7.4.x531d76d
[7.4.x] Improve reporting from iter exceptions (#11749)a0f58fa
Merge pull request #11143 from tushar-deepsource/patch-1b1f3387
[7.4.x] #11091: documentation should use hypthonated properties (#11750)2cdd619
Merge pull request #11747 from pytest-dev/backport-11711-to-7.4.xd06c05b
[7.4.x] nodes: fix tracebacks from collection errors are not getting pruned5582bfc
[7.4.x] Improves clarity in Sphinx documentation for function signature. (#11...13024ef
[7.4.x] Fix for operation on closed file in faulthandler teardown (#11631)a40dacf
[7.4.x] XFAIL TestLocalPath.test_make_numbered_dir_multiprocess_safe (#11616)Updates
urllib3
from 2.0.7 to 2.1.0Release notes
Sourced from urllib3's releases.
Changelog
Sourced from urllib3's changelog.
Commits
69be299
Release 2.1.077f71d3
Mention myself in READMEe601a0e
Check _has_route within the test function (#3187)f7cd7f3
Stop naming urllib3/requests tests "integration" (#3182)6fc4260
Use more precise type checks5fa8ea6
Fix lint on Python 3.128727683
Remove Sphinx version pin5fc48e7
Treat x-gzip content encoding as gzipff764a0
Allow loading CA certificates from memory for proxies (#3150)b99cc39
Replace deprecated set-output in GitHub ActionsUpdates
boto3
from 1.33.6 to 1.34.14Changelog
Sourced from boto3's changelog.
... (truncated)
Commits
bb90483
Merge branch 'release-1.34.14'32f0017
Bumping version to 1.34.1409a970f
Add changelog entries from botocore1f863ec
Merge branch 'release-1.34.13'c36a05f
Merge branch 'release-1.34.13' into developfac1271
Bumping version to 1.34.13cf4ff48
Add changelog entries from botocore391e6f0
Merge branch 'release-1.34.12'dab1d14
Merge branch 'release-1.34.12' into develop407aaf0
Bumping version to 1.34.12Updates
botocore
from 1.33.6 to 1.34.14Changelog
Sourced from botocore's changelog.
... (truncated)
Commits
f29d7c7
Merge branch 'release-1.34.14'5b38548
Bumping version to 1.34.145cc08b4
Update to latest modelsba7da34
Merge branch 'release-1.34.13' into develop6bd1656
Merge branch 'release-1.34.13'2d81b3b
Bumping version to 1.34.13f93abc5
Update to latest models52e97a5
Merge branch 'release-1.34.12' into develope1a625a
Merge branch 'release-1.34.12'017edf7
Bumping version to 1.34.12Updates
greenlet
from 3.0.1 to 3.0.3Changelog
Sourced from greenlet's changelog.
Commits
ea4bc27
Preparing release 3.0.37694880
Make doctests work on 3.7 again, which doesn't have importlib.073b1e1
Linting. Add linting to CI.9e73b59
Docs: Update from the old default theme to furo.5f4b4bb
Py3.12: Always expose greenlet frames on a switch.13148f9
Update comment that was still referring to a different, less-robust approach ...b5f9d23
Restore stack introspection ability on 3.12edbdda2
Back to development: 3.0.3719ea47
Preparing release 3.0.22c0793c
Add change note about macOS wheels.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
pydantic
from 2.5.2 to 2.5.3Release notes
Sourced from pydantic's releases.
Changelog
Sourced from pydantic's changelog.
Commits
9f58e78
Fix history (#8424)1026268
Add history for 2.5.3 (#8423)888354f
2.5.3 patch release with new pydantic-core (#8420)Updates
pydantic-core
from 2.14.5 to 2.14.6Release notes
Sourced from pydantic-core's releases.
Commits
0eb9f4e
2.14.6 patch release (#1128)Updates
s3transfer
from 0.8.2 to 0.10.0Changelog
Sourced from s3transfer's changelog.
Commits
ffc1b46
Merge branch 'release-0.10.0'2a5e1b1
Bumping version to 0.10.0343ea01
Enable s3express support in the transfer manager when CRT is enabled (#299)4a42ad9
Merge branch 'release-0.9.0'06cb1a7
Merge branch 'release-0.9.0' into develop17ab09b
Bumping version to 0.9.0f887e65
Add back 3.7 lru_cache syntax (#297)7e85a53
Merge pull request #290 from boto/python_37_deprecation5ca35d5
Add changelog entry for Python 3.7 End of Supporta083690
Deprecate Python 3.7 SupportUpdates
sqlalchemy
from 2.0.23 to 2.0.25Release notes
Sourced from sqlalchemy's releases.
... (truncated)
Commits
Updates
typing-extensions
from 4.8.0 to 4.9.0Release notes
Sourced from typing-extensions's releases.
Changelog
Sourced from typing-extensions's changelog.
Commits
fc461d6
Release 4.9.0 (#313)f82d636
Prepare release 4.9.0rc1 (#306)daa7931
Run typed-argument-parser tests on 3.12 in the daily workflow (#307)0b0166d
Add support for PEP 705 (#284)db6f9b4
Update@deprecated
implementation (#302)18ae2b3
Backport recent improvements to the error message when trying to call `issubc...e4d9d8b
fix typo inoverride()
docstring (#305)4f91502
Backport recent change toNamedTuple
classes regarding__set_name__
(#303)7af82f9
@deprecated
: will be in warnings, not typing (#298)f9f257c
Fix deprecating a mixin; warn when inheriting from a deprecated class (#294)Updates
pip
from 23.3.1 to 23.3.2Changelog
Sourced from pip's changelog.
Commits
f9fea40
Bump for release3891d41
Fix news file namefb1be0f
Fix a few typing issuesb23341d
Update AUTHORS.txt4513b9c
added second test case69b5810
Fixed bug in extras handling for link requirements7189400
Update news/370392cf-52cd-402c-b402-06d2ff398f89.bugfix.rst3f9c9f9
fix mercurial revision parse error: use two hypen argument --rev= instead of -r=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