GitHub
03/03/2025, 3:52 PMboto3-stubs from 1.36.26 to 1.37.4
Release notes
Sourced from boto3-stubs's releases.
8.8.0 - Python 3.8 runtime is back
Changed
•[services]section is calculated based on dependencies in use, soinstall_requiresversion is set properlytyping-extensions
•Replaced[all]imports withtypingwith a fallback tocollections.abcfor Python <3.9typing
•Added aliases for[all],builtins.list,builtins.set, andbuiltins.dict, so Python 3.8 runtime should work as expected again (reported bybuiltins.typein #340 and@YHallouardin #336)@Omri-Ben-Yair
•Unions use the same type annotations as the rest of the structures due to proper fallbacks[all]
Fixed
•Universal input/output shapes were not replaced properly in service subresources[services]
•Simplified doc links rendering for services[docs]
•Cleaned up unnecessary imports in[services]client.pyi
•Commits • See full diff in compare view UpdatesImport records with fallback are always rendered[builder]
mock from 5.1.0 to 5.2.0
Changelog
Sourced from mock's changelog.
5.2.0
This is release is `in memory of Michael Foord`__, who originally authored thepackage and passed away in January 2025.mock
__ https://discuss.python.org/t/in-memoriam-michael-foord-1974-2025/78317
• gh-65454: funcno longer triggers a call to aunittest.mock.Mock.attach_mockbeing attached.PropertyMock
• gh-117765: Improved documentation for funcunittest.mock.patch.dict
• gh-124176: Add support for funcin funcdataclasses.dataclass. Nowunittest.mock.create_autospecwill check for potential dataclasses and use funccreate_autospecfunction to retrieve the spec information.dataclasses.fields
• gh-123934: Fix classreseting magic methods return values afterunittest.mock.MagicMockwas called..reset_mock(return_value=True)
• gh-90848: Fixed functo configure parent mock with keyword arguments.unittest.mock.create_autospec
• gh-113569: Indicate if there were no actual calls in unittest methfailure.~unittest.mock.Mock.assert_has_calls
• gh-122858: Deprecate funcin favor of func!asyncio.iscoroutinefunction.inspect.iscoroutinefunction
• gh-104745: Limit starting a patcher (from funcor funcunittest.mock.patch) more than once without stopping itunittest.mock.patch.object
• gh-75988: Fixed functo pass the call through to the wrapped object to return the real result.unittest.mock.create_autospec
• gh-119600: Fix functo not read attributes of the target whenunittest.mock.patchis set. Patch by Robert Collins.new_callable
• gh-113407: Fix import of modwhen CPython is built without docstrings.unittest.mock
• gh-120732: FixCommits •passing to classnameobject when using funcunittest.mock.Mock.unittest.mock.create_autospec
0f5df82 In memoriam: Michael Foord 1974-2025
• 3c737e2 Preparing for 5.2.0 release.
• 563f311 latest sync point
• 4fc238e unittest.mock test and coverage fixup (#130787)
• aee44ed Backport-specific code coverage fixes
• 9081bbe Fix bug in backporting docs
• fdacaa2 Add set_event_loop_policy to backports
• 4221c21 Revert "gh-71339: Add additional assertion methods for unittest (GH-128707)"
• 45d2d49 gh-71339: Add additional assertion methods for unittest (GH-128707)
• 9e3f49c gh-127949: deprecate asyncio.set_event_loop_policy (#128024)
• Additional commits viewable in compare view
Updates moto from 5.1.0 to 5.1.1
Changelog
Sourced from moto's changelog.
5.1.1
Docker Digest for 5.1.1: sha256:a4c04c53a892ad81741a2e006b85d0f98eab42ad988efb360429cb4ba6818323
`* General:
* Compatible with the new Account-based endpoint for DynamoDB (see https://github.com/boto/boto3/issues/4449)
* Removed dependency on typing_extensions (introduced in 5.1.0)
`
`
• New Methods:
• CognitoIDP:
• delete_identity_pool()
• Glue:
• create_connection()
• get_connection()
• get_connections()
• GuardDuty:
• get_administrator_account()
`
• `
Miscellaneous:
`
`
• ResourceGroupsTaggingAPI: get_resources() now supports EventBusses
`
• `RDS: create_db_instance() now throws an error when referencing a non-existent DBCluster
`Commits •
401269d Pre-Release: Up Version Number
• f0e258f Prep release 5.1.1 (#8623)
• 9352131 chore: update IAM Managed Policies (<https://redirect.github.com/getmoto/moto/issues/86…
meltano/meltanoGitHub
03/03/2025, 4:12 PM