Skip to content

(chore): finish removing usage of "six" - #34054

Open
Alexandre Detiste (a-detiste) wants to merge 2 commits into
Azure:devfrom
a-detiste:dev
Open

(chore): finish removing usage of "six"#34054
Alexandre Detiste (a-detiste) wants to merge 2 commits into
Azure:devfrom
a-detiste:dev

Conversation

@a-detiste

Copy link
Copy Markdown

History Notes

I've be doing this for a while: https://wiki.debian.org/Python3-six-removal , and I'd like to see the end of it.

Copilot AI lite review requested due to automatic review settings September 10, 2026 16:27
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
There may be pipelines that require an authorized user to comment /azp run to run.

@microsoft-github-policy-service microsoft-github-policy-service Bot added the customer-reported Issues that are reported by GitHub users external to the Azure organization. label Sep 10, 2026
@microsoft-github-policy-service

Copy link
Copy Markdown
Contributor

Thank you for your contribution Alexandre Detiste (@a-detiste)! We will review the pull request and get back to you soon.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟡 Changes recommended

six is still pinned in the Darwin/Windows requirements lockfiles, leaving the cross-platform removal incomplete and inconsistent.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Removes remaining direct dependency and in-repo usage of six from Azure CLI packaging metadata and a storage command argument definition, continuing the long-running effort to eliminate six in Python 3-only code.

Changes:

  • Dropped six from setup.py install_requires.
  • Removed six from the Linux pinned requirements set.
  • Replaced six.u-based argument type conversion with str for az storage message put/update --content.
File summaries
File Description
src/azure-cli/setup.py Removes six from Azure CLI’s declared runtime dependencies.
src/azure-cli/requirements.py3.Linux.txt Removes the pinned six entry from the Linux requirements lockfile.
src/azure-cli/azure/cli/command_modules/storage/_params.py Eliminates a six import and uses str for message content argument typing.
Review details
  • Files reviewed: 3/3 changed files
  • Comments generated: 1
  • Review effort level: Lite

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread src/azure-cli/requirements.py3.Linux.txt
@yonzhan

Copy link
Copy Markdown
Collaborator

chore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

customer-reported Issues that are reported by GitHub users external to the Azure organization.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants