-
Notifications
You must be signed in to change notification settings - Fork 4
Fixed absolute symlink issue for gdb files while packing conda env #57
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -157,7 +157,9 @@ def create_conda_pack_from_yml( | |||||||||
| print(f"[environment] Post-installation script executed successfully.") | ||||||||||
|
|
||||||||||
| print(f"[environment] Packing environment into '{output_file}'...") | ||||||||||
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force"] | ||||||||||
|
|
||||||||||
| # Exclude GDB debug files which contain absolute symlinks that break conda-pack | ||||||||||
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force", "--exclude", "share/gdb/*"] | ||||||||||
|
||||||||||
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force", "--exclude", "share/gdb/*"] | |
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force", "--exclude", "share/gdb/*"] |
Copilot
AI
Nov 5, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Trailing whitespace at the end of the line should be removed for consistency with the project's formatting standards.
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force", "--exclude", "share/gdb/*"] | |
| cmd_pack = ["conda-pack", "-p", env_path, "-o", output_file, "--force", "--exclude", "share/gdb/*"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Consider adding a comment explaining why GDB files are being excluded from the packed environment. This would help future maintainers understand the rationale behind this exclusion (e.g., reducing package size, removing unnecessary debug symbols).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot Add comment - # Exclude GDB debug files which contain absolute symlinks that break conda-pack