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

Respect Python version in bin script #1312

Closed
wants to merge 2 commits into from
Closed

Respect Python version in bin script #1312

wants to merge 2 commits into from

Conversation

michielboekhoff
Copy link

@michielboekhoff michielboekhoff commented Aug 21, 2019

  • [ N/A ] Added tests for changed code.
  • [ ✔️ ] Updated documentation for changed code.

This PR makes the Poetry installer get-poetry.py respect the installing version of Python in installing the ~/.poetry/bin/poetry script.

Simply, if python3 is used to install Poetry, then use that as the Python executable to run Poetry as. If it is python (e.g. Python 2), then use python.

This should fix the issues some people are having in #1257.

In particular, this extra documentation covers the Python binary used by
the poetry executable.
@michielboekhoff michielboekhoff changed the title Respect python version bin Respect Python version in bin script Aug 21, 2019
@brycedrennan brycedrennan added the kind/bug Something isn't working as expected label Aug 22, 2019
@brycedrennan
Copy link
Contributor

Thanks for contributing to poetry! This duplicates open pull request #1042.

I have concerns about the (nearly identical) approach that was taken in both pull requests. I'd welcome your thoughts on what the best way forward is.

@michielboekhoff
Copy link
Author

Thanks @brycedrennan! Apologies for the duplication, I didn't see that - I'll put my thoughts on the PR and on the issue.

Copy link

github-actions bot commented Mar 1, 2024

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants