{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/pipenv/issues/3092","repository_url":"https://api.github.com/repos/pypa/pipenv","labels_url":"https://api.github.com/repos/pypa/pipenv/issues/3092/labels{/name}","comments_url":"https://api.github.com/repos/pypa/pipenv/issues/3092/comments","events_url":"https://api.github.com/repos/pypa/pipenv/issues/3092/events","html_url":"https://github.com/pypa/pipenv/issues/3092","id":373422936,"node_id":"MDU6SXNzdWUzNzM0MjI5MzY=","number":3092,"title":"Bug with fresh install/upgrade","user":{"login":"PierreLeGuen","id":26087574,"node_id":"MDQ6VXNlcjI2MDg3NTc0","avatar_url":"https://avatars2.githubusercontent.com/u/26087574?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreLeGuen","html_url":"https://github.com/PierreLeGuen","followers_url":"https://api.github.com/users/PierreLeGuen/followers","following_url":"https://api.github.com/users/PierreLeGuen/following{/other_user}","gists_url":"https://api.github.com/users/PierreLeGuen/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreLeGuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreLeGuen/subscriptions","organizations_url":"https://api.github.com/users/PierreLeGuen/orgs","repos_url":"https://api.github.com/users/PierreLeGuen/repos","events_url":"https://api.github.com/users/PierreLeGuen/events{/privacy}","received_events_url":"https://api.github.com/users/PierreLeGuen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-24T10:54:08Z","updated_at":"2018-10-24T16:51:17Z","closed_at":null,"author_association":"NONE","body":"Hello ! Just upgraded pipenv from the AUR and then from pip, and I always get the same issue : \r\n(PS : the previous version worked)\r\n```bash\r\n$ pipenv install numpy\r\nTraceback (most recent call last):\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/project.py\", line 509, in _parse_pipfile\r\n    return contoml.loads(contents)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/patched/contoml/__init__.py\", line 15, in loads\r\n    elements = parse_tokens(tokens)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/patched/prettytoml/parser/__init__.py\", line 17, in parse_tokens\r\n    return _parse_token_stream(TokenStream(tokens))\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/patched/prettytoml/parser/__init__.py\", line 32, in _parse_token_stream\r\n    raise ParsingError('Failed to parse line {}'.format(pending.head.row))\r\nprettytoml.parser.errors.ParsingError: Failed to parse line 1\r\n\r\nDuring handling of the above exception, another exception occurred:\r\n\r\nTraceback (most recent call last):\r\n  File \"/home/pierrelg/.local/bin/pipenv\", line 11, in <module>\r\n    sys.exit(cli())\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 764, in __call__\r\n    return self.main(*args, **kwargs)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 717, in main\r\n    rv = self.invoke(ctx)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 1137, in invoke\r\n    return _process_result(sub_ctx.command.invoke(sub_ctx))\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 956, in invoke\r\n    return ctx.invoke(self.callback, **ctx.params)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py\", line 64, in new_func\r\n    return ctx.invoke(f, obj, *args, **kwargs)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/core.py\", line 555, in invoke\r\n    return callback(*args, **kwargs)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/click/decorators.py\", line 17, in new_func\r\n    return f(get_current_context(), *args, **kwargs)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/cli/command.py\", line 249, in install\r\n    editable_packages=state.installstate.editables,\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/core.py\", line 1724, in do_install\r\n    pypi_mirror=pypi_mirror,\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/core.py\", line 565, in ensure_project\r\n    pypi_mirror=pypi_mirror,\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/core.py\", line 488, in ensure_virtualenv\r\n    python = ensure_python(three=three, python=python)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/core.py\", line 398, in ensure_python\r\n    python = project.required_python_version\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/project.py\", line 230, in required_python_version\r\n    required = self.parsed_pipfile.get(\"requires\", {}).get(\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/project.py\", line 470, in parsed_pipfile\r\n    parsed = self._parse_pipfile(contents)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/project.py\", line 512, in _parse_pipfile\r\n    return toml.loads(contents)\r\n  File \"/home/pierrelg/.local/lib/python3.7/site-packages/pipenv/vendor/toml/decoder.py\", line 187, in loads\r\n    \" Reached end of line.\", original, i)\r\ntoml.decoder.TomlDecodeError: Key name found without value. Reached end of line. (line 1 column 6 char 5)\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/pipenv/issues/comments/432738505","html_url":"https://github.com/pypa/pipenv/issues/3092#issuecomment-432738505","issue_url":"https://api.github.com/repos/pypa/pipenv/issues/3092","id":432738505,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMjczODUwNQ==","user":{"login":"PierreLeGuen","id":26087574,"node_id":"MDQ6VXNlcjI2MDg3NTc0","avatar_url":"https://avatars2.githubusercontent.com/u/26087574?v=4","gravatar_id":"","url":"https://api.github.com/users/PierreLeGuen","html_url":"https://github.com/PierreLeGuen","followers_url":"https://api.github.com/users/PierreLeGuen/followers","following_url":"https://api.github.com/users/PierreLeGuen/following{/other_user}","gists_url":"https://api.github.com/users/PierreLeGuen/gists{/gist_id}","starred_url":"https://api.github.com/users/PierreLeGuen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PierreLeGuen/subscriptions","organizations_url":"https://api.github.com/users/PierreLeGuen/orgs","repos_url":"https://api.github.com/users/PierreLeGuen/repos","events_url":"https://api.github.com/users/PierreLeGuen/events{/privacy}","received_events_url":"https://api.github.com/users/PierreLeGuen/received_events","type":"User","site_admin":false},"created_at":"2018-10-24T16:51:17Z","updated_at":"2018-10-24T16:51:17Z","author_association":"NONE","body":"Hello @uranusjr , thanks for the answer.\r\nMy current Pipfile is this (he is here just for testing) : \r\n'''\r\n[requires]\r\npython_version = '3.7.0'\r\n'''"}}
{"actor":{"display_login":"PierreLeGuen"}}