Skip to content

Commit b0ac79a

Browse files
committed
Adding library for packaging and version
1 parent 4b0fb22 commit b0ac79a

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

PyPowerStore/utils/helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
import logging
88

9-
from pkg_resources import parse_version
9+
from packaging.version import Version as parse_version
1010

1111
from PyPowerStore.utils import constants
1212

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
requests==2.32.3
22
urllib3==2.4.0
3+
packaging==26.0

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
description="Python Library for Dell PowerStore",
1212
author="Ansible Team at Dell",
1313
author_email="ansible.team@dell.com",
14-
install_requires=["urllib3>=1.26.7", "requests>=2.23.0"],
14+
install_requires=["urllib3>=1.26.7", "requests>=2.23.0", "packaging>=26.0"],
1515
license_files=("LICENSE",),
1616
classifiers=["License :: OSI Approved :: Apache Software License"],
1717
url="https://github.com/dell/python-powerstore",

0 commit comments

Comments
 (0)