Skip to content

Commit 41e50c4

Browse files
committed
Merge pull request #217 from RickyCook/upgrade-requirements
Upgrade requirements
2 parents ea7132d + 3b3a91d commit 41e50c4

File tree

5 files changed

+19
-16
lines changed

5 files changed

+19
-16
lines changed

.pipignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
gnureadline
2+
ipdb
3+
ipython
4+
wheel

dev-requirements.txt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
gnureadline==6.3.3
2-
ipdb==0.8
3-
ipython==2.3.1
4-
pip-tools==0.3.5
1+
pip-tools==0.3.6

dockci/models/project.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,9 +113,12 @@ def filtered_jobs(self, passed=None, versioned=None, other_check=None):
113113
Generator, filtering jobs matching the criteria
114114
"""
115115
for job in list(self.jobs):
116-
# job_passed is used only in this loop iter
117-
# pylint:disable=cell-var-from-loop
118-
job_passed = lambda: job.result == 'success' # lazy load
116+
def job_passed():
117+
""" Lazy load of ``job.result`` """
118+
# job_passed is used only in this loop iter
119+
# pylint:disable=cell-var-from-loop
120+
return job.result == 'success'
121+
119122
if passed is not None and job_passed() != passed:
120123
continue
121124
if versioned is not None and job.tag is None:

requirements.txt

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,27 @@
1-
## The following requirements were added by pip freeze:
2-
astroid==1.3.2
31
blinker==1.3
42
docker-py==1.3.0
53
Flask-Login==0.2.11
64
Flask-Mail==0.9.1
75
Flask-OAuthlib==0.9.1
86
Flask-Principal==0.4.0
97
Flask-Security==1.7.4
10-
Flask-WTF==0.11
8+
Flask-WTF==0.12
119
Flask==0.10.1
12-
gunicorn==19.1.1
10+
gunicorn==19.3.0
1311
hypchat==0.18
1412
itsdangerous==0.24
1513
Jinja2==2.7.3
16-
logilab-common==0.63.2
1714
MarkupSafe==0.23
1815
oauthlib==0.7.2
1916
passlib==1.6.2
2017
py-bcrypt==0.4
2118
py==1.4.30
22-
python-dateutil==2.4.0
19+
python-dateutil==2.4.2
2320
PyYAML==3.11
2421
requests-oauthlib==0.5.0
2522
requests==2.7.0
2623
six==1.9.0
2724
websocket-client==0.32.0
28-
Werkzeug==0.9.6
25+
Werkzeug==0.10.4
2926
WTForms==2.0.2
3027
yaml-model==0.1.5

test-requirements.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1-
pep8==1.5.7
2-
pylint==1.4.0
1+
astroid==1.3.6
2+
logilab-common==1.0.2
3+
pep8==1.6.2
4+
pylint==1.4.4
35
pytest==2.7.2

0 commit comments

Comments
 (0)