##// END OF EJS Templates
bump requirements
ergo -
Show More
@@ -1,43 +1,42 b''
1 repoze.sendmail==4.1
1 repoze.sendmail==4.4.1
2 2 pyramid==1.10.2
3 pyramid_tm==0.12
3 pyramid_tm==2.2.1
4 4 pyramid_debugtoolbar
5 5 pyramid_authstack==1.0.1
6 SQLAlchemy==1.0.12
6 SQLAlchemy==1.2.18
7 7 alembic==1.0.8
8 8 webhelpers2==2.0
9 transaction==1.4.3
10 zope.sqlalchemy==0.7.6
11 pyramid_mailer==0.14.1
12 redis==2.10.5
9 transaction==2.4.0
10 zope.sqlalchemy==1.1
11 pyramid_mailer==0.15.1
12 redis==3.2.1
13 13 redlock-py==1.0.8
14 pyramid_jinja2==2.6.2
15 psycopg2==2.7.7
16 wtforms==2.1
17 celery==3.1.23
18 formencode==1.3.0
19 psutil==2.1.2
14 pyramid_jinja2==2.8
15 psycopg2-binary==2.7.7
16 wtforms==2.2.1
17 celery==4.2.1
18 formencode==1.3.1
19 psutil==5.6.1
20 20 ziggurat_foundations==0.8.3
21 21 bcrypt==3.1.6
22 22 appenlight_client
23 markdown==2.5
23 markdown==3.0.1
24 24 colander==1.7
25 25 defusedxml==0.5.0
26 dogpile.cache==0.5.7
26 dogpile.cache==0.7.1
27 27 pyramid_redis_sessions==1.0.1
28 simplejson==3.8.2
29 waitress==1.0
28 simplejson==3.16.0
29 waitress==1.2.1
30 30 gunicorn==19.9.0
31 requests==2.20.0
32 requests_oauthlib==0.6.1
33 gevent==1.1.1
34 gevent-websocket==0.9.5
35 pygments==2.1.3
31 uwsgi==2.0.18
32 requests==2.21.0
33 requests_oauthlib==1.2.0
34 gevent==1.4.0
35 pygments==2.3.1
36 36 lxml==4.3.2
37 paginate==0.5.4
38 paginate-sqlalchemy==0.2.0
37 paginate==0.5.6
38 paginate-sqlalchemy==0.3.0
39 39 elasticsearch>=2.0.0,<3.0.0
40 six>=1.10.0
41 40 mock==1.0.1
42 41 itsdangerous==1.1.0
43 42 camplight==0.9.6
@@ -45,5 +44,4 b' jira==1.0.7'
45 44 python-dateutil==2.5.3
46 45 authomatic==0.1.0.post1
47 46 cryptography==2.6.1
48 webassets==0.11.1
49 47
@@ -57,7 +57,7 b' def on_preload_parsed(options, **kwargs):'
57 57 if not ini_location:
58 58 raise Exception('You need to pass pyramid ini location using '
59 59 '--ini=filename.ini argument to the worker')
60 env = bootstrap(ini_location)
60 env = bootstrap(ini_location[0])
61 61 api_key = env['request'].registry.settings['appenlight.api_key']
62 62 tr_config = env['request'].registry.settings.get(
63 63 'appenlight.transport_config')
@@ -18,7 +18,8 b' import copy'
18 18 import hashlib
19 19 import inspect
20 20
21 from dogpile.cache import make_region, compat
21 from dogpile.cache import make_region
22 from dogpile.cache.util import compat
22 23
23 24 regions = None
24 25
@@ -16,7 +16,7 b''
16 16
17 17 import sqlalchemy as sa
18 18 from ziggurat_foundations.models.base import BaseModel
19 from sqlalchemy.dialects.postgres import JSON
19 from sqlalchemy.dialects.postgresql import JSON
20 20
21 21 from . import Base
22 22
@@ -16,7 +16,7 b''
16 16
17 17 import sqlalchemy as sa
18 18 from ziggurat_foundations.models.base import BaseModel
19 from sqlalchemy.dialects.postgres import JSON
19 from sqlalchemy.dialects.postgresql import JSON
20 20
21 21 from . import Base
22 22
@@ -84,7 +84,7 b' class ReportGroup(Base, BaseModel):'
84 84 'assigned_reports_relation',
85 85 lazy='dynamic',
86 86 order_by=sa.desc(
87 "reports_groups.id")
87 sa.text("reports_groups.id"))
88 88 ),
89 89 passive_deletes=True,
90 90 passive_updates=True,
@@ -17,7 +17,7 b''
17 17 import sqlalchemy as sa
18 18 from datetime import datetime
19 19 from ziggurat_foundations.models.base import BaseModel
20 from sqlalchemy.dialects.postgres import JSON
20 from sqlalchemy.dialects.postgresql import JSON
21 21
22 22 from . import Base
23 23
@@ -130,14 +130,13 b' def system(request):'
130 130 min_mem = 1024 * 1024 * 40 # 40MB
131 131 process_info = []
132 132 for p in psutil.process_iter():
133 mem_used = p.get_memory_info().rss
133 mem_used = p.memory_info().rss
134 134 if mem_used < min_mem:
135 135 continue
136 136 process_info.append({'owner': p.username(),
137 137 'pid': p.pid,
138 'cpu': round(p.get_cpu_percent(interval=0), 1),
139 'mem_percentage': round(p.get_memory_percent(),
140 1),
138 'cpu': round(p.cpu_percent(interval=0), 1),
139 'mem_percentage': round(p.memory_percent(),1),
141 140 'mem_usage': bytes2human(mem_used),
142 141 'name': p.name(),
143 142 'command': ' '.join(p.cmdline())
@@ -17,7 +17,6 b''
17 17 import copy
18 18 import json
19 19 import logging
20 import six
21 20
22 21 from datetime import datetime, timedelta
23 22
@@ -20,7 +20,6 b' import datetime'
20 20 import time
21 21 import random
22 22 import redis
23 import six
24 23 import pyramid.renderers
25 24 import requests
26 25
General Comments 0
You need to be logged in to leave comments. Login now