Project

General

Profile

Bug #3848

Updated by Brett Smith over 9 years ago

One thing that would help debug Docker images is if the Arvados Python modules were installed with version numbers that match what we publish.    Right now, they just use the plain string '0.1', which means you have [Ask Brett to use other metadata to figure out the real version.    It would be nice to build the packages with the same version information we use in production, so that @pip freeze@ tells you at a glance what version you're running.    See the @setup.py egg_info@ command in "Hacking Python SDK":https://arvados.org/projects/arvados/wiki/Hacking_Python_SDK#Run-tests for a demonstration of how to do this. 

 This information would be useful in other contexts, too (i.e., "What version do I have on fill this development box?").    It might be worth investigating if there's a good way to put this information in @setup.py@.    Note that simply appending the string like we do in our Gemfiles is not appropriate—that will cause @setup.py@ to fail when it's run outside a git tree.    Instead this would probably involve extending the @egg_info@ command to look for git information and add it to the default version value. out, he's busy right now.]

Back