Fix unit test: The classes ``SetuptoolsVersion`` and ``SetuptoolsLegacyVersion`` are removed since setuptools >= 39. They are replaced by ``Version`` and ``LegacyVersion`` respectively. To check if the version is good, we now use the solution explained here: https://github.com/pypa/setuptools/issues/1299.
Fix unit test: The classes ``SetuptoolsVersion`` and ``SetuptoolsLegacyVersion`` are removed since setuptools >= 39. They are replaced by ``Version`` and ``LegacyVersion`` respectively. To check if the version is good, we now use the solution explained here: https://github.com/pypa/setuptools/issues/1299.

tantale/deprecated