From c28a23138e4291b4f7bc461283faa588cf6994ab Mon Sep 17 00:00:00 2001 From: msohailhussain Date: Thu, 4 Mar 2021 14:56:42 -0800 Subject: [PATCH 1/6] try explicitly --- .travis.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index ce7e0e51..1ef600ad 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,10 @@ jobs: SDK=python SDK_BRANCH=$TRAVIS_PULL_REQUEST_BRANCH FULLSTACK_TEST_REPO=ProdTesting - + - stage: 'Test' + python: "pypy" + before_script: + - pip install "cryptography>=1.3.4,<=3.1.1" - stage: 'Test' dist: xenial python: "3.7" From 2f292c250008272f2acf80a31e974d041f59f805 Mon Sep 17 00:00:00 2001 From: Owais Akbani Date: Fri, 5 Mar 2021 18:30:47 +0500 Subject: [PATCH 2/6] try installing in before install --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1ef600ad..37c9b188 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,7 +63,7 @@ jobs: FULLSTACK_TEST_REPO=ProdTesting - stage: 'Test' python: "pypy" - before_script: + before_install: - pip install "cryptography>=1.3.4,<=3.1.1" - stage: 'Test' dist: xenial From c92b6b22f9a3b872292214afb1ac1d4aca2768e6 Mon Sep 17 00:00:00 2001 From: Owais Akbani Date: Fri, 5 Mar 2021 18:42:30 +0500 Subject: [PATCH 3/6] add pyyp3 and comment. --- .travis.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.travis.yml b/.travis.yml index 37c9b188..917520f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -63,6 +63,10 @@ jobs: 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 a 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' From 4722bf6a75e4b91cbac77c128dc2c7a3dae0c9c4 Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Fri, 5 Mar 2021 12:15:04 -0800 Subject: [PATCH 4/6] Update README.md Add comment to README about installing cryptography when using PyPy --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 00ee22f1..b3775e2a 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,12 @@ To install: pip install optimizely-sdk +Note: +If you are running the SDK with PyPy or PyPy3, 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 From 61b39c171f661f0bee950befd3c20fc8250674fb Mon Sep 17 00:00:00 2001 From: Matjaz Pirnovar Date: Fri, 5 Mar 2021 13:49:31 -0800 Subject: [PATCH 5/6] Update README.md Added additional explanation --- README.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index b3775e2a..7b1c4b37 100644 --- a/README.md +++ b/README.md @@ -33,11 +33,10 @@ To install: pip install optimizely-sdk Note: -If you are running the SDK with PyPy or PyPy3, install this cryptography package first and then optimizely-sdk package: +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 From b6e5e38174c4c914d4a315c13a65623bf81c1d09 Mon Sep 17 00:00:00 2001 From: Owais Akbani Date: Mon, 8 Mar 2021 07:46:04 +0500 Subject: [PATCH 6/6] a to the --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 917520f3..7d422399 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ jobs: - stage: 'Test' python: "pypy" before_install: - - pip install "cryptography>=1.3.4,<=3.1.1" # installing in before_install doesn't re-install a latest version of the same package in the next stage. + - 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: