Your message dated Sun, 14 Oct 2018 06:20:41 +0000
with message-id <e1gbzlz-0005vt...@fasolo.debian.org>
and subject line Bug#910962: fixed in pykwalify 1.7.0-2
has caused the Debian Bug report #910962,
regarding pykwalify FTBFS: test failures in non-UTF-8 locales
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.)
--
910962: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=910962
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: pykwalify
Version: 1.7.0-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/package.php?p=pykwalify&suite=sid
...
I: pybuild base:217: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build; python3.6
-m pytest tests
============================= test session starts ==============================
platform linux -- Python 3.6.7rc1, pytest-3.6.4, py-1.6.0, pluggy-0.6.0
rootdir: /<<PKGBUILDDIR>>, inifile: pytest.ini
collected 47 items
tests/test_cli.py .. [ 4%]
tests/test_core.py ............. [ 31%]
tests/test_core_methods.py .... [ 40%]
tests/test_exceptions.py .. [ 44%]
tests/test_rule.py ....................... [ 93%]
tests/test_types.py . [ 95%]
tests/test_unicode.py FF [100%]
=================================== FAILURES ===================================
_____________ TestUnicode.test_files_with_unicode_content_success ______________
self = <tests.test_unicode.TestUnicode object at 0xffff92f129e8>
tmpdir = local('/tmp/pytest-of-buildd/pytest-1/test_files_with_unicode_conten0')
def test_files_with_unicode_content_success(self, tmpdir):
"""
These tests should pass with no exception raised
"""
fail_data_2s_yaml = {
'schema': {
'type': 'map',
'mapping': {
'msg': {
'type': 'int',
},
}
},
'data': {
'msg': 123,
},
'errors': []
}
source_f = tmpdir.join(u"2s\xe5.json")
> source_f.write(yaml.safe_dump(fail_data_2s_yaml, allow_unicode=True))
tests/test_unicode.py:50:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/py/_path/local.py:501: in write
f = self.open(mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
local('/tmp/pytest-of-buildd/pytest-1/test_files_with_unicode_conten0/2s\xe5.json')
mode = 'w', ensure = False, encoding = None
def open(self, mode='r', ensure=False, encoding=None):
""" return an opened file with the given mode.
If ensure is True, create parent directories if needed.
"""
if ensure:
self.dirpath().ensure(dir=1)
if encoding:
return py.error.checked_call(io.open, self.strpath, mode,
encoding=encoding)
> return py.error.checked_call(open, self.strpath, mode)
E UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in
position 65: ordinal not in range(128)
/usr/lib/python3/dist-packages/py/_path/local.py:361: UnicodeEncodeError
_____________ TestUnicode.test_files_with_unicode_content_failing ______________
self = <tests.test_unicode.TestUnicode object at 0xffff92c8dd30>
tmpdir = local('/tmp/pytest-of-buildd/pytest-1/test_files_with_unicode_conten1')
def test_files_with_unicode_content_failing(self, tmpdir):
"""
These tests should fail with the specified exception
"""
# To trigger schema exception we must pass in a source file
fail_data_2f_yaml = {
'schema': {
'type': 'map',
'mapping': {
'msg': {
'type': 'int',
},
}
},
'data': {
'msg': 'Foobar',
},
'errors': ["Value 'Foobar' is not of type 'int'. Path: '/msg'"]
}
source_f = tmpdir.join(u"2f\xe5.json")
> source_f.write(yaml.safe_dump(fail_data_2f_yaml, allow_unicode=True))
tests/test_unicode.py:105:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/py/_path/local.py:501: in write
f = self.open(mode)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self =
local('/tmp/pytest-of-buildd/pytest-1/test_files_with_unicode_conten1/2f\xe5.json')
mode = 'w', ensure = False, encoding = None
def open(self, mode='r', ensure=False, encoding=None):
""" return an opened file with the given mode.
If ensure is True, create parent directories if needed.
"""
if ensure:
self.dirpath().ensure(dir=1)
if encoding:
return py.error.checked_call(io.open, self.strpath, mode,
encoding=encoding)
> return py.error.checked_call(open, self.strpath, mode)
E UnicodeEncodeError: 'ascii' codec can't encode character '\xe5' in
position 65: ordinal not in range(128)
/usr/lib/python3/dist-packages/py/_path/local.py:361: UnicodeEncodeError
=============================== warnings summary ===============================
.pybuild/cpython3_3.6/build/tests/test_core.py::TestCore::()::test_core_files
/usr/lib/python3/dist-packages/ruamel/yaml/constructor.py:262:
DuplicateKeyFutureWarning: while constructing a mapping
in
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/tests/files/fail/test_type_float.yaml",
line 10, column 1
found duplicate key "errors" with value "[]" (original value: "[]")
in
"/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build/tests/files/fail/test_type_float.yaml",
line 21, column 1
To suppress this check see:
http://yaml.readthedocs.io/en/latest/api.html#duplicate-keys
Duplicate keys will become and error in future releases, and are errors
by default when using the new API.
warnings.warn(DuplicateKeyFutureWarning(*args))
-- Docs: http://doc.pytest.org/en/latest/warnings.html
=============== 2 failed, 45 passed, 1 warnings in 5.39 seconds ================
E: pybuild pybuild:338: test: plugin distutils failed with: exit code=1: cd
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.6/build; python3.6 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.7 3.6"
returned exit code 13
make: *** [debian/rules:6: build-arch] Error 25
--- End Message ---
--- Begin Message ---
Source: pykwalify
Source-Version: 1.7.0-2
We believe that the bug you reported is fixed in the latest version of
pykwalify, 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 910...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Andrej Shadura <andre...@debian.org> (supplier of updated pykwalify 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, 14 Oct 2018 08:58:17 +0300
Source: pykwalify
Binary: python3-pykwalify pykwalify
Architecture: source
Version: 1.7.0-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Modules Team
<python-modules-t...@lists.alioth.debian.org>
Changed-By: Andrej Shadura <andre...@debian.org>
Description:
pykwalify - Python YAML/JSON schema validation library (command line program)
python3-pykwalify - Python YAML/JSON schema validation library (Python 3)
Closes: 910962
Changes:
pykwalify (1.7.0-2) unstable; urgency=medium
.
* Set LC_ALL to C.UTF-8 to make tests more reproducible
(Closes: #910962).
Checksums-Sha1:
bd9f6e97010133400a2363f2b5bab5585fd99b51 1924 pykwalify_1.7.0-2.dsc
4721c97abfce0832ef57499a839498c876eeaecc 2452 pykwalify_1.7.0-2.debian.tar.xz
Checksums-Sha256:
c37c001b66c7b15c31929078bc1558813fa18805501303585046a0af6956620b 1924
pykwalify_1.7.0-2.dsc
e9e1cacc72d3f6bd3b61de1e2ba797a9642571c19b4d52a8faea8e32a98c0a37 2452
pykwalify_1.7.0-2.debian.tar.xz
Files:
6d1b3b7cb2c428fcfde60d4da00f92b6 1924 python optional pykwalify_1.7.0-2.dsc
28f60f75e50aef1ec37822aaaf7a0a04 2452 python optional
pykwalify_1.7.0-2.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEeuS9ZL8A0js0NGiOXkCM2RzYOdIFAlvC27QACgkQXkCM2RzY
OdKDLAf+Ky6buMaDfiAEnGgsJnLHuyvLfCVhOIvA0sJwxsryLkK5Pn8KwJc6xxPQ
E81tNqxVGUq8+wP2m+qc2n+lptawhWYK7DY7t61igWiaC6SkCJUbrq2nI1RAAsYi
0/CCC5IcfAVL41ETTwjOcM3BTVcaLv+sY40R9rlJ+vdbAVup3W/E/JHyW0RuLbPg
hWXqw5L7VAYSuySzJydVj6P+M71pyILi04Dp3+5IZxsItdW+JbL7HqoUIxsxFL9w
NND6p0raHyNH2y+AyLRGvllOOpT1vLtTqBZo82X3Z8spXJHOY/+XG8/lZJF2RFBo
6HSk5iGar67dsrWMdJKdntoOhs+8EQ==
=wAUt
-----END PGP SIGNATURE-----
--- End Message ---