"pio pkg outdated" doesn't list updated "Local packages"

Using PlatformIO Core, version 6.0.0a1

I have a project with a dependency on package in a local folder specified in the lib_deps section:

lib_deps = 
  file://D:\PlatformIO\Projects\Sense_SX1509

When using pio pkg install a copy of that folder is installed in .pio/lib_deps (why a copy??)

If I now update the version of the local package in the library.json file and run pio pkg outdated this package is not listed as being outdated:

pio pkg outdated
Checking  [####################################]  100%
Everything is up-to-date!

I think this topic is similiar to Developing a library - libdeps cache gets in the way

You can use symlink:// instead of file:// to bypass this problem.

1 Like