1 Support for 2to3 was removed in setuptools 58.0.0 so we cannot use it.
3 --- nose-1.3.7/setup.py.orig
4 +++ nose-1.3.7/setup.py
6 from distribute_setup import use_setuptools
9 - extra = {'use_2to3': True,
10 + extra = {'use_2to3': False,
11 'test_dirs': test_dirs,
12 'test_build_dir': 'build/tests',
13 'pyversion_patching': True,
14 --- nose-1.3.7/setup3lib.py.orig
15 +++ nose-1.3.7/setup3lib.py
18 from setuptools import Distribution as _Distribution
19 from distutils.core import Command
20 - from setuptools.command.build_py import Mixin2to3
21 from distutils import dir_util, file_util, log
22 import setuptools.command.test
23 from pkg_resources import normalize_path
25 self.pyversion_patching = False
26 _Distribution.__init__(self, attrs)
28 - class BuildTestsCommand (Command, Mixin2to3):
29 + class BuildTestsCommand (Command):
30 # Create mirror copy of tests, convert all .py files using 2to3