File tree 7 files changed +27
-5
lines changed
frontera/contrib/backends/hbase
7 files changed +27
-5
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,6 @@ docs/_build/
53
53
54
54
# PyBuilder
55
55
target /
56
+
57
+ # Virtualenv
58
+ .env /
Original file line number Diff line number Diff line change @@ -28,6 +28,20 @@ matrix:
28
28
- mysql
29
29
- postgresql
30
30
- redis-server
31
+ - python : 3.6
32
+ env : TOXENV=py36
33
+ services :
34
+ - docker
35
+ - mysql
36
+ - postgresql
37
+ - redis-server
38
+ - python : 3.7
39
+ env : TOXENV=py37
40
+ services :
41
+ - docker
42
+ - mysql
43
+ - postgresql
44
+ - redis-server
31
45
32
46
install :
33
47
- pip install -U tox wheel codecov
Original file line number Diff line number Diff line change @@ -43,5 +43,3 @@ $ pip install frontera
43
43
44
44
Join our Google group at https://groups.google.com/a/scrapinghub.com/forum/#!forum/frontera or check GitHub issues and
45
45
pull requests.
46
-
47
-
Original file line number Diff line number Diff line change 1
1
from __future__ import absolute_import
2
2
from happybase import Batch
3
3
4
- from thriftpy .transport import TTransportException
4
+ from thriftpy2 .transport import TTransportException
5
5
import logging
6
6
7
7
@@ -19,4 +19,4 @@ def send(self):
19
19
self .logger .exception ("Exception happened during batch persistence" )
20
20
self .logger .warning ("Cleaning up the batch" )
21
21
self ._reset_mutations ()
22
- pass
22
+ pass
Original file line number Diff line number Diff line change
1
+ flaky
1
2
pytest>=2.6.4
2
3
PyMySQL>=0.6.3
3
4
psycopg2>=2.5.4
Original file line number Diff line number Diff line change 34
34
'Programming Language :: Python :: 3' ,
35
35
'Programming Language :: Python :: 3.4' ,
36
36
'Programming Language :: Python :: 3.5' ,
37
+ 'Programming Language :: Python :: 3.6' ,
38
+ 'Programming Language :: Python :: 3.7' ,
37
39
'Topic :: Internet :: WWW/HTTP' ,
38
40
'Topic :: Software Development :: Libraries :: Application Frameworks' ,
39
41
'Topic :: Software Development :: Libraries :: Python Modules' ,
61
63
'tldextract>=1.5.1' ,
62
64
],
63
65
'hbase' : [
64
- 'happybase>=1.0.0'
66
+ 'happybase>=1.0.0' ,
67
+ 'thriftpy2'
65
68
],
66
69
'zeromq' : [
67
70
'pyzmq' ,
91
94
"psycopg2>=2.5.4" ,
92
95
"scrapy>=0.24" ,
93
96
"tldextract>=1.5.1" ,
97
+ 'thriftpy2' ,
94
98
"SQLAlchemy>=1.0.0" ,
95
99
"cachetools" ,
96
100
"mock" ,
Original file line number Diff line number Diff line change 4
4
from frontera .contrib .messagebus .zeromq import MessageBus as ZeroMQMessageBus
5
5
from frontera .contrib .messagebus .kafkabus import MessageBus as KafkaMessageBus
6
6
from frontera .utils .fingerprint import sha1
7
+ from flaky import flaky
7
8
from kafka import KafkaClient
8
9
from random import randint
9
10
from time import sleep
@@ -234,6 +235,7 @@ def __init__(self):
234
235
super (IPv6MessageBusTester , self ).__init__ (settings )
235
236
236
237
238
+ @flaky
237
239
def test_zmq_message_bus ():
238
240
"""
239
241
Test MessageBus with default settings, IPv6 and Star as ZMQ_ADDRESS
You can’t perform that action at this time.
0 commit comments