summaryrefslogtreecommitdiffstats
path: root/starlingx
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2021-09-02 14:04:16 +0800
committerBin Yang <bin.yang@windriver.com>2021-09-10 18:04:19 +0800
commit206e6e65fc57ec71164ce8e49b84cb34ea29ef12 (patch)
tree8e2138edf148e916dc5cd593105c1a861ac6fe07 /starlingx
parente22ad4eabc88aa9a25c89ee3351d23654a472819 (diff)
Upgrade dependency1.5.6
Issue-ID: MULTICLOUD-1344 Signed-off-by: Bin Yang <bin.yang@windriver.com> Change-Id: I39cf2fedb651a3cfc3601c5ccb01a1b67f564655
Diffstat (limited to 'starlingx')
-rw-r--r--starlingx/requirements.txt10
-rw-r--r--starlingx/starlingx/settings.py15
-rw-r--r--starlingx/test-requirements.txt6
-rw-r--r--starlingx/tox.ini4
4 files changed, 25 insertions, 10 deletions
diff --git a/starlingx/requirements.txt b/starlingx/requirements.txt
index 3623b817..2787a5b2 100644
--- a/starlingx/requirements.txt
+++ b/starlingx/requirements.txt
@@ -13,11 +13,11 @@
# limitations under the License.
# rest framework
-Django==2.2.3
-djangorestframework==3.9.4
+Django==3.2.7
+djangorestframework==3.12.4
# for call rest api
-httplib2==0.13.0
+httplib2==0.19.1
# for call openstack auth and transport api
keystoneauth1==2.18.0
@@ -25,7 +25,7 @@ keystoneauth1==2.18.0
# python-memcached
python-memcached
-ruamel.yaml==0.16.10
+ruamel.yaml==0.17.1
# uwsgi for parallel processing
# uwsgi
@@ -35,4 +35,4 @@ ruamel.yaml==0.16.10
# mock==2.0.0
# unittest_xml_reporting==1.12.0
-PyYAML==5.3.1 \ No newline at end of file
+PyYAML==5.4.1
diff --git a/starlingx/starlingx/settings.py b/starlingx/starlingx/settings.py
index d0eafd59..d5362e4b 100644
--- a/starlingx/starlingx/settings.py
+++ b/starlingx/starlingx/settings.py
@@ -146,6 +146,21 @@ if platform.system() == 'Windows' or 'test' in sys.argv:
},
'loggers': {
+ 'starlingx': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
+ 'starlingx_base': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
+ 'newton_base': {
+ 'handlers': ['file_handler'],
+ 'level': 'DEBUG',
+ 'propagate': False
+ },
'common': {
'handlers': ['file_handler'],
'level': 'DEBUG',
diff --git a/starlingx/test-requirements.txt b/starlingx/test-requirements.txt
index d91d31db..a30dcff9 100644
--- a/starlingx/test-requirements.txt
+++ b/starlingx/test-requirements.txt
@@ -1,6 +1,6 @@
# for unit test
-coverage==4.2
-mock==3.0.5
-unittest_xml_reporting==1.12.0
+coverage==5.5
+mock==4.0.3
+unittest_xml_reporting==3.0.4
pylint # GPLv2
diff --git a/starlingx/tox.ini b/starlingx/tox.ini
index 72c4b46d..fe3f5551 100644
--- a/starlingx/tox.ini
+++ b/starlingx/tox.ini
@@ -13,7 +13,7 @@
# limitations under the License.
[tox]
-envlist = py36,cov,pylint
+envlist = py38,cov,pylint
skipsdist = true
[tox:jenkins]
@@ -26,7 +26,7 @@ max-complexity = 27
[testenv]
basepython =
- py36: python3
+ py38: python3
cov: python3
pylint: python3
setenv =