File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 Release History
44===============
55
6+ 0.2.6
7+ ++++++
8+ * Replace deprecated pkg_resources with packaging for Python 3.13 compatibility
9+
6100.2.5
711++++++
812* Send appropriate User ID hash
Original file line number Diff line number Diff line change 88import json
99import re
1010import requests
11- from pkg_resources import parse_version
11+ from packaging . version import Version
1212
1313from azure .cli .core import telemetry as telemetry_core
1414from azure .cli .core import __version__ as core_version
@@ -85,7 +85,7 @@ def ping_aladdin_service():
8585
8686
8787def call_aladdin_service (query ):
88- version = str (parse_version (core_version ))
88+ version = str (Version (core_version ))
8989 correlation_id = telemetry_core ._session .correlation_id # pylint: disable=protected-access
9090 subscription_id = telemetry_core ._get_azure_subscription_id () # pylint: disable=protected-access
9191
Original file line number Diff line number Diff line change 1515 logger .warn ("Wheel is not available, disabling bdist_wheel hook" )
1616
1717# HISTORY.rst entry.
18- VERSION = '0.2.5 '
18+ VERSION = '0.2.6 '
1919
2020# The full list of classifiers is available at
2121# https://pypi.python.org/pypi?%3Aaction=list_classifiers
3434 'License :: OSI Approved :: MIT License' ,
3535]
3636
37- DEPENDENCIES = []
37+ DEPENDENCIES = [
38+ 'packaging' ,
39+ ]
3840
3941with open ('README.md' , 'r' , encoding = 'utf-8' ) as f :
4042 README = f .read ()
You can’t perform that action at this time.
0 commit comments