On 9/9/20 5:18 PM, Roger Oberholtzer wrote:
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...
Some SUSE people have been working on getting these packaged, you might have some luck with tensorflow by taking the 1.15 package [1] and dropping the version back down. I started work on tensorboard at one point before getting moved onto another project [2] if you manage to get further then I did i'd be interested to here about it as would some others. 1. https://build.opensuse.org/package/show/science:machinelearning/tensorflow 2. https://build.opensuse.org/package/show/home:simotek:ml/tensorboard -- Simon Lees (Simotek) http://simotek.net Emergency Update Team keybase.io/simotek SUSE Linux Adelaide Australia, UTC+10:30 GPG Fingerprint: 5B87 DB9D 88DC F606 E489 CEC5 0922 C246 02F0 014B