Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions f5_cccl/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"""F5 Common Controller Core Library to read, diff and apply BIG-IP config."""

import logging
import pkg_resources
import importlib.resources

from f5_cccl.bigip import BigIPProxy
from f5_cccl.service.manager import ServiceManager
Expand Down Expand Up @@ -67,8 +67,8 @@ def __init__(self, bigip, partition, user_agent=None, prefix=None,
prefix=prefix)

if schema_path is None:
schema_path = pkg_resources.resource_filename(resource_package,
ltm_api_schema)
schema_path = str(
importlib.resources.files(resource_package).joinpath(ltm_api_schema))
self._service_manager = ServiceManager(self._bigip_proxy,
partition,
schema_path)
Expand Down Expand Up @@ -132,4 +132,4 @@ def get_statistics(self):
"""
statistics = {}

return statistics
return statistics
38 changes: 19 additions & 19 deletions setup_requirements.txt
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
# F5-CCCL Install Requirements
# F5-CCCL Install Requirements (Python 3.12 compatible)
#f5-icontrol-rest==1.3.13
f5-sdk==3.0.21
ipaddress==1.0.17
netaddr==0.7.19
PyJWT==2.4.0
PyYAML==6.0.1
requests==2.32.4
simplejson==3.10.0
jsonpatch==1.16
jsonpointer==2.0
jsonschema==3.0.0
asn1crypto==0.24.0
ipaddress==1.0.23
netaddr==0.10.1
PyJWT==2.12.0
PyYAML==6.0.2
requests==2.33.0
simplejson==3.19.2
jsonpatch==1.33
jsonpointer==2.4
jsonschema==4.21.1
asn1crypto==1.5.1
certifi==2024.07.04
chardet==3.0.4
chardet==5.2.0
enum34==1.1.6
idna==3.7
pycparser==2.19
urllib3==2.6.0
six==1.12.0
attrs==18.2.0
cffi==1.15.0
pyrsistent==0.14.11
setuptools==78.1.1
pycparser==2.22
urllib3==2.6.3
six==1.16.0
attrs==23.2.0
cffi==1.16.0
pyrsistent==0.20.0
setuptools==82.0.1