Azure / Azure/azure-cli

Request to bump the version of pkginfo

Open
#31,320 2 comments 0 reactions 1 assignee Claimed by @bebound View on GitHub
Azure CLI Team question
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

### Describe the bug

The currently specified pkginfo version is 1.8.2, which cannot parse the conten with `Metadata-Version: 2.4` in egg.info (setuptools >=77.0, see [release note](https://setuptools.pypa.io/en/stable/history.html#v77-0-0)). As a result, the cli-extensions installed in dev mode will display the version as `unknown` in commands such as `az version`.

![Image](https://github.com/user-attachments/assets/fb2e2054-ac4b-44c5-810c-eb086f82ad0d)

### Related command

`az version`

### Errors

version is shown as unknown

### Issue script & Debug output

version is shown as unknown

### Expected behavior

version is shown normally

### Environment Summary

azure-cli 2.72.0

core 2.72.0
telemetry 1.1.0

Extensions:
aks-preview Unknown (dev) /Volumes/SN/Users/fuming/azure-cli-extensions/src/aks-preview

Dependencies:
msal 1.32.0
azure-mgmt-resource 23.1.1

Python location '/Volumes/SN/Users/fuming/aenv/bin/python'
Config directory '/Users/zhangfuming/.azure'
Extensions directory '/Users/zhangfuming/.azure/cliextensions'
Development extension sources:
/Volumes/SN/Users/fuming/azure-cli-extensions

Python (Darwin) 3.12.10 (main, Apr 8 2025, 11:35:47) [Clang 16.0.0 (clang-1600.0.26.6)]

### Additional context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.