diff --git a/lower-constraints.txt b/lower-constraints.txt index e9a244a0..a032c7ca 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 41960f4e..7ef9d7aa 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 302f39fd..98bd8e38 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 0d3ddef0..2d1247de 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