Skip to content

fix(conda): filter blank and header lines in get_installed_packages - #423

Open
dsanh14 wants to merge 1 commit into
warpdotdev:mainfrom
dsanh14:fix-conda-installed-packages
Open

dsanh14 wants to merge 1 commit into
warpdotdev:mainfrom
dsanh14:fix-conda-installed-packages

Conversation

@dsanh14

@dsanh14 dsanh14 commented Oct 13, 2026

Copy link
Copy Markdown

Closes #382

get_installed_packages used .skip(2) and turned whole conda list rows into suggestions. It now skips blank lines and lines starting with #, and returns only the first whitespace-separated column (the package name). I added a unit test with sample conda list output.

Drafted with Cursor; I ran script/presubmit locally and it passes.

@warp-factories

Copy link
Copy Markdown
Contributor

@dsanh14, your GitHub account is not connected to Warp. Connect your GitHub account.

@cla-bot

cla-bot Bot commented Oct 13, 2026

Copy link
Copy Markdown

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have the users @dsanh14 on file. In order for us to review and merge your code, each contributor must visit https://cla.warp.dev to read and agree to our CLA. Once you have done so, please comment @cla-bot check to trigger another check.

@dsanh14

dsanh14 commented Oct 13, 2026

Copy link
Copy Markdown
Author

@cla-bot check

@cla-bot cla-bot Bot added the cla-signed label Oct 13, 2026
@cla-bot

cla-bot Bot commented Oct 13, 2026

Copy link
Copy Markdown

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

conda get_installed_packages emits blank and malformed suggestions

1 participant