-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
test.py relies on python #255
Comments
What problems is this causing for you? Those parts are exercising the global completion code that is matching on (As you can see by the test failures in #257) |
@hroncok Are you able to comment on whether this has been an issue for you when packaging for Fedora? |
Somehow. We have a workaround:
This makes sure that our packaged python3-argparse RPM is only used for our python3 things. |
I have a branch which should fix these issues here: https://github.com/evanunderscore/argcomplete/commits/dynamic-test-shebang It has a few problems:
@hroncok Do you think it's worth pursuing this, or are you happy to keep |
I think that it's worth pursuing for multiple reasons*, however I'm not sure if this is the best way. I haven't yet read the code and will not have the tiem to do it until next week. Wearing my Fedora, we can live with the current solution. If you only motivation would be to make our packaging job easier (thanks!), it is probably not worth the effort. * I'm not quite sure how argcomplete is supposed to work in "multiple Pythons installed" environment. |
Until recently, the fact that anything under So it seems like we now have two problems:
I agree these are probably worth fixing. Once you get time to take a look over my branch and confirm the changes work in your environment, we can go from there. |
Please use sys.executable instead.
The text was updated successfully, but these errors were encountered: