Skip to content
New issue

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

cloe-launch doesn't export LD_LIBRARY_PATH variables #220

Open
cassava opened this issue Mar 6, 2024 · 0 comments
Open

cloe-launch doesn't export LD_LIBRARY_PATH variables #220

cassava opened this issue Mar 6, 2024 · 0 comments
Assignees
Labels
bug Something isn't working c-launcher Related to component: cloe-launch

Comments

@cassava
Copy link
Contributor

cassava commented Mar 6, 2024

The latest version of cloe-launch uses the Conan 2.0 compatible generator VirtualRunEnv.
Unfortunately, it looks like test conanfiles that don't specify these lines

class CloeLaunchProfile(ConanFile):
    python_requires = "cloe-launch-profile/[>=0.20.0]@cloe/develop"
    python_requires_extend = "cloe-launch-profile.Base"

are not exporting LD_LIBRARY_PATH variables.

This is not by design.

Reproduce:

  1. Ensure all packages are available.
  2. Ensure that cloe-launch -vv shell tests/conanfile_*.py works for any particular test.
    That is, LD_LIBRARY_PATH is in the exported environment.
  3. Exit environment
  4. Remove the python requires lines from the test profile.
  5. Check that repeat run cloe-launch does not export LD_LIBRARY_PATH variable.
@cassava cassava added the c-launcher Related to component: cloe-launch label Mar 6, 2024
@cassava cassava added this to the 0.22.0 milestone Mar 6, 2024
@cassava cassava self-assigned this Mar 6, 2024
@cassava cassava added the bug Something isn't working label Mar 6, 2024
@cassava cassava modified the milestones: 0.22.0, 0.23.0 Mar 27, 2024
@cassava cassava modified the milestones: 0.23.0, 0.24.0 Apr 9, 2024
@cassava cassava modified the milestones: 0.24.0, 0.25.0 May 6, 2024
@cassava cassava removed this from the 0.25.0 milestone Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working c-launcher Related to component: cloe-launch
Projects
None yet
Development

No branches or pull requests

1 participant