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

Bump azure-cli from 2.61.0 to 2.67.0 #289

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 25, 2024

Bumps azure-cli from 2.61.0 to 2.67.0.

Release notes

Sourced from azure-cli's releases.

Azure CLI 2.67.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Azure CLI 2.66.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Azure CLI 2.65.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Azure CLI 2.64.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Azure CLI 2.63.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Azure CLI 2.62.0

https://github.com/MicrosoftDocs/azure-docs-cli/blob/main/docs-ref-conceptual/release-notes-azure-cli.md

Changelog

Sourced from azure-cli's changelog.

The argument '--name' will become required in next breaking change release(2.61.0).

The default value of '--foobar' will be changed to 'B' from 'A' in next breaking change release(2.61.0).

During May 2024, another Breaking Change would happen in Build Event.


There are several types of breaking changes defined in `breaking_change.py`. You should use any of them to declare breaking changes in `_breaking_change.py`.

Deprecate

Declaring deprecation in _breaking_change.py is similar to deprecation when authoring commands. It is recommended to use this method rather than declaring deprecate_info when defining a command or argument. You can use the following method to declare deprecation:

  • register_command_group_deprecate: Deprecating a command group.
  • register_command_deprecate: Deprecating a command.
  • register_argument_deprecate: Deprecating an argument or option.

> Note: Avoid marking an item with both a deprecation and another breaking change. A command group, command, or argument cannot be deprecated while also undergoing other breaking changes.

They share similar arguments:

  • command_group/command: The name of the command group or command.
  • argument: The name of the argument or option to be deprecated. If it is one of the options in options_list, the declaration will deprecate the option instead of the entire argument.
  • redirect: This is the alternative that should be used in lieu of the deprecated thing. If not provided, the item is expected to be removed in the future with no replacement.
  • hide: Hide the deprecated item from the help system, reducing discoverability, but still allow it to be used. Accepts either the boolean True to immediately hide the item or a core CLI version. If a version is supplied, the item will appear until the core CLI rolls to the specified value, after which it will be hidden.
  • target_version: The version when the deprecated item should be removed. This version will be communicated in all warning messages. The target_version is the next breaking change window by default. The deprecated item will still function at the input version.
from azure.cli.core.breaking_change import register_command_group_deprecate, register_command_deprecate, register_argument_deprecate

register_command_group_deprecate('bar', redirect='baz')

Warning Message: This command group has been deprecated and will be removed in next breaking change release(2.67.0). Use baz instead.

register_command_deprecate('bar foo', redirect='baz foo', hide=True)

Warning Message: This command has been deprecated and will be removed in next breaking change release(2.67.0). Use baz foo instead.

register_argument_deprecate('bar foo', '--name', target_version='2.70.0')

Warning Message: Option --name has been deprecated and will be removed in 2.70.0.

</code></pre>
<blockquote>
<p>Note: The declared deprecation would be transformed into <code>knack.deprecation.Deprecated</code> item during runtime. The <code>tag_func</code> and <code>message_func</code> will remain effective. However, due to the timing of the transformation, the <code>expiration</code> will not take effect.</p>
</blockquote>
<p><strong>Remove</strong></p>
<p>To declare the removal of an item, use the deprecation method instead.</p>
<pre lang="python"><code>from azure.cli.core.breaking_change import register_argument_deprecate

register_argument_deprecate('bar foo', '--name', target_version='2.70.0')

Warning Message: Option --name has been deprecated and will be removed in 2.70.0.

</code></pre>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>

