-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Fix incorrect sys.argv[0] path when calling project scripts #6737
Merged
radoering
merged 24 commits into
python-poetry:master
from
wagnerluis1982:fix-incorrect-executable-path
Jan 23, 2023
Merged
Fix incorrect sys.argv[0] path when calling project scripts #6737
radoering
merged 24 commits into
python-poetry:master
from
wagnerluis1982:fix-incorrect-executable-path
Jan 23, 2023
Commits on Nov 13, 2022
-
fix: RunCommand calling scripts with incorrect executable path
Fixes python-poetryGH-965 Calling `sys.argv` should run the same program as the currently running program. To make calling Poetry scripts through RunCommand match this behavior, we must set `sys.argv[0]` to be the full path of the executable. This change makes the behavior of calling a script through `poetry run` the same as calling a script directly from the .venv/bin.
Configuration menu - View commit details
-
Copy full SHA for 7273f41 - Browse repository at this point
Copy the full SHA 7273f41View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9173580 - Browse repository at this point
Copy the full SHA 9173580View commit details -
There are probably cleaner ways to test the CLI, so let me know.
Configuration menu - View commit details
-
Copy full SHA for 6209264 - Browse repository at this point
Copy the full SHA 6209264View commit details -
Configuration menu - View commit details
-
Copy full SHA for 399ed6d - Browse repository at this point
Copy the full SHA 399ed6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a915a9 - Browse repository at this point
Copy the full SHA 1a915a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 121e42f - Browse repository at this point
Copy the full SHA 121e42fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85174c7 - Browse repository at this point
Copy the full SHA 85174c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee4a2a7 - Browse repository at this point
Copy the full SHA ee4a2a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd4cee7 - Browse repository at this point
Copy the full SHA fd4cee7View commit details -
Configuration menu - View commit details
-
Copy full SHA for c925e39 - Browse repository at this point
Copy the full SHA c925e39View commit details
Commits on Jan 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 7ae7d32 - Browse repository at this point
Copy the full SHA 7ae7d32View commit details
Commits on Jan 12, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4c919b8 - Browse repository at this point
Copy the full SHA 4c919b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81232c0 - Browse repository at this point
Copy the full SHA 81232c0View commit details
Commits on Jan 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c761cfe - Browse repository at this point
Copy the full SHA c761cfeView commit details -
Configuration menu - View commit details
-
Copy full SHA for e0e01eb - Browse repository at this point
Copy the full SHA e0e01ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for c1d579f - Browse repository at this point
Copy the full SHA c1d579fView commit details
Commits on Jan 16, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 74b725e - Browse repository at this point
Copy the full SHA 74b725eView commit details
Commits on Jan 18, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0846cd6 - Browse repository at this point
Copy the full SHA 0846cd6View commit details
Commits on Jan 20, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 02c9919 - Browse repository at this point
Copy the full SHA 02c9919View commit details
Commits on Jan 21, 2023
-
Configuration menu - View commit details
-
Copy full SHA for e4de1a4 - Browse repository at this point
Copy the full SHA e4de1a4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2bdc670 - Browse repository at this point
Copy the full SHA 2bdc670View commit details -
Configuration menu - View commit details
-
Copy full SHA for 713a1de - Browse repository at this point
Copy the full SHA 713a1deView commit details
Commits on Jan 22, 2023
-
Configuration menu - View commit details
-
Copy full SHA for a758197 - Browse repository at this point
Copy the full SHA a758197View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf6c3ca - Browse repository at this point
Copy the full SHA bf6c3caView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.