{"action":"opened","issue":{"url":"https://api.github.com/repos/sdispater/poetry/issues/732","repository_url":"https://api.github.com/repos/sdispater/poetry","labels_url":"https://api.github.com/repos/sdispater/poetry/issues/732/labels{/name}","comments_url":"https://api.github.com/repos/sdispater/poetry/issues/732/comments","events_url":"https://api.github.com/repos/sdispater/poetry/issues/732/events","html_url":"https://github.com/sdispater/poetry/issues/732","id":389905456,"node_id":"MDU6SXNzdWUzODk5MDU0NTY=","number":732,"title":"Which pip version does poetry use?","user":{"login":"timonbimon","id":14793026,"node_id":"MDQ6VXNlcjE0NzkzMDI2","avatar_url":"https://avatars3.githubusercontent.com/u/14793026?v=4","gravatar_id":"","url":"https://api.github.com/users/timonbimon","html_url":"https://github.com/timonbimon","followers_url":"https://api.github.com/users/timonbimon/followers","following_url":"https://api.github.com/users/timonbimon/following{/other_user}","gists_url":"https://api.github.com/users/timonbimon/gists{/gist_id}","starred_url":"https://api.github.com/users/timonbimon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timonbimon/subscriptions","organizations_url":"https://api.github.com/users/timonbimon/orgs","repos_url":"https://api.github.com/users/timonbimon/repos","events_url":"https://api.github.com/users/timonbimon/events{/privacy}","received_events_url":"https://api.github.com/users/timonbimon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-11T18:55:08Z","updated_at":"2018-12-11T18:55:08Z","closed_at":null,"author_association":"NONE","body":"<!-- Checked checkbox should look like this: [x] -->\r\n- [x] I have searched the [issues](https://github.com/sdispater/poetry/issues) of this repo and believe that this is not a duplicate.\r\n- [x] I have searched the [documentation](https://poetry.eustace.io/docs/) and believe that my question is not covered.\r\n\r\n## Question\r\nI was wondering how poetry chooses which pip version it uses when installing new packages? And how can we make it choose a different one?\r\n\r\nI am asking this question because of the following problem I encountered:\r\n\r\nWhile trying to install \"cryptography\" in a Docker container with poetry I got the following error message:\r\n\r\n```\r\nCommand ['/root/.cache/pypoetry/virtualenvs/hybrid-py3.7/bin/pip', 'install'  \r\n, '--no-deps', 'cryptography==2.4.2'] errored with the following output:      \r\nCollecting cryptography==2.4.2                                                \r\n  Downloading https://files.pythonhosted.org/packages/f3/39/d3904df7c56f8654  \r\n691c4ae1bdb270c1c9220d6da79bd3b1fbad91afd0e1/cryptography-2.4.2.tar.gz (468k  \r\nB)                                                                            \r\n  Could not find a version that satisfies the requirement cffi!=1.11.3,>=1.7  \r\n (from versions: )                                                            \r\nNo matching distribution found for cffi!=1.11.3,>=1.7                         \r\nYou are using pip version 10.0.1, however version 18.1 is available.    \r\n```\r\n\r\nI found the error a little bit weird in the first place, because it does not occur when I run `poetry install` locally, but after a little bit of googling it seemed that the cffi problem was related to the pip version and should be fixable, by upgrading pip => which leads to my question: My dockerfile is based on python:3.7-alpine and has pip 18.1 installed, so why does poetry still try to use pip version 10.0.1?\r\n\r\nThanks a lot to anyone taking the time to read through this :)\r\n\r\n"}}
{"actor":{"display_login":"timonbimon"}}