ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
163 stars 63 forks source link

cryptography 2.1.4 which is incompatible. #842

Closed jasonlamkk closed 5 years ago

jasonlamkk commented 6 years ago

The minimum cryptography version is now 2.2.1. according to https://pypi.org/project/pyOpenSSL/

which blocks

pip install yotta

in setup.py

        'cryptography>=2.1.4,<2.2',

can we upgrade to newer cryptography, not <2.2. ?

not sure if already have incompatible code

thegecko commented 6 years ago

PR welcome :)

jasonlamkk commented 6 years ago

found that it can be installed with following command: pip install yotta --upgrade cryptography

this issue can be closed, may be great if update the Mac section of http://docs.yottabuild.org/

pandasauce commented 5 years ago

This also affects Linux; Ubuntu 18.04 in my case.

Out of the box:

pyopenssl 19.0.0 has requirement cryptography>=2.3, but you'll have cryptography 2.1.4 which is incompatible.
pyocd 0.17.0 has requirement pyyaml<5.0,>=4.2b1, but you'll have pyyaml 3.13 which is incompatible.

With --upgrade cryptography:

yotta 0.18.5 has requirement cryptography<2.2,>=2.1.4, but you'll have cryptography 2.6.1 which is incompatible.
0xc0170 commented 5 years ago

Wasnt this fixed by #847 ?

jasonlamkk commented 5 years ago

May be, the fix was posted after this issue.

On Tue, 4 Jun 2019 at 6:50 PM, Martin Kojtal notifications@github.com wrote:

Wasnt this fixed by #847 https://github.com/ARMmbed/yotta/pull/847 ?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ARMmbed/yotta/issues/842?email_source=notifications&email_token=AAMRAZQWOJUOWDCXPBLSCKDPYZCFRA5CNFSM4GEARNKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODW4FYEA#issuecomment-498621456, or mute the thread https://github.com/notifications/unsubscribe-auth/AAMRAZUOP6TESM45PLL7JMTPYZCFRANCNFSM4GEARNKA .

thegecko commented 5 years ago

I believe so, please reopen this issue if not :)