nose icon indicating copy to clipboard operation
nose copied to clipboard

Distributed version of nose differ from GitHub repository and is not Python 3.10 compatible

Open fnordahl opened this issue 2 years ago • 3 comments

The distributed version of nose looks like this:

    def _set_tests(self, tests):
        self._precache = []
        is_suite = isinstance(tests, unittest.TestSuite)
        if isinstance(tests, collections.Callable) and not is_suite:

The same code in this repository is different: https://github.com/nose-devs/nose/blob/7c26ad1e6b7d308cafa328ad34736d34028c122a/nose/suite.py#L102-L105

According to git history the above has not changed in 15 years.

As a consequence the distributed version is not Python 3.10 compatible, and I don't know how to contribute a fix because it is apparently already fixed.

Is there any plans for a new version that contains the correct code?

fnordahl avatar Mar 08 '22 07:03 fnordahl

@fnordahl this project hasn't been maintained for many years. The last PR merged was 6 years ago, and I think the official stance even then was this was no longer maintained.

datalogics-robb avatar Mar 08 '22 15:03 datalogics-robb

@datalogics-robb Can you recomment some alternatives?

matkoniecz avatar Mar 13 '22 13:03 matkoniecz

#1099

dirkf avatar Sep 30 '22 05:09 dirkf