{"action":"closed","issue":{"url":"https://api.github.com/repos/pypa/python-packaging-user-guide/issues/506","repository_url":"https://api.github.com/repos/pypa/python-packaging-user-guide","labels_url":"https://api.github.com/repos/pypa/python-packaging-user-guide/issues/506/labels{/name}","comments_url":"https://api.github.com/repos/pypa/python-packaging-user-guide/issues/506/comments","events_url":"https://api.github.com/repos/pypa/python-packaging-user-guide/issues/506/events","html_url":"https://github.com/pypa/python-packaging-user-guide/issues/506","id":324951589,"number":506,"title":"Misleading description of poetry","user":{"login":"sdispater","id":555648,"avatar_url":"https://avatars1.githubusercontent.com/u/555648?v=4","gravatar_id":"","url":"https://api.github.com/users/sdispater","html_url":"https://github.com/sdispater","followers_url":"https://api.github.com/users/sdispater/followers","following_url":"https://api.github.com/users/sdispater/following{/other_user}","gists_url":"https://api.github.com/users/sdispater/gists{/gist_id}","starred_url":"https://api.github.com/users/sdispater/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sdispater/subscriptions","organizations_url":"https://api.github.com/users/sdispater/orgs","repos_url":"https://api.github.com/users/sdispater/repos","events_url":"https://api.github.com/users/sdispater/events{/privacy}","received_events_url":"https://api.github.com/users/sdispater/received_events","type":"User","site_admin":false},"labels":[{"id":75084363,"url":"https://api.github.com/repos/pypa/python-packaging-user-guide/labels/bug","name":"bug","color":"fc2929","default":true},{"id":578320494,"url":"https://api.github.com/repos/pypa/python-packaging-user-guide/labels/needs%20clarification","name":"needs clarification","color":"eb6420","default":false}],"state":"closed","locked":false,"assignee":{"login":"ncoghlan","id":1026649,"avatar_url":"https://avatars3.githubusercontent.com/u/1026649?v=4","gravatar_id":"","url":"https://api.github.com/users/ncoghlan","html_url":"https://github.com/ncoghlan","followers_url":"https://api.github.com/users/ncoghlan/followers","following_url":"https://api.github.com/users/ncoghlan/following{/other_user}","gists_url":"https://api.github.com/users/ncoghlan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoghlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoghlan/subscriptions","organizations_url":"https://api.github.com/users/ncoghlan/orgs","repos_url":"https://api.github.com/users/ncoghlan/repos","events_url":"https://api.github.com/users/ncoghlan/events{/privacy}","received_events_url":"https://api.github.com/users/ncoghlan/received_events","type":"User","site_admin":false},"assignees":[{"login":"ncoghlan","id":1026649,"avatar_url":"https://avatars3.githubusercontent.com/u/1026649?v=4","gravatar_id":"","url":"https://api.github.com/users/ncoghlan","html_url":"https://github.com/ncoghlan","followers_url":"https://api.github.com/users/ncoghlan/followers","following_url":"https://api.github.com/users/ncoghlan/following{/other_user}","gists_url":"https://api.github.com/users/ncoghlan/gists{/gist_id}","starred_url":"https://api.github.com/users/ncoghlan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncoghlan/subscriptions","organizations_url":"https://api.github.com/users/ncoghlan/orgs","repos_url":"https://api.github.com/users/ncoghlan/repos","events_url":"https://api.github.com/users/ncoghlan/events{/privacy}","received_events_url":"https://api.github.com/users/ncoghlan/received_events","type":"User","site_admin":false}],"milestone":null,"comments":8,"created_at":"2018-05-21T15:08:46Z","updated_at":"2018-05-23T22:21:58Z","closed_at":"2018-05-23T22:21:58Z","author_association":"NONE","body":"> poetry for Python developer focused components that are designed primarily for publication to a Python package index (pipenv deliberately avoids making the assumption that the application being worked on will support distribution as a pip-installable Python package, while poetry based applications rely explicitly on their Python packaging metadata to describe their application structure and dependencies)\r\n\r\nAs the author of Poetry, I find this somewhat misleading.\r\n\r\nLike I said on Twitter, there is a misconception around Poetry and what its purpose is. Poetry is a tool to manage Python projects, being an application or a library.\r\n\r\n> poetry based applications rely explicitly on their Python packaging metadata\r\n\r\nThis is not true, the only metadata necessary in Poetry are the project name, its version and one or more author. That’s it. I made this choice because for me every project should have a name and a version.\r\n\r\nThe only difference when managing an application compared to a library is that the lock file should be check into version control and you won’t have to use the build and publish command. Nothing more.\r\n\r\nBasically, the workflow you have with pipenv can be replicated with poetry:\r\n\r\n## Installing packages for your project\r\n```\r\npoetry add requests\r\n```\r\n\r\nThis displays an output like this:\r\n\r\n```\r\nUsing version ^2.18 for requests\r\n\r\nUpdating dependencies\r\nResolving dependencies... (0.1s)\r\n\r\n\r\nPackage operations: 5 installs, 0 updates, 0 removals\r\n\r\nWriting lock file\r\n\r\n  - Installing certifi (2018.4.16)\r\n  - Installing chardet (3.0.4)\r\n  - Installing idna (2.6)\r\n  - Installing urllib3 (1.22)\r\n  - Installing requests (2.18.4)\r\n```\r\n\r\n\r\n## Using installed packages\r\n\r\n```\r\npoetry run python main.py\r\n```\r\n\r\n\r\nSo it’s seems that this was written by someone who has not used Poetry and has preconceptions about what it does or not. So I thought I would try to clarify things a bit."}}
{"actor":{"display_login":"theacodes"}}