[Bug 264797] devel/py-nose: Tests fail: error: invalid command 'build_tests'; ALSO 'from nose import main' fails with "No module named 'ConfigParser'"

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 20 Jun 2022 19:50:26 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264797

            Bug ID: 264797
           Summary: devel/py-nose: Tests fail: error: invalid command
                    'build_tests'; ALSO 'from nose import main' fails with
                    "No module named 'ConfigParser'"
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: bofh@freebsd.org
          Reporter: yuri@freebsd.org
             Flags: maintainer-feedback?(bofh@freebsd.org)
          Assignee: bofh@freebsd.org

'make test' fails:
$ make test
===>  Testing for py38-nose-1.3.7_1
===>   py38-nose-1.3.7_1 depends on file: /usr/local/bin/python3.8 - found
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'build_tests'
*** Error code 1


When do-test is commended out and pytest is added to USE_PYTHON tests also
fail:
> E   ModuleNotFoundError: No module named 'ConfigParser'

and there are also syntax errors.



Additionally, the line 'from nose import main' fails with the same error.

-- 
You are receiving this mail because:
You are the assignee for the bug.