Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lock file maintenance Python dependencies #447

Merged
merged 1 commit into from
May 1, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 22, 2024

Mend Renovate

This PR contains the following updates:

Package Type Update Change Age Adoption Passing Confidence
lockFileMaintenance All locks refreshed
boto3 dependencies patch ^1.34.86 -> ^1.34.95 age adoption passing confidence
coverage unit minor ^7.4.4 -> ^7.5.0 age adoption passing confidence
jsonschema (changelog) unit minor ^4.21.1 -> ^4.22.0 age adoption passing confidence
jsonschema (changelog) charm-libs minor 4.21.1 -> 4.22.0 age adoption passing confidence
pytest (changelog) integration minor ^8.1.1 -> ^8.2.0 age adoption passing confidence
pytest (changelog) unit minor ^8.1.1 -> ^8.2.0 age adoption passing confidence
pytest-operator integration minor ^0.34.0 -> ^0.35.0 age adoption passing confidence
ruff (source, changelog) format minor ^0.3.7 -> ^0.4.2 age adoption passing confidence

🔧 This Pull Request updates lock files to use the latest dependency versions.


Release Notes

boto/boto3 (boto3)

v1.34.95

Compare Source

=======

  • api-change: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.
  • api-change:codeartifact: [botocore] Add support for the Ruby package format.
  • api-change:fms: [botocore] AWS Firewall Manager now supports the network firewall service stream exception policy feature for accounts within your organization.
  • api-change:omics: [botocore] Add support for workflow sharing and dynamic run storage
  • api-change:opensearch: [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.
  • api-change: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.
  • api-change: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.
  • api-change:quicksight: [botocore] New Q embedding supporting Generative Q&A
  • api-change:route53resolver: [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.
  • api-change: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.
  • api-change:signer: [botocore] Documentation updates for AWS Signer. Adds cross-account signing constraint and definitions for cross-account actions.

v1.34.94

Compare Source

=======

  • api-change: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.
  • api-change:connectcases: [botocore] This feature releases DeleteField, DeletedLayout, and DeleteTemplate API's
  • api-change:inspector2: [botocore] Update Inspector2 to include new Agentless API parameters.
  • api-change:timestream-query: [botocore] This change allows users to update and describe account settings associated with their accounts.
  • api-change:transcribe: [botocore] This update provides error messaging for generative call summarization in Transcribe Call Analytics
  • api-change:trustedadvisor: [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

=======

  • api-change:codepipeline: [botocore] Add ability to manually and automatically roll back a pipeline stage to a previously successful execution.
  • api-change:cognito-idp: [botocore] Add LimitExceededException to SignUp errors
  • api-change:connectcampaigns: [botocore] This release adds support for specifying if Answering Machine should wait for prompt sound.
  • api-change:marketplace-entitlement: [botocore] Releasing minor endpoint updates.
  • api-change:oam: [botocore] This release introduces support for Source Accounts to define which Metrics and Logs to share with the Monitoring Account
  • api-change:rds: [botocore] SupportsLimitlessDatabase field added to describe-db-engine-versions to indicate whether the DB engine version supports Aurora Limitless Database.
  • api-change:support: [botocore] Releasing minor endpoint updates.

v1.34.92

Compare Source

=======

  • api-change:appsync: [botocore] UpdateGraphQLAPI documentation update and datasource introspection secret arn update
  • api-change:fms: [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.
  • api-change:ivs: [botocore] Bug Fix: IVS does not support arns with the svs prefix
  • api-change:ivs-realtime: [botocore] Bug Fix: IVS Real Time does not support ARNs using the svs prefix.
  • api-change:rds: [botocore] Updates Amazon RDS documentation for setting local time zones for RDS for Db2 DB instances.
  • api-change: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

=======

  • api-change:datasync: [botocore] This change allows users to disable and enable the schedules associated with their tasks.
  • api-change:ec2: [botocore] Launching capability for customers to enable or disable automatic assignment of public IPv4 addresses to their network interface
  • api-change:emr-containers: [botocore] EMRonEKS Service support for SecurityConfiguration enforcement for Spark Jobs.
  • api-change:entityresolution: [botocore] Support Batch Unique IDs Deletion.
  • api-change:gamelift: [botocore] Amazon GameLift releases container fleets support for public preview. Deploy Linux-based containerized game server software for hosting on Amazon GameLift.
  • api-change:ssm: [botocore] Add SSM DescribeInstanceProperties API to public AWS SDK.

v1.34.90

Compare Source

=======

  • api-change:bedrock: [botocore] This release introduces Model Evaluation and Guardrails for Amazon Bedrock.
  • api-change: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.
  • api-change: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.
  • api-change:bedrock-runtime: [botocore] This release introduces Guardrails for Amazon Bedrock.
  • api-change:ce: [botocore] Added additional metadata that might be applicable to your reservation recommendations.
  • api-change: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.
  • api-change:pi: [botocore] Clarifies how aggregation works for GetResourceMetrics in the Performance Insights API.
  • api-change:rds: [botocore] Fix the example ARN for ModifyActivityStreamRequest
  • api-change:workspaces-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

=======

  • api-change:bedrock-agent: [botocore] Releasing the support for simplified configuration and return of control
  • api-change:bedrock-agent-runtime: [botocore] Releasing the support for simplified configuration and return of control
  • api-change:payment-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.
  • api-change:redshift-serverless: [botocore] Updates description of schedule field for scheduled actions.
  • api-change:route53profiles: [botocore] Route 53 Profiles allows you to apply a central DNS configuration across many VPCs regardless of account.
  • api-change:sagemaker: [botocore] This release adds support for Real-Time Collaboration and Shared Space for JupyterLab App on SageMaker Studio.
  • api-change:servicediscovery: [botocore] This release adds examples to several Cloud Map actions.
  • api-change:transfer: [botocore] Adding new API to support remote directory listing using SFTP connector

v1.34.88

Compare Source

=======

  • api-change:glue: [botocore] Adding RowFilter in the response for GetUnfilteredTableMetadata API
  • api-change:internetmonitor: [botocore] This update introduces the GetInternetEvent and ListInternetEvents APIs, which provide access to internet events displayed on the Amazon CloudWatch Internet Weather Map.
  • api-change:personalize: [botocore] This releases auto training capability while creating a solution and automatically syncing latest solution versions when creating/updating a campaign

v1.34.87

Compare Source

=======

  • api-change:drs: [botocore] Outpost ARN added to Source Server and Recovery Instance
  • api-change:emr-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.
  • api-change:guardduty: [botocore] Added IPv6Address fields for local and remote IP addresses
  • api-change:quicksight: [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 execution
  • api-change:rolesanywhere: [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.
  • api-change:sagemaker: [botocore] Removed deprecated enum values and updated API documentation.
  • api-change: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

=======

  • Improve best_match (and thereby error messages from jsonschema.validate) in cases where there are multiple sibling errors from applying anyOf / 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).
  • (Micro-)optimize equality checks when comparing for JSON Schema equality by first checking for object identity, as == 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 the pathlib.Path parameter which replaced it:

    • pytest_ignore_collect{.interpreted-text role="hook"} - the path parameter - use collection_path instead.
    • pytest_collect_file{.interpreted-text role="hook"} - the path parameter - use file_path instead.
    • pytest_pycollect_makemodule{.interpreted-text role="hook"} - the path parameter - use module_path instead.
    • pytest_report_header{.interpreted-text role="hook"} - the startdir parameter - use start_path instead.
    • pytest_report_collectionfinish{.interpreted-text role="hook"} - the startdir parameter - use start_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 raised ImportError{.interpreted-text role="class"} instead of ModuleNotFoundError{.interpreted-text role="class"}.

    The warning can be suppressed by passing exc_type=ImportError to pytest.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 with TestCase.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 of pytest.__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 with AttributeError: '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 longer None, 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 single self.

  • #​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

  • #​12069: pluggy>=1.5.0 is now required.
  • #​12167: 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

  • #​12114: Fixed error in 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 over sorted() (FURB192) (#​10868)
Server
  • Fix an issue with missing diagnostics for Neovim and Helix (#​11092)
  • Implement hover documentation for noqa codes (#​11096)
  • Introduce common Ruff configuration options with new server settings (#​11062)
Bug fixes
  • Use macos-12 for building release wheels to enable macOS 11 compatibility (#​11146)
  • [flake8-blind-expect] Allow raise from in BLE001 (#​11131)
  • [flake8-pyi] Allow simple assignments to None in enum class scopes (PYI026) (#​11128)
  • [flake8-simplify] Avoid raising SIM911 for non-zip attribute calls (#​11126)
  • [refurb] Avoid operator.itemgetter suggestion for single-item tuple (#​11095)
  • [ruff] Respect per-file-ignores for RUF100 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] Mention lint.typing-modules in TCH001, TCH002, and TCH003 (#​11144)
  • [isort] Improve documentation around custom isort sections (#​11050)
  • [pylint] Fix documentation oversight for invalid-X-returns (#​11094)
Performance
  • Use matchit to resolve per-file settings (#​11111)

v0.4.1

Compare Source

Preview features
  • [pylint] Implement invalid-hash-returned (PLE0309) (#​10961)
  • [pylint] Implement invalid-index-returned (PLE0305) (#​10962)
Bug fixes
  • [pylint] Allow NoReturn-like functions for __str__, __len__, etc. (PLE0307) (#​11017)
  • Parser: Use empty range when there's "gap" in token source (#​11032)
  • [ruff] Ignore stub functions in unused-async (RUF029) (#​11026)
  • Parser: Expect indented case block instead of match stmt (#​11033)

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 language
server 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 lot
of 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:

  • Lints Python files automatically and shows quick-fixes when available
  • Formats Python files, with support for range formatting
  • Comes with commands for quickly performing actions: ruff.applyAutofix, ruff.applyFormat, and ruff.applyOrganizeImports
  • Supports source.fixAll and source.organizeImports source actions
  • Automatically reloads your project configuration when you change it

To setup ruff server with your editor, refer to the README.md.

Preview features
  • [pycodestyle] Do not trigger E3 rules on defs following a function/method with a dummy body (#​10704)
  • [pylint] Implement invalid-bytes-returned (E0308) (#​10959)
  • [pylint] Implement invalid-length-returned (E0303) (#​10963)
  • [pylint] Implement self-cls-assignment (W0642) (#​9267)
  • [pylint] Omit stubs from invalid-bool and invalid-str-return-type (#​11008)
  • [ruff] New rule unused-async (RUF029) to detect unneeded async keywords on functions (#​9966)
Rule changes
  • [flake8-bandit] Allow urllib.request.urlopen calls with static Request argument (S310) (#​10964)
  • [flake8-bugbear] Treat raise NotImplemented-only bodies as stub functions (B006) (#​10990)
  • [flake8-slots] Respect same-file Enum subclasses (SLOT000) (#​11006)
  • [pylint] Support inverted comparisons (PLR1730) (#​10920)
Linter
  • Improve handling of builtin symbols in linter rules (#​10919)
  • Improve display of rules in --show-settings (#​11003)
  • Improve inference capabilities of the BuiltinTypeChecker (#​10976)
  • Resolve classes and functions relative to script name (#​10965)
  • Improve performance of RuleTable::any_enabled (#​10971)
Server

This section is devoted to updates for our new language server, written in Rust.

  • Enable ruff-specific source actions (#​10916)
  • Refreshes diagnostics for open files when file configuration is changed (#​10988)
  • Important errors are now shown as popups (#​10951)
  • Introduce settings for directly configuring the linter and formatter (#​10984)
  • Resolve configuration for each document individually (#​10950)
  • Write a setup guide for Neovim (#​10987)
Configuration
  • Add RUFF_OUTPUT_FILE environment variable support (#​10992)
Bug fixes
  • Avoid non-augmented-assignment for reversed, non-commutative operators (PLR6104) (#​10909)
  • Limit commutative non-augmented-assignments to primitive data types (PLR6104) (#​10912)
  • Respect per-file-ignores for RUF100 on blanket # noqa (#​10908)
  • Consider if expression for parenthesized with items parsing (#​11010)
  • Consider binary expr for parenthesized with items parsing (#​11012)
  • Reset 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.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Mend Renovate. View repository job log here.

@renovate renovate bot force-pushed the renovate/python-dependencies branch 5 times, most recently from 62bdc26 to a8051c0 Compare April 30, 2024 01:31
@renovate renovate bot force-pushed the renovate/python-dependencies branch from a8051c0 to e03c978 Compare May 1, 2024 01:28
@dragomirp dragomirp merged commit 35673fb into main May 1, 2024
49 checks passed
@dragomirp dragomirp deleted the renovate/python-dependencies branch May 1, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants