Use platformdirs rather than appdirs
The appdirs is abandonned upstream. platformdirs is API compatible. Let's switch to it. Note this patch is already in the Debian package. Change-Id: I021b710072a3bc8eb505ca29f30d16b4da9aa472
This commit is contained in:
parent
dff77df8fc
commit
25b7d106a8
@ -13,10 +13,10 @@
|
||||
import copy
|
||||
import os
|
||||
|
||||
import appdirs
|
||||
import jsonschema
|
||||
import logging
|
||||
import pbr.version
|
||||
import platformdirs
|
||||
import yaml
|
||||
|
||||
from os_faults.ansible import executor
|
||||
@ -38,7 +38,7 @@ def get_release():
|
||||
return pbr.version.VersionInfo('os_faults').release_string()
|
||||
|
||||
|
||||
APPDIRS = appdirs.AppDirs(appname='openstack', appauthor='OpenStack')
|
||||
APPDIRS = platformdirs.AppDirs(appname='openstack', appauthor='OpenStack')
|
||||
UNIX_SITE_CONFIG_HOME = '/etc/openstack'
|
||||
CONFIG_SEARCH_PATH = [
|
||||
os.getcwd(),
|
||||
|
@ -4,7 +4,6 @@
|
||||
|
||||
pbr>=2.0.0 # Apache-2.0
|
||||
|
||||
appdirs>=1.3.0 # MIT License
|
||||
click>=6.7 # BSD
|
||||
iso8601>=0.1.11 # MIT
|
||||
jsonschema>=2.6.0 # MIT
|
||||
@ -12,5 +11,6 @@ oslo.concurrency>=3.0.0 # Apache-2.0
|
||||
oslo.i18n>=2.1.0 # Apache-2.0
|
||||
oslo.serialization>=1.10.0 # Apache-2.0
|
||||
oslo.utils>=3.20.0 # Apache-2.0
|
||||
platformdirs>=2.6.0 # MIT License
|
||||
pyghmi>=1.0.9
|
||||
PyYAML>=3.10.0 # MIT
|
||||
|
Loading…
x
Reference in New Issue
Block a user