Skip to content

Commit 781a782

Browse files
committed
Update from requirements
Trying to remove usage of d2to1 - it can cause breakages. Also, had to fix hacking 102. Turns out it expects copyright headers in comments, not docstrings. Change-Id: I3494349ffe2d4cba9c8bcb73408d60bbc12eff5e
1 parent 3174179 commit 781a782

5 files changed

+38
-43
lines changed

ipmictl.py

+14-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
#!/usr/bin/env python
2+
# Copyright 2013 IBM Corporation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
215
"""
316
@author: Jarrod Johnson <[email protected]>
4-
5-
Copyright 2013 IBM Corporation
6-
7-
Licensed under the Apache License, Version 2.0 (the "License");
8-
you may not use this file except in compliance with the License.
9-
You may obtain a copy of the License at
10-
11-
http://www.apache.org/licenses/LICENSE-2.0
12-
13-
Unless required by applicable law or agreed to in writing, software
14-
distributed under the License is distributed on an "AS IS" BASIS,
15-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
See the License for the specific language governing permissions and
17-
limitations under the License.
1817
"""
18+
1919
"""This is an example of using the library in a synchronous fashion. For now,
2020
it isn't conceived as a general utility to actually use, just help developers
2121
understand how the ipmi_command class workes.

requirements.txt

+1-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
d2to1>=0.2.10,<0.3
2-
pbr>=0.5.16,<0.6
3-
4-
pycrypto>=2
1+
pycrypto>=2.6

setup.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,9 @@
1414
# See the License for the specific language governing permissions and
1515
# limitations under the License.
1616

17+
# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
1718
import setuptools
1819

1920
setuptools.setup(
20-
setup_requires=['d2to1>=0.2.10,<0.3', 'pbr>=0.5.16,<0.6'],
21-
d2to1=True)
21+
setup_requires=['pbr'],
22+
pbr=True)

solconnect.py

+15-14
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,22 @@
11
#!/usr/bin/env python
2+
# Copyright 2013 IBM Corporation
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
216
"""
317
@author: Jarrod Johnson <[email protected]>
4-
5-
Copyright 2013 IBM Corporation
6-
7-
Licensed under the Apache License, Version 2.0 (the "License");
8-
you may not use this file except in compliance with the License.
9-
You may obtain a copy of the License at
10-
11-
http://www.apache.org/licenses/LICENSE-2.0
12-
13-
Unless required by applicable law or agreed to in writing, software
14-
distributed under the License is distributed on an "AS IS" BASIS,
15-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16-
See the License for the specific language governing permissions and
17-
limitations under the License.
1818
"""
19+
1920
"""A simple little script to exemplify/test ipmi.console module
2021
"""
2122
import os

test-requirements.txt

+5-9
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
# Install bounded pep8/pyflakes first, then let flake8 install
2-
pep8==1.4.5
3-
pyflakes==0.7.2
4-
flake8==2.0
5-
hacking>=0.5.3,<0.6
1+
hacking>=0.5.6,<0.8
62

73
coverage>=3.6
84
discover
9-
fixtures>=0.3.12
5+
fixtures>=0.3.14
106
python-subunit
117
sphinx>=1.1.2
12-
testrepository>=0.0.13
13-
testscenarios
14-
testtools>=0.9.27
8+
testrepository>=0.0.17
9+
testscenarios>=0.4
10+
testtools>=0.9.32

0 commit comments

Comments
 (0)