Skip to content

sidhant007/DiffConda

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

A script that checks if all the packages mentioned in the YAML conda file is a subset of the packages in the current conda environment.

Incase any package is missing or there are version mismatches they are reported.

In version equality matching, we match empty versions, version prefixes and wildcards correctly.

Ex.

0.6.4 == '' (empty)
0.6.4 == 0.6.4
0.6.4 == 0.6.*
0.6.4 == 0.*.4
0.6.4 == 0.*.*
0.6.4 == 0 
0.6.4 == 0.6 
0.6.4 != 0.6*
0.6.4 != 0.6.

Also, nested lists in dependencies (most popluar example being pip is ignored in the diff)

Ex.

dependencies:
  - pip:
    - Flask-Testing
    - abc

About

Checks if one conda env is a subset of a another

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages