Skip to content

WIP: Remove dependency on nose #638

@mcepl

Description

@mcepl

I am a maintainer of Python packages in openSUSE, and I am on my crusade of eliminating nose1 from our distribution. When I look at its repository on https://github.com/nose-devs/nose, the last release 1.3.7 was on 2 Jun 2015, and even the last commit on the master branch was on 4 Mar 2016. Moreover, it seems that nose1 will stop working with upcoming Python 3.9 (or 3.10).

This patch eliminates dependency on nose, which has been unnecessary for a long time. Resulting test suite depends on pytest, which is currently perfectly developed and maintained.

Unfortunately, the resulting testsuite (with tarball 0.26.1) doesn’t pass for me: there are 61 on collection of the tests by pytest (which use as the test runner, without explicit dependency on it), see this complete detailed build log for more.

Do you have any idea what I do wrong? Is there a way how to make the test suite to pass even in the environment without the network connection (no Linux distro build machines have network access)? Would it be possible to mark some tests as requiring network, so they can be en mass skipped?

Thank you for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions