diff options
-rw-r--r-- | client/pkg/requirements.pip | 3 | ||||
-rw-r--r-- | server/pkg/requirements.pip | 4 | ||||
-rw-r--r-- | testing/tox.ini | 28 |
3 files changed, 33 insertions, 2 deletions
diff --git a/client/pkg/requirements.pip b/client/pkg/requirements.pip index 24b168b4..44ff4511 100644 --- a/client/pkg/requirements.pip +++ b/client/pkg/requirements.pip @@ -1,5 +1,6 @@ -pysqlcipher>2.6.3 scrypt zope.proxy twisted cryptography +pysqlcipher;python_version=="2.7" +pysqlcipher3;python_version=="3.4"
\ No newline at end of file diff --git a/server/pkg/requirements.pip b/server/pkg/requirements.pip index e4a87e74..8354e94c 100644 --- a/server/pkg/requirements.pip +++ b/server/pkg/requirements.pip @@ -3,4 +3,6 @@ PyOpenSSL twisted>=12.3.0 Beaker couchdb -python-cjson +# Upstream needs a patch for py3 compatibility +# Eventually falling back to standard json +# python-cjson diff --git a/testing/tox.ini b/testing/tox.ini index c46c6af1..d959db0a 100644 --- a/testing/tox.ini +++ b/testing/tox.ini @@ -31,6 +31,34 @@ setenv = TERM=xterm install_command = pip install {opts} {packages} +[testenv:py34] +basepython = python3.4 +commands = py.test --ignore=tests/benchmarks \ + --cov-report=html \ + --cov-report=term \ + --cov=leap.soledad \ + {posargs} +usedevelop = True +deps = + coverage + pytest + pytest-cov + pytest-twisted + mock + testscenarios + setuptools-trial + couchdb + requests + service_identity +# install soledad local packages + -e../common + -e../client + -e../server +setenv = + HOME=/tmp + TERM=xterm +install_command = pip3 install {opts} {packages} + [testenv:benchmark] deps = {[testenv]deps} |