Skip to content

[BUG] Unreliable result when using STDIN / conda list #139

Description

@1-some

Describe the bug
I'm tying to test / use jake 3.0.0 in a conda environment, but seem to get an inconsistent result (or perhaps I do not understand it correctly). When having a conda environment active with only jake installed in it, the basic command will give me 52 audited dependencies and 2 vulnerabilities. If I repeat the same with in combination with a conda list, I get 58 audited dependencies and 0 vulnerabilities. And no matter what, in combination with conda list I always get 0 vulnerabilities, for any environment, which seems inaccurate. If I need to supply more info, please let me know.

To Reproduce
Steps to reproduce the behavior:

  1. Run conda activate [my_env]
  2. Run jake ddt
  3. Report: 52 audited dependencies and 2 vulnerabilities

And the other approach:

  1. Run conda activate [my_env]
  2. Run conda list --explicit --md5 | jake ddt -t CONDA
  3. Report: 58 audited dependencies and 0 vulnerabilities

Expected behavior
For the first command I'd say I miss 6 audited dependencies (there are 58 dependencies in the active environment), and for the latter command I'd say I miss the reported 2 vulnerabilities.

Screenshots
First command:
jake_command_with_vulnerabilities

Second command:
jake_command_without_vulnerabilities

Desktop (please complete the following information):

  • OS: Windows 10
  • Python Version: tested with 3.9.7 and 3.10.9
  • Version 3.0.0

Additional context
Also conda list -n [my_other_env] --explicit --md5 | jake ddt -t CONDA gives 0 vulnerabilities for any environment I try (of which some have vulnerabilities). The amount of audited dependencies does change, so that seems correct. I've installed jake 3.0.0 via conda from conda-forge.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions