Skip to content

Commit 26ffc2f

Browse files
authored
Merge pull request #4767 from StackStorm/deps_update_320
Update various Python dependencies to latest stable versions
2 parents 544120a + dc9ec25 commit 26ffc2f

File tree

15 files changed

+75
-62
lines changed

15 files changed

+75
-62
lines changed

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,15 @@ Changed
1717
* Install pack with the latest tag version if it exists when branch is not specialized.
1818
(improvement) #4743
1919
* Implement "continue" engine command to orquesta workflow. (improvement) #4740
20+
* Update various internal dependencies to latest stable versions (apscheduler, eventlet,
21+
kombu, amqp, pyyaml, mongoengine, python-gnupg, paramiko, tooz, webob, bcrypt).
22+
23+
Latest version of mongoengine should show some performance improvements (5-20%) when
24+
writing very large executions (executions with large results) to the database. #4767
2025

2126
Fixed
2227
~~~~~
28+
2329
* Fix rbac with execution view where the rbac is unable to verify the pack or uid of the execution
2430
because it was not returned from the action execution db. This would result in an internal server
2531
error when trying to view the results of a single execution.

fixed-requirements.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,57 +3,57 @@
33
greenlet==0.4.15
44
# Note: 0.20.0 removed select.poll() on which some of our code and libraries we
55
# depend on rely
6-
eventlet==0.24.1
6+
eventlet==0.25.0
77
gunicorn==19.9.0
8-
kombu==4.5.0
8+
kombu==4.6.4
99
# Note: amqp is used by kombu
10-
amqp==2.4.2
10+
amqp==2.5.0
1111
# NOTE: Recent version substantially affect the performance and add big import time overhead
1212
# See https://github.com/StackStorm/st2/issues/4160#issuecomment-394386433 for details
1313
oslo.config>=1.12.1,<1.13
1414
oslo.utils>=3.36.2,<=3.37.0
1515
six==1.12.0
16-
pyyaml==5.1
16+
pyyaml==5.1.2
1717
requests[security]>=2.22.0,<2.23.0
18-
apscheduler==3.6.0
18+
apscheduler==3.6.1
1919
gitpython==2.1.11
2020
jsonschema==2.6.0
2121
pymongo==3.7.2
22-
mongoengine==0.17.0
22+
mongoengine==0.18.2
2323
passlib==1.7.1
2424
lockfile==0.12.2
25-
python-gnupg==0.4.4
25+
python-gnupg==0.4.5
2626
jsonpath-rw==1.4.0
2727
pyinotify==0.9.6
2828
semver==2.8.1
2929
pytz==2019.1
3030
stevedore==1.30.1
31-
paramiko==2.4.2
31+
paramiko==2.6.0
3232
networkx==1.11
3333
python-keyczar==0.716
34-
cryptography==2.6.1
34+
cryptography==2.7
3535
retrying==1.3.3
3636
# Note: We use latest version of virtualenv which uses pip 19
3737
virtualenv==16.6.0
3838
# NOTE: sseclient has various issues which sometimes hang the connection for a long time, etc.
3939
sseclient-py==1.7
4040
python-editor==1.0.4
4141
prompt-toolkit==1.0.15
42-
tooz==1.65.0
42+
tooz==1.66.1
4343
zake==0.2.2
4444
routes==2.4.1
45-
webob==1.8.4
45+
webob==1.8.5
4646
flex==6.14.0
4747
prance==0.9.0
4848
pywinrm==0.3.0
4949
# test requirements below
5050
nose-timer==0.7.5
5151
nose-parallel==0.3.1
52-
psutil==5.6.1
52+
psutil==5.6.3
5353
python-statsd==2.1.0
5454
prometheus_client==0.1.1
5555
mock==2.0.0
5656
ujson==1.35
5757
python-dateutil==2.8.0
58-
bcrypt==3.1.6
58+
bcrypt==3.1.7
5959
jinja2==2.10.1