<ul>
<li><a href="https://github.com/Azure/azure-cli/commit/0494144e9222fce4728adc76410c8210530dc279&quot;&gt;&lt;code&gt;0494144&lt;/code&gt;&lt;/a> {Release} Upgrade to Azure CLI 2.67.0 (<a href="https://redirect.github.com/Azure/azure-cli/issues/30330&quot;&gt;#30330&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/Azure/azure-cli/commit/f25a321b6daaf1b52acd7ec7a997f17cd2cb14a1&quot;&gt;&lt;code&gt;f25a321&lt;/code&gt;&lt;/a> {Backup} Update paired region for southeastus (<a href="https://redirect.github.com/Azure/azure-cli/issues/30315&quot;&gt;#30315&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/Azure/azure-cli/commit/f76cfd25180e32724976a9a6b579470b6df729c9&quot;&gt;&lt;code&gt;f76cfd2&lt;/code&gt;&lt;/a> {Microsoft Entra ID} <code>az ad sp create-for-rbac</code>: Update examples and warnings...</li>
<li><a href="https://github.com/Azure/azure-cli/commit/97f79c9cd11b75922c49378f11dba94cab5c1654&quot;&gt;&lt;code&gt;97f79c9&lt;/code&gt;&lt;/a> {Profile} <code>az login</code>: Update examples and history note (<a href="https://redirect.github.com/Azure/azure-cli/issues/30291&quot;&gt;#30291&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/Azure/azure-cli/commit/1d0fd3f4e9b7161f510aa55af1b987f02d688201&quot;&gt;&lt;code&gt;1d0fd3f&lt;/code&gt;&lt;/a> {App Service} Skip tests to unblock CI (<a href="https://redirect.github.com/Azure/azure-cli/issues/30313&quot;&gt;#30313&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/Azure/azure-cli/commit/b1f35f2034998d594ea4583dbb297972bca503f4&quot;&gt;&lt;code&gt;b1f35f2&lt;/code&gt;&lt;/a> [Core] BREAKING CHANGE: <code>az extension add/update</code> and <code>az upgrade</code>: Install s...</li>
<li><a href="https://github.com/Azure/azure-cli/commit/2cb3d5123d950520b4d4a919c8525a6714dcb292&quot;&gt;&lt;code&gt;2cb3d51&lt;/code&gt;&lt;/a> {Eventhub} API-Version for <code>az eventhubs eventhub</code> <code>az eventhubs namespace</code> c...</li>
<li><a href="https://github.com/Azure/azure-cli/commit/6925bbde33512d0f723988438c197d81e4200187&quot;&gt;&lt;code&gt;6925bbd&lt;/code&gt;&lt;/a> Update resourceManagement.yml (<a href="https://redirect.github.com/Azure/azure-cli/issues/30264&quot;&gt;#30264&lt;/a&gt;)&lt;/li>
<li><a href="https://github.com/Azure/azure-cli/commit/ae1418a243aaf5d0e6a34044f5263a06e4f658f2&quot;&gt;&lt;code&gt;ae1418a&lt;/code&gt;&lt;/a> [AKS] <code>az aks enable-addon</code>: Update AGIC addon to use Network Contributor ins...</li>
<li><a href="https://github.com/Azure/azure-cli/commit/3624080b833cdadf65b4466ac217d1e57d6679a1&quot;&gt;&lt;code&gt;3624080&lt;/code&gt;&lt;/a> {Core} Update Next Breaking Change Release Version Number (<a href="https://redirect.github.com/Azure/azure-cli/issues/30288&quot;&gt;#30288&lt;/a&gt;)&lt;/li>
<li>Additional commits viewable in <a href="https://github.com/Azure/azure-cli/compare/azure-cli-2.61.0...azure-cli-2.67.0&quot;&gt;compare view</a></li>
</ul>
</details>

<br />

Dependabot compatibility score

You can trigger a rebase of this PR 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 <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by Sourcery

Build:

  • Update azure-cli dependency from version 2.61.0 to 2.67.0 in the requirements file.

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

Bumps [azure-cli](https://github.com/Azure/azure-cli) from 2.61.0 to 2.67.0.
- [Release notes](https://github.com/Azure/azure-cli/releases)
- [Changelog](https://github.com/Azure/azure-cli/blob/dev/doc/how_to_introduce_breaking_changes.md)
- [Commits](Azure/azure-cli@azure-cli-2.61.0...azure-cli-2.67.0)

---
updated-dependencies:
- dependency-name: azure-cli
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 25, 2024
Copy link

sourcery-ai bot commented Nov 25, 2024

Reviewer's Guide by Sourcery

This PR updates the azure-cli dependency from version 2.61.0 to 2.67.0. The update includes several version increments (2.62.0 through 2.67.0) and introduces some breaking changes, notably in the extension management and AGIC addon functionality.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Version bump of azure-cli package in requirements.txt
  • Updated azure-cli from 2.61.0 to 2.67.0
dind/requirements.txt
Breaking changes in extension management and upgrade functionality
  • Modified behavior of 'az extension add/update' commands
  • Changed functionality of 'az upgrade' command
  • Updated installation process for system requirements
dind/requirements.txt
Updates to AKS addon functionality
  • Modified AGIC addon to use Network Contributor instead of previous role
dind/requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

Copy link
Contributor Author

dependabot bot commented on behalf of github Jan 20, 2025

Superseded by #309.

@dependabot dependabot bot closed this Jan 20, 2025
@dependabot dependabot bot deleted the dependabot/pip/azure-cli-2.67.0 branch January 20, 2025 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants