ARMmbed / yotta

DEPRECATED: yotta build; better software
Apache License 2.0
164 stars 64 forks source link

Broken dependencies #846

Closed pandasauce closed 5 years ago

pandasauce commented 5 years ago
$ pip install yotta
pyocd 0.17.0 has requirement pyyaml<5.0,>=4.2b1, but you'll have pyyaml 3.13 which is incompatible.

Looks like some other dependency pulls in PyOCD, which requires a version of PyYAML that causes conflicts with even more packages:

$ pip install PyYAML==4.2b1  
Collecting PyYAML==4.2b1
pyocd 0.17.0 requires future, which is not installed.
pyocd 0.17.0 requires intervaltree<4.0,>=3.0.2, which is not installed.
pyocd 0.17.0 requires pyusb<2.0,>=1.0.0b2, which is not installed.
pyocd 0.17.0 requires websocket-client, which is not installed.
valinor 0.0.15 has requirement pyyaml<4,>=3, but you'll have pyyaml 4.2b1 which is incompatible.
pandasauce commented 5 years ago

I raised a PR on Valinor to resolve this, however because their last version bump went over the <1.0 boundary set by yotta, it might require another PR for yotta to pull in the new version of Valinor with the fix.

0xc0170 commented 5 years ago

@pandasauce thanks for reporting this 👍

pandasauce commented 5 years ago

I did a quick test with the fixes and it looks like since this was opened PyOCD raised their PyYAML dependency again, which requires Valinor and #847 to be updated again to avoid dependency conflicts.

error: PyYAML 4.2b4 is installed but pyyaml<6.0,>=5.1 is required by set(['pyOCD'])
pandasauce commented 5 years ago

Made the PR to Valinor: https://github.com/ARMmbed/valinor/pull/33

0xc0170 commented 5 years ago

Valinor 1.1.4 released