[Python-modules-team] Bug#1060432: rpds-py ftbfs in unstable

2024-01-11 Thread Matthias Klose

Package: src:rpds-py
Version: 0.12.0-2
Severity: serious
Tags: sid trixie ftbfs

rpds-py ftbfs in unstable, because of missing build dependencies:

Issues preventing migration:
∙ ∙ rpds-py unsatisfiable Build-Depends(-Arch) on amd64: librust-archery-dev
∙ ∙ rpds-py unsatisfiable Build-Depends(-Arch) on amd64: librust-rpds-dev

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#999409: jpy ftbfs with Python 3.10

2021-11-10 Thread Matthias Klose
Source: jpy
Version: 0.9.0-3
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

jpy ftbfs with python3-defaults from experimental:

https://launchpadlibrarian.net/567963939/buildlog_ubuntu-jammy-amd64.jpy_0.9.0-3build5_BUILDING.txt.gz

src/main/c/jpy_jmethod.c:847:5: note: (near initialization for
‘JOverloadedMethod_Type.tp_vectorcall_offset’)
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv
-O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -Isrc/main/c -I/usr/lib/jvm/default-java/include
-I/usr/lib/jvm/default-java/include/linux -I/usr/include/python3.10 -c
src/main/c/jpy_jobj.c -o build/temp.linux-x86_64-3.10/src/main/c/jpy_jobj.o
src/main/c/jpy_jobj.c: In function ‘JType_InitSlots’:
src/main/c/jpy_jobj.c:683:24: error: lvalue required as left operand of 
assignment
  683 | Py_REFCNT(typeObj) = 1;
  |^
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:354: build: plugin distutils failed with: exit code=1:
/usr/bin/python3.10 setup.py build
I: pybuild base:237: /usr/bin/python3 setup.py build

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#999398: zodbpickle ftbfs with Python 3.10 (test failures)

2021-11-10 Thread Matthias Klose
Source: zodbpickle
Version: 1.0-3
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

zodbpickle ftbfs with python3-defaults from experimental:

[...]
I: pybuild base:237: python3.10 setup.py test
running test
WARNING: Testing via this command is deprecated and will be removed in a future
version. Users looking for a generic test entry point independent of test runner
are encouraged to use tox.
running egg_info
writing src/zodbpickle.egg-info/PKG-INFO
writing dependency_links to src/zodbpickle.egg-info/dependency_links.txt
writing requirements to src/zodbpickle.egg-info/requires.txt
writing top-level names to src/zodbpickle.egg-info/top_level.txt
reading manifest file 'src/zodbpickle.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*.dll' found anywhere in
distribution
warning: no previously-included files matching '*.pyc' found anywhere in
distribution
warning: no previously-included files matching '*.pyo' found anywhere in
distribution
warning: no previously-included files matching '*.so' found anywhere in 
distribution
adding license file 'LICENSE.txt'
writing manifest file 'src/zodbpickle.egg-info/SOURCES.txt'
running build_ext
copying
/<>/.pybuild/cpython3_3.10_zodbpickle/build/zodbpickle/_pickle.cpython-310-x86_64-linux-gnu.so
-> src/zodbpickle
Traceback (most recent call last):
  File "/<>/setup.py", line 43, in 
setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 153, in 
setup
return distutils.core.setup(**attrs)
  File "/usr/lib/python3.10/distutils/core.py", line 148, in setup
dist.run_commands()
  File "/usr/lib/python3.10/distutils/dist.py", line 966, in run_commands
self.run_command(cmd)
  File "/usr/lib/python3.10/distutils/dist.py", line 985, in run_command
cmd_obj.run()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 223, 
in run
self.run_tests()
  File "/usr/lib/python3/dist-packages/setuptools/command/test.py", line 226, in
run_tests
test = unittest.main(
  File "/usr/lib/python3.10/unittest/main.py", line 100, in __init__
self.parseArgs(argv)
  File "/usr/lib/python3.10/unittest/main.py", line 147, in parseArgs
self.createTests()
  File "/usr/lib/python3.10/unittest/main.py", line 158, in createTests
self.test = self.testLoader.loadTestsFromNames(self.testNames,
  File "/usr/lib/python3.10/unittest/loader.py", line 220, in loadTestsFromNames
suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.10/unittest/loader.py", line 220, in 
suites = [self.loadTestsFromName(name, module) for name in names]
  File "/usr/lib/python3.10/unittest/loader.py", line 205, in loadTestsFromName
test = obj()
  File "/<>/src/zodbpickle/tests/test_pickle.py", line 27, in
test_suite
from .test_pickle_3 import test_suite
  File "/<>/src/zodbpickle/tests/test_pickle_3.py", line 7, in 

from .pickletester_3 import AbstractPickleTests
  File "/<>/src/zodbpickle/tests/pickletester_3.py", line 10, in

from test.support import (
ImportError: cannot import name 'TESTFN' from 'test.support'
(/usr/lib/python3.10/test/support/__init__.py)
E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1:
python3.10 setup.py test

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#999385: python-pyalsa ftbfs with Python 3.10

2021-11-10 Thread Matthias Klose
Source: python-pyalsa
Version: 1.1.6-2
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

python-pyalsa ftbfs with python3-defaults from experimental:


x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv
-O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c pyalsa/alsahcontrol.c -o
build/temp.linux-x86_64-3.10/pyalsa/alsahcontrol.o
In file included from /usr/include/python3.10/tupleobject.h:39,
 from /usr/include/python3.10/Python.h:91,
 from pyalsa/common.h:25,
 from pyalsa/alsahcontrol.c:22:
pyalsa/alsahcontrol.c: In function ‘element_callback’:
/usr/include/python3.10/cpython/tupleobject.h:26:36: error: void value not
ignored as it ought to be
   26 | #define PyTuple_SET_ITEM(op, i, v) ((void)(_PyTuple_CAST(op)->ob_item[i]
= v))
  |^
pyalsa/alsahcontrol.c:1546:21: note: in expansion of macro ‘PyTuple_SET_ITEM’
 1546 | if (PyTuple_SET_ITEM(t, 0, (PyObject *)pyhelem))
  | ^~~~
error: command '/usr/bin/x86_64-linux-gnu-gcc' failed with exit code 1
E: pybuild pybuild:354: build: plugin distutils failed with: exit code=1:
/usr/bin/python3.10 setup.py build

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#999380: python-lzo ftbfs with Python 3.10 (test failures)

2021-11-10 Thread Matthias Klose
Source: python-lzo
Version: 1.12-3
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

python-lzo ftbfs with python3-defaults from experimental:

I: pybuild base:237: cd /<>/.pybuild/cpython3_3.10_lzo/build;
python3.10 -m nose -v tests
tests.test.test_version ... ok
tests.test.test_lzo(b'',) ... ERROR
tests.test.test_lzo(b'',) ... ERROR
tests.test.test_lzo(b'abcabcabcabcabcabcabcabc',) ... ERROR
tests.test.test_lzo(b'abcabcabcabcabcabcabcabc',) ... ERROR
tests.test.test_lzo(b'abcabcabcabcabcabcabcabc', 9) ... ERROR
tests.test.test_lzo(b'abcabcabcabcabcabcabcabc', 9) ... ERROR
tests.test.test_lzo(b'',) ... ERROR
tests.test.test_lzo(b'',) ... ERROR
tests.test.test_lzo_big ... ERROR
tests.test.test_lzo_raw_big ... ERROR

==
ERROR: tests.test.test_lzo(b'',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
58, in gen
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
75, in gen_raw
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'abcabcabcabcabcabcabcabc',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
58, in gen
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'abcabcabcabcabcabcabcabc',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
75, in gen_raw
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'abcabcabcabcabcabcabcabc', 9)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
58, in gen
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'abcabcabcabcabcabcabcabc', 9)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
75, in gen_raw
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
58, in gen
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo(b'',)
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File "/<>/.pybuild/cpython3_3.10_lzo/build/tests/test.py", line
75, in gen_raw
a0 = lzo.adler32(src)
SystemError: PY_SSIZE_T_CLEAN macro must be defined for '#' formats

==
ERROR: tests.test.test_lzo_big

[Python-modules-team] Bug#999370: pystemd ftbfs with Python 3.10

2021-11-10 Thread Matthias Klose
Source: pystemd
Version: 0.7.0-4
Severity: important
Tags: ftbfs
User: debian-pyt...@lists.debian.org
Usertags: python3.10

psystemd ftbfs with python3-defaults from experimental:

[...]
x86_64-linux-gnu-gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O2
-Wall -g -fstack-protector-strong -Wformat -Werror=format-security -g -fwrapv
-O2 -g -O2 -ffile-prefix-map=/<>=. -flto=auto -ffat-lto-objects
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.10 -c pystemd/dbuslib.c -o
build/temp.linux-x86_64-3.10/pystemd/dbuslib.o
pystemd/dbuslib.c: In function
‘__pyx_f_7pystemd_7dbuslib_11DbusMessage_get_priority’:
pystemd/dbuslib.c:5672:3: warning: ‘sd_bus_message_get_priority’ is deprecated
[-Wdeprecated-declarations]
 5672 |   (void)(sd_bus_message_get_priority(__pyx_v_self->_msg, 
(&__pyx_v_ret)));
  |   ^
In file included from pystemd/dbuslib.c:616:
/usr/include/systemd/sd-bus.h:277:5: note: declared here
  277 | int sd_bus_message_get_priority(sd_bus_message *m, int64_t *priority)
_sd_deprecated_;
  | ^~~
pystemd/dbuslib.c: In function ‘__pyx_tp_dealloc_7pystemd_7dbuslib_DbusMessage’:
pystemd/dbuslib.c:14758:5: error: lvalue required as increment operand
14758 | ++Py_REFCNT(o);
  | ^~
pystemd/dbuslib.c:14760:5: error: lvalue required as decrement operand
14760 | --Py_REFCNT(o);
  | ^~

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#994361: python-mysqldb: Removal of the python3-*-dbg packages in sid/bookworm

2021-09-15 Thread Matthias Klose
Package: src:python-mysqldb
Version: 1.4.4-2
Severity: serious
Tags: sid bookworm
User: debian-pyt...@lists.debian.org
Usertags: pydbg-removal

Python 3.8 upstream now has a common ABI for normal and debug
extension builds, so we can drop the python3-*-dbg packages.
Details at
https://lists.debian.org/debian-python/2021/09/msg4.html

Stop building the python3-*-dbg package, but be careful
that all the reverse dependencies are also removed.

Please check for dependencies, build dependencies AND autopkg tests.
If help is needed, please ask on IRC #debian-python,
or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#994322: pycairo: Removal of the python3-*-dbg packages in sid/bookworm

2021-09-15 Thread Matthias Klose
Package: src:pycairo
Version: 1.16.2-3
Severity: serious
Tags: sid bookworm
User: debian-pyt...@lists.debian.org
Usertags: pydbg-removal

Python 3.8 upstream now has a common ABI for normal and debug
extension builds, so we can drop the python3-*-dbg packages.
Details at
https://lists.debian.org/debian-python/2021/09/msg4.html

Stop building the python3-*-dbg package, but be careful
that all the reverse dependencies are also removed.

Please check for dependencies, build dependencies AND autopkg tests.
If help is needed, please ask on IRC #debian-python,
or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#994313: netifaces: Removal of the python3-*-dbg packages in sid/bookworm

2021-09-15 Thread Matthias Klose
Package: src:netifaces
Version: 0.10.9-0.2
Severity: serious
Tags: sid bookworm
User: debian-pyt...@lists.debian.org
Usertags: pydbg-removal

Python 3.8 upstream now has a common ABI for normal and debug
extension builds, so we can drop the python3-*-dbg packages.
Details at
https://lists.debian.org/debian-python/2021/09/msg4.html

Stop building the python3-*-dbg package, but be careful
that all the reverse dependencies are also removed.

Please check for dependencies, build dependencies AND autopkg tests.
If help is needed, please ask on IRC #debian-python,
or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#994297: bottleneck: Removal of the python3-*-dbg packages in sid/bookworm

2021-09-15 Thread Matthias Klose
Package: src:bottleneck
Version: 1.2.1+ds1-2
Severity: serious
Tags: sid bookworm
User: debian-pyt...@lists.debian.org
Usertags: pydbg-removal

Python 3.8 upstream now has a common ABI for normal and debug
extension builds, so we can drop the python3-*-dbg packages.
Details at
https://lists.debian.org/debian-python/2021/09/msg4.html

Stop building the python3-*-dbg package, but be careful
that all the reverse dependencies are also removed.

Please check for dependencies, build dependencies AND autopkg tests.
If help is needed, please ask on IRC #debian-python,
or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#984492: autopkg test failures

2021-03-03 Thread Matthias Klose
Package: src:python-w3lib
Version: 1.22.0-2
Severity: serious
Tags: sid bullseye

seen on all architectures, triggered by the python3-defaults upload.

https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-w3lib/10824843/log.gz

=== python3.9 ===
= test session starts ==
platform linux -- Python 3.9.2, pytest-6.0.2, py-1.10.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.or2rkj_p/downtmp/autopkgtest_tmp
collected 146 items

tests/test_encoding.py ...   [ 13%]
tests/test_form.py ...   [ 15%]
tests/test_html.py . [ 51%]
 [ 51%]
tests/test_http.py ...   [ 56%]
tests/test_url.py F. [ 93%]
..   [100%]

=== FAILURES ===
 UrlTests.test_add_or_replace_parameter 

self = 

def test_add_or_replace_parameter(self):
url = 'http://domain/test'
self.assertEqual(add_or_replace_parameter(url, 'arg', 'v'),
 'http://domain/test?arg=v')
url = 'http://domain/test?arg1=v1=v2=v3'
self.assertEqual(add_or_replace_parameter(url, 'arg4', 'v4'),
 'http://domain/test?arg1=v1=v2=v3=v4')
self.assertEqual(add_or_replace_parameter(url, 'arg3', 'nv3'),
 'http://domain/test?arg1=v1=v2=nv3')

url = 'http://domain/test?arg1=v1;arg2=v2'
>   self.assertEqual(add_or_replace_parameter(url, 'arg1', 'v3'),
 'http://domain/test?arg1=v3=v2')
E   AssertionError: 'http://domain/test?arg1=v3' !=
'http://domain/test?arg1=v3=v2'
E   - http://domain/test?arg1=v3
E   + http://domain/test?arg1=v3=v2
E   ?   

tests/test_url.py:303: AssertionError
=== warnings summary ===
tests/test_url.py::UrlTests::test_urljoin_rfc_deprecated
  /usr/lib/python3/dist-packages/w3lib/url.py:618: DeprecationWarning:
