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


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

Bug#922632: dee: adds unnecessary dependency on python

Started bySteve Langasek <steve.langasek@canonical.com>
First post2019-02-18 17:30 +0100
Last post2019-02-18 17:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.debian.bugs.dist


Contents

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

#945754 — Bug#922632: dee: adds unnecessary dependency on python

FromSteve Langasek <steve.langasek@canonical.com>
Date2019-02-18 17:30 +0100
SubjectBug#922632: dee: adds unnecessary dependency on python
Message-ID<xsTXP-2hb-3@gated-at.bofh.it>

[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

[toc] | [standalone]


Back to top | Article view | linux.debian.bugs.dist


csiph-web