requirements.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
# Don't edit this file. It's generated automatically!
22
RandomWords
3-
amqp==2.4.2
4-
apscheduler==3.6.0
3+
amqp==2.5.0
4+
apscheduler==3.6.1
55
argcomplete
6-
bcrypt==3.1.6
7-
cryptography==2.6.1
8-
eventlet==0.24.1
6+
bcrypt==3.1.7
7+
cryptography==2.7
8+
eventlet==0.25.0
99
flex==6.14.0
1010
git+https://github.com/Kami/logshipper.git@stackstorm_patched#egg=logshipper
1111
git+https://github.com/StackStorm/orquesta.git@e6ebbbeb2c661486067e659dc7552f0a986603a6#egg=orquesta
@@ -18,32 +18,32 @@ ipaddr
1818
jinja2==2.10.1
1919
jsonpath-rw==1.4.0
2020
jsonschema==2.6.0
21-
kombu==4.5.0
21+
kombu==4.6.4
2222
lockfile==0.12.2
2323
mock==2.0.0
24-
mongoengine==0.17.0
24+
mongoengine==0.18.2
2525
networkx==1.11
2626
nose
2727
nose-parallel==0.3.1
2828
nose-timer==0.7.5
2929
oslo.config<1.13,>=1.12.1
3030
oslo.utils<=3.37.0,>=3.36.2
31-
paramiko==2.4.2
31+
paramiko==2.6.0
3232
passlib==1.7.1
3333
prettytable
3434
prompt-toolkit==1.0.15
35-
psutil==5.6.1
35+
psutil==5.6.3
3636
pyinotify==0.9.6
3737
pymongo==3.7.2
3838
pyrabbit
3939
python-dateutil==2.8.0
4040
python-editor==1.0.4
41-
python-gnupg==0.4.4
41+
python-gnupg==0.4.5
4242
python-json-logger
4343
python-statsd==2.1.0
4444
pytz==2019.1
4545
pywinrm==0.3.0
46-
pyyaml==5.1
46+
pyyaml==5.1.2
4747
rednose
4848
requests[security]<2.23.0,>=2.22.0
4949
retrying==1.3.3
@@ -52,9 +52,9 @@ semver==2.8.1
5252
six==1.12.0
5353
sseclient-py==1.7
5454
stevedore==1.30.1
55-
tooz==1.65.0
55+
tooz==1.66.1
5656
ujson==1.35
5757
unittest2
58-
webob==1.8.4
58+
webob==1.8.5
5959
webtest
6060
zake==0.2.2

st2actions/requirements.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
# Don't edit this file. It's generated automatically!
2-
apscheduler==3.6.0
3-
eventlet==0.24.1
2+
apscheduler==3.6.1
3+
eventlet==0.25.0
44
git+https://github.com/Kami/logshipper.git@stackstorm_patched#egg=logshipper
55
git+https://github.com/StackStorm/python-mistralclient.git#egg=python-mistralclient
66
gitpython==2.1.11
77
jinja2==2.10.1
8-
kombu==4.5.0
8+
kombu==4.6.4
99
lockfile==0.12.2
1010
oslo.config<1.13,>=1.12.1
1111
oslo.utils<=3.37.0,>=3.36.2
1212
pyinotify==0.9.6
1313
python-dateutil==2.8.0
1414
python-json-logger
15-
pyyaml==5.1
15+
pyyaml==5.1.2
1616
requests[security]<2.23.0,>=2.22.0
1717
six==1.12.0

st2api/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Don't edit this file. It's generated automatically!
2-
eventlet==0.24.1
2+
eventlet==0.25.0
33
git+https://github.com/StackStorm/python-mistralclient#egg=python-mistralclient
44
gunicorn==19.9.0
55
jsonschema==2.6.0
6-
kombu==4.5.0
7-
mongoengine==0.17.0
6+
kombu==4.6.4
7+
mongoengine==0.18.2
88
oslo.config<1.13,>=1.12.1
99
oslo.utils<=3.37.0,>=3.36.2
1010
pymongo==3.7.2

st2api/tests/unit/controllers/v1/test_actions.py

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,8 @@ def test_post_name_unicode_action_already_exists(self):
435435
# Verify that exception messages containing unicode characters don't result in internal
436436
# server errors
437437
action = copy.deepcopy(ACTION_1)
438-
action['name'] = 'žactionćšžž'
438+
# NOTE: We explicitly don't prefix this string value with u""
439+
action['name'] = 'žactionćšžži💩'
439440

