Bug#963551: python3-bitstring: Update, DeprecationWarning
Matthias Urlichs
matthias at urlichs.de
Sat Oct 31 16:48:16 GMT 2020
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201031/5d276717/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20201031/5d276717/attachment-0001.sig>
More information about the debian-science-maintainers
mailing list