{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pipenv/issues/356","repository_url":"https://api.github.com/repos/pypa/pipenv","labels_url":"https://api.github.com/repos/pypa/pipenv/issues/356/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pipenv/issues/356/comments","events_url":"https://api.github.com/repos/pypa/pipenv/issues/356/events","html_url":"https://github.com/pypa/pipenv/issues/356","id":228795223,"number":356,"title":"pipenv install is very slow","user":{"login":"Diggsey","id":451321,"avatar_url":"https://avatars2.githubusercontent.com/u/451321?v=4","gravatar_id":"","url":"https://api.github.com/users/Diggsey","html_url":"https://github.com/Diggsey","followers_url":"https://api.github.com/users/Diggsey/followers","following_url":"https://api.github.com/users/Diggsey/following{/other_user}","gists_url":"https://api.github.com/users/Diggsey/gists{/gist_id}","starred_url":"https://api.github.com/users/Diggsey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Diggsey/subscriptions","organizations_url":"https://api.github.com/users/Diggsey/orgs","repos_url":"https://api.github.com/users/Diggsey/repos","events_url":"https://api.github.com/users/Diggsey/events{/privacy}","received_events_url":"https://api.github.com/users/Diggsey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":69,"created_at":"2017-05-15T17:59:31Z","updated_at":"2018-05-04T14:02:28Z","closed_at":"2017-09-05T22:00:19Z","author_association":"NONE","body":"Running `pipenv install` after changing *one* dependency takes about ~5 minutes for me, on a windows 10 machine with an SSD.\r\n\r\nThe vast majority of that time is spent inside `Locking [packages] dependencies...`\r\n\r\nIt seems like there might be some quadratic-or-worse complexity in this step?\r\n\r\nI've included most of our pipfile below, but I had to remove some of our private repo dependencies:\r\n```\r\n[[source]]\r\nurl = \"https://pypi.python.org/simple\"\r\nverify_ssl = true\r\n\r\n[packages]\r\nalembic = \"==0.8.4\"\r\namqp = \"==1.4.7\"\r\nanalytics-python = \"==1.2.5\"\r\nanyjson = \"==0.3.3\"\r\nbilliard = \"==3.3.0.20\"\r\nbraintree = \"==3.20.0\"\r\ncelery = \"==3.1.18\"\r\ncoverage = \"==4.0.3\"\r\ndocopt = \"==0.4.0\"\r\neventlet = \"==0.19.0\"\r\nflake8 = \"==3.0.4\"\r\nFlask-Cors = \"==2.1.2\"\r\nFlask-Login = \"==0.3.2\"\r\nFlask = \"==0.12.1\"\r\nfuncsigs = \"==0.4\"\r\nfuzzywuzzy = \"==0.12.0\"\r\ngcloud = \"==0.14.0\"\r\nhtml2text = \"==2016.9.19\"\r\nitsdangerous = \"==0.24\"\r\nJinja2 = \"==2.8\"\r\njsonpatch = \"==1.15\"\r\njsonschema = \"==2.5.1\"\r\nPyJWT = \"==1.4.2\"\r\nkombu = \"==3.0.30\"\r\nLayerClient = \"==0.1.9\"\r\nMarkupSafe = \"==0.23\"\r\nmixpanel = \"==4.3.0\"\r\nmock = \"==1.3.0\"\r\nnose-exclude = \"==0.4.1\"\r\nnose = \"==1.3.7\"\r\nnumpy = \"==1.12.1\"\r\npdfrw = \"==0.3\"\r\nPillow = \"==4.1.0\"\r\npusher = \"==1.6\"\r\npycountry = \"==1.20\"\r\npycryptodome = \"==3.4.5\"\r\npymongo = \"==3.2\"\r\nPyMySQL = \"==0.7.4\"\r\npython-dateutil = \"<=2.5.1\"\r\npython-Levenshtein = \"==0.12.0\"\r\npython-magic = \"==0.4.6\"\r\npython-coveralls = \"==2.9.0\"\r\npytz = \"==2015.6\"\r\nraygun4py = \"==3.1.2\"\r\n\"repoze.retry\" = \"==1.3\"\r\nrequests = \"==2.8.1\"\r\nsendgrid = \"==2.2.1\"\r\nslacker = \"==0.7.3\"\r\nSQLAlchemy-Enum34 = \"==1.0.1\"\r\nSQLAlchemy-Utils = \"==0.31.6\"\r\nSQLAlchemy = \"==1.1.9\"\r\ntyping = \"==3.5.2.2\"\r\ntwilio = \"==5.6.0\"\r\nUnidecode = \"==0.4.19\"\r\nvoluptuous = \"==0.8.11\"\r\nWand = \"==0.4.4\"\r\nwatchdog = \"==0.8.3\"\r\nWerkzeug = \"==0.12.1\"\r\nwheel = \"==0.24.0\"\r\nWTForms = \"==2.0.2\"\r\nxmltodict = \"==0.9.2\"\r\nzeep = \"==0.24.0\"\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/pypa/pipenv/issues/comments/386611103","html_url":"https://github.com/pypa/pipenv/issues/356#issuecomment-386611103","issue_url":"https://api.github.com/repos/pypa/pipenv/issues/356","id":386611103,"user":{"login":"AndreasPresthammer","id":328539,"avatar_url":"https://avatars3.githubusercontent.com/u/328539?v=4","gravatar_id":"","url":"https://api.github.com/users/AndreasPresthammer","html_url":"https://github.com/AndreasPresthammer","followers_url":"https://api.github.com/users/AndreasPresthammer/followers","following_url":"https://api.github.com/users/AndreasPresthammer/following{/other_user}","gists_url":"https://api.github.com/users/AndreasPresthammer/gists{/gist_id}","starred_url":"https://api.github.com/users/AndreasPresthammer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AndreasPresthammer/subscriptions","organizations_url":"https://api.github.com/users/AndreasPresthammer/orgs","repos_url":"https://api.github.com/users/AndreasPresthammer/repos","events_url":"https://api.github.com/users/AndreasPresthammer/events{/privacy}","received_events_url":"https://api.github.com/users/AndreasPresthammer/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T14:02:28Z","updated_at":"2018-05-04T14:02:28Z","author_association":"NONE","body":"I've created a github project showing slowness when using locking. Please have a look at https://github.com/AndreasPresthammer/slow-pipenv . I'm not a 100% sure that this is the same problem though. Pull the repo down and run the slow.sh script, and observe the difference in execution time."}}
{"actor":{"display_login":"AndreasPresthammer"}}