improved get-poetry.py and added POETRY_HOME support to poetry command#3550
improved get-poetry.py and added POETRY_HOME support to poetry command#3550mohan43u wants to merge 1 commit intopython-poetry:masterfrom
Conversation
dc1b0ec to
488552e
Compare
|
Can someone review this code? The changes I made helps keep everything related to 'poetry' inside one place under POETRY_HOME |
|
I don't see how this resolves #2445, unless the intention is to not support the |
given reply
I'm not able to understand |
|
Right now, the This PR doesn't change that behaviour, it instead adds |
This PR doesn't address #2445 directly, but it fixes the underlying problem which lead to #2445 issue. As I already mentioned, |
|
That's not the underlying problem in #2445. The underlying problem there is the surface problem:
With this PR, the the same problem exists, except you add "or
|
|
There is no solution in current poetry to address the problem this PR is addressing which is providing user a way to explicitly specify the location to use rather than asking user to change |
|
If by "location to use", you only mean "Poetry's cache files", then there is a documented solution, it just doesn't work: #2445. If by "location to use" you include everything that Poetry touches (i.e. you want a "standalone" or "portable" install) then no, there isn't such a thing, but supporting that through |
4f9bf2e to
0673c4e
Compare
* fixed prompting even after no-modify-path explicitly given in commandline * use POETRY_HOME if available instead of XDG_*_HOME variables in nix systems
|
Closing this for a couple reasons: I do think it's worth addressing the inconsistent cache dir in poetry -- but this PR is only tangentially related and not the way to go about solving that problem. |
|
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. |
Pull Request Check List
Resolves: #3542
Resolves: #2445