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

Refuses to run on Python 3.12 #28

Open
jaraco opened this issue Feb 19, 2024 · 1 comment
Open

Refuses to run on Python 3.12 #28

jaraco opened this issue Feb 19, 2024 · 1 comment

Comments

@jaraco
Copy link

jaraco commented Feb 19, 2024

I installed with pipx install nose2pytest@git+https://github.com/pytest-dev/nose2pytest --force (GitHub link because PyPI is stale), but then the project failed to run:

nose2pytest .
Traceback (most recent call last):
  File "/Users/jaraco/.local/bin/nose2pytest", line 7, in <module>
    from nose2pytest.script import main
  File "/Users/jaraco/Library/Application Support/pipx/venvs/nose2pytest/lib/python3.12/site-packages/nose2pytest/script.py", line 133, in <module>
    raise RuntimeError('nose2pytest must be run using Python 3.5 to 3.11')
RuntimeError: nose2pytest must be run using Python 3.5 to 3.11
@jaraco
Copy link
Author

jaraco commented Feb 19, 2024

I was able to temporarily work around the problem by uninstalling and then installing with:

pipx install --python 3.11 nose2pytest@git+https://github.com/pytest-dev/nose2pytest

cclauss added a commit to cclauss/nose2pytest that referenced this issue Apr 25, 2024
This `pipx` approach is recommended in:
* pytest-dev#28
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