w3lib.url.urljoin_rfc is deprecated, use urlparse.urljoin instead
warnings.warn("w3lib.url.urljoin_rfc is deprecated, use urlparse.urljoin
instead",

-- Docs: https://docs.pytest.org/en/stable/warnings.html
=== short test summary info 
FAILED tests/test_url.py::UrlTests::test_add_or_replace_parameter - Assertion...
=== 1 failed, 145 passed, 1 warning in 0.61s ===

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team


[Python-modules-team] Bug#981766: autopkg tests failing with setuptools 52.0

2021-02-10 Thread Matthias Klose
Control: tags -1 + patch

please find a packaging proposall for 1.3.0 at
https://launchpad.net/ubuntu/+source/python-b2sdk/1.3.0-0ubuntu1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#981766: autopkg tests failing with setuptools 52.0

2021-02-09 Thread Matthias Klose
Control: severity -1 serious

the sources read:

$ fgrep -r pytest .
./.travis.yml:# disabled because nosetests is not supported on 3.9. We'll
move to pytest.

and indeed running the tests with nose fails.  It looks like the 1.3.0 version
has proper support for pytest.

==
ERROR: test suite for 
--
Traceback (most recent call last):
  File "/usr/lib/python3.9/inspect.py", line 1162, in getfullargspec
sig = _signature_from_callable(func,
  File "/usr/lib/python3.9/inspect.py", line 2254, in _signature_from_callable
raise TypeError('{!r} is not a callable object'.format(obj))
TypeError:  is not a callable object

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/util.py", line 460, in try_run
inspect.getargspec(func)
  File "/usr/lib/python3.9/inspect.py", line 1120, in getargspec
getfullargspec(func)
  File "/usr/lib/python3.9/inspect.py", line 1171, in getfullargspec
raise TypeError('unsupported callable') from ex
TypeError: unsupported callable

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 788,
in run
self.setUp()
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 292, in setUp
self.setupContext(ancestor)
  File "/usr/lib/python3/dist-packages/nose/plugins/multiprocess.py", line 770,
in setupContext
super(NoSharedFixtureContextSuite, self).setupContext(context)
  File "/usr/lib/python3/dist-packages/nose/suite.py", line 315, in setupContext
try_run(context, names)
  File "/usr/lib/python3/dist-packages/nose/util.py", line 463, in try_run
raise TypeError("Attribute %s of %r is not a python "
TypeError: Attribute setup of  is not a python function.
Only functions or callables may be used as fixtures.

==
ERROR: test.support.testresult.get_test_runner_class
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: get_test_runner_class() missing 1 required positional argument:
'verbosity'

==
ERROR: test.support.testresult.get_test_runner
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
TypeError: get_test_runner() missing 2 required positional arguments: 'stream'
and 'verbosity'

--
Ran 46 tests in 8.480s

FAILED (SKIP=1, errors=3)
autopkgtest [00:23:33]: test command1: ---]
autopkgtest [00:23:33]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1 FAIL non-zero exit status 1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#981766: autopkg tests failing with setuptools 52.0

2021-02-03 Thread Matthias Klose
Package: src:python-b2sdk
Version: 1.1.4-1
Severity: important
Tags: sid bullseye

autopkg tests failing with setuptools 52.0. The tests should neither use
easy_install nor pip.

autopkgtest [23:43:22]: test command1: [---
[*] testing on python3.9:
running nosetests
running egg_info
creating b2sdk.egg-info
writing b2sdk.egg-info/PKG-INFO
writing dependency_links to b2sdk.egg-info/dependency_links.txt
writing requirements to b2sdk.egg-info/requires.txt
writing top-level names to b2sdk.egg-info/top_level.txt
writing manifest file 'b2sdk.egg-info/SOURCES.txt'
reading manifest file 'b2sdk.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'b2sdk.egg-info/SOURCES.txt'
WARNING: The wheel package is not available.
/usr/bin/python3.9: No module named pip
error: Command '['/usr/bin/python3.9', '-m', 'pip',
'--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/tmp/tmp6k529_lp',
'--quiet', 'liccheck==0.3.9']' returned non-zero exit status 1.
autopkgtest [23:43:23]: test command1: ---]
autopkgtest [23:43:23]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1 FAIL non-zero exit status 1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#979713: flask-jwt-simple's autopkg tests fail with python3.9

2021-01-10 Thread Matthias Klose
Package: src:flask-jwt-simple
Version: 0.0.3-5
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

flask-jwt-simple's autopkg tests fail with python3.9, see
https://ci.debian.net/packages/f/flask-jwt-simple/testing/amd64/

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = 
identity = 'username'

def _create_jwt(self, identity):
jwt_data = self._get_jwt_data(identity)
secret = config.encode_key
algorithm = config.algorithm
>   return jwt.encode(jwt_data, secret, algorithm).decode('utf-8')
E   AttributeError: 'str' object has no attribute 'decode'

flask_jwt_simple/jwt_manager.py:175: AttributeError

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#975202: add patch

2020-12-11 Thread Matthias Klose
Control: tags -1 + patch

patch at
https://launchpad.net/ubuntu/+source/pikepdf/1.17.3+dfsg-1ubuntu1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#976107: builds with 2.4.2-0.2, will be fixed in next openssl upload

2020-12-05 Thread Matthias Klose
Control: severity -1 important

builds with 2.4.2-0.2, will be fixed in next openssl upload

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973195: uploaded upstream 2.4.2 to the delayed queue

2020-11-24 Thread Matthias Klose
uploaded upstream 2.4.2 to the delayed queue.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#975537: cmdtest's autopkg tests fail with Python 3.9

2020-11-23 Thread Matthias Klose
Package: src:cmdtest
Version: 0.32.14.gcdfe14e-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

https://ci.debian.net/data/autopkgtest/testing/amd64/c/cmdtest/8348930/log.gz

[...]
autopkgtest [09:46:12]: test yarn-tests: [---
FAIL: assuming: stderr diff:
--- /dev/null   2020-11-22 09:45:20.994210284 +
+++ yarn.tests/assuming.stderr-actual   2020-11-22 09:46:13.334289555 +
@@ -0,0 +1,18 @@
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in 
parse_file
+return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'

FAIL: assuming: got exit code 1, expected 0
FAIL: duplicate-scenario-names: stderr diff:
--- yarn.tests/duplicate-scenario-names.stderr  2020-11-22 09:46:12.922288930 
+
+++ yarn.tests/duplicate-scenario-names.stderr-actual   2020-11-22
09:46:13.558289894 +
@@ -1,3 +1,18 @@
-ERROR: There are scenarios with duplicate names:
-  foo
-
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in 
parse_file
+return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'

FAIL: env: stderr diff:
--- /dev/null   2020-11-22 09:45:20.994210284 +
+++ yarn.tests/env.stderr-actual2020-11-22 09:46:13.754290191 +
@@ -0,0 +1,18 @@
+Traceback (most recent call last):
+  File "/usr/lib/python3/dist-packages/cliapp/app.py", line 193, in _run
+self.process_args(args)
+  File "/usr/bin/yarn", line 157, in process_args
+scenarios, implementations = self.parse_scenarios(args)
+  File "/usr/bin/yarn", line 214, in parse_scenarios
+blocks = mdparser.parse_file(filename)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 79, in 
parse_file
+return self.parse_string(text)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 72, in
parse_string
+markdown.markdown(text, output=f, extensions=[ext])
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 387, in markdown
+return md.convert(text)
+  File "/usr/lib/python3/dist-packages/markdown/core.py", line 268, in convert
+newRoot = treeprocessor.run(root)
+  File "/usr/lib/python3/dist-packages/yarnlib/mdparser.py", line 45, in run
+for child in root.getchildren():
+AttributeError: 'xml.etree.ElementTree.Element' object has no attribute
'getchildren'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#971302: new upstream 2.4.2

2020-11-13 Thread Matthias Klose
Control: tags -1 + patch

the new upstream 2.4.2 fixes the 3.9 issues, and the package also seems to work
with python3-pycryptodome

one test is failing with both 3.8 and 3.9:

==
ERROR: test_confirm (tests.test_agent._TestAgent)
Test confirmation of key
--
Traceback (most recent call last):
  File "/<>/tests/util.py", line 69, in async_wrapper
return self.loop.run_until_complete(coro(self, *args, **kwargs))
  File "/usr/lib/python3.8/asyncio/base_events.py", line 616, in 
run_until_complete
return future.result()
  File "/<>/tests/test_agent.py", line 52, in agent_wrapper
await func(self, agent)
  File "/<>/tests/test_agent.py", line 379, in test_confirm
sig = await agent_key.sign(b'test')
  File "/<>/asyncssh/agent.py", line 147, in sign
return await self._agent.sign(self.public_data, data, self._flags)
  File "/<>/asyncssh/agent.py", line 271, in sign
raise ValueError('Unable to sign with requested key')
ValueError: Unable to sign with requested key

--

packaging proposal at
https://launchpad.net/ubuntu/+source/python-asyncssh/2.4.2-0ubuntu1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973114: python-future: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

2020-11-13 Thread Matthias Klose
Control: tags -1 + patch

patch at
http://launchpadlibrarian.net/506790173/python-future_0.18.2-4_0.18.2-4ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973121: cairocffi: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p "3.9 3.8" returned exit code 13

2020-11-13 Thread Matthias Klose
Control: tags -1 + patch

fixed in new upstream version 1.2.0.

example packaging at
https://launchpad.net/ubuntu/+source/cairocffi/1.2.0-0ubuntu3

this disables the flake8 tests, and the isort tests, pytest-isort is not yet
packaged for Debian.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973126: responses: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.9 3.8" returned exit code 13

2020-11-13 Thread Matthias Klose
new upstream 0.12. 0.11 is said to support 3.9, 0.10 is said to support 3.8

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973134: python-webob: FTBFS: tests failed

2020-11-13 Thread Matthias Klose
Control: tags -1 + patch

fixed by upstream pull request 411, uploaded to the delayed queue

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973033: python-molotov's autopkg tests are failing with python3.9

2020-11-03 Thread Matthias Klose
Control: tags -1 + patch

this needs a new upstream first:

2.0 - 2020-10-23


- added the --disable-dns-resolve option (#119)
- fix multiprocessing pickling issues by using dill
- display the max worker in the sizing result (#123)
- add aiodogstatsd (#122)
- added the --single-run option (#124)
- added support for 3.8 & 3.9 in tox/travis-ci
- speed up tests
- dropped support for 3.5

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973035: python-msrest's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-msrest
Version: 0.6.18-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9


self = , mode = 'rb'
bufsize = -1

def makefile(self, mode='r', bufsize=-1):
"""Returns this fake socket's own tempfile buffer.

If there is an entry associated with the socket, the file
descriptor gets filled in with the entry data before being
returned.
"""
self._mode = mode
self._bufsize = bufsize

if self._entry:
t = threading.Thread(
target=self._entry.fill_filekind, args=(self.fd,)
)
t.start()
if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
timeout = None
else:
timeout = self.timeout
t.join(timeout)
>   if t.isAlive():
E   AttributeError: 'Thread' object has no attribute 'isAlive'

/usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973036: python-msrestazure's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-msrestazure
Version: 0.6.2-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

self = , mode = 'rb'
bufsize = -1

def makefile(self, mode='r', bufsize=-1):
"""Returns this fake socket's own tempfile buffer.

If there is an entry associated with the socket, the file
descriptor gets filled in with the entry data before being
returned.
"""
self._mode = mode
self._bufsize = bufsize

if self._entry:
t = threading.Thread(
target=self._entry.fill_filekind, args=(self.fd,)
)
t.start()
if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
timeout = None
else:
timeout = self.timeout
t.join(timeout)
>   if t.isAlive():
E   AttributeError: 'Thread' object has no attribute 'isAlive'

/usr/lib/python3/dist-packages/httpretty/core.py:438: AttributeError

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973033: python-molotov's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-molotov
Version: 1.6-7
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

see
https://ci.debian.net/data/autopkgtest/testing/amd64/p/python-molotov/7759352/log.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973032: python-latexcodec's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-latexcodec
Version: 1.0.7-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

==
ERROR: test_install_example.test_install_example_3
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_install_example.py",
line 24, in test_install_example_3
assert text_latex.decode("latex+latin1") == u"þ"
LookupError: unknown encoding: latex+latin1

==
ERROR: test_install_example.test_install_example_4
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_install_example.py",
line 37, in test_install_example_4
codecs.encode(text_unicode, "ulatex+ascii")
LookupError: unknown encoding: ulatex+ascii

==
ERROR: test_double_quotes_unicode (test_latex_codec.TestDecoder)
--
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_latex_codec.py",
line 222, in test_double_quotes_unicode
self.decode(u"“á”", u"``á''".encode("utf8"), "utf8")
  File
"/tmp/autopkgtest-lxc.mp1w7t9_/downtmp/autopkgtest_tmp/test/test_latex_codec.py",
line 57, in decode
decoded, n = codecs.getdecoder(encoding)(text_latex)
  File "/usr/lib/python3.9/codecs.py", line 975, in getdecoder
return lookup(encoding).decode
LookupError: unknown encoding: latex+utf8

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973022: python-blosc's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-blosc
Version: 1.8.1+ds1-2
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

==
FAIL: compress (blosc.toplevel)
Doctest: blosc.toplevel.compress
--
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for blosc.toplevel.compress
  File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 396, in compress

--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 440, in
blosc.toplevel.compress
Failed example:
a_bytesobj = a.tostring()
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
a_bytesobj = a.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 441, in
blosc.toplevel.compress
Failed example:
c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
NameError: name 'a_bytesobj' is not defined
--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 442, in
blosc.toplevel.compress
Failed example:
len(c_bytesobj) < len(a_bytesobj)
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
len(c_bytesobj) < len(a_bytesobj)
NameError: name 'c_bytesobj' is not defined


==
FAIL: decompress (blosc.toplevel)
Doctest: blosc.toplevel.decompress
--
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 2204, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for blosc.toplevel.decompress
  File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 549, in 
decompress

--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 579, in
blosc.toplevel.decompress
Failed example:
a_bytesobj = a.tostring()
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
a_bytesobj = a.tostring()
AttributeError: 'array.array' object has no attribute 'tostring'
--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 580, in
blosc.toplevel.decompress
Failed example:
c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
c_bytesobj = blosc.compress(a_bytesobj, typesize=4)
NameError: name 'a_bytesobj' is not defined
--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 581, in
blosc.toplevel.decompress
Failed example:
a_bytesobj2 = blosc.decompress(c_bytesobj)
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
a_bytesobj2 = blosc.decompress(c_bytesobj)
NameError: name 'c_bytesobj' is not defined
--
File "/usr/lib/python3/dist-packages/blosc/toplevel.py", line 582, in
blosc.toplevel.decompress
Failed example:
a_bytesobj == a_bytesobj2
Exception raised:
Traceback (most recent call last):
  File "/usr/lib/python3.9/doctest.py", line 1336, in __run
exec(compile(example.source, filename, "single",
  File "", line 1, in 
a_bytesobj == a_bytesobj2
NameError: name 'a_bytesobj' is not defined


--
Ran 37 tests in 4.209s

FAILED (failures=2)


[Python-modules-team] Bug#973015: python-adal's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:python-adal
Version: 1.2.2-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

/usr/lib/python3.9/http/client.py:245:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = , mode = 'rb'
bufsize = -1

def makefile(self, mode='r', bufsize=-1):
"""Returns this fake socket's own tempfile buffer.

If there is an entry associated with the socket, the file
descriptor gets filled in with the entry data before being
returned.
"""
self._mode = mode
self._bufsize = bufsize

if self._entry:
t = threading.Thread(
target=self._entry.fill_filekind, args=(self.fd,)
)
t.start()
if self.timeout == socket._GLOBAL_DEFAULT_TIMEOUT:
timeout = None
else:
timeout = self.timeout
t.join(timeout)
>   if t.isAlive():
E   AttributeError: 'Thread' object has no attribute 'isAlive'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#973014: genshi's autopkg tests are failing with python3.9

2020-10-27 Thread Matthias Klose
Package: src:genshi
Version: 0.7.3-2
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9


ERROR: test_extract_i18n_msg_with_other_directives_nested
(genshi.filters.tests.i18n.MsgDirectiveTestCase)
--
Traceback (most recent call last):
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/filters/tests/i18n.py",
line 792, in test_extract_i18n_msg_with_other_directives_nested
messages = list(translator.extract(tmpl.stream))
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/base.py",
line 454, in stream
self._prepare_self()
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/base.py",
line 473, in _prepare_self
self._stream = list(self._prepare(self._stream, inlined))
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/base.py",
line 490, in _prepare
directive, substream = cls.attach(self, substream, value,
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/directives.py",
line 718, in attach
return super(WithDirective, cls).attach(template, stream, value,
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/directives.py",
line 82, in attach
return cls(value, template, namespaces, *pos[1:]), stream
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/directives.py",
line 706, in __init__
Expression(node.value, template.filepath,
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/eval.py",
line 93, in __init__
self.code = _compile(node, self.source, mode=self.mode,
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/eval.py",
line 451, in _compile
tree = xform().visit(node)
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 798, in visit
return visitor(node)
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 820, in _clone
value = self.visit(value)
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 798, in visit
return visitor(node)
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 816, in _clone
value = [self.visit(x) for x in value]
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 816, in 
value = [self.visit(x) for x in value]
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/astutil.py",
line 798, in visit
return visitor(node)
  File
"/tmp/autopkgtest-lxc.zz1p467h/downtmp/build.oV9/src/build/lib/genshi/template/eval.py",
line 640, in visit_Subscript
not isinstance(node.slice, _ast.Index):
AttributeError: module '_ast' has no attribute 'Index'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#971118: NMU to skip that test for a first build with Python 3.9

2020-10-22 Thread Matthias Klose
Doing a NMU to skip that test for a first build with Python 3.9, so that we can
build and test more packages for Python 3.9.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#969648: Bug#972033: python3.9, dask, pandas 1.1

2020-10-16 Thread Matthias Klose
On 10/14/20 8:11 PM, Matthias Klose wrote:
> On 10/14/20 9:47 AM, Rebecca N. Palmer wrote:
>> Control: severity 969648 serious
>> Control: tags 969650 pending
>> Control: tags 972033 pending
>>
>> Python 3.9 related breakage has been declared RC, so if nobody objects,  I
>> intend to upload pandas 1.1 to unstable (possibly tonight, but it probably 
>> won't
>> build before numpy and matplotlib are binNMUd for Python 3.9) despite the 
>> dask
>> breakage.
>>
>> As noted in #969648, it is likely that dask can be fixed, but this has not 
>> been
>> tested in Debian.  (Testing dask also currently fails for lack of a Python 
>> 3.9
>> numpy.)
> 
> please wait until the required binNMUs are done.

please give it a try now, and upload once the matplotlib binNMUs are also done
for mipsel*

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#969648: Bug#972033: python3.9, dask, pandas 1.1

2020-10-14 Thread Matthias Klose
On 10/14/20 9:47 AM, Rebecca N. Palmer wrote:
> Control: severity 969648 serious
> Control: tags 969650 pending
> Control: tags 972033 pending
> 
> Python 3.9 related breakage has been declared RC, so if nobody objects,  I
> intend to upload pandas 1.1 to unstable (possibly tonight, but it probably 
> won't
> build before numpy and matplotlib are binNMUd for Python 3.9) despite the dask
> breakage.
> 
> As noted in #969648, it is likely that dask can be fixed, but this has not 
> been
> tested in Debian.  (Testing dask also currently fails for lack of a Python 3.9
> numpy.)

please wait until the required binNMUs are done.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972027: pycxx needs a sourceful upload to support python3.9

2020-10-14 Thread Matthias Klose
7.1.4 now uploaded to the delayed queue.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972195: python-setproctitle's tests fail in unstable

2020-10-14 Thread Matthias Klose
Package: src:python-setproctitle
Version: 1.1.10-2
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9


python-setproctitle's tests fail in unstable.

[...]
==
FAIL: No problem with encoded argv[0] path.
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_setproctitle/build/tests/setproctitle_test.py",
line 272, in test_weird_path
rv = self.run_script(r"""
  File
"/<>/.pybuild/cpython3_3.8_setproctitle/build/tests/setproctitle_test.py",
line 416, in run_script
self.fail("test script failed")
AssertionError: test script failed
 >> begin captured stdout << -
b''
b'/bin/sh: 1: /tmp/tmp5aaqs7oa/u20ac/u2603/python: not found\n'

- >> end captured stdout << --

[...]
==
FAIL: Title can contain unicode characters.
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_setproctitle/build/tests/setproctitle_test.py",
line 230, in test_unicode
self.fail("unexpected ps output: %r" % title)
AssertionError: unexpected ps output: 'Hello, ☃!'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972153: python-fakeredis autopkg test fails

2020-10-13 Thread Matthias Klose
Package: src:python-fakeredis
Version: 1.4.3-1
Severity: serious
Tags: sid bullseye

python-fakeredis autopkg test fails. missing test dependency?


[...]
test/test_fakeredis.py::test_lastsave[FakeStrictRedis] PASSED[ 67%]
test/test_fakeredis.py::test_time[FakeStrictRedis] ERROR [ 67%]

 ERRORS 
_ ERROR at setup of test_time[FakeStrictRedis] _
file /tmp/autopkgtest-lxc.tksev830/downtmp/build.Tqp/src/test/test_fakeredis.py,
line 3361
  @fake_only
  def test_time(r, mocker):
E   fixture 'mocker' not found
>   available fixtures: cache, capfd, capfdbinary, caplog, capsys,
capsysbinary, cov, create_redis, doctest_namespace, fake_server,
is_redis_running, monkeypatch, no_cover, pytestconfig, r, record_property,
record_testsuite_property, record_xml_attribute, recwarn, tmp_path,
tmp_path_factory, tmpdir, tmpdir_factory
>   use 'pytest --fixtures [testpath]' for help on them.

/tmp/autopkgtest-lxc.tksev830/downtmp/build.Tqp/src/test/test_fakeredis.py:3361
=== 760 passed, 26 skipped, 1 error in 23.98 seconds ===
/usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:9:
DeprecationWarning: the imp module is deprecated in favour of importlib; see the
module's documentation for alternative uses
  import imp
autopkgtest [20:17:10]: test command1: ---]
autopkgtest [20:17:10]: test command1:  - - - - - - - - - - results - - - - - -
- - - -
command1 FAIL non-zero exit status 1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972027: fixed by new upstream version

2020-10-12 Thread Matthias Klose
Control: tags -1 + patch

fixed by a new upstream, builds with the current packaging. See:
https://launchpad.net/~pythoneers/+archive/ubuntu/python3.9/+sourcepub/11653549/+listing-archive-extra

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972027: pycxx needs a sourceful upload to support python3.9

2020-10-11 Thread Matthias Klose
Package: src:pycxx
Version: 7.1.3-0.2
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

pycxx needs a sourceful upload to support python3.9, to let packages like pysvn
build:

[...]
Info: Configure for python 3.9.0 in exec_prefix /usr
Debian lib directory %s
 /usr/lib/x86_64-linux-gnu
Error: Cannot find PyCXX include CXX/Version.hxx - use --pycxx-dir
make[1]: *** [debian/rules:18: override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<>'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972023: python-enable ftbfs with python3.9 as supported python3 version

2020-10-11 Thread Matthias Klose
Package: src:python-enable
Version: 4.8.1-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

[...]
test_vertical_mouse_wheel_without_pixel_delta
(enable.tests.qt4.mouse_wheel_test_case.MouseWheelTestCase) ... ok
test_minimum_vertical (enable.tests.qt4.scrollbar_test.ScrollBarTest) ...
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.9_enable/build/enable/qt4/base_window.py",
line 213, in paintEvent
self.handler.paintEvent(event)
  File
"/<>/.pybuild/cpython3_3.9_enable/build/enable/qt4/base_window.py",
line 65, in paintEvent
self._enable_window._paint(event)
  File
"/<>/.pybuild/cpython3_3.9_enable/build/enable/abstract_window.py",
line 462, in _paint
self._gc = self._create_gc(size)
  File
"/<>/.pybuild/cpython3_3.9_enable/build/enable/qt4/image.py", line
20, in _create_gc
gc = GraphicsContext((size[0]+1, size[1]+1), pix_format=pix_format,
  File
"/<>/.pybuild/cpython3_3.9_enable/build/kiva/agg/__init__.py", line
38, in __init__
GraphicsContextArray.__init__(self, pixel_map.bmp_array,
  File "/<>/.pybuild/cpython3_3.9_enable/build/kiva/agg/agg.py",
line 859, in __init__
_swig_setattr(self, GraphicsContextArray, 'this', obj)
NameError: name '_swig_setattr' is not defined
Aborted (core dumped)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=134: cd
/<>/.pybuild/cpython3_3.9_enable/build; python3.9 -m nose -v
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.9 3.8"
returned exit code 13

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972019: pygame ftbfs with python3.9 as supported python version

2020-10-11 Thread Matthias Klose
Package: src:pygame
Version: 1.9.6+dfsg-3
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

[...]
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security
-g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<>/pygame-1.9.6+dfsg=.
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -DENABLE_NEWBUF=1 -I/usr/X11R6/include
-I/usr/include/SDL -I/usr/include -I/usr/include -I/usr/include/python3.9 -c
src_c/pypm.c -o build/temp.linux-x86_64-3.9/src_c/pypm.o
src_c/pypm.c: In function ‘__pyx_pf_4pypm_6Output___init__’:
src_c/pypm.c:2247:20: warning: assignment discards ‘const’ qualifier from
pointer target type [-Wdiscarded-qualifiers]
 2247 | __pyx_v_errmsg = Pm_GetErrorText(__pyx_v_err);
  |^
src_c/pypm.c: In function ‘PyInit_pypm’:
src_c/pypm.c:6419:26: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no
member named ‘tp_print’
 6419 |   __pyx_type_4pypm_Output.tp_print = 0;
  |  ^
src_c/pypm.c:6434:25: error: ‘PyTypeObject’ {aka ‘struct _typeobject’} has no
member named ‘tp_print’
 6434 |   __pyx_type_4pypm_Input.tp_print = 0;
  | ^
src_c/pypm.c: In function ‘__Pyx_ParseOptionalKeywords’:
src_c/pypm.c:7037:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Wdeprecated-declarations]
 7037 | (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
  | ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
 from /usr/include/python3.9/Python.h:97,
 from src_c/pypm.c:4:
/usr/include/python3.9/cpython/unicodeobject.h:446:26: note: declared here
  446 | static inline Py_ssize_t _PyUnicode_get_wstr_length(PyObject *op) {
  |  ^~
src_c/pypm.c:7037:21: warning: ‘PyUnicode_AsUnicode’ is deprecated
[-Wdeprecated-declarations]
 7037 | (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
  | ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
 from /usr/include/python3.9/Python.h:97,
 from src_c/pypm.c:4:
/usr/include/python3.9/cpython/unicodeobject.h:580:45: note: declared here
  580 | Py_DEPRECATED(3.3) PyAPI_FUNC(Py_UNICODE *) PyUnicode_AsUnicode(
  | ^~~
src_c/pypm.c:7037:21: warning: ‘_PyUnicode_get_wstr_length’ is deprecated
[-Wdeprecated-declarations]
 7037 | (PyUnicode_GET_SIZE(**name) !=
PyUnicode_GET_SIZE(key)) ? 1 :
  | ^
In file included from /usr/include/python3.9/unicodeobject.h:1026,
 from /usr/include/python3.9/Python.h:97,
 from src_c/pypm.c:4:

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#972012: mod-wsgi ftbfs with python3.9 as supported python version

2020-10-11 Thread Matthias Klose
Package: src:mod-wsgi
Version: 4.7.1-2
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.9

[...]
make[1]: Entering directory '/<>'
mkdir -p build-3.9 3.8
find . -mindepth 1 -maxdepth 1 -name 'debian' -o -name 'build-*' -o -exec cp -r
{} build-3.9 3.8 \;
cp: cannot copy a directory, './3.8', into itself, '3.8/3.8'
dh_auto_configure -Bbuild-3.9 3.8 -- --with-apxs=/usr/bin/apxs2
--with-python=/usr/bin/python3.9 3.8
cd build-3.9 && ../configure --build=x86_64-linux-gnu --prefix=/usr
--includedir=\${prefix}/include --mandir=\${prefix}/share/man
--infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var
--disable-option-checking --disable-silent-rules
--libdir=\${prefix}/lib/x86_64-linux-gnu
--libexecdir=\${prefix}/lib/x86_64-linux-gnu --runstatedir=/run
--disable-maintainer-mode --disable-dependency-tracking
--with-apxs=/usr/bin/apxs2 --with-python=/usr/bin/python3.9 3.8
configure: WARNING: you should use --build, --host, --target
checking for 3.8-gcc... no
checking for gcc... gcc
configure: WARNING: using cross tools not prefixed with host triplet
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for prctl... yes
checking Apache version... 2.X
configure: creating ./config.status
config.status: creating Makefile
make[1]: Leaving directory '/<>'
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<>'
dh_auto_build -Bbuild-3.9 3.8
cd build-3.9 && make -j4
make[2]: Entering directory '/<>/build-3.9'
make[2]: *** No rule to make target 'src/server/mod_wsgi.c', needed by
'src/server/mod_wsgi.la'.  Stop.
make[2]: Leaving directory '/<>/build-3.9'
dh_auto_build: error: cd build-3.9 && make -j4 returned exit code 2

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#970807: python3-venv is gone

2020-09-23 Thread Matthias Klose
Package: xonsh
Version: 0.9.20+dfsg-1
Severity: serious
Tags: sid bullseye

This package depends or build-depends on python3-venv, which is gone upstream.
Please remove or re-implement that usage.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#969533: sqlobject autopkg test failure

2020-09-04 Thread Matthias Klose
Package: src:sqlobject
Version: 3.8.0+dfsg-1
Severity: serious
Tags: sid bullseye

seen in unstable:

autopkgtest [10:33:40]: test testdb-setuptools: [---
running develop
running egg_info
creating testlib.egg-info
writing testlib.egg-info/PKG-INFO
writing dependency_links to testlib.egg-info/dependency_links.txt
writing entry points to testlib.egg-info/entry_points.txt
writing requirements to testlib.egg-info/requires.txt
writing top-level names to testlib.egg-info/top_level.txt
writing manifest file 'testlib.egg-info/SOURCES.txt'
reading manifest file 'testlib.egg-info/SOURCES.txt'
writing manifest file 'testlib.egg-info/SOURCES.txt'
running build_ext
Creating /tmp/tmp.lmNqOQs2qz/rundir3/testlib.egg-link (link to .)
Adding testlib 0.0.1 to easy-install.pth file
Installing testdb script to /tmp/tmp.lmNqOQs2qz/rundir3

Installed /tmp/tmp.lmNqOQs2qz/mypkg
Processing dependencies for testlib==0.0.1
Searching for SQLObject==3.8.0
Best match: SQLObject 3.8.0
Adding SQLObject 3.8.0 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Searching for FormEncode==1.3.1
Best match: FormEncode 1.3.1
Adding FormEncode 1.3.1 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for testlib==0.0.1
Traceback (most recent call last):
  File "./testdb", line 33, in 
sys.exit(load_entry_point('testlib', 'console_scripts', 'testdb')())
  File "./testdb", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.8/importlib/metadata.py", line 504, in distribution
return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: testlib
autopkgtest [10:33:40]: test testdb-setuptools: ---]
autopkgtest [10:33:40]: test testdb-setuptools:  - - - - - - - - - - results - -
- - - - - - - -
testdb-setuptoolsFAIL non-zero exit status 1
autopkgtest [10:33:41]: test testdb-setuptools:  - - - - - - - - - - stderr - -
- - - - - - - -
Traceback (most recent call last):
  File "./testdb", line 33, in 
sys.exit(load_entry_point('testlib', 'console_scripts', 'testdb')())
  File "./testdb", line 22, in importlib_load_entry_point
for entry_point in distribution(dist_name).entry_points
  File "/usr/lib/python3.8/importlib/metadata.py", line 504, in distribution
return Distribution.from_name(distribution_name)
  File "/usr/lib/python3.8/importlib/metadata.py", line 177, in from_name
raise PackageNotFoundError(name)
importlib.metadata.PackageNotFoundError: testlib

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#968399: pyxdg ftbfs, test failure

2020-08-14 Thread Matthias Klose
Package: src:pyxdg
Version: 0.26-3
Severity: serious
Tags: sid bullseye

seen in unstable, in the build, and in the autopkg tests:

[...]
==
ERROR: test_rule_from_node (test-menu-rules.RulesTest)
--
Traceback (most recent call last):
  File
"/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/test/test-menu-rules.py",
line 166, in test_rule_from_node
rule = parser.parse_rule(root)
  File "/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py",
line 768, in parse_rule
return Rule(type, tree)
  File "/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build/xdg/Menu.py",
line 421, in __init__
self.code = compile(self.expression, '', 'eval')
ValueError: Name node can't be used with 'False' constant

--
Ran 55 tests in 2.178s

FAILED (errors=1)
E: pybuild pybuild:352: test: plugin distutils failed with: exit code=1: cd
/packages/tmp/pyxdg-0.26/.pybuild/cpython3_3.8_xdg/build; python3.8 -m nose -v 
test
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p 3.8
returned exit code 13
make: *** [debian/rules:7: build] Error 25

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#967043: mod-wsgi: Unversioned Python removal in sid/bullseye

2020-08-03 Thread Matthias Klose
Package: src:mod-wsgi
Version: 4.6.8-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2unversioned

see 
https://ci.debian.net/data/autopkgtest/testing/amd64/m/mod-wsgi/6517578/log.gz

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

We will keep some Python2 package as discussed in
https://lists.debian.org/debian-python/2020/07/msg00039.html
but removing the unversioned python packages python-minimal, python,
python-dev, python-dbg, python-doc.

Your package either build-depends, depends on one of those packages.
Please either convert these packages to Python3, or if that is not
possible, replaces the dependencies on the unversioned Python
packages with one of the python2 dependencies (python2, python2-dev,
python2-dbg, python2-doc).

Please check for dependencies, build dependencies AND autopkg tests.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#967037: python-socksipy: Unversioned Python removal in sid/bullseye

2020-08-03 Thread Matthias Klose
Package: src:python-socksipy
Version: 1.6.8+dfsg-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2unversioned

see
https://ci.debian.net/data/autopkgtest/testing/arm64/p/python-socksipy/6517914/log.gz

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

We will keep some Python2 package as discussed in
https://lists.debian.org/debian-python/2020/07/msg00039.html
but removing the unversioned python packages python-minimal, python,
python-dev, python-dbg, python-doc.

Your package either build-depends, depends on one of those packages.
Please either convert these packages to Python3, or if that is not
possible, replaces the dependencies on the unversioned Python
packages with one of the python2 dependencies (python2, python2-dev,
python2-dbg, python2-doc).

Please check for dependencies, build dependencies AND autopkg tests.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#967036: pycparser: Unversioned Python removal in sid/bullseye

2020-08-03 Thread Matthias Klose
Package: src:pycparser
Version: 2.20-2
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2unversioned

see 
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pycparser/6517583/log.gz

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

We will keep some Python2 package as discussed in
https://lists.debian.org/debian-python/2020/07/msg00039.html
but removing the unversioned python packages python-minimal, python,
python-dev, python-dbg, python-doc.

Your package either build-depends, depends on one of those packages.
Please either convert these packages to Python3, or if that is not
possible, replaces the dependencies on the unversioned Python
packages with one of the python2 dependencies (python2, python2-dev,
python2-dbg, python2-doc).

Please check for dependencies, build dependencies AND autopkg tests.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#966751: libapache2-mod-python: Unversioned Python removal in sid/bullseye

2020-08-02 Thread Matthias Klose
Package: src:libapache2-mod-python
Version: 3.3.1-11
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2unversioned

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

We will keep some Python2 package as discussed in
https://lists.debian.org/debian-python/2020/07/msg00039.html
but removing the unversioned python packages python-minimal, python,
python-dev, python-dbg, python-doc.

Your package either build-depends, depends on one of those packages.
Please either convert these packages to Python3, or if that is not
possible, replaces the dependencies on the unversioned Python
packages with one of the python2 dependencies (python2, python2-dev,
python2-dbg, python2-doc).

Please check for dependencies, build dependencies AND autopkg tests.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#966763: mod-wsgi: Unversioned Python removal in sid/bullseye

2020-08-02 Thread Matthias Klose
Package: src:mod-wsgi
Version: 4.6.8-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: py2unversioned

Python2 becomes end-of-live upstream, and Debian aims to remove
Python2 from the distribution, as discussed in
https://lists.debian.org/debian-python/2019/07/msg00080.html

We will keep some Python2 package as discussed in
https://lists.debian.org/debian-python/2020/07/msg00039.html
but removing the unversioned python packages python-minimal, python,
python-dev, python-dbg, python-doc.

Your package either build-depends, depends on one of those packages.
Please either convert these packages to Python3, or if that is not
possible, replaces the dependencies on the unversioned Python
packages with one of the python2 dependencies (python2, python2-dev,
python2-dbg, python2-doc).

Please check for dependencies, build dependencies AND autopkg tests.

If there are questions, please refer to the wiki page for the removal:
https://wiki.debian.org/Python/2Removal, or ask for help on IRC
#debian-python, or the debian-pyt...@lists.debian.org mailing list.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#959619: urwid: FTBFS: dh_auto_test: error: pybuild --test -i python{version} -p 3.8 returned exit code 13

2020-05-20 Thread Matthias Klose
I see this on the Launchpad buildds, building the package. Adding a build
dependency on locales-all fixes this.  I assume that the same dependency needs
to be added for the autopkg test.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#957780: scipy: ftbfs with GCC-10

2020-04-17 Thread Matthias Klose
Package: src:scipy
Version: 1.3.3-3
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/scipy_1.3.3-3_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
stat.h:8:35:

Warning: Unused variable ‘t4’ declared at (1) [-Wunused-variable]
stat.h:8:39:

Warning: Unused variable ‘t5’ declared at (1) [-Wunused-variable]
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/zmout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/second_NONE.f
scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/second_NONE.f:17:27:

   17 |   REAL   T1
  |   1
Warning: Unused variable ‘t1’ declared at (1) [-Wunused-variable]
scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/second_NONE.f:20:36:

   20 |   REAL   TARRAY( 2 )
  |1
Warning: Unused variable ‘tarray’ declared at (1) [-Wunused-variable]
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/smout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/cvout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/ssortr.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/SRC/sstatn.f
stat.h:8:19:

Warning: Unused variable ‘t0’ declared at (1) [-Wunused-variable]
stat.h:8:23:

Warning: Unused variable ‘t1’ declared at (1) [-Wunused-variable]
stat.h:8:27:

Warning: Unused variable ‘t2’ declared at (1) [-Wunused-variable]
stat.h:8:31:

Warning: Unused variable ‘t3’ declared at (1) [-Wunused-variable]
stat.h:8:35:

Warning: Unused variable ‘t4’ declared at (1) [-Wunused-variable]
stat.h:8:39:

Warning: Unused variable ‘t5’ declared at (1) [-Wunused-variable]
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/dmout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/zvout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/svout.f
gfortran:f77: /<>/scipy/_build_utils/src/wrap_dummy_g77_abi.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/dvout.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/icnteq.f
gfortran:f77: scipy/sparse/linalg/eigen/arpack/ARPACK/UTIL/icopy.f
Running from scipy source directory.
/usr/lib/python3/dist-packages/numpy/distutils/system_info.py:690: UserWarning: 
Optimized (vendor) Blas libraries are not found.
Falls back to netlib Blas library which has worse performance.
A better performance should be easily gained by switching
Blas library.
  self.calc_info()
/usr/lib/python3/dist-packages/numpy/distutils/system_info.py:782: UserWarning: 
Specified path /usr/local/include/python3.8 is invalid.
  return self.get_paths(self.section, key)
/usr/lib/python3/dist-packages/numpy/distutils/system_info.py:782: UserWarning: 
Specified path /usr/include/suitesparse/python3.8 is invalid.
  return self.get_paths(self.section, key)
/usr/lib/python3/dist-packages/numpy/distutils/fcompiler/__init__.py:517: 
UserWarning: FFLAGS is used as is, not appended to flags already defined by 
numpy.distutils! Use NPY_DISTUTILS_APPEND_FLAGS=1 to obtain appending behavior 
instead (this behavior will become default in a future release).
  fflags = self.flag_vars.flags + dflags + oflags + aflags
/usr/lib/python3/dist-packages/numpy/distutils/fcompiler/__init__.py:517: 
UserWarning: FFLAGS is used as is, not appended to flags already defined by 
numpy.distutils! Use NPY_DISTUTILS_APPEND_FLAGS=1 to obtain appending behavior 
instead (this behavior will become default in a future release).
  fflags = self.flag_vars.flags + dflags + oflags + aflags
/usr/lib/python3/dist-packages/numpy/distutils/fcompiler/__init__.py:517: 
UserWarning: FFLAGS is used as is, not appended to flags already defined by 
numpy.distutils! Use NPY_DISTUTILS_APPEND_FLAGS=1 to obtain appending behavior 
instead (this behavior will become default in a future release).
  fflags = self.flag_vars.flags + dflags + oflags + aflags

[Python-modules-team] Bug#957725: qscintilla2: ftbfs with GCC-10

2020-04-17 Thread Matthias Klose
Package: src:qscintilla2
Version: 2.11.2+dfsg-5
Severity: normal
Tags: sid bullseye
User: debian-...@lists.debian.org
Usertags: ftbfs-gcc-10

Please keep this issue open in the bug tracker for the package it
was filed for.  If a fix in another package is required, please
file a bug for the other package (or clone), and add a block in this
package. Please keep the issue open until the package can be built in
a follow-up test rebuild.

The package fails to build in a test rebuild on at least amd64 with
gcc-10/g++-10, but succeeds to build with gcc-9/g++-9. The
severity of this report will be raised before the bullseye release,
so nothing has to be done for the buster release.

The full build log can be found at:
http://people.debian.org/~doko/logs/gcc10-20200225/qscintilla2_2.11.2+dfsg-5_unstable_gcc10.log
The last lines of the build log are at the end of this report.

To build with GCC 10, either set CC=gcc-10 CXX=g++-10 explicitly,
or install the gcc, g++, gfortran, ... packages from experimental.

  apt-get -t=experimental install g++ 

Common build failures are new warnings resulting in build failures with
-Werror turned on, or new/dropped symbols in Debian symbols files.
For other C/C++ related build failures see the porting guide at
http://gcc.gnu.org/gcc-10/porting_to.html

[...]
  
(optional=templinst)_ZSt9iter_swapIN9__gnu_cxx17__normal_iteratorIPiSt6vectorIiSaIiS6_EvT_T0_@Base
 2.11.2
  
(optional=templinst)_ZSt9iter_swapIN9__gnu_cxx17__normal_iteratorIPwSt6vectorIwSaIwS6_EvT_T0_@Base
 2.11.2
- 
(optional=templinst)_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ESt4pairINSt17__decay_and_stripIT_E6__typeENS7_IT0_E6__typeEEOS8_OSB_@Base
 2.11.2
- 
(optional=templinst)_ZSt9make_pairINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEES5_ESt4pairINSt17__decay_and_stripIT_E6__typeENS7_IT0_E6__typeEEOS8_OSB_@Base
 2.11.2
- 
(optional=templinst)_ZSt9make_pairIccESt4pairINSt17__decay_and_stripIT_E6__typeENS1_IT0_E6__typeEEOS2_OS5_@Base
 2.11.2
- 
(optional=templinst)_ZSt9make_pairIwwESt4pairINSt17__decay_and_stripIT_E6__typeENS1_IT0_E6__typeEEOS2_OS5_@Base
 2.11.2
+#MISSING: 2.11.2+dfsg-5# 
(optional=templinst)_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ESt4pairINSt17__decay_and_stripIT_E6__typeENS7_IT0_E6__typeEEOS8_OSB_@Base
 2.11.2
+ 
_ZSt9make_pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS7_INS8_IT0_E4typeEE6__typeEEOS9_OSE_@Base
 2.11.2+dfsg-5
+#MISSING: 2.11.2+dfsg-5# 
(optional=templinst)_ZSt9make_pairINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEES5_ESt4pairINSt17__decay_and_stripIT_E6__typeENS7_IT0_E6__typeEEOS8_OSB_@Base
 2.11.2
+ 
_ZSt9make_pairINSt7__cxx1112basic_stringIwSt11char_traitsIwESaIwEEES5_ESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS7_INS8_IT0_E4typeEE6__typeEEOS9_OSE_@Base
 2.11.2+dfsg-5
+#MISSING: 2.11.2+dfsg-5# 
(optional=templinst)_ZSt9make_pairIccESt4pairINSt17__decay_and_stripIT_E6__typeENS1_IT0_E6__typeEEOS2_OS5_@Base
 2.11.2
+ 
_ZSt9make_pairIccESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_@Base
 2.11.2+dfsg-5
+#MISSING: 2.11.2+dfsg-5# 
(optional=templinst)_ZSt9make_pairIwwESt4pairINSt17__decay_and_stripIT_E6__typeENS1_IT0_E6__typeEEOS2_OS5_@Base
 2.11.2
+ 
_ZSt9make_pairIwwESt4pairINSt25__strip_reference_wrapperINSt5decayIT_E4typeEE6__typeENS1_INS2_IT0_E4typeEE6__typeEEOS3_OS8_@Base
 2.11.2+dfsg-5
  
(optional=templinst)_ZSt9remove_ifIN9__gnu_cxx17__normal_iteratorIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt6vectorIS7_SaIS7_PFbRKS7_EET_SH_SH_T0_@Base
 2.11.2
  (optional=templinst)_ZSt9use_facetIKSt5ctypeIcEERKT_RKSt6locale@Base 2.11.2
  (optional=templinst)_ZSt9use_facetIKSt5ctypeIwEERKT_RKSt6locale@Base 2.11.2
@@ -16465,8 +17326,8 @@
  
_ZSteqIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIA_cSt14default_deleteIS3_EESt6vectorIS6_SaIS6_EbRKSt13move_iteratorIT_ESG_@Base
 2.11.2
  
(optional=templinst)_ZSteqIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrIN9Scintilla15MarkerHandleSetESt14default_deleteIS4_EESt6vectorIS7_SaIS7_EbRKSt13move_iteratorIT_ESH_@Base
 2.11.2
  
(optional=templinst)_ZSteqIN9__gnu_cxx17__normal_iteratorIPSt10unique_ptrISt6vectorIiSaIiEESt14default_deleteIS5_EES3_IS8_SaIS8_EbRKSt13move_iteratorIT_ESH_@Base
 2.11.2
- 
(optional=templinst)_ZSteqINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcRS5_PS5_EbRKSt15_Deque_iteratorIT_T0_T1_ESE_@Base
 2.11.2
- 
(optional=templinst)_ZSteqINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIwRS5_PS5_EbRKSt15_Deque_iteratorIT_T0_T1_ESE_@Base
 2.11.2
+#MISSING: 2.11.2+dfsg-5# 
(optional=templinst)_ZSteqINSt8__detail9_StateSeqINSt7__cxx1112regex_traitsIcRS5_PS5_EbRKSt15_Deque_iteratorIT_T0_T1_ESE_@Base
 2.11.2
+#MISSING: 2.11.2+dfsg-5# 

[Python-modules-team] Bug#951702: subvertpy ftbfs on 64bit big endian targets

2020-02-20 Thread Matthias Klose
Package: src:subvertpy
Version: 0.11.0~git20191228+2423bf1-1
Severity: serious
Tags: sid bullseye

seen on ppc64 and s390x at least:

[...]
Generating objects inventory at apidocs/objects.inv
make[2]: Leaving directory '/<>'
make[1]: Leaving directory '/<>'
   dh_auto_test -a -O--buildsystem=pybuild
I: pybuild base:217: python2.7 setup.py test
running test
running build
running build_py
running build_ext
running build_scripts
Running unittest without install.
Segmentation fault
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=139:
python2.7 setup.py test
dh_auto_test: error: pybuild --test -i python{version} -p 2.7 returned exit 
code 13

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#951032: not fixed

2020-02-11 Thread Matthias Klose
Control: reopen -1

still fails with 1.9.0-2:

 ERRORS 
_ ERROR collecting tests/test_macos_checks.py __
ImportError while importing test module
'/tmp/autopkgtest-lxc.i5mf5v7q/downtmp/autopkgtest_tmp/tests/test_macos_checks.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_macos_checks.py:3: in 
import mock
E   ModuleNotFoundError: No module named 'mock'

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#950841: radon fails autopkg tests with python3.8, fixed in new upstream 4.1.0

2020-02-07 Thread Matthias Klose
Package: src:radon
Version: 3.0.3+dfsg-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

radon fails autopkg tests with python3.8, apparently fixed in new upstream 
4.1.0.

[...]
=== FAILURES ===
 test_visitor[\n a += 3\n b += 4\n c *= 3\n -expected7] 

code = '\n a += 3\n b += 4\n c *= 3\n ', expected = (3, 6, 2, 5)

@pytest.mark.parametrize('code,expected', SIMPLE_BLOCKS)
def test_visitor(code, expected):
visitor = HalsteadVisitor.from_code(dedent(code))
>   assert expected == (visitor.operators, visitor.operands,
visitor.distinct_operators, 
visitor.distinct_operands)
E   assert (3, 6, 2, 5) == (3, 6, 2, 6)
E At index 3 diff: 5 != 6
E Use -v to get the full diff

radon/tests/test_halstead.py:71: AssertionError
_ test_visitor[\n a = b < 4\n c = i <= 45 >= d\n k = 4 < 2\n
-expected9] _

code = '\n a = b < 4\n c = i <= 45 >= d\n k = 4 < 2\n '
expected = (4, 7, 3, 6)

@pytest.mark.parametrize('code,expected', SIMPLE_BLOCKS)
def test_visitor(code, expected):
visitor = HalsteadVisitor.from_code(dedent(code))
>   assert expected == (visitor.operators, visitor.operands,
visitor.distinct_operators, 
visitor.distinct_operands)
E   assert (4, 7, 3, 6) == (4, 7, 3, 7)
E At index 3 diff: 6 != 7
E Use -v to get the full diff

radon/tests/test_halstead.py:71: AssertionError
_ test_mi_visit[\n class A(object):\n\n def __init__(self, n):\n
# this is awesome\n self.n = sum(i for i in range(n) if
i&1)\n\n def m(self, j):\n """Just compute it.\n
Example.\n """\n if j > 421:\n return
(self.n + 2) ** j\n return (self.n - 2) ** j\n\n a = A(4)\n
a.m(42)  # i don't know why, but it works\n-93.84027450359395-True] _

code = "class A(object):\n\ndef __init__(self, n):\n# this is
awesome\nself.n = sum(i for i in range(n) i... return (self.n + 2)
** j\nreturn (self.n - 2) ** j\n\na = A(4)\na.m(42)  # i don't know why,
but it works"
expected = 93.84027450359395, count_multi = True

@pytest.mark.parametrize('code,expected,count_multi', MI_VISIT_CASES)
def test_mi_visit(code, expected, count_multi):
code = dedent(code)
expected = expected
count_multi = count_multi
>   assert mi_visit(code, count_multi) == expected
E   assert 93.75365939134126 == 93.84027450359395
E+  where 93.75365939134126 = mi_visit("class A(object):\n\ndef
__init__(self, n):\n# this is awesome\nself.n = sum(i for i in
range(n) i... return (self.n + 2) ** j\nreturn (self.n - 2) **
j\n\na = A(4)\na.m(42)  # i don't know why, but it works", True)

radon/tests/test_other_metrics.py:130: AssertionError
_ test_mi_visit[\n class A(object):\n\n def __init__(self, n):\n
# this is awesome\n self.n = sum(i for i in range(n) if
i&1)\n\n def m(self, j):\n """Just compute it.\n
Example.\n """\n if j > 421:\n return
(self.n + 2) ** j\n return (self.n - 2) ** j\n\n a = A(4)\n
a.m(42)  # i don't know why, but it works\n-88.84176333569131-False] _

code = "class A(object):\n\ndef __init__(self, n):\n# this is
awesome\nself.n = sum(i for i in range(n) i... return (self.n + 2)
** j\nreturn (self.n - 2) ** j\n\na = A(4)\na.m(42)  # i don't know why,
but it works"
expected = 88.84176333569131, count_multi = False

@pytest.mark.parametrize('code,expected,count_multi', MI_VISIT_CASES)
def test_mi_visit(code, expected, count_multi):
code = dedent(code)
expected = expected
count_multi = count_multi
>   assert mi_visit(code, count_multi) == expected
E   assert 88.75514822343865 == 88.84176333569131
E+  where 88.75514822343865 = mi_visit("class A(object):\n\ndef
__init__(self, n):\n# this is awesome\nself.n = sum(i for i in
range(n) i... return (self.n + 2) ** j\nreturn (self.n - 2) **
j\n\na = A(4)\na.m(42)  # i don't know why, but it works", False)

radon/tests/test_other_metrics.py:130: AssertionError
= 4 failed, 382 passed in 0.74 seconds =

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#950212: xonsh autopkg test fails with python3.8

2020-01-30 Thread Matthias Klose
Package: src:xonsh
Version: 0.9.13+dfsg-1
Severity: important
Tags: sid bullseye patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

xonsh autopkg test fails with python3.8, it needs at least
https://github.com/xonsh/xonsh/pull/3384

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#950210: autopkg test failure with python3.8

2020-01-29 Thread Matthias Klose
Package: src:python-opcua
Version: 0.98.6-3
Severity: important
Tags: sid bullseye patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

autopkg test failure with python3.8. patch at
http://launchpadlibrarian.net/462717831/python-opcua_0.98.6-3_0.98.6-3ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#949968: fix build dependencies

2020-01-27 Thread Matthias Klose
Package: src:python-noise
Version: 0.3.0-2
Severity: serious
Tags: sid bullseye patch

fix build dependencies, python3-all-dev is the only correct b-d.

patch at
http://launchpadlibrarian.net/462373949/python-noise_1.2.3-2build1_1.2.3-2ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

Re: [Python-modules-team] Processed: reassign 949029 to python3.8

2020-01-25 Thread Matthias Klose
On 1/26/20 12:57 AM, Debian Bug Tracking System wrote:
> Processing commands for cont...@bugs.debian.org:
> 
>> reassign 949029 python3.8
> Bug #949029 [src:python-bleach] python-bleach is failing the autopkg tests 
> with Python 3.8
> Bug reassigned from package 'src:python-bleach' to 'python3.8'.
> No longer marked as found in versions python-bleach/3.1.0-2.
> Ignoring request to alter fixed versions of bug #949029 to the same values 
> previously set
>> affects 949029 python-bleach
> Bug #949029 [python3.8] python-bleach is failing the autopkg tests with 
> Python 3.8
> Added indication that 949029 affects python-bleach
>> thanks
> Stopping processing here.
> 
> Please contact me if you need assistance.

reverting that change only makes sense when it's reverted upstream, which didn't
yet happen.

Matthias

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#949730: pyutilib ftbfs from source, calling python instead of python3

2020-01-24 Thread Matthias Klose
Package: src:pyutilib
Version: 5.7.1-1
Severity: serious
Tags: sid bullseye

[...]
==
FAIL: test_driver_1 (pyutilib.workflow.tests.test_doc.Test)
--
Traceback (most recent call last):
  File "/<>/pyutilib/th/pyunit.py", line 451, in 
func = lambda
self,c1=cwd,c2=cmd,c3=os.path.abspath(outfile),c4=baseline,c5=filter,c6=cmdfile,c7=tolerance,c8=exact,c9=forceskip:
_run_cmd_baseline_test(self,cwd=c1,cmd=c2,outfile=c3,baseline=c4,filter=c5,cmdfile=c6,tolerance=c7,exact=c8,forceskip=c9)
  File "/<>/pyutilib/th/pyunit.py", line 221, in 
_run_cmd_baseline_test
outfile, baseline, filter=filter, tolerance=tolerance)
  File "/<>/pyutilib/th/pyunit.py", line 370, in
assertFileEqualsBaseline
baseline + "\nDiffs:\n" + diffs)
AssertionError: Unexpected output difference at line 1:
   testfile=/<>/doc/workflow/examples/driver_1.out
   baseline=/<>/doc/workflow/examples/driver_1.txt
Diffs:
--- /<>/doc/workflow/examples/driver_1.txt

+++ /<>/doc/workflow/examples/driver_1.out

@@ -1 +1 @@

-z: 7
+/<>/doc/workflow/examples/driver_1.sh: 4: python: not found


==
FAIL: test_driver_2 (pyutilib.workflow.tests.test_doc.Test)
--
Traceback (most recent call last):
  File "/<>/pyutilib/th/pyunit.py", line 451, in 
func = lambda
self,c1=cwd,c2=cmd,c3=os.path.abspath(outfile),c4=baseline,c5=filter,c6=cmdfile,c7=tolerance,c8=exact,c9=forceskip:
_run_cmd_baseline_test(self,cwd=c1,cmd=c2,outfile=c3,baseline=c4,filter=c5,cmdfile=c6,tolerance=c7,exact=c8,forceskip=c9)
  File "/<>/pyutilib/th/pyunit.py", line 221, in 
_run_cmd_baseline_test
outfile, baseline, filter=filter, tolerance=tolerance)
  File "/<>/pyutilib/th/pyunit.py", line 370, in
assertFileEqualsBaseline
baseline + "\nDiffs:\n" + diffs)
AssertionError: Unexpected output difference at line 1:
   testfile=/<>/doc/workflow/examples/driver_2.out
   baseline=/<>/doc/workflow/examples/driver_2.txt
Diffs:
--- /<>/doc/workflow/examples/driver_2.txt

+++ /<>/doc/workflow/examples/driver_2.out

@@ -1 +1 @@

-usage: myprog TaskZ [-h] [--x X] [--y Y]
+/<>/doc/workflow/examples/driver_2.sh: 4: python: not found


==
FAIL: test_driver_3 (pyutilib.workflow.tests.test_doc.Test)
--
Traceback (most recent call last):
  File "/<>/pyutilib/th/pyunit.py", line 451, in 
func = lambda
self,c1=cwd,c2=cmd,c3=os.path.abspath(outfile),c4=baseline,c5=filter,c6=cmdfile,c7=tolerance,c8=exact,c9=forceskip:
_run_cmd_baseline_test(self,cwd=c1,cmd=c2,outfile=c3,baseline=c4,filter=c5,cmdfile=c6,tolerance=c7,exact=c8,forceskip=c9)
  File "/<>/pyutilib/th/pyunit.py", line 221, in 
_run_cmd_baseline_test
outfile, baseline, filter=filter, tolerance=tolerance)
  File "/<>/pyutilib/th/pyunit.py", line 370, in
assertFileEqualsBaseline
baseline + "\nDiffs:\n" + diffs)
AssertionError: Unexpected output difference at line 1:
   testfile=/<>/doc/workflow/examples/driver_3.out
   baseline=/<>/doc/workflow/examples/driver_3.txt
Diffs:
--- /<>/doc/workflow/examples/driver_3.txt

+++ /<>/doc/workflow/examples/driver_3.out

@@ -1 +1 @@

-usage: myprog [-h] {TaskY,TaskZ} ...
+/<>/doc/workflow/examples/driver_3.sh: 4: python: not found


--
Ran 576 tests in 10.308s

FAILED (SKIP=38, errors=3, failures=26)

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#949472: python-pex's autopkg tests are failing

2020-01-21 Thread Matthias Klose
Package: src:python-pex
Version: 1.1.14-3
Severity: serious
Tags: sid bullseye

python-pex's autopkg tests are failing both in testing and unstable:

Removing autopkgtest-satdep (0) ...
autopkgtest [20:27:54]: test execute.sh: [---
+ export http_proxy=127.0.0.1:9
+ export https_proxy=127.0.0.1:9
+ pex -m textwrap -vv -o script
pex: Building pex
pex: Building pex :: Resolving interpreter
pex: Building pex :: Resolving interpreter :: Setting up interpreter
/usr/bin/python3.7
pex: Building pex :: Resolving distributions
pex: Building pex: 3.7ms
pex:   Resolving interpreter: 2.7ms
pex: Setting up interpreter /usr/bin/python3.7: 2.7ms
pex:   Resolving distributions: 0.1ms
Saving PEX file to script
+ ./script
Hello there.
  This is indented.
autopkgtest [20:27:55]: test execute.sh: ---]
autopkgtest [20:27:55]: test execute.sh:  - - - - - - - - - - results - - - - -
- - - - -
execute.sh   FAIL non-zero exit status 120

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#949029: python-bleach is failing the autopkg tests with Python 3.8

2020-01-16 Thread Matthias Klose
Package: src:python-bleach
Version: 3.1.0-2
Severity: serious
Tags: sid bullseye

python-bleach is failing the autopkg tests with Python 3.8:

[...]
autopkgtest [07:36:46]: test py3: [---
= test session starts ==
platform linux -- Python 3.8.1, pytest-4.6.9, py-1.8.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.l4h7ii7j/downtmp/build.VsR/src
collected 311 items

tests/test_callbacks.py ..   [  3%]
tests/test_clean.py  [ 19%]
...F.F.F [ 43%]
..   [ 50%]
tests/test_css.py    [ 57%]
tests/test_html5lib_shim.py ...  [ 63%]
tests/test_linkify.py .. [ 80%]
..   [ 96%]
tests/test_unicode.py .  [ 99%]
tests/test_utils.py ...  [100%]

=== FAILURES ===
_ test_uri_value_allowed_protocols[valid-kwargs6-valid] 
_

data = 'valid', kwargs = {'protocols': ['http']}
expected = 'valid'

@pytest.mark.parametrize('data, kwargs, expected', [
# javascript: is not allowed by default
(
'xss',
{},
'xss'
),

# File protocol is not allowed by default
(
'foo',
{},
'foo'
),

# Specified protocols are allowed
(
'allowed href',
{'protocols': ['myprotocol']},
'allowed href'
),

# Unspecified protocols are not allowed
(
'http://example.com;>invalid href',
{'protocols': ['myprotocol']},
'invalid href'
),

# Anchors are ok
(
'foo',
{'protocols': []},
'foo'
),

# Allow implicit http if allowed
(
'valid',
{'protocols': ['http']},
'valid'
),
(
'valid',
{'protocols': ['http']},
'valid'
),
(
'valid',
{'protocols': ['http']},
'valid'
),
(
'valid',
{'protocols': ['http']},
'valid'
),
(
'valid',
{'protocols': ['http']},
'valid'
),
(
'valid',
{'protocols': ['http']},
'valid'
),

# Disallow implicit http if disallowed
(
'foo',
{'protocols': []},
'foo'
),
(
'foo',
{'protocols': []},
'foo'
),
(
'foo',
{'protocols': []},
'foo'
),
(
'foo',
{'protocols': []},
'foo'
),
(
'foo',
{'protocols': []},
'foo'
),
(
'foo',
{'protocols': []},
'foo'
),

# Disallowed protocols with sneaky character entities
(
'alert',
{},
'alert'
),
(
'alert',
{},
'alert'
),

# Checking the uri should change it at all
(
'http://example.com/?foobar;>foo',
{},
'http://example.com/?foobar;>foo'
),
])
def test_uri_value_allowed_protocols(data, kwargs, expected):
>   assert clean(data, **kwargs) == expected
E   assert 'valid' == 'valid'
E - valid
E + valid

tests/test_clean.py:676: AssertionError
_ test_uri_value_allowed_protocols[valid-kwargs8-valid] _

data = 'valid', kwargs = {'protocols': ['http']}
expected = 'valid'

@pytest.mark.parametrize('data, kwargs, expected', [
# javascript: is not allowed by default
(
'xss',
{},
'xss'
),

# File protocol is not allowed by default
(
'foo',
{},
'foo'
),

# Specified protocols are allowed
(
'allowed href',
{'protocols': ['myprotocol']},
'allowed href'
),

# Unspecified protocols are not allowed
(
'http://example.com;>invalid href',
{'protocols': ['myprotocol']},
'invalid href'
),

# Anchors are ok
(
'foo',
{'protocols': []},
'foo'
),

# Allow implicit 

[Python-modules-team] Bug#948828: python-whoosh ftbfs in unstable

2020-01-13 Thread Matthias Klose
Package: src:python-whoosh
Version: 2.7.4+git6-g9134ad92-4
Severity: serious
Tags: sid bullseye

python-whoosh ftbfs in unstable:

[...]
The HTML pages are in docs/build/html.
make[1]: Leaving directory '/<>/python-whoosh-2.7.4+git6-g9134ad92'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd
/<>/python-whoosh-2.7.4+git6-g9134ad92/.pybuild/cpython2_2.7_whoosh/build;
python2.7 -m pytest tests
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/pytest.py", line 102, in 
raise SystemExit(pytest.main())
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 63,
in main
config = _prepareconfig(args, plugins)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 207,
in _prepareconfig
pluginmanager=pluginmanager, args=args
  File "/usr/lib/python2.7/dist-packages/pluggy/hooks.py", line 286, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 92, in 
_hookexec
return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 86, in 

firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 203, in 
_multicall
gen.send(outcome)
  File "/usr/lib/python2.7/dist-packages/_pytest/helpconfig.py", line 94, in
pytest_cmdline_parse
config = outcome.get_result()
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in 
get_result
_reraise(*ex)  # noqa
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in 
_multicall
res = hook_impl.function(*args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 687,
in pytest_cmdline_parse
self.parse(args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 895,
in parse
self._preparse(args, addopts=addopts)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 829,
in _preparse
self._initini(args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 760,
in _initini
config=self,
  File "/usr/lib/python2.7/dist-packages/_pytest/config/findpaths.py", line 127,
in determine_setup
rootdir, inifile, inicfg = getcfg([ancestor], config=config)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/findpaths.py", line 51,
in getcfg
pytrace=False,
  File "/usr/lib/python2.7/dist-packages/_pytest/outcomes.py", line 119, in fail
raise Failed(msg=msg, pytrace=pytrace)
builtins.Failed: [pytest] section in setup.cfg files is no longer supported,
change to [tool:pytest] instead.
E: pybuild pybuild:342: test: plugin distutils failed with: exit code=1: cd
/<>/python-whoosh-2.7.4+git6-g9134ad92/.pybuild/cpython2_2.7_whoosh/build;
python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned
exit code 13
make: *** [debian/rules:5: build] Error 255

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948822: python-pint ftbfs in unstable (failing test)

2020-01-13 Thread Matthias Klose
Package: src:python-pint
Version: 0.9-2
Severity: serious
Tags: sid bullseye

test_unitcontainer_repr (pint.testsuite.test_util.TestUnitsContainer) ... ok

==
ERROR: test_nonnumeric_magnitudes
(pint.testsuite.test_quantity.TestQuantityToCompact)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_pint/build/pint/testsuite/test_quantity.py",
line 419, in test_nonnumeric_magnitudes
self.assertRaises(RuntimeError, self.compareQuantity_compact(x,x))
  File "/usr/lib/python3.8/unittest/case.py", line 816, in assertRaises
return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.8/unittest/case.py", line 202, in handle
callable_obj(*args, **kwargs)
TypeError: 'NoneType' object is not callable

--
Ran 802 tests in 16.590s

FAILED (SKIP=17, errors=1)
E: pybuild pybuild:342: test: plugin distutils failed with: exit code=1: cd
/<>/.pybuild/cpython3_3.8_pint/build; python3.8 -m nose -v
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:6: build] Error 255

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948506: python-future ftbfs with 3.8

2020-01-09 Thread Matthias Klose
Package: src:python-future
Version: 0.16.0-1
Severity: serious
Tags: sid bullseye

python-future ftbfs with 3.8. There's a new upstream, however I didn't check it.

[...]
Traceback:
tests/test_future/test_urllibnet.py:13: in 
import future.moves.urllib.request as urllib_request
future/moves/urllib/request.py:9: in 
from urllib.request import (getproxies,
E   ImportError: cannot import name 'splitattr' from 'urllib.request'
(/usr/lib/python3.8/urllib/request.py)
=== warnings summary ===
tests/test_future/test_backports.py:13
tests/test_future/test_backports.py:13

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_backports.py:13:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of
from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
working
from collections import Mapping, MutableMapping

tests/test_future/test_builtins.py:267

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_builtins.py:267:
DeprecationWarning: invalid escape sequence \u
(str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

tests/test_future/test_builtins.py:289

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_builtins.py:289:
DeprecationWarning: invalid escape sequence \u
(str(b'\u0663\u0661\u0664 ','raw-unicode-escape'), 314),

future/backports/test/support.py:1977

/<>/.pybuild/cpython3_3.8_future/build/future/backports/test/support.py:1977:
DeprecationWarning: invalid escape sequence \d
m = re.match("2.6.(\d{1,2})", kernel_version)

tests/test_future/test_htmlparser.py:685

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_htmlparser.py:685:
DeprecationWarning: invalid escape sequence \=
"",

future/backports/html/parser.py:31

/<>/.pybuild/cpython3_3.8_future/build/future/backports/html/parser.py:31:
DeprecationWarning: invalid escape sequence \s
tagfind = re.compile('([a-zA-Z][-.a-zA-Z0-9:_]*)(?:\s|/(?!>))*')

future/backports/html/parser.py:79

/<>/.pybuild/cpython3_3.8_future/build/future/backports/html/parser.py:79:
DeprecationWarning: invalid escape sequence \s
endtagfind = re.compile('')

tests/test_future/test_http_cookiejar.py:1034

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_http_cookiejar.py:1034:
DeprecationWarning: invalid escape sequence \$
self.assertRegex(h, "\$Port([^=]|$)",

tests/test_future/test_http_cookiejar.py:1373

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_http_cookiejar.py:1373:
DeprecationWarning: invalid escape sequence \s
'\s*\$Path="\/acme"')

tests/test_future/test_http_cookiejar.py:1375

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_http_cookiejar.py:1375:
DeprecationWarning: invalid escape sequence \s
'\s*\$Path="\/acme"')

future/backports/http/client.py:1

/<>/.pybuild/cpython3_3.8_future/build/future/backports/http/client.py:1:
DeprecationWarning: invalid escape sequence \_
"""HTTP/1.1 client library

future/backports/email/feedparser.py:37

/<>/.pybuild/cpython3_3.8_future/build/future/backports/email/feedparser.py:37:
DeprecationWarning: invalid escape sequence \Z
NLCRE_eol = re.compile('(\r\n|\r|\n)\Z')

future/backports/email/utils.py:68

/<>/.pybuild/cpython3_3.8_future/build/future/backports/email/utils.py:68:
DeprecationWarning: invalid escape sequence \A
'([^\ud800-\udbff]|\A)[\udc00-\udfff]([^\udc00-\udfff]|\Z)').search

future/backports/urllib/parse.py:957

/<>/.pybuild/cpython3_3.8_future/build/future/backports/urllib/parse.py:957:
DeprecationWarning: invalid escape sequence \?
_queryprog = re.compile('^(.*)\?([^?]*)$')

future/backports/http/cookiejar.py:211

/<>/.pybuild/cpython3_3.8_future/build/future/backports/http/cookiejar.py:211:
DeprecationWarning: invalid escape sequence \d
"(\d\d\d\d) (\d\d):(\d\d):(\d\d) GMT$", re.ASCII)

future/backports/http/cookiejar.py:288

/<>/.pybuild/cpython3_3.8_future/build/future/backports/http/cookiejar.py:288:
DeprecationWarning: invalid escape sequence \d
"""^

future/backports/http/cookiejar.py:422

/<>/.pybuild/cpython3_3.8_future/build/future/backports/http/cookiejar.py:422:
DeprecationWarning: invalid escape sequence \s
non_junk, nr_junk_chars = re.subn("^[=\s;]*", "", text)

tests/test_future/test_range.py:9
tests/test_future/test_range.py:9

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_range.py:9:
DeprecationWarning: Using or importing the ABCs from 'collections' instead of
from 'collections.abc' is deprecated since Python 3.3, and in 3.9 it will stop
working
from collections import Iterator, Sequence

tests/test_future/test_urllib.py:536

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_urllib.py:536:
DeprecationWarning: invalid escape sequence \^
"""Tests for urllib.quote() and urllib.quote_plus()

tests/test_future/test_urllib.py:611

/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_urllib.py:611:

[Python-modules-team] Bug#948495: Python2 dbg package should depend on python2-dbg instead of python-dbg

2020-01-09 Thread Matthias Klose
Package: src:pyqt5
Version: 5.14.1+dfsg-1
Severity: serious
Tags: sid bullseye patch

Python2 dbg package should depend on python2-dbg instead of python-dbg.

patch at
http://launchpadlibrarian.net/459843467/pyqt5_5.14.1+dfsg-1_5.14.1+dfsg-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948492: pyyaml calls python instead of python2 in the autopkg test

2020-01-09 Thread Matthias Klose
Package: src:pyyaml
Version: 5.3-1
Severity: serious
Tags: sid bullseye patch

pyyaml calls python instead of python2 in the autopkg test, also the package
should depend on python2-dbg instead of python-dbg.

patch at
http://launchpadlibrarian.net/459843660/pyyaml_5.3-1_5.3-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948432: uncertainties ftbfs with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:uncertainties
Version: 3.0.2.github-3
Severity: serious
Tags: sid bullseye

uncertainties ftbfs with Python 3.8:

[...]
make[1]: Leaving directory '/<>'
   dh_auto_test -O--buildsystem=pybuild
pybuild --test --test-nose -i python{version} -p "3.8 3.7"
I: pybuild base:217: cd
/<>/.pybuild/cpython3_3.8_uncertainties/build; python3.8 -m nose -v
Failure: TypeError ('NoneType' object is not subscriptable) ... ERROR
Comparison between function derivatives and numerical derivatives. ... ok
Test equality between different formulas. ... ok
Test specific numerical examples ... ok
Full comparison to a Monte-Carlo calculation. ... ok
Operations with the math module ... ok
Special cases where derivatives cannot be calculated: ... ok
Test special cases of umath_core.pow(). ... ok
Checks special cases of umath_core.pow(). ... ok
Checks special cases of the umath_core.pow() power operator. ... ok
Tests the various means of constructing a constant number with ...
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:259:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  x2 = ufloat(representation)  # Obsolete
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:267:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  x2 = ufloat(representation, "pi")  # Obsolete
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:275:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  x2 = ufloat(representation, tag="pi")  # Obsolete
ok
Input of numbers with uncertainties as a string ...
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:382:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  num = ufloat(representation)  # Obsolete
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:388:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  num = ufloat(representation, 'test variable')  # Obsolete
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:394:
UserWarning: Obsolete: either use ufloat(nominal_value, std_dev),
ufloat(nominal_value, std_dev, tag), or the ufloat_fromstr() function, for
string representations. Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  num = ufloat(representation, tag='test variable')  # Obsolete
ok
Pre-calculated derivatives for operations on AffineScalarFunc. ... ok
Standard copy module integration ... ok
Standard pickle module integration. ... ok
Integer division ... ok
Test of comparison operators ... ok
Boolean logic: __nonzero__, bool. ... ok
Tests some obsolete creation of number with uncertainties ...
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:737:
UserWarning: Obsolete: instead of set_std_dev(), please use .std_dev = ... Code
can be automatically updated with python -m uncertainties.1to2 -w 
ProgramDirectory.
  x.set_std_dev.__call__(0.2)  # Obsolete
/<>/.pybuild/cpython3_3.8_uncertainties/build/uncertainties/test_uncertainties.py:740:
UserWarning: Obsolete: the std_dev attribute should not be called anymore: use
.std_dev instead of .std_dev(). Code can be automatically updated with python -m
uncertainties.1to2 -w ProgramDirectory.
  assert x_std_dev() == 0.2  # Obsolete call
ok
Access to data from Variable and AffineScalarFunc objects. ... ok
Correlations between variables ... ok
Coercion of Variable object to a simple float. ... ok
Wrap a function that takes only positional-or-keyword parameters. ... ok
Wrap a function that takes only positional-or-keyword and ... ok
Wrap a function that takes only positional-or-keyword and ... ok
Wrap a function that takes positional-or-keyword, var-positional ... ok
Test uncertainty-aware functions obtained through wrapping. ... ok
Tests wrap() on functions with keyword arguments. ... ok
Uniform access to the standard deviation ... ok
Covariance matrix ... ok
Checks all cases for the 

[Python-modules-team] Bug#948428: html5lib ftbfs in unstable

2020-01-08 Thread Matthias Klose
Package: src:html5lib
Version: 1.0.1-1
Severity: serious
Tags: sid bullseye patch

html5lib ftbfs in unstable with the current pytest.

https://github.com/html5lib/html5lib-python/pull/429

patch at
http://launchpadlibrarian.net/459711725/html5lib_1.0.1-1build1_1.0.1-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948426: python-whoosh ftbfs in unstable

2020-01-08 Thread Matthias Klose
Package: src:python-whoosh
Version: 2.7.4+git6-g9134ad92-4
Severity: serious
Tags: sid bullseye

python-whoosh ftbfs in unstable, with the recent pytest:

[...]
The HTML pages are in docs/build/html.
make[1]: Leaving directory '/<>/python-whoosh-2.7.4+git6-g9134ad92'
   dh_auto_test -O--buildsystem=pybuild
I: pybuild base:217: cd
/<>/python-whoosh-2.7.4+git6-g9134ad92/.pybuild/cpython2_2.7_whoosh/build;
python2.7 -m pytest tests
Traceback (most recent call last):
  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
  File "/usr/lib/python2.7/dist-packages/pytest.py", line 102, in 
raise SystemExit(pytest.main())
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 63,
in main
config = _prepareconfig(args, plugins)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 207,
in _prepareconfig
pluginmanager=pluginmanager, args=args
  File "/usr/lib/python2.7/dist-packages/pluggy/hooks.py", line 286, in __call__
return self._hookexec(self, self.get_hookimpls(), kwargs)
  File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 92, in 
_hookexec
return self._inner_hookexec(hook, methods, kwargs)
  File "/usr/lib/python2.7/dist-packages/pluggy/manager.py", line 86, in 

firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 203, in 
_multicall
gen.send(outcome)
  File "/usr/lib/python2.7/dist-packages/_pytest/helpconfig.py", line 94, in
pytest_cmdline_parse
config = outcome.get_result()
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 81, in 
get_result
_reraise(*ex)  # noqa
  File "/usr/lib/python2.7/dist-packages/pluggy/callers.py", line 187, in 
_multicall
res = hook_impl.function(*args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 687,
in pytest_cmdline_parse
self.parse(args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 895,
in parse
self._preparse(args, addopts=addopts)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 829,
in _preparse
self._initini(args)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/__init__.py", line 760,
in _initini
config=self,
  File "/usr/lib/python2.7/dist-packages/_pytest/config/findpaths.py", line 127,
in determine_setup
rootdir, inifile, inicfg = getcfg([ancestor], config=config)
  File "/usr/lib/python2.7/dist-packages/_pytest/config/findpaths.py", line 51,
in getcfg
pytrace=False,
  File "/usr/lib/python2.7/dist-packages/_pytest/outcomes.py", line 119, in fail
raise Failed(msg=msg, pytrace=pytrace)
builtins.Failed: [pytest] section in setup.cfg files is no longer supported,
change to [tool:pytest] instead.
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<>/python-whoosh-2.7.4+git6-g9134ad92/.pybuild/cpython2_2.7_whoosh/build;
python2.7 -m pytest tests
dh_auto_test: pybuild --test --test-pytest -i python{version} -p 2.7 returned
exit code 13
make: *** [debian/rules:5: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2


___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948425: genshi ftbfs with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:genshi
Version: 0.7.1-5
Severity: serious
Tags: sid bullseye patch

seen at
https://launchpadlibrarian.net/456873944/buildlog_ubuntu-focal-amd64.genshi_0.7.1-5build1_BUILDING.txt.gz

This is fixed in 0.7.3, example packaging at
https://launchpad.net/ubuntu/+source/genshi/0.7.3-0ubuntu1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948422: python-pint ftbfs with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:python-pint
Version: 0.9-2
Severity: serious
Tags: sid bullseye

in unstable:

[...]
==
ERROR: test_nonnumeric_magnitudes
(pint.testsuite.test_quantity.TestQuantityToCompact)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_pint/build/pint/testsuite/test_quantity.py",
line 419, in test_nonnumeric_magnitudes
self.assertRaises(RuntimeError, self.compareQuantity_compact(x,x))
  File "/usr/lib/python3.8/unittest/case.py", line 816, in assertRaises
return context.handle('assertRaises', args, kwargs)
  File "/usr/lib/python3.8/unittest/case.py", line 202, in handle
callable_obj(*args, **kwargs)
TypeError: 'NoneType' object is not callable

--
Ran 802 tests in 26.214s

FAILED (SKIP=17, errors=1)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<>/.pybuild/cpython3_3.8_pint/build; python3.8 -m nose -v
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:6: build] Error 255
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948420: python-future ftbfs with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:python-future
Version: 0.16.0-1
Severity: :serious
Tags: sid bullseye


python-future ftbfs with Python 3.8. There's a new upstream version, which I
didn't check.

[...]
 ERRORS 
_ ERROR collecting
.pybuild/cpython3_3.8_future/build/tests/test_future/test_urllibnet.py _
ImportError while importing test module
'/<>/.pybuild/cpython3_3.8_future/build/tests/test_future/test_urllibnet.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
tests/test_future/test_urllibnet.py:13: in 
import future.moves.urllib.request as urllib_request
future/moves/urllib/request.py:9: in 
from urllib.request import (getproxies,
E   ImportError: cannot import name 'splitattr' from 'urllib.request'
(/usr/lib/python3.8/urllib/request.py)

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948417: python-astor ftbfs with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:python-astor
Version: 0.8.0-2
Severity: serious
Tags: sid bullseye

There's a new upstream, which I didn't check.

[...]
pkg-buildpackage
-

dpkg-buildpackage: info: source package python-astor
dpkg-buildpackage: info: source version 0.8.0-2build1
dpkg-buildpackage: info: source distribution focal
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean --with python3 --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py clean
Traceback (most recent call last):
  File "setup.py", line 17, in 
setup(**config['options'])
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 145, in 
setup
return distutils.core.setup(**attrs)
  File "/usr/lib/python3.8/distutils/core.py", line 108, in setup
_setup_distribution = dist = klass(attrs)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 446, in 
__init__
_Distribution.__init__(self, {
  File "/usr/lib/python3.8/distutils/dist.py", line 292, in __init__
self.finalize_options()
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 735, in
finalize_options
ep.load()(self, ep.name, value)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 291, in
check_specifier
packaging.specifiers.SpecifierSet(value)
  File
"/usr/lib/python3/dist-packages/setuptools/_vendor/packaging/specifiers.py",
line 594, in __init__
specifiers = [s.strip() for s in specifiers.split(",") if s.strip()]
AttributeError: 'SpecifierSet' object has no attribute 'split'
E: pybuild pybuild:341: clean: plugin distutils failed with: exit code=1:
python3.8 setup.py clean
dh_auto_clean: pybuild --clean --test-pytest -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:9: clean] Error 255

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#948416: automat ftbfs, tests fail with Python 3.8

2020-01-08 Thread Matthias Klose
Package: src:automat
Version: 0.6.0-1
Severity: serious
Tags: sid bullseye patch

The automat tests fail with Python 3.8, apparently fixed in 0.8.0.
Example packaging at https://launchpad.net/ubuntu/+source/automat/0.8.0-0ubuntu1

==
ERROR: test_badTransitionForCurrentState
(automat._test.test_methodical.MethodicalTests)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_test/test_methodical.py",
line 385, in test_badTransitionForCurrentState
machine.deadEnd()
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_methodical.py",
line 126, in __get__
def doInput(*args, **kwargs):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 39, in decorator
return copyfunction(decorated,
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 31, in copyfunction
return function(copycode(template.__code__, codechanges), *values)
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 19, in copycode
return code(*values)
TypeError: an integer is required (got type bytes)

==
ERROR: test_collectOutputs (automat._test.test_methodical.MethodicalTests)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_test/test_methodical.py",
line 169, in test_collectOutputs
self.assertEqual(m.input(), "AB")
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_methodical.py",
line 126, in __get__
def doInput(*args, **kwargs):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 39, in decorator
return copyfunction(decorated,
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 31, in copyfunction
return function(copycode(template.__code__, codechanges), *values)
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 19, in copycode
return code(*values)
TypeError: an integer is required (got type bytes)

==
ERROR: test_inputFunctionsMustBeEmpty
(automat._test.test_methodical.MethodicalTests)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_test/test_methodical.py",
line 244, in test_inputFunctionsMustBeEmpty
MechanismWithDocstring().input()
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_methodical.py",
line 126, in __get__
def doInput(*args, **kwargs):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 39, in decorator
return copyfunction(decorated,
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 31, in copyfunction
return function(copycode(template.__code__, codechanges), *values)
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 19, in copycode
return code(*values)
TypeError: an integer is required (got type bytes)

==
ERROR: test_inputWithArguments (automat._test.test_methodical.MethodicalTests)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_test/test_methodical.py",
line 209, in test_inputWithArguments
self.assertEqual(m.input(3), [4])
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_methodical.py",
line 126, in __get__
def doInput(*args, **kwargs):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 39, in decorator
return copyfunction(decorated,
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 31, in copyfunction
return function(copycode(template.__code__, codechanges), *values)
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 19, in copycode
return code(*values)
TypeError: an integer is required (got type bytes)

==
ERROR: test_multipleMachines (automat._test.test_methodical.MethodicalTests)
--
Traceback (most recent call last):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_test/test_methodical.py",
line 143, in test_multipleMachines
self.assertEqual(mm.inputA(), ["A"])
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_methodical.py",
line 126, in __get__
def doInput(*args, **kwargs):
  File
"/<>/.pybuild/cpython3_3.8_automat/build/automat/_introspection.py",
line 39, in decorator
return copyfunction(decorated,
 

[Python-modules-team] Bug#946040: Build fails with the new pylint version

2019-12-12 Thread Matthias Klose
Control: severity -1 serious

fbtfs is an RC issue, also the autopkg tests are failing, stalling the migration
of pytest.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#937568: please stop building python-pytest-xdist now

2019-12-09 Thread Matthias Klose
Control: severity -1 serious

To help migrating pytest to testing, python-pytest-xdist needs to be dropped,
because it's dependency python-file was removed.  python-pytest-xdist only
dependency nipype is already removed in testing, so we can go ahead with the
python-pytest-xdist removal.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945472: python-datrie: FTBFS with recent hypothesis version

2019-12-09 Thread Matthias Klose
On 09.12.19 11:46, Andreas Tille wrote:
> Hi,
> 
> I have upgraded python-datrie in Git[1] to latest upstream version
> (0.8).  It shows the same issue - so I admit I have no better clue than
> reporting the issue upstream which I'd rather leave to the official
> Uploader of the package.
> 
> BTW, we probably should expect build issues with Python 3.8[2]

https://patches.ubuntu.com/p/python-datrie/python-datrie_0.7.1-3ubuntu1.patch

didn't forward the hypothesis issues, because Debian didn't update that package
for a long time.


> Kind regards
> 
>  Andreas.
> 
> [1] https://salsa.debian.org/python-team/modules/python-datrie
> [2] https://github.com/pytries/datrie/issues/73
> 

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945474: fix installation of extensions with Python 3.8

2019-11-25 Thread Matthias Klose
Package: src:netifaces
Version: 0.10.4-1
Severity: serious
Tags: sid bullseye ftbfs patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

fix installation of extensions with Python 3.8

patch at
https://patches.ubuntu.com/n/netifaces/netifaces_0.10.4-1ubuntu1.patch

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943614: cytoolz ftbfs with python3.8

2019-11-25 Thread Matthias Klose
Control: tags -1 +  patch

apparently fixed by the new upstream 0.10.1, example packaging at
https://launchpad.net/ubuntu/+source/python-cytoolz/0.10.1-0ubuntu1

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945412: python-murmurhash fails tests with Python 3.8

2019-11-24 Thread Matthias Klose
Package: src:python-murmurhash
Version: 1.0.1-2
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

[...]
 debian/rules build-arch
dh build-arch --with python3 --buildsystem=pybuild
   dh_update_autotools_config -a -O--buildsystem=pybuild
   dh_autoreconf -a -O--buildsystem=pybuild
   dh_auto_configure -a -O--buildsystem=pybuild
I: pybuild base:217: python3.8 setup.py config
/usr/lib/python3/dist-packages/Cython/Compiler/Main.py:369: FutureWarning:
Cython directive 'language_level' not set, using 2 for now (Py2). This will
change in a later release! File: /<>/murmurhash/mrmr.pxd
  tree = Parsing.p_module(s, pxd, full_module_name)
Processing murmurhash/mrmr.pyx

Note: Bypassing https://pypi.org/simple/wheel/ (disallowed host; see
http://bit.ly/2hrImnY for details).


Note: Bypassing https://pypi.org/simple/ (disallowed host; see
http://bit.ly/2hrImnY for details).

No local packages or working download links found for wheel<0.33.0,>=0.32.0
Cythonizing sources
Traceback (most recent call last):
  File "setup.py", line 155, in 
setup_package()
  File "setup.py", line 117, in setup_package
setup(
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 144, in 
setup
_install_setup_requires(attrs)
  File "/usr/lib/python3/dist-packages/setuptools/__init__.py", line 139, in
_install_setup_requires
dist.fetch_build_eggs(dist.setup_requires)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 717, in
fetch_build_eggs
resolved_dists = pkg_resources.working_set.resolve(
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 780, in
resolve
dist = best[req.key] = env.best_match(
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1065, in
best_match
return self.obtain(req, installer)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 1077, in
obtain
return installer(requirement)
  File "/usr/lib/python3/dist-packages/setuptools/dist.py", line 787, in
fetch_build_egg
return cmd.easy_install(req)
  File "/usr/lib/python3/dist-packages/setuptools/command/easy_install.py", line
698, in easy_install
raise DistutilsError(msg)
distutils.errors.DistutilsError: Could not find suitable distribution for
Requirement.parse('wheel<0.33.0,>=0.32.0')
E: pybuild pybuild:341: configure: plugin distutils failed with: exit code=1:
python3.8 setup.py config
dh_auto_configure: pybuild --configure -i python{version} -p "3.8 3.7" returned
exit code 13
make: *** [debian/rules:7: build-arch] Error 255
dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

Build finished at 2019-11-19T22:54:51Z

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945328: pyzmq ftbfs in unstable

2019-11-22 Thread Matthias Klose
Package: src:pyzmq
Version: 17.1.2-3
Severity: serious
Tags: sid bullseye patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

pyzmq ftbfs in unstable, needing a patch from 18.1.  Please could you also relax
some timing conditions for tests seen on non-amd64 architectures?

patches at
https://patches.ubuntu.com/p/pyzmq/pyzmq_17.1.2-3ubuntu5.patch

[..]
=== FAILURES ===
__ TestAsyncIOSocket.test_recv_json_cancelled __

self = 

def test_recv_json_cancelled(self):
@asyncio.coroutine
def test():
a, b = self.create_bound_pair(zmq.PUSH, zmq.PULL)
f = b.recv_json()
assert not f.done()
f.cancel()
# cycle eventloop to allow cancel events to fire
yield from asyncio.sleep(0)
obj = dict(a=5)
yield from a.send_json(obj)
with pytest.raises(CancelledError):
recvd = yield from f
assert f.done()
# give it a chance to incorrectly consume the event
events = yield from b.poll(timeout=5)
assert events
yield from asyncio.sleep(0)
# make sure cancelled recv didn't eat up event
f = b.recv_json()
recvd = yield from asyncio.wait_for(f, timeout=5)
assert recvd == obj
>   self.loop.run_until_complete(test())

zmq/tests/asyncio/_test_asyncio.py:152:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

self = <_UnixSelectorEventLoop running=False closed=True debug=False>
future = .test() done, defined
at
/<>/.pybuild/cpython3_3.8/build/zmq/tests/asyncio/_test_asyncio.py:131>>

def run_until_complete(self, future):
"""Run until the Future is done.

If the argument is a coroutine, it is wrapped in a Task.

WARNING: It would be disastrous to call run_until_complete()
with the same coroutine twice -- it would wrap it in two
different Tasks and that can't be good.

Return the Future's result, or raise its exception.
"""
self._check_closed()

new_task = not futures.isfuture(future)
future = tasks.ensure_future(future, loop=self)
if new_task:
# An exception is raised if the future didn't complete, so there
# is no need to log the "destroy pending task" message
future._log_destroy_pending = False

future.add_done_callback(_run_until_complete_cb)
try:
self.run_forever()
except:
if new_task and future.done() and not future.cancelled():
# The coroutine raised a BaseException. Consume the exception
# to not log a warning, the caller doesn't have access to the
# local task.
future.exception()
raise
finally:
future.remove_done_callback(_run_until_complete_cb)
if not future.done():
raise RuntimeError('Event loop stopped before Future completed.')

>   return future.result()
E   asyncio.exceptions.CancelledError
[..]
 1 failed, 232 passed, 11 skipped, 88 warnings in 33.62 seconds 
Task was destroyed but it is pending!
task: >/.pybuild/cpython3_3.8/build/zmq/auth/asyncio/__init__.py:25>
wait_for=>
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<>/.pybuild/cpython3_3.8/build; python3.8 -m pytest -v
--ignore=zmq/tests/test_auth.py --ignore=zmq/tests/test_security.py
dh_auto_test: pybuild --test --test-pytest -i python{version} -p "3.8 3.7"
--test-pytest returned exit code 13
make[1]: *** [debian/rules:42: override_dh_auto_test] Error 255

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945327: python-pomegranate ftbfs in unstable

2019-11-22 Thread Matthias Klose
Package: src:python-pomegranate
Version: 0.11.1+dfsg2-1
Severity: serious
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

[...]
==
ERROR: Failure: AttributeError (type object 'pomegranate.hmm.array' has no
attribute '__reduce_cython__')
--
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/nose/failure.py", line 39, in runTest
raise self.exc_val.with_traceback(self.tb)
  File "/usr/lib/python3/dist-packages/nose/loader.py", line 416, in
loadTestsFromName
module = self.importer.importFromPath(
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 47, in 
importFromPath
return self.importFromDir(dir_path, fqname)
  File "/usr/lib/python3/dist-packages/nose/importer.py", line 94, in 
importFromDir
mod = load_module(part_fqname, fh, filename, desc)
  File "/usr/lib/python3.8/imp.py", line 234, in load_module
return load_source(name, filename, file)
  File "/usr/lib/python3.8/imp.py", line 171, in load_source
module = _load(spec)
  File "", line 702, in _load
  File "", line 671, in _load_unlocked
  File "", line 783, in exec_module
  File "", line 219, in _call_with_frames_removed
  File
"/<>/.pybuild/cpython3_3.8_pomegranate/build/tests/test_profile_hmm.py",
line 3, in 
from pomegranate import *
  File
"/<>/.pybuild/cpython3_3.8_pomegranate/build/pomegranate/__init__.py",
line 12, in 
from .parallel import *
  File "pomegranate/parallel.pyx", line 10, in init pomegranate.parallel
from .hmm import HiddenMarkovModel
  File "stringsource", line 105, in init pomegranate.hmm
AttributeError: type object 'pomegranate.hmm.array' has no attribute
'__reduce_cython__'

--
Ran 11 tests in 0.007s

FAILED (errors=11)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd
/<>/.pybuild/cpython3_3.8_pomegranate/build; python3.8 -m nose -v 
tests
dh_auto_test: pybuild --test --test-nose -i python{version} -p "3.8 3.7"
returned exit code 13
make: *** [debian/rules:10: build-arch] Error 255

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945261: removed Python2 package without removing the Python2 autopkg test

2019-11-21 Thread Matthias Klose
Package: src:python-latexcodec
Version: 1.0.5-2
Severity: serious
Tags: sid bullseye patch

removed Python2 package without removing the Python2 autopkg test. patch at
http://launchpadlibrarian.net/452595834/python-latexcodec_1.0.5-2_1.0.5-2ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#945134: pep8 fails the python2 autopkg tests, calling python instead of python2

2019-11-20 Thread Matthias Klose
Package: src:pep8
Version: 1.7.1-6
Severity: serious
Tags: sid bullseye

pep8 fails the two python2 autopkg tests, calling python instead of python2.
Currently blocking the migration of python-defaults to testing.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#942235: Adding Python 3.8 as a supported Python3 version

2019-11-17 Thread Matthias Klose
On 18.11.19 07:52, Alastair McKinstry wrote:
> So I've uploaded a python-xarray 0.14.0-2 which passes on python3.7.
> 
> Its failing on python 3.8 but apparently due to pandas not ready on 3.8, so it
> should be ok to pass as the transition completes.
> 
> xarray really needs dask >= 2.0 but version 1 is in unstable; I've disabled 
> some
> functionality (dask='parallelize') and marked some tests xfail until this is 
> done.
> 
> Alastair

yes, people are aware of a needed dask update, see #942235. There's now also a
dask 2.8 release available, I didn't look at that yet.

> On 07/11/2019 14:08, Matthias Klose wrote:
>> This weekend, I am planning to upload python3-defaults, adding python3.8 as a
>> supported Python3 version.  This may introduce some churn in unstable until
>> the basic binNMUs are available as well.
>>
>>
>>  - python-xarray #944044. 1.4 is already broken with Python 3.7. For
>>    Ubuntu I fell back to 1.2.1. 1.2.3 might work as well, still seeing
>>    one or two test failures.
>>
>> Packages building on top of numpy/scipy/pandas, like the PyAstro stack,
>> continue to work with these updates, despite some new test failures.
>>
>> Matthias
>>
>> [1] https://wiki.debian.org/Python/Python3.8.
>> [2]
>> https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=python3.8;users=debian-pyt...@lists.debian.org
>>
>>

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944939: pyfribidi: needs an explicit build dependency on dh-python

2019-11-17 Thread Matthias Klose
Package: src:pyfribidi
Version: 0.12.0+repack-2
Severity: serious
Tags: sid bullseye

python3-all and python3-dev now dropped the dependency on
dh-python:

[ Piotr Ożarowski ]
   * Remove dh-python dependency from python3-all and python3-dev packages.
 Packages should build depend on dh-python or dh-sequence-python3 instead.

Please add an explicit build dependency on dh-python.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944947: python-uinput: needs an explicit build dependency on dh-python

2019-11-17 Thread Matthias Klose
Package: src:python-uinput
Version: 0.11.2-2
Severity: serious
Tags: sid bullseye

python3-all and python3-dev now dropped the dependency on
dh-python:

[ Piotr Ożarowski ]
   * Remove dh-python dependency from python3-all and python3-dev packages.
 Packages should build depend on dh-python or dh-sequence-python3 instead.

Please add an explicit build dependency on dh-python.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944944: python-kyotocabinet: needs an explicit build dependency on dh-python

2019-11-17 Thread Matthias Klose
Package: src:python-kyotocabinet
Version: 1.22-2
Severity: serious
Tags: sid bullseye

python3-all and python3-dev now dropped the dependency on
dh-python:

[ Piotr Ożarowski ]
   * Remove dh-python dependency from python3-all and python3-dev packages.
 Packages should build depend on dh-python or dh-sequence-python3 instead.

Please add an explicit build dependency on dh-python.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944656: please update to pygame 1.9.6, compatible with python 3.8

2019-11-13 Thread Matthias Klose
Package: src:pygame
Version: 1.9.4.post1+dfsg-3
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

pygame has test failures when run with python3.8, forwarded this to
https://github.com/pygame/pygame/issues/1499
and was told to update to 1.9.6.

However, I couldn't find any information how to create the debian specific .orig
tarball. Please could you update to 1.9.6 and document how these tarballs
differe from the upstream ones?

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944342: wheel calls python instead of python2 in the autopkg tests

2019-11-08 Thread Matthias Klose

Package: src:wheel
Version: 0.33.6-1
Severity: serious
Tags: sid bullseye patch

wheel calls python instead of python2 in the autopkg tests, patch at
http://launchpadlibrarian.net/450438712/wheel_0.33.6-1_0.33.6-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944159: Fix iterating over a dictionary while removing elements

2019-11-05 Thread Matthias Klose

Package: src:python-project-generator
Version: 0.9.13-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

Fix iterating over a dictionary while removing elements.

patch at
http://launchpadlibrarian.net/449967823/python-project-generator_0.9.13-1_0.9.13-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#944158: fix test case for Python 3.8

2019-11-05 Thread Matthias Klose

Package: src:python-parameterized
Version: 0.7.0-1
Severity: important
Tags: sid bullseye patch
User: debian-pyt...@lists.debian.org
Usertags: python3.8

fix test case for Python 3.8, taken from the upstream VCS. patch at
http://launchpadlibrarian.net/449964560/python-parameterized_0.7.0-1_0.7.0-1ubuntu1.diff.gz

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943618: test failure also seen with Python 3.7 in unstable

2019-11-05 Thread Matthias Klose

Control: severity -1 + serious

This is also seen with 3.7 in unstable.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#942235: python-xarray needed new dask as well?

2019-11-03 Thread Matthias Klose

it looks to me that python-xarray 0.14 needs a newer dask version as well.

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943618: python-tesserocr ftbfs when run with python3.8 (1 test failure)

2019-10-27 Thread Matthias Klose

Package: src:python-tesserocr
Version: 2.4.0-4
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

==
FAIL: test_LSTM_choices (tests.test_api.TestTessBaseApi)
Test GetBestLSTMSymbolChoices.
--
Traceback (most recent call last):
  File "/<>/tests/test_api.py", line 200, in test_LSTM_choices
self.assertEqual(chosen_word, word)
AssertionError: 'cdo' != 'céo'
- cdo
?  ^
+ céo
?  ^


--
Ran 20 tests in 9.973s

FAILED (failures=1)
Test failed: 
error: Test failed: 
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: 
python3.8 setup.py test


___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943614: cytoolz ftbfs with python3.8

2019-10-27 Thread Matthias Klose

Package: src:python-cytoolz
Version: 0.10.0-1
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

cytoolz ftbfs when built for python3.8

[...]
x86_64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g 
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security 
-g -fwrapv -O2 -g -O2 -fdebug-prefix-map=/<>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.8 -c cytoolz/dicttoolz.c -o 
build/temp.linux-amd64-3.8/cytoolz/dicttoolz.o

cytoolz/dicttoolz.c: In function ‘__Pyx_InitCachedConstants’:
cytoolz/dicttoolz.c:8073:272: error: macro "__Pyx_PyCode_New" requires 16 
arguments, but only 15 given
 8073 |   __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 
CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, 
__pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, 
__pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if 
(unlikely(!__pyx_codeobj__17)) __PYX_ERR(1, 1, __pyx_L1_error)
  | 



   ^
cytoolz/dicttoolz.c:330: note: macro "__Pyx_PyCode_New" defined here
  330 |   #define __Pyx_PyCode_New(a, p, k, l, s, f, code, c, n, v, fv, cell, 
fn, name, fline, lnos)\

  |
cytoolz/dicttoolz.c:8073:34: error: ‘__Pyx_PyCode_New’ undeclared (first use in 
this function); did you mean ‘PyCode_New’?
 8073 |   __pyx_codeobj__17 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, 
CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, 
__pyx_empty_tuple, __pyx_tuple__16, __pyx_empty_tuple, __pyx_empty_tuple, 
__pyx_kp_s_stringsource, __pyx_n_s_reduce_cython, 1, __pyx_empty_bytes); if 
(unlikely(!__pyx_codeobj__17)) __PYX_ERR(1, 1, __pyx_L1_error)

  |  ^~~~
  |  PyCode_New
cytoolz/dicttoolz.c:8073:34: note: each undeclared identifier is reported only 
once for each function it appears in
cytoolz/dicttoolz.c:8084:274: error: macro "__Pyx_PyCode_New" requires 16 
arguments, but only 15 given
 8084 |   __pyx_codeobj__19 = (PyObject*)__Pyx_PyCode_New(2, 0, 2, 0, 
CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, 
__pyx_empty_tuple, __pyx_tuple__18, __pyx_empty_tuple, __pyx_empty_tuple, 
__pyx_kp_s_stringsource, __pyx_n_s_setstate_cython, 3, __pyx_empty_bytes); if 
(unlikely(!__pyx_codeobj__19)) __PYX_ERR(1, 3, __pyx_L1_error)
  | 


___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

[Python-modules-team] Bug#943613: pygame doesn't find tests when run with python3.8

2019-10-27 Thread Matthias Klose

Package: src:pygame
Version: 1.9.4.post1+dfsg-3
Severity: important
Tags: sid bullseye
User: debian-pyt...@lists.debian.org
Usertags: python3.8

pygame doesn't find tests when run with python3.8 (having multiple supported 
Python3 versions).


return (first 10 and last 10 lines):
/usr/lib/python3.8/runpy.py:125: RuntimeWarning: 
'pygame.tests.test_utils.test_runner' found in sys.modules after import of 
package 'pygame.tests.test_utils', but prior to execution of 
'pygame.tests.test_utils.test_runner'; this may result in unpredictable behaviour

  warn(RuntimeWarning(msg))
Traceback (most recent call last):
  File "/usr/lib/python3.8/unittest/loader.py", line 169, in loadTestsFromName
parent, obj = obj, getattr(obj, part)
AttributeError: module 'pygame.tests' has no attribute 'math_test'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
...
  File 
"/<>/pygame-1.9.4.post1+dfsg/.pybuild/cpython3_3.8_pygame/build/pygame/tests/test_utils/test_runner.py", 
line 224, in 

run_test(args[0],
  File 
"/<>/pygame-1.9.4.post1+dfsg/.pybuild/cpython3_3.8_pygame/build/pygame/tests/test_utils/test_runner.py", 
line 193, in run_test

suite.addTest(loader.loadTestsFromName(module))
  File "/usr/lib/python3.8/unittest/loader.py", line 179, in loadTestsFromName
self.errors.append(error_message)
AttributeError: 'PygameTestLoader' object has no attribute 'errors'
pygame 1.9.4.post1
Hello from the pygame community. https://www.pygame.org/contribute.html
loading pygame.tests.math_test

--
Ran 604 tests in 27.964s

FAILED (errors=1)
/<>/pygame-1.9.4.post1+dfsg/.pybuild/cpython3_3.8_pygame/build/pygame/tests/test_utils/__init__.py:158: 
SyntaxWarning: "is not" with a literal. Did you mean "!="?

  (rect.left is not 0 and [(rect.left-1, rect.top)] or []) +

E: pybuild pybuild:341: test: plugin custom failed with: exit code=1: 
/usr/bin/xvfb-run python3.8 -m pygame.tests.__main__ --exclude opengl


the complete log can be found at
https://launchpad.net/ubuntu/+source/pygame/1.9.4.post1+dfsg-3build1/+build/17940437

___
Python-modules-team mailing list
Python-modules-team@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team

  1   2   3   4   5   6   >