Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #945754

Bug#922632: dee: adds unnecessary dependency on python

From Steve Langasek <steve.langasek@canonical.com>
Newsgroups linux.debian.bugs.dist
Subject Bug#922632: dee: adds unnecessary dependency on python
Date 2019-02-18 17:30 +0100
Message-ID <xsTXP-2hb-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Package: dee
Version: 1.2.7+17.10.20170616-4
Severity: minor
Tags: patch
User: ubuntu-devel@lists.ubuntu.com
Usertags: origin-ubuntu disco ubuntu-patch

Dear Kartik,

I've noticed that recent versions of gir1.2-dee-1.0 depend on the python
interpreter.  A dependency on python:any is autogenerated by dh-python, but
there is also a hard-coded dependency on python in debian/control.

Although dee ships .py files for both python2.7 and python3, I think it's
incorrect for the package to depend on python.  We want to ensure byte
compilation of the .py for any interpreters that *are* installed, but
/usr/lib/python2.7/dist-packages/gi/overrides/Dee.py is intended to
supplement use of dee *if* a user is using it with python - having the gir
should not imply that python is present on the system.

This matters to Ubuntu in particular because we are working towards dropping
support for python2 in the upcoming 20.04 LTS release.

I've therefore uploaded the attached patch to Ubuntu to avoid pulling in
either python or python3 as a dependency of gir1.2-dee-1.0.  Please consider
this patch for Debian as well.

Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#922632: dee: adds unnecessary dependency on python Steve Langasek <steve.langasek@canonical.com> - 2019-02-18 17:30 +0100

csiph-web