{"action":"created","issue":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2238","labels_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2238/labels{/name}","comments_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2238/comments","events_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2238/events","html_url":"https://github.com/letsencrypt/letsencrypt/pull/2238","id":127567733,"number":2238,"title":"Enable pip cache and set Python version [don't merge yet]","user":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/labels/testing","name":"testing","color":"bfe5bf"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-19T23:52:11Z","updated_at":"2016-01-20T00:18:14Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/pulls/2238","html_url":"https://github.com/letsencrypt/letsencrypt/pull/2238","diff_url":"https://github.com/letsencrypt/letsencrypt/pull/2238.diff","patch_url":"https://github.com/letsencrypt/letsencrypt/pull/2238.patch"},"body":"Builds off #2160 (which builds off #2030). My theory for why this didn't work before is Travis didn't know Python version our tests were running, causing it to use the wrong `pip` cache.\r\n\r\nBuilding off of #2160 should fix this. I will run Travis tests multiple times and verify the cache is used in each test to prevent the problems that occurred before."},"comment":{"url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/comments/173031378","html_url":"https://github.com/letsencrypt/letsencrypt/pull/2238#issuecomment-173031378","issue_url":"https://api.github.com/repos/letsencrypt/letsencrypt/issues/2238","id":173031378,"user":{"login":"bmw","id":6504915,"avatar_url":"https://avatars.githubusercontent.com/u/6504915?v=3","gravatar_id":"","url":"https://api.github.com/users/bmw","html_url":"https://github.com/bmw","followers_url":"https://api.github.com/users/bmw/followers","following_url":"https://api.github.com/users/bmw/following{/other_user}","gists_url":"https://api.github.com/users/bmw/gists{/gist_id}","starred_url":"https://api.github.com/users/bmw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bmw/subscriptions","organizations_url":"https://api.github.com/users/bmw/orgs","repos_url":"https://api.github.com/users/bmw/repos","events_url":"https://api.github.com/users/bmw/events{/privacy}","received_events_url":"https://api.github.com/users/bmw/received_events","type":"User","site_admin":false},"created_at":"2016-01-20T00:18:14Z","updated_at":"2016-01-20T00:18:14Z","body":"Yay it works! In the log for job in the latest Travis build for this PR you'll see:\r\n```\r\nSetting up build cache\r\n$ export CASHER_DIR=$HOME/.casher\r\n$ Installing caching utilities\r\nattempting to download cache archive\r\nfetching PR.2238/cache--python-{2.6,2.7,3.3,3.4,3.5}.tgz\r\nfound cache\r\nadding /home/travis/.cache/pip to cache\r\n```\r\nwhere the version of the tarball is the Python version of the test being run."}}