{"action":"closed","issue":{"url":"https://api.github.com/repos/Homebrew/homebrew/issues/49498","repository_url":"https://api.github.com/repos/Homebrew/homebrew","labels_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49498/labels{/name}","comments_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49498/comments","events_url":"https://api.github.com/repos/Homebrew/homebrew/issues/49498/events","html_url":"https://github.com/Homebrew/homebrew/issues/49498","id":136205226,"number":49498,"title":"Please update pyrax in duplicity bottle","user":{"login":"renard","id":383821,"avatar_url":"https://avatars.githubusercontent.com/u/383821?v=3","gravatar_id":"","url":"https://api.github.com/users/renard","html_url":"https://github.com/renard","followers_url":"https://api.github.com/users/renard/followers","following_url":"https://api.github.com/users/renard/following{/other_user}","gists_url":"https://api.github.com/users/renard/gists{/gist_id}","starred_url":"https://api.github.com/users/renard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renard/subscriptions","organizations_url":"https://api.github.com/users/renard/orgs","repos_url":"https://api.github.com/users/renard/repos","events_url":"https://api.github.com/users/renard/events{/privacy}","received_events_url":"https://api.github.com/users/renard/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-02-24T22:23:07Z","updated_at":"2016-02-25T16:37:35Z","closed_at":"2016-02-25T16:37:35Z","body":"`duplicity` bottle comes with `pyrax` 1.9.6 (at this time 1.9.7 is available).\r\n\r\nThe problem is that `pyrax` 1.9.6 refers to `novaclient.v1_1` which is not included in `python_novaclient` 3.2.0 bundled in `duplicity` bottle.\r\n\r\nIs there a simple way to generate `duplicity` bottle with `pyrax` 1.9.7\r\n\r\nPS: a workaround is to install pyrax using pip and patching the `/usr/local/Cellar/duplicity/0.7.06_1/bin/duplicity` wrapper:\r\n\r\n```\r\npip install pyrax\r\n```\r\n\r\n```diff\r\n--- /usr/local/Cellar/duplicity/0.7.06_1/bin/duplicity.orig\t2016-02-24 23:21:03.000000000 +0100\r\n+++ /usr/local/Cellar/duplicity/0.7.06_1/bin/duplicity\t2016-02-24 23:21:33.000000000 +0100\r\n@@ -1,2 +1,2 @@\r\n #!/bin/bash\r\n-PYTHONPATH=\"/usr/local/Cellar/duplicity/0.7.06_1/libexec/vendor/lib/python2.7/site-packages:/usr/local/Cellar/duplicity/0.7.06_1/libexec/lib/python2.7/site-packages\" exec \"/usr/local/Cellar/duplicity/0.7.06_1/libexec/bin/duplicity\" \"$@\"\r\n+PYTHONPATH=\"/usr/local/lib/python2.7/site-packages:/usr/local/Cellar/duplicity/0.7.06_1/libexec/vendor/lib/python2.7/site-packages:/usr/local/Cellar/duplicity/0.7.06_1/libexec/lib/python2.7/site-packages\" exec \"/usr/local/Cellar/duplicity/0.7.06_1/libexec/bin/duplicity\" \"$@\"\r\n```"}}