[Pkg-samba-maint] Bug#781913: Bug#781913: please build bindings for Python3 and let samba-common-bin use them

Jelmer Vernooij jelmer at debian.org
Sat Apr 4 20:14:44 UTC 2015


On Sat, Apr 04, 2015 at 10:10:14PM +0200, Matthias Klose wrote:
> On 04/04/2015 08:47 PM, Jelmer Vernooij wrote:
> > On Sat, Apr 04, 2015 at 08:03:19PM +0200, Matthias Klose wrote:
> >> On 04/04/2015 07:40 PM, Jelmer Vernooij wrote:
> >>> On Sat, Apr 04, 2015 at 07:31:59PM +0200, Matthias Klose wrote:
> >>>> Package: src:samba
> >>>> Version: 2:4.1.13+dfsg-4
> >>>>
> >>>> please build bindings for Python3 and let samba-common-bin use them
> >>>
> >>> There are no Python3 bindings for Samba. Porting will be a large effort, and as
> >>> upstream we don't want to maintain support for two Python versions. 
> >>>
> >>> What do you need the Python3 bindings for? Perhaps there are alternatives.
> >>
> >> I was looking what is keeping Python2 on the Ubuntu desktop. For the samba
> >> bindings this is system-config-printer depending on gvfs-backends, depending on
> >> samba-libs.
> > 
> > I think getting rid of the Python dependency in samba-libs is a much
> > easier to achieve goal here.
> > 
> > AFAICT The only reason that samba-libs depends on python is because
> > libsamba-net can do provisioning of a local DC (requires the 'samba'
> > package to be installed) by invoking the provision script using Python.
> > 
> > So if we could move that functionality out to a separate library that
> > is not included with samba-libs, we could drop the dependency on
> > python2 in samba-libs.
> 
> right, that would get rid off python libs and python-talloc.  However there is
> another path in that nautilus-share depends on samba-common | samba-common-bin,
> which depend on python-samba.
> 
> and
> $ reverse-depends nautilus-share
> Reverse-Recommends
> ==================
> * ubuntu-desktop
> * ubuntu-gnome-desktop
> * ubuntukylin-desktop

What does it need that dependency for? I would imagine it just uses
libsmbclient.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at debian.org>
Debian Developer                           https://jelmer.uk/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150404/5520e301/attachment-0001.sig>


More information about the Pkg-samba-maint mailing list