FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: Try locating packages using importlib by varungandhi-src · Pull Request #196 · sourcegraph/scip-python · GitHub

fix: Try locating packages using importlib - #196

Merged
varungandhi-src merged 2 commits into
scipfrom
vg/avoid-pip-show
Sep 5, 2025
Merged

fix: Try locating packages using importlib#196
varungandhi-src merged 2 commits into
scipfrom
vg/avoid-pip-show

Conversation

varungandhi-src commented Sep 5, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Changes the logic for listing packages to use importlib
which turns out to be much faster.

https://ampcode.com/threads/T-20d560ec-6811-4993-b63e-8935fa3d07f5#message-122-block-0

Adds an "integration" test around the Python script
so that we can be more confident that it works. The test
has both global and virtualenv packages, and both
are correctly located.

Also tested against rich and looks like the results
are unchanged.

The code could probably be cleaned up a bit, but I'm
prioritizing speed so that we can cut a release.

Fixes GRAPH-1295

varungandhi-src merged commit 8b60bbc into scip Sep 5, 2025
4 checks passed
varungandhi-src deleted the vg/avoid-pip-show branch September 5, 2025 12:32
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL