Samba and Python2

Andrew Bartlett abartlet at
Tue Feb 19 23:31:20 UTC 2019

On Tue, 2019-02-19 at 23:52 +0100, Stefan Metzmacher via samba-
technical wrote:
> Hi Tim,
> > The problem I hit was a lot of build/python interdependencies when
> > trying to use subunit on a build with --disable-python configured. I've
> > attached the actual errors I was hitting and my attempts to work through
> > the problems.
> > 
> > Aside from the dependency issues, a couple of things didn't feel quite
> > right with this approach:
> > 1. It seemed to be working at cross-purposes - to both produce a
> > cut-down build with python excluded, and then to include a bunch of
> > python code just to test the build was successful.
> > 2. In the medium-term, it seemed like a lot more python2 code to
> > maintain compatibility with (although granted, the approach with
> > no-python-tests.txt also has its own maintenance overhead).
> > 
> > I think ideally what we want here would be to separate out the compile
> > and test steps in CI, e.g. do make/install samba in a separate step
> > (i.e. use a separate repo or container volume), and then just point the
> > full selftest/autobuild (py3) scripts at the installed code. However, I
> > don't think it'd be particularly easy to do this currently.
> Thanks!
> For now I'm happy with
> It's clearly better than the current state.

Thanks.  I've reviewed and pushed this to autobuild. 

Andrew Bartlett

Andrew Bartlett
Authentication Developer, Samba Team
Samba Development and Support, Catalyst IT

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 862 bytes
Desc: This is a digitally signed message part
URL: <>

More information about the samba-technical mailing list