[Python-modules-team] Bug#980138: python-testfixtures: mock module not needed with Python 3

Paul Wise pabs at debian.org
Fri Jan 15 05:33:03 GMT 2021


Source: python-testfixtures
Version: 6.14.1-1
Severity: minor

According to the setup.py, mock is only needed with Python 2:

   $ grep mock setup.py 
       'mock;python_version<"3"',
       description=("A collection of helpers and mock objects "

I suggest removing the python3-mock build-dependency.

I have tested that the build and tests succeed without it.

-- System Information:
Debian Release: bullseye/sid
  APT prefers testing-debug
  APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-1-amd64 (SMP w/4 CPU threads)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- 
bye,
pabs

https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20210115/21929148/attachment.sig>


More information about the Python-modules-team mailing list