SemanticVersionError when using branch in lib_deps

Hi,

When i add a branch in lib_deps in my ini file i get a SemanticVersionError: Invalid simple block ‘develop’ during build. This should be correct according to the platformio documentation:
lib_deps = https://github.com/Levi--G/USBLibrarySTM32.git#develop
but it doesnt work.

The documention: pio pkg install — PlatformIO latest documentation

I don’t see what im doing wrong :slight_smile:

Thanks

Sorry for not looking further, i found the issue, once it tried to download a wrong url it stays in the libdeps folder and any futher attempt to update the url or the lib will just immediately crash and won’t fix the issue until you delete the libdeps folder. This is most likely a bug but can be fixed/avoided.