Update hacking for Python3
The repo is Python 3 now, so update hacking to version 2.0 which supports Python 3. Fix problems found. Change-Id: Iea521113d66647a8d2d7e129268efb22ca2226c1
This commit is contained in:
parent
62e9787a2d
commit
3d867f298f
|
@ -75,7 +75,7 @@ class Matrix(object):
|
|||
if cfg.has_option(section, "status"):
|
||||
# The value is a string "status(group)" where
|
||||
# the 'group' part is optional
|
||||
status, group = re.match('^([^(]+)(?:\(([^)]+)\))?$',
|
||||
status, group = re.match(r'^([^(]+)(?:\(([^)]+)\))?$',
|
||||
cfg.get(section, "status")).groups()
|
||||
|
||||
if status not in Feature.STATUS_ALL:
|
||||
|
|
|
@ -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>=0.12.0,<0.13 # Apache-2.0
|
||||
hacking>=2.0,<2.1 # Apache-2.0
|
||||
coverage>=4.0,!=4.4 # Apache-2.0
|
||||
openstackdocstheme>=1.17.0 # Apache-2.0
|
||||
oslotest>=1.10.0 # Apache-2.0
|
||||
|
|
Loading…
Reference in New Issue