GitHub PullRequestEvent at 2014-04-29 14:51:38
Repository: iris
Actor: dkillick
Payload: {"action":"opened","number":1109,"pull_request":{"url":"https://api.github.com/repos/SciTools/iris/pulls/1109","id":15292582,"html_url":"https://github.com/SciTools/iris/pull/1109","diff_url":"https://github.com/SciTools/iris/pull/1109.diff","patch_url":"https://github.com/SciTools/iris/pull/1109.patch","issue_url":"https://api.github.com/repos/SciTools/iris/issues/1109","number":1109,"state":"open","title":"Make matplotlib an optional Iris tests dependency","user":{"login":"dkillick","id":3473068,"avatar_url":"https://avatars.githubusercontent.com/u/3473068?","gravatar_id":"2133f83755a74b4a9eb04f6601345a26","url":"https://api.github.com/users/dkillick","html_url":"https://github.com/dkillick","followers_url":"https://api.github.com/users/dkillick/followers","following_url":"https://api.github.com/users/dkillick/following{/other_user}","gists_url":"https://api.github.com/users/dkillick/gists{/gist_id}","starred_url":"https://api.github.com/users/dkillick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkillick/subscriptions","organizations_url":"https://api.github.com/users/dkillick/orgs","repos_url":"https://api.github.com/users/dkillick/repos","events_url":"https://api.github.com/users/dkillick/events{/privacy}","received_events_url":"https://api.github.com/users/dkillick/received_events","type":"User","site_admin":false},"body":"This PR allows the Iris test suite to successfully run in an environment where matplotlib is not available. This is achieved by adding a new test decorator (`skip_plot`) that when used to decorate a test class or function means it will be skipped if matplotlib cannot be imported.\r\n\r\nTo avoid import errors in test modules that use matplotlib (or Iris plotting modules), importing of these modules is wrapped up in a `try` clause.\r\n","created_at":"2014-04-29T14:51:38Z","updated_at":"2014-04-29T14:51:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/SciTools/iris/pulls/1109/commits","review_comments_url":"https://api.github.com/repos/SciTools/iris/pulls/1109/comments","review_comment_url":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}","comments_url":"https://api.github.com/repos/SciTools/iris/issues/1109/comments","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/be1d173f5af127954bd8cb875bd9b40c7bcf01a3","head":{"label":"dkillick:no_graphics_tests","ref":"no_graphics_tests","sha":"be1d173f5af127954bd8cb875bd9b40c7bcf01a3","user":{"login":"dkillick","id":3473068,"avatar_url":"https://avatars.githubusercontent.com/u/3473068?","gravatar_id":"2133f83755a74b4a9eb04f6601345a26","url":"https://api.github.com/users/dkillick","html_url":"https://github.com/dkillick","followers_url":"https://api.github.com/users/dkillick/followers","following_url":"https://api.github.com/users/dkillick/following{/other_user}","gists_url":"https://api.github.com/users/dkillick/gists{/gist_id}","starred_url":"https://api.github.com/users/dkillick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkillick/subscriptions","organizations_url":"https://api.github.com/users/dkillick/orgs","repos_url":"https://api.github.com/users/dkillick/repos","events_url":"https://api.github.com/users/dkillick/events{/privacy}","received_events_url":"https://api.github.com/users/dkillick/received_events","type":"User","site_admin":false},"repo":{"id":8197320,"name":"iris","full_name":"dkillick/iris","owner":{"login":"dkillick","id":3473068,"avatar_url":"https://avatars.githubusercontent.com/u/3473068?","gravatar_id":"2133f83755a74b4a9eb04f6601345a26","url":"https://api.github.com/users/dkillick","html_url":"https://github.com/dkillick","followers_url":"https://api.github.com/users/dkillick/followers","following_url":"https://api.github.com/users/dkillick/following{/other_user}","gists_url":"https://api.github.com/users/dkillick/gists{/gist_id}","starred_url":"https://api.github.com/users/dkillick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkillick/subscriptions","organizations_url":"https://api.github.com/users/dkillick/orgs","repos_url":"https://api.github.com/users/dkillick/repos","events_url":"https://api.github.com/users/dkillick/events{/privacy}","received_events_url":"https://api.github.com/users/dkillick/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dkillick/iris","description":"A powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets.","fork":true,"url":"https://api.github.com/repos/dkillick/iris","forks_url":"https://api.github.com/repos/dkillick/iris/forks","keys_url":"https://api.github.com/repos/dkillick/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dkillick/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dkillick/iris/teams","hooks_url":"https://api.github.com/repos/dkillick/iris/hooks","issue_events_url":"https://api.github.com/repos/dkillick/iris/issues/events{/number}","events_url":"https://api.github.com/repos/dkillick/iris/events","assignees_url":"https://api.github.com/repos/dkillick/iris/assignees{/user}","branches_url":"https://api.github.com/repos/dkillick/iris/branches{/branch}","tags_url":"https://api.github.com/repos/dkillick/iris/tags","blobs_url":"https://api.github.com/repos/dkillick/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dkillick/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dkillick/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/dkillick/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dkillick/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/dkillick/iris/languages","stargazers_url":"https://api.github.com/repos/dkillick/iris/stargazers","contributors_url":"https://api.github.com/repos/dkillick/iris/contributors","subscribers_url":"https://api.github.com/repos/dkillick/iris/subscribers","subscription_url":"https://api.github.com/repos/dkillick/iris/subscription","commits_url":"https://api.github.com/repos/dkillick/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/dkillick/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/dkillick/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/dkillick/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/dkillick/iris/contents/{+path}","compare_url":"https://api.github.com/repos/dkillick/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dkillick/iris/merges","archive_url":"https://api.github.com/repos/dkillick/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dkillick/iris/downloads","issues_url":"https://api.github.com/repos/dkillick/iris/issues{/number}","pulls_url":"https://api.github.com/repos/dkillick/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/dkillick/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/dkillick/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dkillick/iris/labels{/name}","releases_url":"https://api.github.com/repos/dkillick/iris/releases{/id}","created_at":"2013-02-14T10:14:43Z","updated_at":"2014-04-29T14:51:38Z","pushed_at":"2014-04-29T14:50:43Z","git_url":"git://github.com/dkillick/iris.git","ssh_url":"git@github.com:dkillick/iris.git","clone_url":"https://github.com/dkillick/iris.git","svn_url":"https://github.com/dkillick/iris","homepage":"http://scitools.org.uk/iris/","size":78750,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"SciTools:master","ref":"master","sha":"08fd260bba2fd837142ce76aa5e0a6d361580e3e","user":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?","gravatar_id":null,"url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"repo":{"id":5312648,"name":"iris","full_name":"SciTools/iris","owner":{"login":"SciTools","id":1391487,"avatar_url":"https://avatars.githubusercontent.com/u/1391487?","gravatar_id":null,"url":"https://api.github.com/users/SciTools","html_url":"https://github.com/SciTools","followers_url":"https://api.github.com/users/SciTools/followers","following_url":"https://api.github.com/users/SciTools/following{/other_user}","gists_url":"https://api.github.com/users/SciTools/gists{/gist_id}","starred_url":"https://api.github.com/users/SciTools/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SciTools/subscriptions","organizations_url":"https://api.github.com/users/SciTools/orgs","repos_url":"https://api.github.com/users/SciTools/repos","events_url":"https://api.github.com/users/SciTools/events{/privacy}","received_events_url":"https://api.github.com/users/SciTools/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/SciTools/iris","description":"A powerful, easy to use, and community-driven Python library for analysing and visualising meteorological and oceanographic data sets.","fork":false,"url":"https://api.github.com/repos/SciTools/iris","forks_url":"https://api.github.com/repos/SciTools/iris/forks","keys_url":"https://api.github.com/repos/SciTools/iris/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SciTools/iris/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SciTools/iris/teams","hooks_url":"https://api.github.com/repos/SciTools/iris/hooks","issue_events_url":"https://api.github.com/repos/SciTools/iris/issues/events{/number}","events_url":"https://api.github.com/repos/SciTools/iris/events","assignees_url":"https://api.github.com/repos/SciTools/iris/assignees{/user}","branches_url":"https://api.github.com/repos/SciTools/iris/branches{/branch}","tags_url":"https://api.github.com/repos/SciTools/iris/tags","blobs_url":"https://api.github.com/repos/SciTools/iris/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SciTools/iris/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SciTools/iris/git/refs{/sha}","trees_url":"https://api.github.com/repos/SciTools/iris/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SciTools/iris/statuses/{sha}","languages_url":"https://api.github.com/repos/SciTools/iris/languages","stargazers_url":"https://api.github.com/repos/SciTools/iris/stargazers","contributors_url":"https://api.github.com/repos/SciTools/iris/contributors","subscribers_url":"https://api.github.com/repos/SciTools/iris/subscribers","subscription_url":"https://api.github.com/repos/SciTools/iris/subscription","commits_url":"https://api.github.com/repos/SciTools/iris/commits{/sha}","git_commits_url":"https://api.github.com/repos/SciTools/iris/git/commits{/sha}","comments_url":"https://api.github.com/repos/SciTools/iris/comments{/number}","issue_comment_url":"https://api.github.com/repos/SciTools/iris/issues/comments/{number}","contents_url":"https://api.github.com/repos/SciTools/iris/contents/{+path}","compare_url":"https://api.github.com/repos/SciTools/iris/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SciTools/iris/merges","archive_url":"https://api.github.com/repos/SciTools/iris/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SciTools/iris/downloads","issues_url":"https://api.github.com/repos/SciTools/iris/issues{/number}","pulls_url":"https://api.github.com/repos/SciTools/iris/pulls{/number}","milestones_url":"https://api.github.com/repos/SciTools/iris/milestones{/number}","notifications_url":"https://api.github.com/repos/SciTools/iris/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SciTools/iris/labels{/name}","releases_url":"https://api.github.com/repos/SciTools/iris/releases{/id}","created_at":"2012-08-06T10:09:14Z","updated_at":"2014-04-25T14:00:03Z","pushed_at":"2014-04-25T14:00:02Z","git_url":"git://github.com/SciTools/iris.git","ssh_url":"git@github.com:SciTools/iris.git","clone_url":"https://github.com/SciTools/iris.git","svn_url":"https://github.com/SciTools/iris","homepage":"http://scitools.org.uk/iris/","size":125134,"stargazers_count":59,"watchers_count":59,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"forks_count":50,"mirror_url":null,"open_issues_count":165,"forks":50,"open_issues":165,"watchers":59,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1109"},"html":{"href":"https://github.com/SciTools/iris/pull/1109"},"issue":{"href":"https://api.github.com/repos/SciTools/iris/issues/1109"},"comments":{"href":"https://api.github.com/repos/SciTools/iris/issues/1109/comments"},"review_comments":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1109/comments"},"review_comment":{"href":"https://api.github.com/repos/SciTools/iris/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/SciTools/iris/pulls/1109/commits"},"statuses":{"href":"https://api.github.com/repos/SciTools/iris/statuses/be1d173f5af127954bd8cb875bd9b40c7bcf01a3"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":162,"deletions":51,"changed_files":15}}