[Python-modules-team] Bug#892949: Bug#892949: mark decorator packages Multi-Arch: foreign
Yaroslav Halchenko
debian at onerussian.com
Tue Jun 26 03:34:19 BST 2018
Sorry for the late follow up -- would you happen to remember why pymvpa2
is listed as effected? AFAIK we do not use python-decorator, thus we do
not build- or run depend on it. So why are we affected?
On Wed, 14 Mar 2018, Helmut Grohne wrote:
> Source: python-decorator
> Version: 4.1.2-1
> Tags: patch
> User: helmutg at debian.org
> Usertags: rebootstrap
> Control: affects -1 + src:dipy src:gr-gsm src:nipy src:pymvpa2 src:theano src:uc-echo
> The affected packages cannot satisfy their cross Build-Depends, because
> their dependency on python-decorator or python3-decorator is
> unsatisfiable. In general, Architecture: all packages can never satisfy
> cross Build-Depends unless marked Multi-Arch: foreign. I think that
> marking these packages Multi-Arch: foreign is correct because:
> * All of them are Architecture: all.
> * All of their Depends are either annotated :any.
> * While the maintainer scripts produce architecture-specific Python
> bytecode files, this bytecode matches whatever Python happens to be
> installed. Also Python modules can be used without pre-compiled
> bytecode files, so embedded interpreters for a foreign architecture
> (a very uncommon case) continue to work (albeit a bit slower).
> Please consider applying the attached patch.
> Helmut
> diff --minimal -Nru python-decorator-4.1.2/debian/changelog python-decorator-4.1.2/debian/changelog
> --- python-decorator-4.1.2/debian/changelog 2017-09-29 11:06:44.000000000 +0200
> +++ python-decorator-4.1.2/debian/changelog 2018-03-14 20:04:22.000000000 +0100
> @@ -1,3 +1,10 @@
> +python-decorator (4.1.2-1.1) UNRELEASED; urgency=medium
> +
> + * Non-maintainer upload.
> + * Mark all packages Multi-Arch: foreign (closes: #-1)
> +
> + -- Helmut Grohne <helmut at subdivi.de> Wed, 14 Mar 2018 20:04:22 +0100
> +
> python-decorator (4.1.2-1) unstable; urgency=medium
> * New upstream release (closes: 869560)
> diff --minimal -Nru python-decorator-4.1.2/debian/control python-decorator-4.1.2/debian/control
> --- python-decorator-4.1.2/debian/control 2017-09-29 11:06:44.000000000 +0200
> +++ python-decorator-4.1.2/debian/control 2018-03-14 20:04:20.000000000 +0100
> @@ -14,6 +14,7 @@
> Package: python-decorator
> Architecture: all
> +Multi-Arch: foreign
> Depends: ${python:Depends}, ${misc:Depends}
> Enhances: python-pylons
> Description: simplify usage of Python decorators by programmers
> @@ -33,6 +34,7 @@
> Package: python3-decorator
> Architecture: all
> +Multi-Arch: foreign
> Depends: ${python3:Depends}, ${misc:Depends}
> Description: simplify usage of Python decorators by programmers
> Python 2.4 decorators have significantly changed the way Python programs are
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team
--
Yaroslav O. Halchenko
Center for Open Neuroscience http://centerforopenneuroscience.org
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
More information about the Python-modules-team
mailing list