{"action":"opened","issue":{"url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19988","repository_url":"https://api.github.com/repos/NixOS/nixpkgs","labels_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19988/labels{/name}","comments_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19988/comments","events_url":"https://api.github.com/repos/NixOS/nixpkgs/issues/19988/events","html_url":"https://github.com/NixOS/nixpkgs/issues/19988","id":186122375,"number":19988,"title":"Can't install bitbucket-api for python35","user":{"login":"igsha","id":5345170,"avatar_url":"https://avatars.githubusercontent.com/u/5345170?v=3","gravatar_id":"","url":"https://api.github.com/users/igsha","html_url":"https://github.com/igsha","followers_url":"https://api.github.com/users/igsha/followers","following_url":"https://api.github.com/users/igsha/following{/other_user}","gists_url":"https://api.github.com/users/igsha/gists{/gist_id}","starred_url":"https://api.github.com/users/igsha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igsha/subscriptions","organizations_url":"https://api.github.com/users/igsha/orgs","repos_url":"https://api.github.com/users/igsha/repos","events_url":"https://api.github.com/users/igsha/events{/privacy}","received_events_url":"https://api.github.com/users/igsha/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-30T07:49:17Z","updated_at":"2016-10-30T07:49:17Z","closed_at":null,"body":"## Issue description\r\nI get the error:\r\n```sh\r\nrunning build_ext\r\noauth2 (unittest.loader._FailedTest) ... ERROR\r\n\r\n======================================================================\r\nERROR: oauth2 (unittest.loader._FailedTest)\r\n----------------------------------------------------------------------\r\nImportError: Failed to import test module: oauth2\r\nTraceback (most recent call last):\r\n  File \"/nix/store/abvccgrm8ipq568xy2a3101z739n7rsa-python3-3.5.2/lib/python3.5/unittest/loader.py\", line 462, in _find_test_path\r\n    package = self._get_module_from_name(name)\r\n  File \"/nix/store/abvccgrm8ipq568xy2a3101z739n7rsa-python3-3.5.2/lib/python3.5/unittest/loader.py\", line 369, in _get_module_from_name\r\n    __import__(name)\r\n  File \"/tmp/nix-build-python3.5-requests-oauth2-0.1.1.drv-0/requests-oauth2-0.1.1/oauth2/__init__.py\", line 1, in <module>\r\n    from oauth2 import OAuth2\r\nImportError: cannot import name 'OAuth2'\r\n\r\n\r\n----------------------------------------------------------------------\r\nRan 1 test in 0.000s\r\n\r\nFAILED (errors=1)\r\nbuilder for ‘/nix/store/ybrhk3n3i0nh0mdk746k6k06prvllkyb-python3.5-requests-oauth2-0.1.1.drv’ failed with exit code 1\r\ncannot build derivation ‘/nix/store/6mnapbpbg3l1fd5wq4ksmj0v3vvkl7b3-python3.5-bitbucket-api-0.4.4.drv’: 1 dependencies couldn't be built\r\nerror: build of ‘/nix/store/6mnapbpbg3l1fd5wq4ksmj0v3vvkl7b3-python3.5-bitbucket-api-0.4.4.drv’ failed\r\n```\r\nIt seems that this problem is related to `python35Packages.requests_oauthlib`\r\n### Steps to reproduce\r\n`nix-build '<nixpkgs>' -A python35Packages.bitbucket_api`\r\nThere is no problem for `python27`\r\n\r\n## Technical details\r\n\r\n* System: 17.03pre94121.210b3b3 (Gorilla) and on master\r\n* Nix version: nix-env (Nix) 1.11.4\r\n* Nixpkgs version: 17.03pre94121.210b3b3"}}
{"actor":{"display_login":"igsha"}}