{"action":"created","issue":{"url":"https://api.github.com/repos/pypa/setuptools/issues/523","repository_url":"https://api.github.com/repos/pypa/setuptools","labels_url":"https://api.github.com/repos/pypa/setuptools/issues/523/labels{/name}","comments_url":"https://api.github.com/repos/pypa/setuptools/issues/523/comments","events_url":"https://api.github.com/repos/pypa/setuptools/issues/523/events","html_url":"https://github.com/pypa/setuptools/issues/523","id":144361882,"number":523,"title":"20.5.0+ breaks existing setup.py files - UndefinedEnvironmentName","user":{"login":"lnielsen","id":1698163,"avatar_url":"https://avatars.githubusercontent.com/u/1698163?v=3","gravatar_id":"","url":"https://api.github.com/users/lnielsen","html_url":"https://github.com/lnielsen","followers_url":"https://api.github.com/users/lnielsen/followers","following_url":"https://api.github.com/users/lnielsen/following{/other_user}","gists_url":"https://api.github.com/users/lnielsen/gists{/gist_id}","starred_url":"https://api.github.com/users/lnielsen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lnielsen/subscriptions","organizations_url":"https://api.github.com/users/lnielsen/orgs","repos_url":"https://api.github.com/users/lnielsen/repos","events_url":"https://api.github.com/users/lnielsen/events{/privacy}","received_events_url":"https://api.github.com/users/lnielsen/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-03-29T19:21:26Z","updated_at":"2016-03-31T02:43:45Z","closed_at":null,"body":"The latest 20.6.4 PyPI is breaking our [setup.py](https://github.com/inveniosoftware/invenio-records-rest/blob/master/setup.py) files with the following exception:\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"setup.py\", line 163, in <module>\r\n    cmdclass={'test': PyTest},\r\n  File \"/opt/python/2.7.9/lib/python2.7/distutils/core.py\", line 151, in setup\r\n    dist.run_commands()\r\n  File \"/opt/python/2.7.9/lib/python2.7/distutils/dist.py\", line 953, in run_commands\r\n    self.run_command(cmd)\r\n  File \"/opt/python/2.7.9/lib/python2.7/distutils/dist.py\", line 972, in run_command\r\n    cmd_obj.run()\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/setuptools/command/test.py\", line 152, in run\r\n    self.distribution.fetch_build_eggs(self.distribution.tests_require)\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/setuptools/dist.py\", line 313, in fetch_build_eggs\r\n    replace_conflicting=True,\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/__init__.py\", line 814, in resolve\r\n    if req.marker and not req.marker.evaluate():\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/markers.py\", line 273, in evaluate\r\n    return _evaluate_markers(self._markers, current_environment)\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/markers.py\", line 198, in _evaluate_markers\r\n    lhs_value = _get_env(environment, lhs.value)\r\n  File \"/home/travis/virtualenv/python2.7.9/lib/python2.7/site-packages/pkg_resources/_vendor/packaging/markers.py\", line 180, in _get_env\r\n    \"{0!r} does not exist in evaluation environment.\".format(name)\r\npkg_resources._vendor.packaging.markers.UndefinedEnvironmentName: 'extra' does not exist in evaluation environment.\r\n```"},"comment":{"url":"https://api.github.com/repos/pypa/setuptools/issues/comments/203725287","html_url":"https://github.com/pypa/setuptools/issues/523#issuecomment-203725287","issue_url":"https://api.github.com/repos/pypa/setuptools/issues/523","id":203725287,"user":{"login":"bszonye","id":5016349,"avatar_url":"https://avatars.githubusercontent.com/u/5016349?v=3","gravatar_id":"","url":"https://api.github.com/users/bszonye","html_url":"https://github.com/bszonye","followers_url":"https://api.github.com/users/bszonye/followers","following_url":"https://api.github.com/users/bszonye/following{/other_user}","gists_url":"https://api.github.com/users/bszonye/gists{/gist_id}","starred_url":"https://api.github.com/users/bszonye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bszonye/subscriptions","organizations_url":"https://api.github.com/users/bszonye/orgs","repos_url":"https://api.github.com/users/bszonye/repos","events_url":"https://api.github.com/users/bszonye/events{/privacy}","received_events_url":"https://api.github.com/users/bszonye/received_events","type":"User","site_admin":false},"created_at":"2016-03-31T02:43:45Z","updated_at":"2016-03-31T02:43:45Z","body":"Our teams are encountering this when using the webtest API in a py.test fixture, so it affects all of their tests. I do not yet have a workaround that successfully builds against the webtest classes without triggering the setuptools bug, so those teams cannot even run commit tests to integrate new code."}}