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

Matthias Klose doko at debian.org
Sat Apr 4 20:10:14 UTC 2015


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

Matthias



More information about the Pkg-samba-maint mailing list