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

Follow XDG Base Directories Specification #2148

Closed
2 tasks done
ghost opened this issue Mar 8, 2020 · 9 comments
Closed
2 tasks done

Follow XDG Base Directories Specification #2148

ghost opened this issue Mar 8, 2020 · 9 comments
Labels
kind/feature Feature requests/implementations

Comments

@ghost
Copy link

ghost commented Mar 8, 2020

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Feature Request

This is a request for poetry to respect the spec fully.
This is not a duplicate of #1659 because that issue is incorrectly titled and only addresses $XDG_DATA_HOME.
It is also not a duplicate of #342 because discussion of the spec never went anywhere and I think it's better to have a specific issue for it.

https://wiki.archlinux.org/index.php/XDG_Base_Directory
https://wiki.gnome.org/Initiatives/GnomeGoals/XDGConfigFolders
https://web.archive.org/web/20180827160401/plus.google.com/+RobPikeTheHuman/posts/R58WgWwN9jp

@ghost ghost added the kind/feature Feature requests/implementations label Mar 8, 2020
@rpdelaney
Copy link
Contributor

Can this be closed? See docs: https://python-poetry.org/docs/configuration/

@ghost
Copy link
Author

ghost commented Oct 14, 2021

Took a while to find out when this happened, but it seems like it got fixed here: #3706

Thanks.

@ghost ghost closed this as completed Oct 14, 2021
@luni3359
Copy link

Something is definitely not right, because I've only started using Poetry about a week ago and .poetry was created my on my home directory. It's still not fully respecting the specification.

@ghost
Copy link
Author

ghost commented Oct 17, 2021

Something is definitely not right, because I've only started using Poetry about a week ago and .poetry was created my on my home directory. It's still not fully respecting the specification.

I can't replicate that.

You're installing with the one liner in the README right?

Only way I can think of right now is that somehow your POETRY_HOME is set to ~/.poetry?

@rpdelaney
Copy link
Contributor

I would also verify the poetry --version.

@luni3359
Copy link

I've reinstalled poetry using the one-liner from the README file and it's indeed working as intended. I had followed the instructions over at the official site (https://python-poetry.org/docs/) but I didn't know that they would end up working differently.

@ghost
Copy link
Author

ghost commented Oct 19, 2021

I guess that's a documentation issue then. Unless there's some reason to keeping the old script on the website.

@scratchmex
Copy link

scratchmex commented Aug 23, 2022

I have the same error following https://python-poetry.org/docs/

❯ curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python -
Retrieving Poetry metadata

This installer is deprecated. Poetry versions installed using this script will not be able to use 'self update' command to upgrade to 1.2.0a1 or later. It is recommended to use https://install.python-poetry.org instead. Instructions are available at https://python-poetry.org/docs/#installation
# Welcome to Poetry!

This will download and install the latest version of Poetry,
a dependency and package manager for Python.

It will add the `poetry` command to Poetry's bin directory, located at:

$HOME/.poetry/bin

This path will then be added to your `PATH` environment variable by
modifying the profile files located at:

$HOME/.profile
$HOME/.zshrc

You can uninstall at any time by executing this script with the --uninstall option,
and these changes will be reverted.

Installing version: 1.1.15
  - Downloading poetry-1.1.15-linux.tar.gz (97.94MB)

and the error is because This installer is deprecated. Poetry versions installed using this script will not be able to use 'self update' command to upgrade to 1.2.0a1 or later. It is recommended to use https://install.python-poetry.org instead. Instructions are available at https://python-poetry.org/docs/#installation

If you go to the webpage it actually says The get-poetry.py script described here will be replaced in Poetry 1.2 by install.python-poetry.org. From Poetry 1.1.7 onwards, you can already use this script as described [here](https://python-poetry.org/docs/master/#installation).

TL;DR: use curl -sSL https://install.python-poetry.org | python3 -

I think this is a serious documentation error

Copy link

github-actions bot commented Mar 1, 2024

This issue 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
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/feature Feature requests/implementations
Projects
None yet
Development

No branches or pull requests

3 participants