We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
What kind of issue is this?
You can erase any parts of this template not applicable to your Issue.
Operating system:
WIndows 11
PlatformIO Version (platformio --version):
platformio --version
PlatformIO Core, version 6.1.16
Dependencies of private libraries should not be re-installed in env lib deps folder if they already exist in the private library folder.
The dependencies are re-installed in the environment folder
The dependencies should not be reinstalled
I this should be fixed in by changing:
platformio-core/platformio/package/commands/install.py
Lines 293 to 308 in b537004
to
def _install_project_private_library_deps(private_pkg, private_lm, env_lm, options): for dependency in private_lm.get_pkg_dependencies(private_pkg) or []: spec = private_lm.dependency_to_spec(dependency) # skip built-in dependencies if not spec.external and not spec.owner: continue pkg = private_lm.get_package(spec) if not pkg and not private_lm.get_package(spec) and not env_lm.get_package(spec): # ^^^ add this ^^^ pkg = env_lm.install( spec, skip_dependencies=True, force=options.get("force"), ) if not pkg: continue _install_project_private_library_deps(pkg, private_lm, env_lm, options)
There should be a check if the library is installed in the private_lm.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
WIndows 11
PlatformIO Version (
platformio --version
):PlatformIO Core, version 6.1.16
Description of problem
Dependencies of private libraries should not be re-installed in env lib deps folder if they already exist in the private library folder.
Steps to Reproduce
Actual Results
The dependencies are re-installed in the environment folder
Expected Results
The dependencies should not be reinstalled
Additional info
I this should be fixed in by changing:
platformio-core/platformio/package/commands/install.py
Lines 293 to 308 in b537004
to
There should be a check if the library is installed in the private_lm.
The text was updated successfully, but these errors were encountered: