Skip to content

Commit 03cb12b

Browse files
jacky06rafaelweingartner
authored andcommitted
Update hacking for Python3
The repo is Python 3 now, so update hacking to version 3.0 which supports Python 3. Fix problems found. Change-Id: I5a4123c0c5e18c0e25383491253299fc5b54618b
1 parent d64e435 commit 03cb12b

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

cloudkittydashboard/overrides.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,4 +34,5 @@ def get_help_text(self, extra_context=None):
3434
self).get_help_text(extra_context=extra)
3535
return extra
3636

37+
3738
create_instance.SetInstanceDetails.action_class = InstancePredictivePricing

test-requirements.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
# The order of packages is significant, because pip processes them in the order
22
# of appearance. Changing the order has an impact on the overall integration
33
# process, which may cause wedges in the gate later.
4-
hacking>=1.1.0,<1.2.0 # Apache-2.0
4+
5+
hacking>=3.0.1,<3.1.0 # Apache-2.0
56
coverage>=3.6
67
python-subunit>=0.0.18
78
oslotest>=1.10.0 # Apache-2.0

tox.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
minversion = 2.0
33
envlist = py36,py37,pep8
44
skipsdist = True
5+
ignore_basepython_conflict = True
56

67
[testenv]
78
basepython = python3

0 commit comments

Comments
 (0)