{"action":"created","issue":{"url":"https://api.github.com/repos/paulgb/runipy/issues/53","labels_url":"https://api.github.com/repos/paulgb/runipy/issues/53/labels{/name}","comments_url":"https://api.github.com/repos/paulgb/runipy/issues/53/comments","events_url":"https://api.github.com/repos/paulgb/runipy/issues/53/events","html_url":"https://github.com/paulgb/runipy/pull/53","id":59584224,"number":53,"title":"Nbformat.current is deprecated","user":{"login":"gabraganca","id":2700254,"avatar_url":"https://avatars.githubusercontent.com/u/2700254?v=3","gravatar_id":"","url":"https://api.github.com/users/gabraganca","html_url":"https://github.com/gabraganca","followers_url":"https://api.github.com/users/gabraganca/followers","following_url":"https://api.github.com/users/gabraganca/following{/other_user}","gists_url":"https://api.github.com/users/gabraganca/gists{/gist_id}","starred_url":"https://api.github.com/users/gabraganca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabraganca/subscriptions","organizations_url":"https://api.github.com/users/gabraganca/orgs","repos_url":"https://api.github.com/users/gabraganca/repos","events_url":"https://api.github.com/users/gabraganca/events{/privacy}","received_events_url":"https://api.github.com/users/gabraganca/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-03-03T02:05:26Z","updated_at":"2015-03-03T10:27:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/paulgb/runipy/pulls/53","html_url":"https://github.com/paulgb/runipy/pull/53","diff_url":"https://github.com/paulgb/runipy/pull/53.diff","patch_url":"https://github.com/paulgb/runipy/pull/53.patch"},"body":"This fix the warning that is thrown when `runipy` is loaded.\r\n\r\nThe version of the notebook changed to 4 with IPython 3.0.0. The format of the previous notebook and this new one is different. When the user is using IPython 3.0, `runipy` will load the notebook as version 3 and not 4. I think that the proper updates in the code should be made and this PR can be considered a hotfix."},"comment":{"url":"https://api.github.com/repos/paulgb/runipy/issues/comments/76921266","html_url":"https://github.com/paulgb/runipy/pull/53#issuecomment-76921266","issue_url":"https://api.github.com/repos/paulgb/runipy/issues/53","id":76921266,"user":{"login":"gabraganca","id":2700254,"avatar_url":"https://avatars.githubusercontent.com/u/2700254?v=3","gravatar_id":"","url":"https://api.github.com/users/gabraganca","html_url":"https://github.com/gabraganca","followers_url":"https://api.github.com/users/gabraganca/followers","following_url":"https://api.github.com/users/gabraganca/following{/other_user}","gists_url":"https://api.github.com/users/gabraganca/gists{/gist_id}","starred_url":"https://api.github.com/users/gabraganca/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gabraganca/subscriptions","organizations_url":"https://api.github.com/users/gabraganca/orgs","repos_url":"https://api.github.com/users/gabraganca/repos","events_url":"https://api.github.com/users/gabraganca/events{/privacy}","received_events_url":"https://api.github.com/users/gabraganca/received_events","type":"User","site_admin":false},"created_at":"2015-03-03T10:27:34Z","updated_at":"2015-03-03T10:27:34Z","body":"It is not passing the tests on IPython 2.x series.\r\n\r\n```\r\nTraceback (most recent call last):\r\n  File \"test.py\", line 68, in testRunNotebooks\r\n    self.assert_notebooks_equal(expected, runner.nb)\r\n  File \"test.py\", line 49, in assert_notebooks_equal\r\n    self.assertEquals(a, e)\r\nAssertionError: {'output_type': u'pyout', 'prompt_number': 2, 'text': u'<IPython.core.display.SV [truncated]... != {u'output_type': u'pyout', u'prompt_number': 2, u'text': u'<IPython.core.display [truncated]...\r\n- {'output_type': u'pyout',\r\n+ {u'output_type': u'pyout',\r\n?  +\r\n\r\n-  'prompt_number': 2,\r\n+  u'prompt_number': 2,\r\n?  +\r\n\r\n-  'svg': u'<svg height=\"100\" width=\"100\">\\n    <circle cx=\"50\" cy=\"50\" fill=\"red\" r=\"40\" stroke=\"black\" stroke-width=\"2\"/>\\n</svg>',\r\n+  u'svg': u'<svg height=\"100\" width=\"100\">\\n    <circle cx=\"50\" cy=\"50\" fill=\"red\" r=\"40\" stroke=\"black\" stroke-width=\"2\"/>\\n</svg>',\r\n?  +\r\n\r\n-  'text': u'<IPython.core.display.SVG objecta90>'}\r\n?                                            ---\r\n\r\n+  u'text': u'<IPython.core.display.SVG object>'}\r\n?  +\r\n\r\n"}}