Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'nosetests --plugins' fails: No module named 'ConfigParser' #1124

Open
yurivict opened this issue Sep 26, 2022 · 0 comments
Open

'nosetests --plugins' fails: No module named 'ConfigParser' #1124

yurivict opened this issue Sep 26, 2022 · 0 comments

Comments

@yurivict
Copy link

$ nosetests --plugins
Traceback (most recent call last):
  File "/usr/local/bin/nosetests", line 3, in <module>
    from nose import main
  File "/usr/local/lib/python3.9/site-packages/nose/__init__.py", line 1, in <module>
    from nose.core import collector, main, run, run_exit, runmodule
  File "/usr/local/lib/python3.9/site-packages/nose/core.py", line 11, in <module>
    from nose.config import Config, all_config_files
  File "/usr/local/lib/python3.9/site-packages/nose/config.py", line 6, in <module>
    import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

There's no 'require' clause in setup.py, so where is ConfigParser supposed to come from?

Version: 1.3.7
Python-3.9
FreeBSD 13.1

freebsd-git pushed a commit to freebsd/freebsd-ports that referenced this issue Nov 22, 2022
- Regenerate creedsolo.c with Cython, which fixes
  build error with Python 3.10+

- Switched Nose to Pytest, for the nosetests issue [0]

[0]: nose-devs/nose#1124

PR:		267882
Reported by:	teodorsigaev@gmail.com
MFH:		2022Q4 (build fix)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant