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

Not work with conda? #94

Open
red8888 opened this issue Jan 21, 2021 · 3 comments
Open

Not work with conda? #94

red8888 opened this issue Jan 21, 2021 · 3 comments
Labels
feature request New feature or request

Comments

@red8888
Copy link

red8888 commented Jan 21, 2021

Describe the bug
When running a scan for a python project it says "Please install and activate a virtual environment before running Xray scan. Then, install your Python project in that environment."

To Reproduce
Follow steps in doc, but instead of pypi environment use conda environment (per vscode docs)
Get above error when trying to run a scan.

Versions

  • JFrog VS-Code extension version: v1.6.0
@red8888 red8888 added the bug Something isn't working label Jan 21, 2021
@yahavi
Copy link
Member

yahavi commented Jan 21, 2021

@red8888,
Thanks for reporting this issue.

Conda is not yet supported. We'd like to support it in the future.
For packages installed by Pip, we use pipdeptree to build and analyze the dependency tree. However, in order to support Conda, we'll probably have to use the conda-tree.

We'll keep you updated once Conda will be supported.

@yahavi yahavi added feature request New feature or request and removed bug Something isn't working labels Jan 21, 2021
@red8888
Copy link
Author

red8888 commented Jan 22, 2021

ok! is there any hack I can do to get it to work for now? like aliasing pipedeptree => conda-tree or something?

@yahavi
Copy link
Member

yahavi commented Jan 24, 2021

Unfortunately not.
The solution is not so trivial and it demands some R&D work from our side, for example:

  1. Get the activated Conda environment from the extension - in this environment, we can run the Python script that builds the tree.
  2. Find an efficient way to build the Conda dependency tree.
    etc...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants