If you attempt to combine statement coverage data with branch coverage data,
coverage.py used to fail with the message "Can't combine arc data with line
data" or its reverse, "Can't combine line data with arc data." These
messages used internal terminology, making it hard for people to understand
the problem. They are now changed to mention "branch coverage data" and
"statement coverage data."
Fixed a minor branch coverage problem with wildcard match/case cases using
names or guard clauses.
Started testing on 3.13 free-threading (nogil) builds of Python. I'm not
claiming full support yet. Closes issue 1799_.
#12355: Fix possible catastrophic performance slowdown on a certain parametrization pattern involving many higher-scoped parameters.
#12367: Fix a regression in pytest 8.2.0 where unittest class instances (a fresh one is created for each test) were not released promptly on test teardown but only on session teardown.
#12381: Fix possible "Directory not empty" crashes arising from concurent cache dir (.pytest_cache) creation. Regressed in pytest 8.2.0.
Improved Documentation
#12290: Updated Sphinx theme to use Furo instead of Flask, enabling Dark mode theme.
#12356: Added a subsection to the documentation for debugging flaky tests to mention
lack of thread safety in pytest as a possible source of flakyness.
#12363: The documentation webpages now links to a canonical version to reduce outdated documentation in search engine results.
api-change:acm-pca: Added CCPC_LEVEL_1_OR_HIGHER KeyStorageSecurityStandard and SM2 KeyAlgorithm and SM3WITHSM2 SigningAlgorithm for China regions.
api-change:cloudhsmv2: Added 3 new APIs to support backup sharing: GetResourcePolicy, PutResourcePolicy, and DeleteResourcePolicy. Added BackupArn to the output of the DescribeBackups API. Added support for BackupArn in the CreateCluster API.
api-change:connect: This release supports showing PreferredAgentRouting step via DescribeContact API.
api-change:emr: This release provides the support for new allocation strategies i.e. CAPACITY_OPTIMIZED_PRIORITIZED for Spot and PRIORITIZED for On-Demand by taking input of priority value for each instance type for instance fleet clusters.
api-change:glue: Added AttributesToGet parameter to Glue GetDatabases, allowing caller to limit output to include only the database name.
api-change:kinesisanalyticsv2: Support for Flink 1.19 in Managed Service for Apache Flink
api-change:opensearch: This release removes support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains.
api-change:pi: Noting that the filter db.sql.db_id isn't available for RDS for SQL Server DB instances.
api-change:workspaces: Added support for Red Hat Enterprise Linux 8 on Amazon WorkSpaces Personal.
1.34.135
api-change:application-autoscaling: Amazon WorkSpaces customers can now use Application Auto Scaling to automatically scale the number of virtual desktops in a WorkSpaces pool.
api-change:chime-sdk-media-pipelines: Added Amazon Transcribe multi language identification to Chime SDK call analytics. Enabling customers sending single stream audio to generate call recordings using Chime SDK call analytics
api-change:cloudfront: Doc only update for CloudFront that fixes customer-reported issue
api-change:datazone: This release supports the data lineage feature of business data catalog in Amazon DataZone.
api-change:elasticache: Add v2 smoke tests and smithy smokeTests trait for SDK testing.
api-change:mq: This release makes the EngineVersion field optional for both broker and configuration and uses the latest available version by default. The AutoMinorVersionUpgrade field is also now optional for broker creation and defaults to 'true'.
api-change:qconnect: Adds CreateContentAssociation, ListContentAssociations, GetContentAssociation, and DeleteContentAssociation APIs.
api-change:quicksight: Adding support for Repeating Sections, Nested Filters
api-change:rds: Updates Amazon RDS documentation for TAZ export to S3.
api-change:sagemaker: Add capability for Admins to customize Studio experience for the user by showing or hiding Apps and MLTools.
api-change:workspaces: Added support for WorkSpaces Pools.
api-change:eks: Added support for disabling unmanaged addons during cluster creation.
api-change:ivs-realtime: IVS Real-Time now offers customers the ability to upload public keys for customer vended participant tokens.
api-change:kinesisanalyticsv2: This release adds support for new ListApplicationOperations and DescribeApplicationOperation APIs. It adds a new configuration to enable system rollbacks, adds field ApplicationVersionCreateTimestamp for clarity and improves support for pagination for APIs.
api-change:opensearch: This release adds support for enabling or disabling Natural Language Query Processing feature for Amazon OpenSearch Service domains, and provides visibility into the current state of the setup or tear-down.
1.34.133
api-change:autoscaling: Doc only update for Auto Scaling's TargetTrackingMetricDataQuery
api-change:ec2: This release is for the launch of the new u7ib-12tb.224xlarge, R8g, c7gn.metal and mac2-m1ultra.metal instance types
api-change:networkmanager: This is model changes & documentation update for the Asynchronous Error Reporting feature for AWS Cloud WAN. This feature allows customers to view errors that occur while their resources are being provisioned, enabling customers to fix their resources without needing external support.
api-change:workspaces-thin-client: This release adds the deviceCreationTags field to CreateEnvironment API input, UpdateEnvironment API input and GetEnvironment API output.
Add warning when "alias" is set in ignored Annotated field by @nix010 in #9170
Support serialization of some serializable defaults in JSON schema by @sydney-runkle in #9624
Relax type specification for __validators__ values in create_model by @sydney-runkle in #9697
Breaking Change: Improve smart union matching logic by @sydney-runkle in pydantic/pydantic-core#1322
You can read more about our smart union matching logic here. In some cases, if the old behavior
is desired, you can switch to left-to-right mode and change the order of your Union members.
Performance
Internal Improvements
⚡️ Speed up _display_error_loc() by 25% in pydantic/v1/error_wrappers.py by @misrasaurabh1 in #9653
⚡️ Speed up _get_all_json_refs() by 34% in pydantic/json_schema.py by @misrasaurabh1 in #9650
⚡️ Speed up is_pydantic_dataclass() by 41% in pydantic/dataclasses.py by @misrasaurabh1 in #9652
⚡️ Speed up to_snake() by 27% in pydantic/alias_generators.py by @misrasaurabh1 in #9747
⚡️ Speed up unwrap_wrapped_function() by 93% in pydantic/_internal/_decorators.py by @misrasaurabh1 in #9727
Fixes
Replace __spec__.parent with __package__ by @hramezani in #9331
Add warning when "alias" is set in ignored Annotated field by @nix010 in #9170
Support serialization of some serializable defaults in JSON schema by @sydney-runkle in #9624
Relax type specification for __validators__ values in create_model by @sydney-runkle in #9697
Breaking Change: Improve smart union matching logic by @sydney-runkle in pydantic/pydantic-core#1322
You can read more about our smart union matching logic here. In some cases, if the old behavior
is desired, you can switch to left-to-right mode and change the order of your Union members.
Performance
Internal Improvements
⚡️ Speed up _display_error_loc() by 25% in pydantic/v1/error_wrappers.py by @misrasaurabh1 in #9653
⚡️ Speed up _get_all_json_refs() by 34% in pydantic/json_schema.py by @misrasaurabh1 in #9650
⚡️ Speed up is_pydantic_dataclass() by 41% in pydantic/dataclasses.py by @misrasaurabh1 in #9652
⚡️ Speed up to_snake() by 27% in pydantic/alias_generators.py by @misrasaurabh1 in #9747
⚡️ Speed up unwrap_wrapped_function() by 93% in pydantic/_internal/_decorators.py by @misrasaurabh1 in #9727
Fixes
Replace __spec__.parent with __package__ by @hramezani in #9331
Bumps the all-dependencies group in /api with 19 updates:
2024.2.2
2024.6.2
7.5.3
7.5.4
3.14.0
3.15.4
1.9.0
1.9.1
24.0
24.1
1.6.1
1.7.1
8.2.1
8.2.2
4.15.0
4.15.1
20.26.2
20.26.3
1.34.117
1.34.136
1.34.117
1.34.136
7.1.0
8.0.0
2.7.2
2.8.0
2.18.3
2.20.0
0.10.1
0.10.2
2.0.30
2.0.31
4.12.1
4.12.2
3.19.1
3.19.2
24.0
24.1.1
Updates
certifi
from 2024.2.2 to 2024.6.2Commits
124f4ad
2024.06.02 (#291)c2196ce
--- (#290)fefdeec
Bump actions/checkout from 4.1.4 to 4.1.5 (#289)3c5fb15
Bump actions/download-artifact from 4.1.6 to 4.1.7 (#286)4a9569a
Bump actions/checkout from 4.1.2 to 4.1.4 (#287)1fc8086
Bump peter-evans/create-pull-request from 6.0.4 to 6.0.5 (#288)ad52dce
Bump peter-evans/create-pull-request from 6.0.3 to 6.0.4 (#283)651904f
Bump actions/upload-artifact from 4.3.1 to 4.3.3 (#284)84fcfba
Bump actions/download-artifact from 4.1.4 to 4.1.6 (#285)46b8057
Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 (#282)Updates
coverage
from 7.5.3 to 7.5.4Changelog
Sourced from coverage's changelog.
Commits
22c09c6
docs: sample HTML for 7.5.49e16381
docs: prep for 7.5.4fba9b9e
docs: link issue 1799 from the changelogf124de8
build: no longer download kits to upload them9516cf6
build: hash-pin all actionsc6e0985
build: finish up the publish action4a49458
build: get the latest dist run id for publishingfb15efa
build: pin hashes for publishing actionsc20af95
build: use the correct item: github.event.actionccbab15
build: dump all the github actions dataUpdates
filelock
from 3.14.0 to 3.15.4Release notes
Sourced from filelock's releases.
... (truncated)
Commits
9a979df
Pass file_lock as positional argument (#347)3a79343
Fix `TypeError: _CountedFileLock.init() got an unexpected keyword argumen...81d4cf9
Add test for virtualenv stability (#344)192f1ef
Use a metaclass to implement the singleton pattern (#340)48788c5
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#341)7bd3b7b
[pre-commit.ci] pre-commit autoupdate (#342)3d7b1a6
Hotfix: Restore init method; more robust initialization for singleton loc...c64787f
Don't initialize BaseFileLock when just returning existing instance (#334)87453f3
asyncio support (#332)0ee2e3c
[pre-commit.ci] pre-commit autoupdate (#333)Updates
nodeenv
from 1.9.0 to 1.9.1Release notes
Sourced from nodeenv's releases.
Commits
231431e
1.9.169e310a
Fix version discovery; #356, #357 (#358)9d74cd8
update AUTHORSUpdates
packaging
from 24.0 to 24.1Release notes
Sourced from packaging's releases.
Changelog
Sourced from packaging's changelog.
Commits
85442b8
Bump for release3e67fc7
Work aroundplatform.python_version()
returning non PEP 440 compliant versi...32deafe
Bump the github-actions group with 3 updates (#789)e0dda88
Documentmarkers.default_environment()
(#753)cc938f9
Modernise type annotations using FA rules from ruff (#785)757f559
Fix typo in_parser
docstring (#784)ec9f203
Bump the github-actions group with 4 updates (#782)5cbe1e4
Add support for Python 3.13 and drop EOL 3.7 (#783)cb8fd38
pyupgrade/black/isort/flake8 → ruff (#769)e8002b1
Bump for developmentUpdates
pyproject-api
from 1.6.1 to 1.7.1Release notes
Sourced from pyproject-api's releases.
Commits
e384fce
Move changelog to GH releases (#141)0a41076
Bump and fix CI for new setuptools (#140)d7add0e
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#139)4ddd11c
[pre-commit.ci] pre-commit autoupdate (#138)010a4fe
[pre-commit.ci] pre-commit autoupdate (#137)1cb7a4b
[pre-commit.ci] pre-commit autoupdate (#136)c101877
[pre-commit.ci] pre-commit autoupdate (#135)4b66582
[pre-commit.ci] pre-commit autoupdate (#134)443355e
[pre-commit.ci] pre-commit autoupdate (#133)ba3d734
[pre-commit.ci] pre-commit autoupdate (#132)Updates
pytest
from 8.2.1 to 8.2.2Release notes
Sourced from pytest's releases.
Commits
329d371
Prepare release version 8.2.2214d098
Merge pull request #12414 from bluetech/backport-12409153a436
[8.2.x] fixtures: fix catastrophic performance problem inreorder_items
b41d5a5
Merge pull request #12412 from pytest-dev/backport-12408-to-8.2.x9bb73d7
[8.2.x] cacheprovider: fix "Directory not empty" crash from cache directory c...4569a01
[8.2.x] doc: Update trainings/events (#12402)1d103e5
[8.2.x] Clarify pytest_ignore_collect docs (#12386)240a252
[8.2.x] Add html_baseurl to sphinx conf.py (#12372)a5ee3c4
Merge pull request #12370 from pytest-dev/backport-12368-to-8.2.xf7358ae
[8.2.x] unittest: fix class instances no longer released on test teardown sin...Updates
tox
from 4.15.0 to 4.15.1Release notes
Sourced from tox's releases.
Changelog
Sourced from tox's changelog.
Commits
079000f
release 4.15.1489ad82
Fix section substitution with setenv (#3289)7317225
AllowConfigSet.add_config
to receive parameterized generics forof_type
....406f808
[pre-commit.ci] pre-commit autoupdate (#3283)5c28d9c
[pre-commit.ci] pre-commit autoupdate (#3279)f4e257c
Fix broad build privileges @ GHA release workflow (#3281)77564a1
Fixed typo in user guide.e2f66b1
[pre-commit.ci] auto fixes from pre-commit.com hooks9afc9cb
[pre-commit.ci] pre-commit autoupdate3db9822
fix skip with package = wheel (#3269)Updates
virtualenv
from 20.26.2 to 20.26.3Release notes
Sourced from virtualenv's releases.
Changelog
Sourced from virtualenv's changelog.
Commits
3185e1f
release 20.26.32a149ec
Bump embeded wheels (#2741)bd91d48
[pre-commit.ci] pre-commit autoupdate (#2739)8220288
Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#2738)429d6a2
[pre-commit.ci] pre-commit autoupdate (#2734)c723579
[pre-commit.ci] pre-commit autoupdate (#2730)e35ece8
[pre-commit.ci] pre-commit autoupdate (#2727)0646a05
Merge pull request #2724 from pypa/release-20.26.2Updates
boto3
from 1.34.117 to 1.34.136Commits
04045c4
Merge branch 'release-1.34.136'c04875b
Bumping version to 1.34.1365df3444
Add changelog entries from botocoredcfb592
Merge pull request #4182 from kdaily/kdaily-remove-opsworks-collections-integ...acbe904
Do not test opsworks collections359f0b2
Merge branch 'release-1.34.135'54246d5
Merge branch 'release-1.34.135' into developd9b5ce7
Bumping version to 1.34.135857c461
Add changelog entries from botocore6221a41
Merge branch 'release-1.34.134' into developUpdates
botocore
from 1.34.117 to 1.34.136Changelog
Sourced from botocore's changelog.
... (truncated)
Commits
446acfb
Merge branch 'release-1.34.136'09a10d8
Bumping version to 1.34.1369d5bd52
Update endpoints modele3c5915
Update to latest modelsce75911
Merge branch 'release-1.34.135'1c7af15
Merge branch 'release-1.34.135' into develop31053b7
Bumping version to 1.34.1355de46c9
Update endpoints model4d04705
Update to latest modelsc2c38f8
Merge branch 'release-1.34.134' into developUpdates
importlib-metadata
from 7.1.0 to 8.0.0Changelog
Sourced from importlib-metadata's changelog.
Commits
f390168
Finalizec3bae1e
Merge pull request #491 from python/debt/remove-legacya970a49
Message.getitem now raises a KeyError on missing keys.32c14aa
Removed deprecated support for Distribution subclasses not implementing abstr...b76931d
Finalize48d2a85
Merge pull request #482 from dan-blanchard/fix-relative-tob94b42e
Add news fragmente4d1dcc
Remove additional method in SimplePath.07a2a44
Revert "Fix mypy failure that has nothing to do with this PR"b815aee
Mark compat code as uncovered.Updates
pydantic
from 2.7.2 to 2.8.0Release notes
Sourced from pydantic's releases.
... (truncated)
Changelog
Sourced from pydantic's changelog.
... (truncated)
Commits
1609e2a
Prep for v2.8 release (#9806)411dfd8
👥 Update Pydantic People (#9803)e280663
Add Nested Model Field Validation Examples to Docs (#9735)a002e69
Fix Python version check for_eval_type
(#9781)e108fd1
Docs updates to prep for v2.8 (#9778)011d8b6
Fix documentation formatting (#9779)738b5d7
Add note about Pipeline API recommended usage (#9777)8a0f335
Document and testser_json_inf_nan='strings'
variant (#9771)764e148
Preparing for the v2.8.0b1 release! (#9776)