{"action":"created","issue":{"url":"https://api.github.com/repos/gentoo-science/sci/issues/479","labels_url":"https://api.github.com/repos/gentoo-science/sci/issues/479/labels{/name}","comments_url":"https://api.github.com/repos/gentoo-science/sci/issues/479/comments","events_url":"https://api.github.com/repos/gentoo-science/sci/issues/479/events","html_url":"https://github.com/gentoo-science/sci/issues/479","id":104476576,"number":479,"title":"dev-python/jupyter_core-4.0.4 fails test","user":{"login":"jlec","id":79732,"avatar_url":"https://avatars.githubusercontent.com/u/79732?v=3","gravatar_id":"","url":"https://api.github.com/users/jlec","html_url":"https://github.com/jlec","followers_url":"https://api.github.com/users/jlec/followers","following_url":"https://api.github.com/users/jlec/following{/other_user}","gists_url":"https://api.github.com/users/jlec/gists{/gist_id}","starred_url":"https://api.github.com/users/jlec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jlec/subscriptions","organizations_url":"https://api.github.com/users/jlec/orgs","repos_url":"https://api.github.com/users/jlec/repos","events_url":"https://api.github.com/users/jlec/events{/privacy}","received_events_url":"https://api.github.com/users/jlec/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-09-02T13:08:55Z","updated_at":"2015-09-02T14:19:30Z","closed_at":null,"body":"```\r\n==================================================================== test session starts ====================================================================\r\nplatform linux -- Python 3.3.5 -- py-1.4.30 -- pytest-2.7.2\r\nrootdir: /var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core, inifile: \r\nplugins: pythonpath, django, cov\r\ncollected 38 items\r\n\r\njupyter_core/tests/test_application.py ......\r\njupyter_core/tests/test_command.py .........\r\njupyter_core/tests/test_migrate.py ....F.FF\r\njupyter_core/tests/test_paths.py ...............\r\n\r\n========================================================================= FAILURES ==========================================================================\r\n________________________________________________________________ test_migrate_custom_default ________________________________________________________________\r\n\r\ntd = '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpkrgr2j'\r\n\r\n    def test_migrate_custom_default(td):\r\n        profile = pjoin(dotipython, 'profile_default')\r\n        src = pjoin(profile, 'static', 'custom')\r\n>       assert os.path.exists(src)\r\nE       assert <function exists at 0x2ab6a41fd4d0>('/var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core/tests/dotipython/profile_default/static/custom')\r\nE        +  where <function exists at 0x2ab6a41fd4d0> = <module 'posixpath' from '/usr/lib64/python3.3/posixpath.py'>.exists\r\nE        +    where <module 'posixpath' from '/usr/lib64/python3.3/posixpath.py'> = os.path\r\n\r\njupyter_core/tests/test_migrate.py:186: AssertionError\r\n___________________________________________________________________ test_migrate_default ____________________________________________________________________\r\n\r\nenv = {'IPYTHONDIR': '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpnc0_hu/ipython', 'JUPYTER_CONFIG_DIR': '/var/tm...PYTER_DATA_DIR': '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpnc0_hu/jupyter_data', 'JUPYTER_PATH': '', ...}\r\n\r\n    def test_migrate_default(env):\r\n>       shutil.copytree(dotipython_empty, env['IPYTHONDIR'])\r\n\r\njupyter_core/tests/test_migrate.py:207: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nsrc = '/var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core/tests/dotipython_empty'\r\ndst = '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpnc0_hu/ipython', symlinks = False, ignore = None\r\ncopy_function = <function copy2 at 0x2ab6a49b3e60>, ignore_dangling_symlinks = False\r\n\r\n    def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,\r\n                 ignore_dangling_symlinks=False):\r\n        \"\"\"Recursively copy a directory tree.\r\n    \r\n        The destination directory must not already exist.\r\n        If exception(s) occur, an Error is raised with a list of reasons.\r\n    \r\n        If the optional symlinks flag is true, symbolic links in the\r\n        source tree result in symbolic links in the destination tree; if\r\n        it is false, the contents of the files pointed to by symbolic\r\n        links are copied. If the file pointed by the symlink doesn't\r\n        exist, an exception will be added in the list of errors raised in\r\n        an Error exception at the end of the copy process.\r\n    \r\n        You can set the optional ignore_dangling_symlinks flag to true if you\r\n        want to silence this exception. Notice that this has no effect on\r\n        platforms that don't support os.symlink.\r\n    \r\n        The optional ignore argument is a callable. If given, it\r\n        is called with the `src` parameter, which is the directory\r\n        being visited by copytree(), and `names` which is the list of\r\n        `src` contents, as returned by os.listdir():\r\n    \r\n            callable(src, names) -> ignored_names\r\n    \r\n        Since copytree() is called recursively, the callable will be\r\n        called once for each directory that is copied. It returns a\r\n        list of names relative to the `src` directory that should\r\n        not be copied.\r\n    \r\n        The optional copy_function argument is a callable that will be used\r\n        to copy each file. It will be called with the source path and the\r\n        destination path as arguments. By default, copy2() is used, but any\r\n        function that supports the same signature (like copy()) can be used.\r\n    \r\n        \"\"\"\r\n>       names = os.listdir(src)\r\nE       FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core/tests/dotipython_empty'\r\n\r\n/usr/lib64/python3.3/shutil.py:295: FileNotFoundError\r\n_______________________________________________________________________ test_migrate ________________________________________________________________________\r\n\r\nenv = {'IPYTHONDIR': '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpv90spk/ipython', 'JUPYTER_CONFIG_DIR': '/var/tm...PYTER_DATA_DIR': '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpv90spk/jupyter_data', 'JUPYTER_PATH': '', ...}\r\n\r\n    def test_migrate(env):\r\n>       shutil.copytree(dotipython, env['IPYTHONDIR'])\r\n\r\njupyter_core/tests/test_migrate.py:214: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nsrc = '/var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core/tests/dotipython'\r\ndst = '/var/tmp/portage/dev-python/jupyter_core-4.0.4/temp/tmpv90spk/ipython', symlinks = False, ignore = None\r\ncopy_function = <function copy2 at 0x2ab6a49b3e60>, ignore_dangling_symlinks = False\r\n\r\n    def copytree(src, dst, symlinks=False, ignore=None, copy_function=copy2,\r\n                 ignore_dangling_symlinks=False):\r\n        \"\"\"Recursively copy a directory tree.\r\n    \r\n        The destination directory must not already exist.\r\n        If exception(s) occur, an Error is raised with a list of reasons.\r\n    \r\n        If the optional symlinks flag is true, symbolic links in the\r\n        source tree result in symbolic links in the destination tree; if\r\n        it is false, the contents of the files pointed to by symbolic\r\n        links are copied. If the file pointed by the symlink doesn't\r\n        exist, an exception will be added in the list of errors raised in\r\n        an Error exception at the end of the copy process.\r\n    \r\n        You can set the optional ignore_dangling_symlinks flag to true if you\r\n        want to silence this exception. Notice that this has no effect on\r\n        platforms that don't support os.symlink.\r\n    \r\n        The optional ignore argument is a callable. If given, it\r\n        is called with the `src` parameter, which is the directory\r\n        being visited by copytree(), and `names` which is the list of\r\n        `src` contents, as returned by os.listdir():\r\n    \r\n            callable(src, names) -> ignored_names\r\n    \r\n        Since copytree() is called recursively, the callable will be\r\n        called once for each directory that is copied. It returns a\r\n        list of names relative to the `src` directory that should\r\n        not be copied.\r\n    \r\n        The optional copy_function argument is a callable that will be used\r\n        to copy each file. It will be called with the source path and the\r\n        destination path as arguments. By default, copy2() is used, but any\r\n        function that supports the same signature (like copy()) can be used.\r\n    \r\n        \"\"\"\r\n>       names = os.listdir(src)\r\nE       FileNotFoundError: [Errno 2] No such file or directory: '/var/tmp/portage/dev-python/jupyter_core-4.0.4/work/jupyter_core-4.0.4-python3_3/test/lib/jupyter_core/tests/dotipython'\r\n\r\n/usr/lib64/python3.3/shutil.py:295: FileNotFoundError\r\n============================================================ 3 failed, 35 passed in 1.10 seconds ============================================================\r\n * ERROR: dev-python/jupyter_core-4.0.4::science failed (test phase):\r\n *   (no error message)\r\n```"},"comment":{"url":"https://api.github.com/repos/gentoo-science/sci/issues/comments/137098072","html_url":"https://github.com/gentoo-science/sci/issues/479#issuecomment-137098072","issue_url":"https://api.github.com/repos/gentoo-science/sci/issues/479","id":137098072,"user":{"login":"marbre","id":8095156,"avatar_url":"https://avatars.githubusercontent.com/u/8095156?v=3","gravatar_id":"","url":"https://api.github.com/users/marbre","html_url":"https://github.com/marbre","followers_url":"https://api.github.com/users/marbre/followers","following_url":"https://api.github.com/users/marbre/following{/other_user}","gists_url":"https://api.github.com/users/marbre/gists{/gist_id}","starred_url":"https://api.github.com/users/marbre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marbre/subscriptions","organizations_url":"https://api.github.com/users/marbre/orgs","repos_url":"https://api.github.com/users/marbre/repos","events_url":"https://api.github.com/users/marbre/events{/privacy}","received_events_url":"https://api.github.com/users/marbre/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T14:19:30Z","updated_at":"2015-09-02T14:19:30Z","body":"https://github.com/jupyter/jupyter_core/issues/50"}}