pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.13k stars 484 forks source link

pyyaml version conflict during installation #1232

Closed maciejbocianski closed 3 years ago

maciejbocianski commented 3 years ago

After latest cmsis-pack-manager update from 0.3.0 to 0.4.0 we get python module conflict during pyocd installation

ERROR: cmsis-pack-manager 0.4.0 has requirement pyyaml<7.0,>=6.0, but you'll have pyyaml 5.4.1 which is incompatible.

cmsis-pack-manager 0.4.0 requires pyyaml<7.0,>=6.0 but pyocd still requires pyyaml>=5.1,<6.0

flit commented 3 years ago

Sorry about that, I'm working on it 😄 I'm just about to release pyocd v0.32.1 that updates the pyyaml requirement.

This was actually an issue before cmsis-pack-manager 0.4.0 was release, since pyyaml 6.0 was released a few days ago. (Because cmsis-pack-manager didn't have a maximum version constraint like pyocd does.)

flit commented 3 years ago

Fwiw, there was also a new version 0.11.0 of hidapi released yesterday that was totally broken. I was waiting a bit to see if it was fixed overnight, or if I needed to pin hidapi. Thankfully it was fixed, and v0.32.1 is ready to go.

flit commented 3 years ago

Should be fixed in v0.32.1.

maciejbocianski commented 3 years ago

With 0.32.1 works fine