{"action":"created","issue":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5260","repository_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python","labels_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5260/labels{/name}","comments_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5260/comments","events_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5260/events","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5260","id":318731531,"number":5260,"title":"enum34 installed for pip -t","user":{"login":"eyaler","id":4436747,"avatar_url":"https://avatars1.githubusercontent.com/u/4436747?v=4","gravatar_id":"","url":"https://api.github.com/users/eyaler","html_url":"https://github.com/eyaler","followers_url":"https://api.github.com/users/eyaler/followers","following_url":"https://api.github.com/users/eyaler/following{/other_user}","gists_url":"https://api.github.com/users/eyaler/gists{/gist_id}","starred_url":"https://api.github.com/users/eyaler/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eyaler/subscriptions","organizations_url":"https://api.github.com/users/eyaler/orgs","repos_url":"https://api.github.com/users/eyaler/repos","events_url":"https://api.github.com/users/eyaler/events{/privacy}","received_events_url":"https://api.github.com/users/eyaler/received_events","type":"User","site_admin":false},"labels":[{"id":131855319,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/labels/packaging","name":"packaging","color":"bfdadc","default":false},{"id":778245707,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/labels/status:%20awaiting%20information","name":"status: awaiting information","color":"fef2c0","default":false},{"id":77438584,"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/labels/type:%20question","name":"type: question","color":"c5def5","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-04-29T16:48:08Z","updated_at":"2018-04-30T17:44:36Z","closed_at":"2018-04-30T17:44:07Z","author_association":"NONE","body":"when installing with pip install -t target, enum34 gets installed for python 3.6, and prevents later imports\r\n"},"comment":{"url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/comments/385474427","html_url":"https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5260#issuecomment-385474427","issue_url":"https://api.github.com/repos/GoogleCloudPlatform/google-cloud-python/issues/5260","id":385474427,"user":{"login":"tseaver","id":242750,"avatar_url":"https://avatars2.githubusercontent.com/u/242750?v=4","gravatar_id":"","url":"https://api.github.com/users/tseaver","html_url":"https://github.com/tseaver","followers_url":"https://api.github.com/users/tseaver/followers","following_url":"https://api.github.com/users/tseaver/following{/other_user}","gists_url":"https://api.github.com/users/tseaver/gists{/gist_id}","starred_url":"https://api.github.com/users/tseaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tseaver/subscriptions","organizations_url":"https://api.github.com/users/tseaver/orgs","repos_url":"https://api.github.com/users/tseaver/repos","events_url":"https://api.github.com/users/tseaver/events{/privacy}","received_events_url":"https://api.github.com/users/tseaver/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T17:44:36Z","updated_at":"2018-04-30T17:44:36Z","author_association":"MEMBER","body":"Looks like an issue with `wheel`:  the built wheel on PyPI has the following metadata:\r\n\r\n```ini\r\nMetadata-Version: 2.0\r\nName: google-cloud-vision\r\nVersion: 0.31.0\r\nSummary: Google Cloud Vision API client library\r\nHome-page: https://github.com/GoogleCloudPlatform/google-cloud-python\r\nAuthor: Google LLC\r\nAuthor-email: googleapis-packages@google.com\r\nLicense: Apache 2.0\r\nPlatform: Posix; MacOS X; Windows\r\nClassifier: Development Status :: 4 - Beta\r\nClassifier: Intended Audience :: Developers\r\nClassifier: License :: OSI Approved :: Apache Software License\r\nClassifier: Programming Language :: Python\r\nClassifier: Programming Language :: Python :: 2\r\nClassifier: Programming Language :: Python :: 2.7\r\nClassifier: Programming Language :: Python :: 3\r\nClassifier: Programming Language :: Python :: 3.4\r\nClassifier: Programming Language :: Python :: 3.5\r\nClassifier: Programming Language :: Python :: 3.6\r\nClassifier: Operating System :: OS Independent\r\nClassifier: Topic :: Internet\r\nRequires-Dist: enum34\r\nRequires-Dist: google-api-core[grpc] (>=0.1.0,<2.0.0dev)\r\n```\r\nhttps://github.com/pypa/wheel/issues/181 seems to describe this behavior, but claims that the fix was in `setuptools 36.2.0`\r\n\r\nWhen  I build the wheel locally using up-to-date setuptools / wheel, it has correct metadata:\r\n\r\n```bash\r\n$ cd /path/to/gcp/vision\r\n$ /tmp/gcp-5260/bin/python setup.py bdist_wheel\r\n```\r\n\r\n```ini\r\nMetadata-Version: 2.1\r\nName: google-cloud-vision\r\nVersion: 0.31.0\r\nSummary: Google Cloud Vision API client library\r\nHome-page: https://github.com/GoogleCloudPlatform/google-cloud-python\r\nAuthor: Google LLC\r\nAuthor-email: googleapis-packages@google.com\r\nLicense: Apache 2.0\r\nPlatform: Posix; MacOS X; Windows\r\nClassifier: Development Status :: 4 - Beta\r\nClassifier: Intended Audience :: Developers\r\nClassifier: License :: OSI Approved :: Apache Software License\r\nClassifier: Programming Language :: Python\r\nClassifier: Programming Language :: Python :: 2\r\nClassifier: Programming Language :: Python :: 2.7\r\nClassifier: Programming Language :: Python :: 3\r\nClassifier: Programming Language :: Python :: 3.4\r\nClassifier: Programming Language :: Python :: 3.5\r\nClassifier: Programming Language :: Python :: 3.6\r\nClassifier: Operating System :: OS Independent\r\nClassifier: Topic :: Internet\r\nRequires-Dist: google-api-core[grpc] (<2.0.0dev,>=0.1.0)\r\nRequires-Dist: enum34; python_version < \"3.4\"\r\n```"}}
{"actor":{"display_login":"tseaver"}}