Bug 264797 - devel/py-nose: Tests fail: error: invalid command 'build_tests'; ALSO 'from nose import main' fails with "No module named 'ConfigParser'"
Summary: devel/py-nose: Tests fail: error: invalid command 'build_tests'; ALSO 'from n...
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-20 19:50 UTC by Yuri Victorovich
Modified: 2022-06-20 22:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2022-06-20 19:50:26 UTC
'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.
Comment 1 Muhammad Moinur Rahman freebsd_committer freebsd_triage 2022-06-20 22:03:55 UTC
devel/py-nose has not been updated since 2016 and from what it looks like it is abandoned. There has been a new project called py-nose2. Maybe we should test on the usability of that otherwise DEPRECIATE the consumers.

The errors look like mostly; not fully python3 compatible.