440441
# 1. Initial creation
441442
post_resp = self.__do_post(action, expect_errors=True)
@@ -446,6 +447,12 @@ def test_post_name_unicode_action_already_exists(self):
446447
self.assertEqual(post_resp.status_int, 409)
447448
self.assertTrue('Tried to save duplicate unique keys' in post_resp.json['faultstring'])
448449

450+
# 3. Action already exists (this time with unicode type)
451+
action['name'] = u'žactionćšžži💩'
452+
post_resp = self.__do_post(action, expect_errors=True)
453+
self.assertEqual(post_resp.status_int, 409)
454+
self.assertTrue('Tried to save duplicate unique keys' in post_resp.json['faultstring'])
455+
449456
@mock.patch.object(action_validator, 'validate_action', mock.MagicMock(
450457
return_value=True))
451458
def test_post_parameter_type_is_array_and_invalid(self):

st2auth/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Don't edit this file. It's generated automatically!
2-
bcrypt==3.1.6
3-
eventlet==0.24.1
2+
bcrypt==3.1.7
3+
eventlet==0.25.0
44
git+https://github.com/StackStorm/st2-auth-backend-flat-file.git@master#egg=st2-auth-backend-flat-file
55
gunicorn==19.9.0
66
oslo.config<1.13,>=1.12.1

st2client/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# Don't edit this file. It's generated automatically!
22
argcomplete
3-
cryptography==2.6.1
3+
cryptography==2.7
44
jsonpath-rw==1.4.0
55
jsonschema==2.6.0
66
prettytable
77
prompt-toolkit==1.0.15
88
python-dateutil==2.8.0
99
python-editor==1.0.4
1010
pytz==2019.1
11-
pyyaml==5.1
11+
pyyaml==5.1.2
1212
requests[security]<2.23.0,>=2.22.0
1313
six==1.12.0
1414
sseclient-py==1.7

st2common/requirements.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# Don't edit this file. It's generated automatically!
2-
amqp==2.4.2
3-
apscheduler==3.6.0
4-
cryptography==2.6.1
5-
eventlet==0.24.1
2+
amqp==2.5.0
3+
apscheduler==3.6.1
4+
cryptography==2.7
5+
eventlet==0.25.0
66
flex==6.14.0
77
git+https://github.com/StackStorm/orquesta.git@e6ebbbeb2c661486067e659dc7552f0a986603a6#egg=orquesta
88
gitpython==2.1.11
@@ -11,22 +11,22 @@ ipaddr
1111
jinja2==2.10.1
1212
jsonpath-rw==1.4.0
1313
jsonschema==2.6.0
14-
kombu==4.5.0
14+
kombu==4.6.4
1515
lockfile==0.12.2
16-
mongoengine==0.17.0
16+
mongoengine==0.18.2
1717
networkx==1.11
1818
oslo.config<1.13,>=1.12.1
19-
paramiko==2.4.2
19+
paramiko==2.6.0
2020
pymongo==3.7.2
2121
python-dateutil==2.8.0
2222
python-statsd==2.1.0
23-
pyyaml==5.1
23+
pyyaml==5.1.2
2424
requests[security]<2.23.0,>=2.22.0
2525
retrying==1.3.3
2626
routes==2.4.1
2727
semver==2.8.1
2828
six==1.12.0
29-
tooz==1.65.0
29+
tooz==1.66.1
3030
ujson==1.35
31-
webob==1.8.4
31+
webob==1.8.5
3232
zake==0.2.2

st2debug/requirements.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Don't edit this file. It's generated automatically!
2-
eventlet==0.24.1
3-
python-gnupg==0.4.4
4-
pyyaml==5.1
2+
eventlet==0.25.0
3+
python-gnupg==0.4.5
4+
pyyaml==5.1.2
55
requests[security]<2.23.0,>=2.22.0
66
six==1.12.0

0 commit comments

Comments
 (0)