Closed lowell80 closed 5 years ago
Hmm, I'm also seeing that this is happening on my own local box with pip installs. Tracked it down to the entrypoints module. Opened a question there to get more insight to see if I'm doing something wrong. https://github.com/takluyver/entrypoints/issues/27
pkg_resources isn't really an option since Splunk ships with a stripped-down version of Python... but I suppose I could do-away with all entrypoints for the Splunk-app version of ksconf.
The problem
The leftover
.dist-info
and/or.egg-info
folders in thebin/lib
directory will likely start to cause issues after subsequent Splunk app upgrades.The first indication of this was found on my own machine where the
--version
page shows two different versions at the same time.Eventually this could keep new commands from being visible since that info is all loaded via entrypoints (which are specific to the versioned folder)
Environment
Details
Briefly,
Note
0.6.1
(package) vs0.6.0rc5
(commands).Steps To Reproduce Issue
Upgrade Splunk app between versions.