Open jlisee opened 2 years ago
Those folders are unpacked wheels that contain a click-8.0.4.dist-info
folder:
$ find external/internal_pip_dependency_click/pypi__click/
external/internal_pip_dependency_click/pypi__click/
external/internal_pip_dependency_click/pypi__click/BUILD
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info/WHEEL
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info/METADATA
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info/RECORD
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info/top_level.txt
external/internal_pip_dependency_click/pypi__click/click-8.0.4.dist-info/LICENSE.rst
external/internal_pip_dependency_click/pypi__click/click
external/internal_pip_dependency_click/pypi__click/click/parser.py
external/internal_pip_dependency_click/pypi__click/click/utils.py
external/internal_pip_dependency_click/pypi__click/click/testing.py
external/internal_pip_dependency_click/pypi__click/click/_unicodefun.py
external/internal_pip_dependency_click/pypi__click/click/termui.py
external/internal_pip_dependency_click/pypi__click/click/exceptions.py
external/internal_pip_dependency_click/pypi__click/click/_winconsole.py
external/internal_pip_dependency_click/pypi__click/click/types.py
external/internal_pip_dependency_click/pypi__click/click/shell_completion.py
external/internal_pip_dependency_click/pypi__click/click/__init__.py
external/internal_pip_dependency_click/pypi__click/click/_compat.py
external/internal_pip_dependency_click/pypi__click/click/py.typed
external/internal_pip_dependency_click/pypi__click/click/_textwrap.py
external/internal_pip_dependency_click/pypi__click/click/globals.py
external/internal_pip_dependency_click/pypi__click/click/formatting.py
external/internal_pip_dependency_click/pypi__click/click/core.py
external/internal_pip_dependency_click/pypi__click/click/_termui_impl.py
external/internal_pip_dependency_click/pypi__click/click/decorators.py
Hi @jlisee, trying to catch up here since TJ is out on leave. Could you clarify the following for me:
Blocked?
No, I am not blocked. I created a workaround by making stub pip
binary that returns empty results. This enables indexing to complete successfully and be usable in a private Sourcegraph instance. Since we have a monorepository, and third party code is not indexed by our instance, this package information missing does not hurt us.
Fixed? No. I would like to be able to:
With the latest configuration changes from #77, I think this should be possible now (and should also re-use any existing pyright configuration you have).
Does the current README give you enough info to do what you're looking for?
Is your feature request related to a problem? Please describe.
When trying to run
scip-python
on my Bazel based repository with a non-standard requirements.txt location and no use ofpip
the program locks up in theEvaluating python environment dependencies
stage.Describe the solution you'd like
I would like to be able to generate the dependency map myself since our repository installs dependencies through Bazel, hence files are in non-standard locations and the requirements.txt file has a non-standard location and path.
We have enough automation in place that will be straight forward to maintain, and way easier than trying to tool to understand our build system.
Additional context
Pyright
itself works fine with just using[tool.pyright] extraPaths
in ourpyproject.toml
to find these locations, a sample simple configuration: