[Python-modules-team] Bug#950050: pytds FTBFS with Python 3.8 as supported version

Adrian Bunk bunk at debian.org
Tue Jan 28 17:24:34 GMT 2020


Source: pytds
Version: 1.9.1-2
Severity: serious
Tags: ftbfs

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/pytds.html

...
======================================================================
ERROR: runTest (ntlm_test.Test)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/1st/pytds-1.9.1/.pybuild/cpython3_3.8_tds/build/tests/ntlm_test.py", line 42, in runTest
    self.assertEqual(HexToByte("0c 86 8a 40 3b fd 7a 93 a3 00 1e f2 2e f0 2e 3f"), create_NT_hashed_password_v2(Password, User, Domain))    # [MS-NLMP] page 76
  File "/build/1st/pytds-1.9.1/.pybuild/cpython3_3.8_tds/build/pytds/ntlm.py", line 434, in create_NT_hashed_password_v2
    return hmac.new(digest, (user.upper() + domain).encode('utf-16le')).digest()
  File "/usr/lib/python3.8/hmac.py", line 153, in new
    return HMAC(key, msg, digestmod)
  File "/usr/lib/python3.8/hmac.py", line 51, in __init__
    raise TypeError("Missing required parameter 'digestmod'.")
TypeError: Missing required parameter 'digestmod'.

----------------------------------------------------------------------
Ran 143 tests in 0.246s

FAILED (SKIP=120, errors=1)
E: pybuild pybuild:341: test: plugin distutils failed with: exit code=1: cd /build/1st/pytds-1.9.1/.pybuild/cpython3_3.8_tds/build; python3.8 -m nose -v tests
dh_auto_test: error: pybuild --test --test-nose -i python{version} -p "3.8 3.7" returned exit code 13
make: *** [debian/rules:7: build] Error 25



More information about the Python-modules-team mailing list