diff --git a/.travis.yml b/.travis.yml index ce7e0e51..7d422399 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,8 +6,8 @@ python: - "3.6" # - "3.7" is handled in 'Test' job using xenial as Python 3.7 is not available for trusty. # - "3.8" is handled in 'Test' job using xenial as Python 3.8 is not available for trusty. - - "pypy" - - "pypy3" +# - "pypy" +# - "pypy3" install: "pip install -r requirements/core.txt;pip install -r requirements/test.txt" script: "pytest --cov=optimizely" after_success: @@ -61,7 +61,14 @@ jobs: SDK=python SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH FULLSTACK_TEST_REPO=ProdTesting - + - stage: 'Test' + python: "pypy" + before_install: + - pip install "cryptography>=1.3.4,<=3.1.1" # installing in before_install doesn't re-install the latest version of the same package in the next stage. + - stage: 'Test' + python: "pypy3" + before_install: + - pip install "cryptography>=1.3.4,<=3.1.1" - stage: 'Test' dist: xenial python: "3.7" diff --git a/README.md b/README.md index 00ee22f1..7b1c4b37 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,11 @@ To install: pip install optimizely-sdk +Note: +If you are running the SDK with PyPy or PyPy3 and you are experiencing issues, install this cryptography package **first** and then optimizely-sdk package: + + pip install "cryptography>=1.3.4,<=3.1.1" + ### Feature Management Access To access the Feature Management configuration in the Optimizely