On Wed, Sep 9, 2020 at 4:40 AM Simon Lees <sflees@suse.de> wrote:
The reason I used tensorflow as an example is that for many systems (Ubuntu as an example) older versions of packages seem to be available via pip. Is the reason that I do not see older versions of tensorflow for openSUSE in pip because these older versions are no longer available in OBS?
I don't think so, the content in pip is uploaded by the tensorflow developers so for some reason they have chosen to drop support for that version. Tensorflow is an interesting example because I believe it calls into a bunch of C libs and it could be that they can't build those libs or are choosing not to build those libs for older versions on openSUSE. You will really need to ask the tensorflow devs why something isn't available on pip, you may still be able to build it from source.
Indeed. Packages with binary components make things more complicated. I will probably add tensorflow 1.14 to OBS (I already build things there). Isee that someone else has 1.14 in OBS. But not the Pyhton part, It sounds like there are some tensorflow developers who are building for openSUSE and putting things in PIP. I wonder if they are the same ones that build the package in OBS.
If you really care about certain versions then you really need to manage everything yourself by using a python virtualenv and installing everything from pip which is probably the more common way for businesses etc to do it but it then means you need to keep on top of security fixes etc. What really isn't recommended is using a mix of system and pip packages, that will probably break at some point.
The Python code I need to use was provided by consultants who have said that they need the specific versions of the various Python packages as they have defined in their setup procedure. Their claim is that some things they do are not supported in newer versions. I can't say if that is true or just laziness on their part to update their code to stay current with the packages they use. I suspect the latter. They run on Ubuntu and have been pressing us to run this in Azure. That's not going to happen. Our ultimate goal is to use only the C libraries for all this. but we have to work through what they have done with the deep neural network (looking at painted road markings). The only things I have not been able to satisfy are tensorflow and tensorboard. Of course, when those are available, other missing dependencies might appear. I know what I'm working on the next day or so... -- Roger Oberholtzer -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org