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

Warn user when trying to spin run test.py #148

Merged
merged 3 commits into from
Jan 11, 2024

Conversation

stefanv
Copy link
Member

@stefanv stefanv commented Jan 10, 2024

They are probably looking for spin run python test.py

Closes #147

They are probably looking for `spin run python test.py`

Closes scientific-python#147
@jarrodmillman jarrodmillman added the type: Enhancement New feature or request label Jan 10, 2024
@ngoldbaum
Copy link
Contributor

goldbaum at Nathans-MBP in ~/Documents/numpy on redefine-complex-sign!
± spin run ../numpy-experiments/test.py
$ /Users/goldbaum/.pyenv/versions/3.11.6/bin/python3.11 vendored-meson/meson/meson.py compile -C build
$ /Users/goldbaum/.pyenv/versions/3.11.6/bin/python3.11 vendored-meson/meson/meson.py install --only-changed -C build --destdir ../build-install
/bin/sh: ../numpy-experiments/test.py: Permission denied
Did you mean to call `spin run python ../numpy-experiments/test.py`?

Awesome, this is very helpful!

@jarrodmillman jarrodmillman merged commit 9e504d6 into scientific-python:main Jan 11, 2024
17 checks passed
@jarrodmillman jarrodmillman added this to the 0.9 milestone Jan 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: Enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

spin run failing with a permissions error on a python script should suggest spin python
3 participants