Bug#963551: python3-bitstring: Update, DeprecationWarning
Control: tags -1 - moreinfo + confirmed On Sat, 31 Oct 2020 at 19:05, Matthias Urlichs wrote: > Correction: only if you tell it to treat all deprecation warnings as errors, > which some packages do in their test runs. OK, I can reproduce it in the source directory.
Bug#963551: python3-bitstring: Update, DeprecationWarning
Hello Graham, > >> There is another problem: broken backslash sequences trigger a >> DeprecationWarning. This makes the package unusable with pytest. > Would you please provide the steps to reproduce this issue? Correction: only if you tell it to treat all deprecation warnings as errors, which some packages do in their test runs. $ cat t.py import bitstring $ pytest t.py test session starts platform linux -- Python 3.8.6rc1, pytest-4.6.9.2.10, py-1.7.0, pluggy-0.13.0 rootdir: /src/bitstring plugins: anyio-0.0.0, pep8-1.0.6, trio-0.5.2, requests-mock-1.5.2, hypothesis-5.32.1, pylint-0.15.1, doctest-custom-1.1.0.dev0, cov-2.8.1, asyncio-0.10.0 collected 0 items = warnings summary == bitstring.py:2 /src/bitstring/bitstring.py:2: DeprecationWarning: invalid escape sequence \ """ -- Docs: https://docs.pytest.org/en/latest/warnings.html 1 warnings in 0.04 seconds = $ echo $? 5 $ -- -- Matthias Urlichs signature.asc Description: OpenPGP digital signature
Bug#963551: python3-bitstring: Update, DeprecationWarning
Control: tags -1 + moreinfo Control: forwarded -1 https://github.com/scott-griffiths/bitstring/pull/206 Hi Matthias On Tue, 23 Jun 2020 at 18:15, Matthias Urlichs wrote: > The bitstring package is at version 3.1.7 upstream. I've just uploaded 3.1.7-1 to unstable. > There is another problem: broken backslash sequences trigger a > DeprecationWarning. This makes the package unusable with pytest. Would you please provide the steps to reproduce this issue? Regards Graham
Bug#963551: python3-bitstring: Update, DeprecationWarning
Package: python3-bitstring Version: 3.1.5-2 Severity: minor The bitstring package is at version 3.1.7 upstream. There is another problem: broken backslash sequences trigger a DeprecationWarning. This makes the package unusable with pytest. Patch: https://github.com/scott-griffiths/bitstring/pull/206 -- System Information: Debian Release: 10.4 APT prefers stable APT policy: (700, 'stable'), (600, 'unstable'), (550, 'experimental'), (550, 'oldstable'), (500, 'testing') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.17.0-1-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages python3-bitstring depends on: ii python3 3.8.2-3 python3-bitstring recommends no packages. Versions of packages python3-bitstring suggests: pn python-bitstring-doc -- no debconf information