Configuration
Operating system: Ubuntu 18.04
PlatformIO Version (platformio --version): 4.0.1b3
Description of problem
If I have a local library (in lib/) with a library.json file, its dependencies are not downloaded and installed automatically. Dependency resolution then fails (but this warning is hidden behind the verbose setting).
Steps to Reproduce
- Delete the
.pio directory to remove any cached installations
- Put a library in
lib/ that has an external dependency that is not used by the project itself
- Execute a build in verbose mode
Actual Results
The external dependency is "ignored" because it doesn't exist. The dependency graph shows the library without its dependency.
Expected Results
The dependency of the library is downloaded and the dependency graph works correctly.
Additional info
If the dependency has been downloaded to the .pio/ directory then dependency resolution works because the library can be found.
The projects in the test directory of nomis/mcu-uuid-log 2.0.1 will fail to build because the dependency uuid-common of local library uuid-log (specified in the library.json file) has not been automatically installed.
Running in verbose mode results in the following message:
Warning: Ignored `uuid-common` dependency for `uuid-log` library
Configuration
Operating system: Ubuntu 18.04
PlatformIO Version (
platformio --version): 4.0.1b3Description of problem
If I have a local library (in
lib/) with alibrary.jsonfile, its dependencies are not downloaded and installed automatically. Dependency resolution then fails (but this warning is hidden behind the verbose setting).Steps to Reproduce
.piodirectory to remove any cached installationslib/that has an external dependency that is not used by the project itselfActual Results
The external dependency is "ignored" because it doesn't exist. The dependency graph shows the library without its dependency.
Expected Results
The dependency of the library is downloaded and the dependency graph works correctly.
Additional info
If the dependency has been downloaded to the
.pio/directory then dependency resolution works because the library can be found.The projects in the test directory of nomis/mcu-uuid-log 2.0.1 will fail to build because the dependency
uuid-commonof local libraryuuid-log(specified in the library.json file) has not been automatically installed.Running in verbose mode results in the following message: