Lock file maintenance Python dependencies #447
Merged
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:
^1.34.86
->^1.34.95
^7.4.4
->^7.5.0
^4.21.1
->^4.22.0
4.21.1
->4.22.0
^8.1.1
->^8.2.0
^8.1.1
->^8.2.0
^0.34.0
->^0.35.0
^0.3.7
->^0.4.2
🔧 This Pull Request updates lock files to use the latest dependency versions.
Release Notes
boto/boto3 (boto3)
v1.34.95
Compare Source
=======
chime-sdk-voice
: [botocore
] Due to changes made by the Amazon Alexa service, GetSipMediaApplicationAlexaSkillConfiguration and PutSipMediaApplicationAlexaSkillConfiguration APIs are no longer available for use. For more information, refer to the Alexa Smart Properties page.codeartifact
: [botocore
] Add support for the Ruby package format.fms
: [botocore
] AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization.omics
: [botocore
] Add support for workflow sharing and dynamic run storageopensearch
: [botocore
] This release enables customers to create Route53 A and AAAA alias record types to point custom endpoint domain to OpenSearch domain's dualstack search endpoint.pinpoint-sms-voice-v2
: [botocore
] Amazon Pinpoint has added two new features Multimedia services (MMS) and protect configurations. Use the three new MMS APIs to send media messages to a mobile phone which includes image, audio, text, or video files. Use the ten new protect configurations APIs to block messages to specific countries.qbusiness
: [botocore
] This is a general availability (GA) release of Amazon Q Business. Q Business enables employees in an enterprise to get comprehensive answers to complex questions and take actions through a unified, intuitive web-based chat experience - using an enterprise's existing content, data, and systems.quicksight
: [botocore
] New Q embedding supporting Generative Q&Aroute53resolver
: [botocore
] Release of FirewallDomainRedirectionAction parameter on the Route 53 DNS Firewall Rule. This allows customers to configure a DNS Firewall rule to inspect all the domains in the DNS redirection chain (default) , such as CNAME, ALIAS, DNAME, etc., or just the first domain and trust the rest.sagemaker
: [botocore
] Amazon SageMaker Training now supports the use of attribute-based access control (ABAC) roles for training job execution roles. Amazon SageMaker Inference now supports G6 instance types.signer
: [botocore
] Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions.v1.34.94
Compare Source
=======
amplify
: [botocore
] Updating max results limit for listing any resources (Job, Artifacts, Branch, BackendResources, DomainAssociation) to 50 with the exception of list apps that where max results can be up to 100.connectcases
: [botocore
] This feature releases DeleteField, DeletedLayout, and DeleteTemplate API'sinspector2
: [botocore
] Update Inspector2 to include new Agentless API parameters.timestream-query
: [botocore
] This change allows users to update and describe account settings associated with their accounts.transcribe
: [botocore
] This update provides error messaging for generative call summarization in Transcribe Call Analyticstrustedadvisor
: [botocore
] This release adds the BatchUpdateRecommendationResourceExclusion API to support batch updates of Recommendation Resource exclusion statuses and introduces a new exclusion status filter to the ListRecommendationResources and ListOrganizationRecommendationResources APIs.v1.34.93
Compare Source
=======
codepipeline
: [botocore
] Add ability to manually and automatically roll back a pipeline stage to a previously successful execution.cognito-idp
: [botocore
] Add LimitExceededException to SignUp errorsconnectcampaigns
: [botocore
] This release adds support for specifying if Answering Machine should wait for prompt sound.marketplace-entitlement
: [botocore
] Releasing minor endpoint updates.oam
: [botocore
] This release introduces support for Source Accounts to define which Metrics and Logs to share with the Monitoring Accountrds
: [botocore
] SupportsLimitlessDatabase field added to describe-db-engine-versions to indicate whether the DB engine version supports Aurora Limitless Database.support
: [botocore
] Releasing minor endpoint updates.v1.34.92
Compare Source
=======
appsync
: [botocore
] UpdateGraphQLAPI documentation update and datasource introspection secret arn updatefms
: [botocore
] AWS Firewall Manager adds support for network ACL policies to manage Amazon Virtual Private Cloud (VPC) network access control lists (ACLs) for accounts in your organization.ivs
: [botocore
] Bug Fix: IVS does not support arns with thesvs
prefixivs-realtime
: [botocore
] Bug Fix: IVS Real Time does not support ARNs using thesvs
prefix.rds
: [botocore
] Updates Amazon RDS documentation for setting local time zones for RDS for Db2 DB instances.stepfunctions
: [botocore
] Add new ValidateStateMachineDefinition operation, which performs syntax checking on the definition of a Amazon States Language (ASL) state machine.v1.34.91
Compare Source
=======
datasync
: [botocore
] This change allows users to disable and enable the schedules associated with their tasks.ec2
: [botocore
] Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interfaceemr-containers
: [botocore
] EMRonEKS Service support for SecurityConfiguration enforcement for Spark Jobs.entityresolution
: [botocore
] Support Batch Unique IDs Deletion.gamelift
: [botocore
] Amazon GameLift releases container fleets support for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift.ssm
: [botocore
] Add SSM DescribeInstanceProperties API to public AWS SDK.v1.34.90
Compare Source
=======
bedrock
: [botocore
] This release introduces Model Evaluation and Guardrails for Amazon Bedrock.bedrock-agent
: [botocore
] Introducing the ability to create multiple data sources per knowledge base, specify S3 buckets as data sources from external accounts, and exposing levers to define the deletion behavior of the underlying vector store data.bedrock-agent-runtime
: [botocore
] This release introduces zero-setup file upload support for the RetrieveAndGenerate API. This allows you to chat with your data without setting up a Knowledge Base.bedrock-runtime
: [botocore
] This release introduces Guardrails for Amazon Bedrock.ce
: [botocore
] Added additional metadata that might be applicable to your reservation recommendations.ec2
: [botocore
] This release introduces EC2 AMI Deregistration Protection, a new AMI property that can be enabled by customers to protect an AMI against an unintended deregistration. This release also enables the AMI owners to view the AMI 'LastLaunchedTime' in DescribeImages API.pi
: [botocore
] Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.rds
: [botocore
] Fix the example ARN for ModifyActivityStreamRequestworkspaces-web
: [botocore
] Added InstanceType and MaxConcurrentSessions parameters on CreatePortal and UpdatePortal Operations as well as the ability to read Customer Managed Key & Additional Encryption Context parameters on supported resources (Portal, BrowserSettings, UserSettings, IPAccessSettings)v1.34.89
Compare Source
=======
bedrock-agent
: [botocore
] Releasing the support for simplified configuration and return of controlbedrock-agent-runtime
: [botocore
] Releasing the support for simplified configuration and return of controlpayment-cryptography
: [botocore
] Adding support to TR-31/TR-34 exports for optional headers, allowing customers to add additional metadata (such as key version and KSN) when exporting keys from the service.redshift-serverless
: [botocore
] Updates description of schedule field for scheduled actions.route53profiles
: [botocore
] Route 53 Profiles allows you to apply a central DNS configuration across many VPCs regardless of account.sagemaker
: [botocore
] This release adds support for Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker Studio.servicediscovery
: [botocore
] This release adds examples to several Cloud Map actions.transfer
: [botocore
] Adding new API to support remote directory listing using SFTP connectorv1.34.88
Compare Source
=======
glue
: [botocore
] Adding RowFilter in the response for GetUnfilteredTableMetadata APIinternetmonitor
: [botocore
] This update introduces the GetInternetEvent and ListInternetEvents APIs, which provide access to internet events displayed on the Amazon CloudWatch Internet Weather Map.personalize
: [botocore
] This releases auto training capability while creating a solution and automatically syncing latest solution versions when creating/updating a campaignv1.34.87
Compare Source
=======
drs
: [botocore
] Outpost ARN added to Source Server and Recovery Instanceemr-serverless
: [botocore
] This release adds the capability to publish detailed Spark engine metrics to Amazon Managed Service for Prometheus (AMP) for enhanced monitoring for Spark jobs.guardduty
: [botocore
] Added IPv6Address fields for local and remote IP addressesquicksight
: [botocore
] This release adds support for the Cross Sheet Filter and Control features, and support for warnings in asset imports for any permitted errors encountered during executionrolesanywhere
: [botocore
] This release introduces the PutAttributeMapping and DeleteAttributeMapping APIs. IAM Roles Anywhere now provides the capability to define a set of mapping rules, allowing customers to specify which data is extracted from their X.509 end-entity certificates.sagemaker
: [botocore
] Removed deprecated enum values and updated API documentation.workspaces
: [botocore
] Adds new APIs for managing and sharing WorkSpaces BYOL configuration across accounts.nedbat/coveragepy (coverage)
v7.5.0
Compare Source
Added initial support for function and class reporting in the HTML report.
There are now three index pages which link to each other: files, functions,
and classes. Other reports don't yet have this information, but it will be
added in the future where it makes sense. Feedback gladly accepted!
Other HTML report improvements:
There is now a "hide covered" checkbox to filter out 100% files, finishing
issue 1384
_.The index page is always sorted by one of its columns, with clearer
indications of the sorting.
The "previous file" shortcut key didn't work on the index page, but now it
does, fixing
issue 1765
_.The debug output showing which configuration files were tried now shows
absolute paths to help diagnose problems where settings aren't taking effect,
and is renamed from "attempted_config_files" to the more logical
"config_files_attempted."
Python 3.13.0a6 is supported.
.. _issue 1384:https://github.com/nedbat/coveragepy/issues/13844
.. _issue 1765https://github.com/nedbat/coveragepy/issues/176565
.. _changes_7-4-4:
python-jsonschema/jsonschema (jsonschema)
v4.22.0
Compare Source
=======
best_match
(and thereby error messages fromjsonschema.validate
) in cases where there are multiple sibling errors from applyinganyOf
/allOf
-- i.e. when multiple elements of a JSON array have errors, we now do prefer showing errors from earlier elements rather than simply showing an error for the full array (#1250).==
would.pytest-dev/pytest (pytest)
v8.2.0
Compare Source
pytest 8.2.0 (2024-04-27)
Deprecations
#12069: A deprecation warning is now raised when implementations of one of the following hooks request a deprecated
py.path.local
parameter instead of thepathlib.Path
parameter which replaced it:pytest_ignore_collect
{.interpreted-text role="hook"} - thepath
parameter - usecollection_path
instead.pytest_collect_file
{.interpreted-text role="hook"} - thepath
parameter - usefile_path
instead.pytest_pycollect_makemodule
{.interpreted-text role="hook"} - thepath
parameter - usemodule_path
instead.pytest_report_header
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.pytest_report_collectionfinish
{.interpreted-text role="hook"} - thestartdir
parameter - usestart_path
instead.The replacement parameters are available since pytest 7.0.0.
The old parameters will be removed in pytest 9.0.0.
See
legacy-path-hooks-deprecated
{.interpreted-text role="ref"} for more details.Features
#11871: Added support for reading command line arguments from a file using the prefix character
@
, like e.g.:pytest @​tests.txt
. The file must have one argument per line.See
Read arguments from file <args-from-file>
{.interpreted-text role="ref"} for details.Improvements
#11523:
pytest.importorskip
{.interpreted-text role="func"} will now issue a warning if the module could be found, but raisedImportError
{.interpreted-text role="class"} instead ofModuleNotFoundError
{.interpreted-text role="class"}.The warning can be suppressed by passing
exc_type=ImportError
topytest.importorskip
{.interpreted-text role="func"}.See
import-or-skip-import-error
{.interpreted-text role="ref"} for details.#11728: For
unittest
-based tests, exceptions during class cleanup (as raised by functions registered withTestCase.addClassCleanup <unittest.TestCase.addClassCleanup>
{.interpreted-text role="meth"}) are now reported instead of silently failing.#11777: Text is no longer truncated in the
short test summary info
section when-vv
is given.#12112: Improved namespace packages detection when
consider_namespace_packages
{.interpreted-text role="confval"} is enabled, covering more situations (like editable installs).#9502: Added
PYTEST_VERSION
{.interpreted-text role="envvar"} environment variable which is defined at the start of the pytest session and undefined afterwards. It contains the value ofpytest.__version__
, and among other things can be used to easily check if code is running from within a pytest run.Bug Fixes
#12065: Fixed a regression in pytest 8.0.0 where test classes containing
setup_method
and tests using@staticmethod
or@classmethod
would crash withAttributeError: 'NoneType' object has no attribute 'setup_method'
.Now the
request.instance <pytest.FixtureRequest.instance>
{.interpreted-text role="attr"} attribute of tests using@staticmethod
and@classmethod
is no longerNone
, but a fresh instance of the class, like in non-static methods.Previously it was
None
, and all fixtures of such tests would share a singleself
.#12135: Fixed issue where fixtures adding their finalizer multiple times to fixtures they request would cause unreliable and non-intuitive teardown ordering in some instances.
#12194: Fixed a bug with
--importmode=importlib
and--doctest-modules
where child modules did not appear as attributes in parent modules.#1489: Fixed some instances where teardown of higher-scoped fixtures was not happening in the reverse order they were initialized in.
Trivial/Internal Changes
pluggy>=1.5.0
is now required.cache <cache>
{.interpreted-text role="ref"}: create supporting files (CACHEDIR.TAG
,.gitignore
, etc.) in a temporary directory to provide atomic semantics.v8.1.2
Compare Source
pytest 8.1.2 (2024-04-26)
Bug Fixes
pytest.approx
{.interpreted-text role="func"} when used with [numpy]{.title-ref} arrays and comparing with other types.astral-sh/ruff (ruff)
v0.4.2
Compare Source
Rule changes
flake8-pyi
] Allow for overloaded__exit__
and__aexit__
definitions (PYI036
) (#11057)pyupgrade
] Catch usages of"%s" % var
and provide an unsafe fix (UP031
) (#11019)refurb
] Implement new rule that suggests min/max oversorted()
(FURB192
) (#10868)Server
noqa
codes (#11096)Bug fixes
macos-12
for building release wheels to enable macOS 11 compatibility (#11146)flake8-blind-expect
] Allow raise from inBLE001
(#11131)flake8-pyi
] Allow simple assignments toNone
in enum class scopes (PYI026
) (#11128)flake8-simplify
] Avoid raisingSIM911
for non-zip
attribute calls (#11126)refurb
] Avoidoperator.itemgetter
suggestion for single-item tuple (#11095)ruff
] Respect per-file-ignores forRUF100
with no other diagnostics (#11058)ruff
] Fix async comprehension false positive (RUF029
) (#11070)Documentation
flake8-bugbear
] Document explicitly disabling strict zip (B905
) (#11040)flake8-type-checking
] Mentionlint.typing-modules
inTCH001
,TCH002
, andTCH003
(#11144)isort
] Improve documentation around customisort
sections (#11050)pylint
] Fix documentation oversight forinvalid-X-returns
(#11094)Performance
matchit
to resolve per-file settings (#11111)v0.4.1
Compare Source
Preview features
pylint
] Implementinvalid-hash-returned
(PLE0309
) (#10961)pylint
] Implementinvalid-index-returned
(PLE0305
) (#10962)Bug fixes
pylint
] AllowNoReturn
-like functions for__str__
,__len__
, etc. (PLE0307
) (#11017)ruff
] Ignore stub functions inunused-async
(RUF029
) (#11026)v0.4.0
Compare Source
A new, hand-written parser
Ruff's new parser is >2x faster, which translates to a 20-40% speedup for all linting and formatting invocations.
There's a lot to say about this exciting change, so check out the blog post for more details!
See #10036 for implementation details.
A new language server in Rust
With this release, we also want to highlight our new language server.
ruff server
is a Rust-powered languageserver that comes built-in with Ruff. It can be used with any editor that supports the Language Server Protocol (LSP).
It uses a multi-threaded, lock-free architecture inspired by
rust-analyzer
and it will open the door for a lotof exciting features. It’s also faster than our previous Python-based language server
-- but you probably guessed that already.
ruff server
is only in alpha, but it has a lot of features that you can try out today:ruff.applyAutofix
,ruff.applyFormat
, andruff.applyOrganizeImports
source.fixAll
andsource.organizeImports
source actionsTo setup
ruff server
with your editor, refer to the README.md.Preview features
pycodestyle
] Do not triggerE3
rules ondef
s following a function/method with a dummy body (#10704)pylint
] Implementinvalid-bytes-returned
(E0308
) (#10959)pylint
] Implementinvalid-length-returned
(E0303
) (#10963)pylint
] Implementself-cls-assignment
(W0642
) (#9267)pylint
] Omit stubs frominvalid-bool
andinvalid-str-return-type
(#11008)ruff
] New ruleunused-async
(RUF029
) to detect unneededasync
keywords on functions (#9966)Rule changes
flake8-bandit
] Allowurllib.request.urlopen
calls with staticRequest
argument (S310
) (#10964)flake8-bugbear
] Treatraise NotImplemented
-only bodies as stub functions (B006
) (#10990)flake8-slots
] Respect same-fileEnum
subclasses (SLOT000
) (#11006)pylint
] Support inverted comparisons (PLR1730
) (#10920)Linter
--show-settings
(#11003)BuiltinTypeChecker
(#10976)RuleTable::any_enabled
(#10971)Server
This section is devoted to updates for our new language server, written in Rust.
Configuration
RUFF_OUTPUT_FILE
environment variable support (#10992)Bug fixes
non-augmented-assignment
for reversed, non-commutative operators (PLR6104
) (#10909)PLR6104
) (#10912)per-file-ignores
forRUF100
on blanket# noqa
(#10908)if
expression for parenthesized with items parsing (#11010)FOR_TARGET
context for all kinds of parentheses (#11009)Configuration
📅 Schedule: Branch creation - "after 1am and before 3am every weekday" in timezone Etc/UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.