Browse Source

Update hacking for Python3

The repo is Python 3 now, so update hacking to version 3.0 which
supports Python 3.

Fix problems found.

Update sphinx requirement, since skipping 1.5.1 is not part of
global-requirements.

Change-Id: Iea521113d66647a8d2d7e129268efb22ca2226c1
tags/1.0.1^0
Andreas Jaeger 3 months ago
committed by Andreas Jaeger
parent
commit
e941f13f08
2 changed files with 3 additions and 3 deletions
  1. +1
    -1
      sphinx_feature_classification/support_matrix.py
  2. +2
    -2
      test-requirements.txt

+ 1
- 1
sphinx_feature_classification/support_matrix.py View File

@@ -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
- 2
test-requirements.txt View File

@@ -2,13 +2,13 @@
# 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>=3.0,<3.1.0 # 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
ddt>=1.0.1 # MIT
python-subunit>=0.0.18 # Apache-2.0/BSD
sphinx!=1.6.1,>=1.5.1 # BSD
sphinx>=1.6.8 # BSD
testrepository>=0.0.18 # Apache-2.0/BSD
testtools>=1.4.0 # MIT



Loading…
Cancel
Save