File tree Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Expand file tree Collapse file tree 2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 5
5
6
6
SUPPORTED_MODULES = (
7
7
'botocore' ,
8
+ 'pynamodb' ,
8
9
'requests' ,
9
10
'sqlite3' ,
10
11
'mysql' ,
15
16
16
17
NO_DOUBLE_PATCH = (
17
18
'botocore' ,
19
+ 'pynamodb' ,
18
20
'requests' ,
19
21
'sqlite3' ,
20
22
'mysql' ,
@@ -42,9 +44,9 @@ def patch(modules_to_patch, raise_errors=True):
42
44
# elif module_to_patch == 'aioboto3':
43
45
# modules.add('aiobotocore')
44
46
# pynamodb requires botocore to be patched as well
45
- # elif module_to_patch == 'pynamodb':
46
- # modules.add('botocore')
47
- # modules.add(module_to_patch)
47
+ elif module_to_patch == 'pynamodb' :
48
+ modules .add ('botocore' )
49
+ modules .add (module_to_patch )
48
50
else :
49
51
modules .add (module_to_patch )
50
52
unsupported_modules = modules - set (SUPPORTED_MODULES )
Original file line number Diff line number Diff line change 18
18
future
19
19
# the sdk doesn't support earlier version of django
20
20
django >= 1.10, <2.0
21
- pynamodb
21
+ pynamodb >= 3.3.1
22
22
psycopg2
23
23
testing.postgresql
24
24
31
31
py{35,36}: aiobotocore
32
32
33
33
commands =
34
- py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py --ignore tests/ext/pynamodb
35
- py{35,36}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiobotocore --ignore tests/ext/pynamodb
34
+ py{27,34}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiohttp --ignore tests/ext/aiobotocore --ignore tests/test_async_local_storage.py --ignore tests/test_async_recorder.py
35
+ py{35,36}: coverage run --source aws_xray_sdk -m py.test tests --ignore tests/ext/aiobotocore
36
36
37
37
setenv =
38
38
DJANGO_SETTINGS_MODULE = tests.ext.django.app.settings
You can’t perform that action at this time.
0 commit comments