-
Notifications
You must be signed in to change notification settings - Fork 480
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
make check
doesn't work on vanilla Ubuntu 22.04
#2567
Comments
Need to run
|
macOS:%
➜
|
Assuming we don't want to go down the whole configure/autoconf route, would it be worth doing a partial step where we check for in order pytest, pytest-3 and python, python3 and use the first one we find, which I think would fix your errors on a vanilla Ubuntu @DimitriPapadopoulos ? |
Concerning Concerning I agree these are distribution oddities, that should ideally be addressed by distributions themselves. In the meantime, I thought it would be profitable for codespell to be able to run |
Lot's of stackoverflow comments say that invoking via https://docs.pytest.org/en/7.2.x/how-to/usage.html#other-ways-of-calling-pytest Node.js Makefile does |
I wouldn't bother working around the |
⇒ Should we switch from
python
andpytest
topython3
andpytest-3
?python
is not available by default on a vanilla installation. Packagepython3-minimal
providespython3
, and packagepython-is-python3
, which is not installed by default, providespython
:We call
python
here:codespell/Makefile
Lines 50 to 51 in 458de80
pytest
is not available, instead packagepython3-pytest
providespytest-3
:We call
pytest
here:codespell/Makefile
Lines 56 to 57 in 458de80
The text was updated successfully, but these errors were encountered: