Your message dated Sun, 30 Jul 2017 00:36:21 +0000
with message-id <e1dbcdv-000epe...@fasolo.debian.org>
and subject line Bug#866551: fixed in translate-toolkit 2.0.0-2
has caused the Debian Bug report #866551,
regarding translate-toolkit: ftbfs when multiple python 3 versions are supported
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
866551: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=866551
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: translate-toolkit
Version: 2.0.0-1
Severity: important
User: debian-pyt...@lists.debian.org
Usertags: python3.6
Dear Maintainer,
The build fails in very strange ways when multiple Python 3 versions are
supported, e.g. if 3.5 is default and 3.6 is supported you get this when
running the Python 3.6 tests:
__________________________ test_open_office_to_xliff ___________________________
@pytest.mark.skipif('TTKIT_SKIP_COMMANDS' in os.environ,
reason='Skip testing command line tools')
def test_open_office_to_xliff():
> assert call(['oo2xliff', 'en-US.sdf', '-l', 'fr', 'fr']) == 0
E assert 1 == 0
E + where 1 = call(['oo2xliff', 'en-US.sdf', '-l', 'fr', 'fr'])
test_xliff_conformance.py:67: AssertionError
----------------------------- Captured stderr call -----------------------------
Failed to import the site module
Traceback (most recent call last):
File "/usr/lib/python3.6/site.py", line 79, in <module>
import os
File "/usr/lib/python3.6/os.py", line 652, in <module>
from _collections_abc import MutableMapping
File "/usr/lib/python3.6/_collections_abc.py", line 64
async def _ag(): yield
^
SyntaxError: 'yield' inside async function
What's happening here is that the oo2xliff binary has been built to use the
default Python 3 (3.5) but the way that test_xliff_conformance.py sets up the
environment means that oo2xliff tries to import site.py from _Python 3.6_. And
this doesn't work.
I poked a little at trying to fix this but didn't really get anywhere. Perhaps
the simple fix is just to support the default version of Python 3.
Cheers,
mwh
-- System Information:
Debian Release: stretch/sid
APT prefers xenial-updates
APT policy: (500, 'xenial-updates'), (500, 'xenial-security'), (500,
'xenial'), (400, 'xenial-proposed'), (100, 'xenial-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.4.0-81-generic (SMP w/4 CPU cores)
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--- End Message ---
--- Begin Message ---
Source: translate-toolkit
Source-Version: 2.0.0-2
We believe that the bug you reported is fixed in the latest version of
translate-toolkit, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 866...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Stuart Prescott <stu...@debian.org> (supplier of updated translate-toolkit
package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 30 Jul 2017 00:59:40 +1000
Source: translate-toolkit
Binary: translate-toolkit python-translate python3-translate
translate-toolkit-doc
Architecture: source
Version: 2.0.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian l10n developers <debian-l10n-de...@lists.alioth.debian.org>
Changed-By: Stuart Prescott <stu...@debian.org>
Closes: 866551
Description:
python3-translate - Toolkit assisting in the localization of software (Python
3)
python-translate - Toolkit assisting in the localization of software (Python 2)
translate-toolkit-doc - Toolkit assisting in the localization of software
(documentation)
translate-toolkit - Toolkit assisting in the localization of software
Changes:
translate-toolkit (2.0.0-2) unstable; urgency=medium
.
* Stop altering PYTHONPATH in test suite to prevent failures when more than
one Python 3 is available (Closes: #866551).
* Update Standards-Version to 4.0.0 (no changes required).
Checksums-Sha1:
39ddce3966d5f6cffc0ea500c09d327918dae780 3126 translate-toolkit_2.0.0-2.dsc
a4dae04b5b9c37dc36d7a590378c8db134259cf4 36032
translate-toolkit_2.0.0-2.debian.tar.xz
Checksums-Sha256:
12646cd0e9d91f6fbd854fb11cf1f0353e1ae61f947855244e71f43bac5882f2 3126
translate-toolkit_2.0.0-2.dsc
aba93c3de623e51ae1740fdf085f52bd1fcf0e6c6df800262cea975db010817c 36032
translate-toolkit_2.0.0-2.debian.tar.xz
Files:
5d9a22354d3b745d95bc755613fb8422 3126 python optional
translate-toolkit_2.0.0-2.dsc
b7c2d4ed4633fb71161560a76e5ea7b1 36032 python optional
translate-toolkit_2.0.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEkOLSwa0Uaht+u4kdu8F+uxOW8vcFAll9I/gACgkQu8F+uxOW
8vdQOQ//daKmjmkX5HlNU3NmEPlN+l3Z8g5UbNeYXfhL/XU7AaJdi9gf6KKpeiJy
sGQ/J3GGoD62xFKN0d/Rfwyfkoli/5C03LdefgEbQAwOwyVZikryiNmM5kF7ZNau
dbPU3qc64ORRqaHjyZ2d6b7pSDMZl1FrF1u7Yn1m/e069HgQbrxqjwX9lCCdVRXU
In/9aW48+8+lnjpOvMkBu98RJ894rCJ4Mzd6LmgmpnYIMaLEJFj4nQc9V8/jjDvS
AImrPKjuvTeztDjsurObgTfgJa/tj17mVp7Vj5AE4I2tkslAaE1KK6m9hs4dWGgP
4Rm09t2kiHZgF7/iqT63X4YJYeXmZMfSoiAiXncesVwM13z19/KhbJUobbVVivw7
PD6GdkvQm0SeR/6rIg3tOCuA+LlGJCYwRHDX4C1I1NAaa3AwK3Qi2I+uh1ImWxZS
WUYWe95zhXt13SJotrEkX6DTn3Aplp2J99C0XkXDd82pcANLrjY6Jsg6GkA8PSxR
TQ4MKuNZOh9TkJYAEEKgyHgO/HuuVUn+O+6dHFhvKZqhb0Uls57RLHYhbIvpE96K
A404imObdIng66wCU1hn4YbEC0inLm6ENNNSASuyWiOa5usVDR19ifvWd09sKyKu
Pq6npyMLmYjJ0VD5d+5g4FxSpZK/czEaN6q68kmQ5XXPRcymYG0=
=80SI
-----END PGP SIGNATURE-----
--- End Message ---