summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-02-19 20:39:41 +0000
committerGerrit Code Review <review@openstack.org>2020-02-19 20:39:42 +0000
commit4a371e5d1d14ac71bcf4e7911d02b2920469c80f (patch)
tree402a0ed51e1631e98647008a4e592cbcf0e400a7
parent5cb82374b11d189d6c315b14d22bb6b821ec1fe8 (diff)
parent81589565ba944f2dec9fcdeac4925d28a45ada6b (diff)
downloadoslo-config-4a371e5d1d14ac71bcf4e7911d02b2920469c80f.tar.gz
Merge "Switch to hacking 2.x"
-rw-r--r--lower-constraints.txt2
-rw-r--r--oslo_config/_i18n.py2
-rw-r--r--oslo_config/tests/test_cfg.py2
-rw-r--r--test-requirements.txt2
4 files changed, 4 insertions, 4 deletions
diff --git a/lower-constraints.txt b/lower-constraints.txt
index e9a244a..a032c7c 100644
--- a/lower-constraints.txt
+++ b/lower-constraints.txt
@@ -11,7 +11,7 @@ fixtures==3.0.0
flake8==2.5.5
gitdb==0.6.4
GitPython==1.0.1
-hacking==0.12.0
+hacking==2.0.0
imagesize==0.7.1
iso8601==0.1.11
Jinja2==2.10
diff --git a/oslo_config/_i18n.py b/oslo_config/_i18n.py
index 41960f4..7ef9d7a 100644
--- a/oslo_config/_i18n.py
+++ b/oslo_config/_i18n.py
@@ -37,4 +37,4 @@ _P = _translators.plural_form
def get_available_languages():
- return oslo_i18n.get_available_languages(DOMAIN)
+ return oslo_i18n.get_available_languages(DOMAIN)
diff --git a/oslo_config/tests/test_cfg.py b/oslo_config/tests/test_cfg.py
index 302f39f..98bd8e3 100644
--- a/oslo_config/tests/test_cfg.py
+++ b/oslo_config/tests/test_cfg.py
@@ -2893,7 +2893,7 @@ class TemplateSubstitutionTestCase(BaseTestCase):
paths = self.create_tempfiles([('test',
'[DEFAULT]\n'
- 'bar=foo-somethin\$k2\n')])
+ 'bar=foo-somethin\\$k2\n')])
self.conf(['--config-file', paths[0]])
diff --git a/test-requirements.txt b/test-requirements.txt
index 0d3ddef..2d1247d 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -2,7 +2,7 @@
# of appearance. Changing the order has an impact on the overall integration
# process, which may cause wedges in the gate later.
-hacking>=1.1.0,<1.2.0 # Apache-2.0
+hacking>=2.0.0,<2.1.0 # Apache-2.0
fixtures>=3.0.0 # Apache-2.0/BSD
testscenarios>=0.4 # Apache-2.0/BSD