You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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: macOS (Darwin Kernel Version 18.5.0)
PlatformIO Version (platformio --version): PlatformIO, version 3.6.4
Description of problem
Cannot pin version of dependency when another dependency uses it (general library dependency graph problem, not specific to platform).
I recently tried the [email protected] package, but that turned out to be too unstable in a couple of places. Now I want to go back to [email protected] but am hitting a problem downgrading a dependency.
which fails because AsyncTCP is compiled twice (once with 1.0.3 and once with 1.0.1).
AsyncMqttClient does not pin the AsyncTCP version, so I would expect putting [email protected] would also override the AsyncTCP platformio uses for AsyncMqttClient (like most package managers)
Steps to Reproduce
New platformio project, platformio.ini (nothing in src/):
What kind of issue is this?
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: macOS (
Darwin Kernel Version 18.5.0
)PlatformIO Version (
platformio --version
): PlatformIO, version 3.6.4Description of problem
Cannot pin version of dependency when another dependency uses it (general library dependency graph problem, not specific to platform).
I recently tried the [email protected] package, but that turned out to be too unstable in a couple of places. Now I want to go back to [email protected] but am hitting a problem downgrading a dependency.
I'm using the Async MQTT client library which uses the
AsyncTCP
library. [email protected] is only compatible with [email protected], but [email protected] is only compatible with [email protected] - so I need platformio to pin AsyncTCP to @1.0.1 for using [email protected]However, since AsyncMQTTClient uses AsyncTCP, I cannot manually pin the version in lib_deps:
results in:
which fails because AsyncTCP is compiled twice (once with 1.0.3 and once with 1.0.1).
AsyncMqttClient does not pin the AsyncTCP version, so I would expect putting
[email protected]
would also override the AsyncTCP platformio uses for AsyncMqttClient (like most package managers)Steps to Reproduce
AsyncTCP appears twice with two versions.
touch src/main.cpp
), it also appears like 1.0.3 is compiled (resulting in compile error)Actual Results
see above
Expected Results
(can pin transitive dependencies in
lib_deps
)Additional info
The text was updated successfully, but these errors were encountered: