pio pkg uninstall
and pio pkg list
fail when there are circular dependencies in library.json manifests
#4475
Closed
1 of 5 tasks
Labels
Milestone
What kind of issue is this?
Question.
This issue tracker is not the place for questions. If you want to ask how to do something,
or to understand why something isn't working the way you expect it to,
use Community Forums or Premium Support
PlatformIO IDE.
All issues related to PlatformIO IDE should be reported to appropriate repository:
PlatformIO IDE for Atom or
PlatformIO IDE for VSCode
Development Platform or Board.
All issues (building, uploading, adding new boards, etc.) related to PlatformIO development platforms
should be reported to appropriate repository related to your hardware
https://github.com/topics/platformio-platform
Feature Request.
Start by telling us what problem you’re trying to solve. Often a solution
already exists! Don’t send pull requests to implement new features without first getting our
support. Sometimes we leave features out on purpose to keep the project small.
PlatformIO Core.
If you’ve found a bug, please provide an information below.
You can erase any parts of this template not applicable to your Issue.
Configuration
Operating system:
OSX 12.4
PlatformIO Version (
platformio --version
):6.1.6a4 (though also applies to 6.1.3)
Description of problem
When two libraries both list each other as dependencies in their
library.json
manifests,pio pkg list
andpio pkg uninstall
both throwRecursionError: maximum recursion depth exceeded while calling a Python object
errors.Steps to Reproduce
platformio.ini
file:(The key detail here being that the libraries
WiFiMulti_Generic
andWiFiNINA_Generic
both list each other as dependencies in theirlibrary.json
manifests)pio pkg install
pio pkg list
orpio pkg uninstall -l WiFiMulti_Generic
Actual Results
Both commands eventually fail, throwing a
RecursionError: maximum recursion depth exceeded while calling a Python object
exception.Expected Results
Ideally, the libraries should be removed / listed as expected.
If problems with PlatformIO Build System:
The content of
platformio.ini
:The text was updated successfully, but these errors were encountered: