Key facts
| Gen 1 | |
|---|---|
| Gen 2 | |
| Kind of tool | Testing |
| Status of Gen 1 | Maintenance only The nose documentation says nose has been in maintenance mode for the past several years, and PyPI lists its latest release, 1.3.7, on Jun 2, 2015. |
| Effort to move | Mechanical: same ideas, different calls |
| What breaks | Plain setup and teardown methods, the with_setup decorator and nose.tools assertions stop working once nose is gone, because pytest 8.0 removed its nose support. |
| Should you move? | Move when convenient No fetched page states that nose fails on current Python, so this is not marked urgent, but a runner with no release since 2015 should be replaced the next time the tests are touched. This is gen2.dev's view, not the maintainers'. |
| Sources checked | 2026-11-28, 6 sources |
Gen 1 and Gen 2 side by side
| PyPI | ||
|---|---|---|
| Package | nose | pytest |
| Latest version | 1.3.7 | 9.2.0 |
| Latest release | Jun 2, 2015 | Oct 27, 2026 |
| First release | Dec 14, 2010 | Nov 25, 2010 |
| License | GNU LGPL | MIT |
| Downloads, last week | 1,222,436 | 225,930,660 |
Read from each package registry on November 29, 2026. Downloads include automated installs such as build servers, so compare them as a trend, not a head count.
What Gen 1 was
"nose extends unittest to make testing easier." That is the first line of its documentation, and for years it was the usual way to run Python tests without writing a class for each one.
The same page carries a note about the project's state: "Nose has been in maintenance mode for the past several years and will likely cease without a new person/team to take over maintainership." PyPI lists the latest release, 1.3.7, on Jun 2, 2015.
What replaced it
pytest. The nose documentation itself says, "New projects should consider using Nose2, py.test, or just plain unittest/unittest2."
nose2 exists and "originated as the successor to nose," but its own documentation calls pytest "an excellent test framework" and encourages users to consider it for new projects.
What moving involves
There used to be a halfway house. pytest could run many nose-style tests unchanged. That support was deprecated in pytest 7.2 and removed in 8.0. The pytest documentation gives the reasons: nose "has been in maintenance mode-only for years," and maintaining the plugin was not trivial because it spilled over the code base.
So the tests have to be converted. The mapping is predictable:
- Assertions. nose2pytest is a script that "transforms
nose.tools.assert_*function calls into raw assert statements." - Setup and teardown. Plain
setupandteardownmethods were part of the nose support, not native pytest. Rename them tosetup_methodandteardown_method. @with_setup. Port it to a pytest fixture, with the setup before ayieldand the teardown after it.
What breaks
The converter does not finish the job. Its README lists what is left:
assert_raisesandassert_warnsare not transformed. Replace them withpytest.raisesandpytest.warns.- Import statements for
nose.toolsare not converted, "as there are too many possibilities." - nose functions used as context managers cannot become raw assertions.
Older pytest versions already had gaps: yield-based test methods have been unsupported since pytest 4.1.0, nose-style doctests were not collected correctly, and nose configuration was never recognized. Check the test count before and after. A test that is silently no longer collected looks exactly like a test that passes.
When the last test is converted, remove nose from the requirements. Killing Gen 1 is a step of its own, and a leftover import keeps the old dependency installed.
Should you move?
Move the next time you work on the test suite. This is not marked as urgent only because no source read for this page states that nose fails on current Python; the project's own documentation says its maintenance will likely cease, and its last release is from 2015.
The exception is a frozen codebase on an old interpreter that will never be upgraded. Everyone else is one Python or pytest upgrade away from being forced, and a planned conversion is cheaper than a forced one.
Common questions
Is nose dead?
Not yet. It is in maintenance only. The nose documentation says nose has been in maintenance mode for the past several years, and PyPI lists its latest release, 1.3.7, on Jun 2, 2015.
What replaced nose?
pytest. Effort to move: Mechanical: same ideas, different calls
Should I move off nose?
gen2.dev's view: Move when convenient. No fetched page states that nose fails on current Python, so this is not marked urgent, but a runner with no release since 2015 should be replaced the next time the tests are touched.
Sources
- nose 1.3.7 documentation - nose.readthedocs.io - The note that nose has been in maintenance mode for the past several years and that new projects should consider Nose2, py.test or plain unittest.
- nose - PyPI - Lists 1.3.7 as the latest version, released Jun 2, 2015.
- Deprecations and Removals - pytest documentation - Support for tests written for nose was deprecated in 7.2 and removed in 8.0, with the reasons and the replacements for setup, teardown and with_setup.
- How to run tests written for nose - pytest 7.4 documentation - The nose idioms pytest 7 supported, the ones it did not, and the pointer to nose2pytest.
- nose2pytest README - GitHub - What the converter rewrites, what it leaves alone, and its limitations.
- nose2 documentation - docs.nose2.io - Says nose2 originated as the successor to nose and encourages users to consider pytest for new projects.
- nose - PyPI - latest version, release dates, license and last week's downloads, read on November 29, 2026
- pytest - PyPI - latest version, release dates, license and last week's downloads, read on November 29, 2026
Sources checked on 2026-11-28. Tools change status quickly; if this date is old, read the sources before acting on it.

