[Kolab-devel] Updated OBS, CentOS 8 support, Python 3 support

Christian Mollekopf mollekopf at apheleia-it.ch
Thu Aug 25 16:32:22 CEST 2022


Hi,

The python3 support effort has been more involved than hoped for (especially that str vs bytes mess), but I've just pushed what I have so far to master.

Because the changes are so intrusive I resorted to partially ignore python2 backwards compatibility for now. Master has a bumped version number 0.9.0, and the corresponding obs project is now called pykolab-python3, so we can selectively use that for platforms that require python3, and we therefore don't have to worry about regressions in the sense that we can't get worse than no availablility at all (I hope).

I so far only focused on CentOS 8 Stream, so that's what the build is enabled for.

The dev/python3 branch is now obsolete, and all future reviews should go to master again.

Please note that while I have given up on up-front backwards compatibilty, if somebody sees value in it, feel free to work on that still. I'm not yet sure whether I will eventually try restore full compatibility for e.g. CentOS 7 (since we can just continue to use the 0.8 series for now).

The Kolab:16:Testing branch (and winterfell) also contains all other dependencies to get everything up until pykolab working on CentOS 8 Stream. I only looked into packaging up until libkolab so far though.

Cheers,
Christian

On Tuesday, 16 August 2022 12:40:39 CEST you wrote:
> On Tuesday, 16 August 2022 09:34:05 CEST you wrote:
> > Hi Christian,
> > 
> 
> Hi Christoph,
> 
> > nice! :-)
> > 
> > Concerning the ongoing Python 3 port, Guido (ghane) is submitting patches on a 
> > semi-regular basis, which I review and have so far pushed to `master`. How 
> > would you like to coordinate our efforts? Should future diffs be submitted 
> > against your `dev/python3` branch?
> 
> I suppose lets use the dev/python3 branch for now. I hope to merge that to master relatively quickly though, so we should be able to get back to master soonish.
> 
> > So far we have gone out of our way to ensure that the code base remains 
> > compatible with Python 2. At some point, it might be easier to scrap those 
> > concerns and make PyKolab Python-3-only. Obviously, that would require heaving 
> > up our existing distro packages to Python 3. What is your stance on this?
> 
> I'm also trying to maintain that compatibility for now, at least until CentOS 7 is no longer a topic for us.
> 
> I have meanwhile restored python2 compatibilty and can now execute the unittests at least for both python2 and python3 successfully,
> so I hope we're slowly but surely getting there.
> 
> Cheers,
> Christian
> > Best,
> > Christoph
> > 
> > On Monday, 15 August 2022 14:51:40 CEST Christian Mollekopf wrote:
> > > Hi,
> > > 
> > > The OBS and it's workers have been updated and everything should be fully
> > > functional again.
> > > 
> > > The update has unlocked a couple of things for us:
> > > * Modularity support for CentOS 8 and friends
> > > * The workers are now Ubuntu 22.04 compatible, so packaging on that front
> > > can proceed. * We now have a ppc64le builder
> > > 
> > > With regards to CentOS8 you may have noticed the new CentOS_8_Stream
> > > repository. Given that CentOS 8 is EOL, I'm working on getting Kolab up and
> > > running on CentOS 8 Stream as the future flagship distribution for Kolab.
> > > The intention is that e.g. the dockerized Kolab 4 setup will be based on
> > > the CentOS 8 Stream packages.
> > > 
> > > One major aspect of bringing Kolab to CentOS 8 is getting libkolabxml,
> > > libkolab and pykolab to work with python3. For the first two I think we're
> > > in pretty good shape by now. pykolab still requires major work, but I got
> > > it to a usable state in Kolab:16:Testing (dev/python3 branch in git). I
> > > expect the pykolab changes to still require a bunch of cleanup, especially
> > > as I didn't take care of python2 backwards compatibility in this initial
> > > effort to just get it to work.
> > > 
> > > Cheers,
> > > Christian
> > > _______________________________________________
> > > devel mailing list
> > > devel at lists.kolab.org
> > > https://lists.kolab.org/mailman/listinfo/devel
> > 
> > _______________________________________________
> > devel mailing list
> > devel at lists.kolab.org
> > https://lists.kolab.org/mailman/listinfo/devel
> _______________________________________________
> devel mailing list
> devel at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/devel
> 


More information about the devel mailing list