holoviz/param

In Windows, `import param` pops up a command line window

nglee opened this issue · 3 comments

On Windows GUI, doing import param calls this line which, in turn, pops up a command line window to run git commands. Our product is a GUI based product in Windows and it is awkward to see a command line window pop up and close. We are hoping that param could be updated so that it does not receive version information from git in runtime.

An alternative would be to have a separate __version__.py file that is created during package build. The file stores version information. In runtime, param will get the version information from __version__.py directly without calling git command to retrieve version information from server.

Hi, this line is no longer used in Param 2.0 that is meant to be released soon.

This however suggests a bug in version.py.

OMG, that's horrible! Popping up a command line window must have made sense for someone, but that's really bizarre. Definitely something we need to understand how to avoid, even for Param 1.x.

Hi @nglee, we have released Param 2.0.1 with a tentative fix for the issue you reported. Could you please try that new version and report whether it fixes your issue? Asking since I haven't been able to reproduce it.