{"action":"created","issue":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11010","repository_url":"https://api.github.com/repos/scikit-learn/scikit-learn","labels_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11010/labels{/name}","comments_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11010/comments","events_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11010/events","html_url":"https://github.com/scikit-learn/scikit-learn/pull/11010","id":316571099,"node_id":"MDExOlB1bGxSZXF1ZXN0MTgzMjY4MjMz","number":11010,"title":"[MRG] PyPy support","user":{"login":"rlamy","id":142362,"node_id":"MDQ6VXNlcjE0MjM2Mg==","avatar_url":"https://avatars0.githubusercontent.com/u/142362?v=4","gravatar_id":"","url":"https://api.github.com/users/rlamy","html_url":"https://github.com/rlamy","followers_url":"https://api.github.com/users/rlamy/followers","following_url":"https://api.github.com/users/rlamy/following{/other_user}","gists_url":"https://api.github.com/users/rlamy/gists{/gist_id}","starred_url":"https://api.github.com/users/rlamy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rlamy/subscriptions","organizations_url":"https://api.github.com/users/rlamy/orgs","repos_url":"https://api.github.com/users/rlamy/repos","events_url":"https://api.github.com/users/rlamy/events{/privacy}","received_events_url":"https://api.github.com/users/rlamy/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":54,"created_at":"2018-04-22T11:25:53Z","updated_at":"2018-09-02T08:46:02Z","closed_at":"2018-07-20T04:39:54Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/pulls/11010","html_url":"https://github.com/scikit-learn/scikit-learn/pull/11010","diff_url":"https://github.com/scikit-learn/scikit-learn/pull/11010.diff","patch_url":"https://github.com/scikit-learn/scikit-learn/pull/11010.patch"},"body":"#### Reference Issues/PRs\r\n\r\nSee #8625 \r\n\r\n#### What does this implement/fix? Explain your changes.\r\n\r\nWorking on adding PyPy support. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/comments/417914602","html_url":"https://github.com/scikit-learn/scikit-learn/pull/11010#issuecomment-417914602","issue_url":"https://api.github.com/repos/scikit-learn/scikit-learn/issues/11010","id":417914602,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNzkxNDYwMg==","user":{"login":"giodegas","id":6838625,"node_id":"MDQ6VXNlcjY4Mzg2MjU=","avatar_url":"https://avatars1.githubusercontent.com/u/6838625?v=4","gravatar_id":"","url":"https://api.github.com/users/giodegas","html_url":"https://github.com/giodegas","followers_url":"https://api.github.com/users/giodegas/followers","following_url":"https://api.github.com/users/giodegas/following{/other_user}","gists_url":"https://api.github.com/users/giodegas/gists{/gist_id}","starred_url":"https://api.github.com/users/giodegas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/giodegas/subscriptions","organizations_url":"https://api.github.com/users/giodegas/orgs","repos_url":"https://api.github.com/users/giodegas/repos","events_url":"https://api.github.com/users/giodegas/events{/privacy}","received_events_url":"https://api.github.com/users/giodegas/received_events","type":"User","site_admin":false},"created_at":"2018-09-02T08:46:02Z","updated_at":"2018-09-02T08:46:02Z","author_association":"NONE","body":"Test on Jupyter:\r\n\r\n```from __future__ import print_function\r\nimport IPython\r\nprint('IPython:', IPython.__version__)\r\n\r\nimport numpy\r\nprint('numpy:', numpy.__version__)\r\n\r\nimport scipy\r\nprint('scipy:', scipy.__version__)\r\n\r\nimport matplotlib\r\nprint('matplotlib:', matplotlib.__version__)\r\n\r\n​import sklearn\r\nprint('scikit-learn:', sklearn.__version__)\r\n\r\nIPython: 6.5.0\r\nnumpy: 1.15.1\r\nscipy: 1.1.0\r\nmatplotlib: 2.2.3\r\n\r\n---------------------------------------------------------------------------\r\nImportError                               Traceback (most recent call last)\r\n<ipython-input-1-b069c9e57ce8> in <module>()\r\n     13 print('matplotlib:', matplotlib.__version__)\r\n     14 \r\n---> 15 import sklearn\r\n     16 print('scikit-learn:', sklearn.__version__)\r\n\r\n/usr/local/site-packages/sklearn/__init__.py in <module>()\r\n     62 else:\r\n     63     from . import __check_build\r\n---> 64     from .base import clone\r\n     65     from .utils._show_versions import show_versions\r\n     66 \r\n\r\n/usr/local/site-packages/sklearn/base.py in <module>()\r\n     11 from scipy import sparse\r\n     12 from .externals import six\r\n---> 13 from .utils.fixes import signature\r\n     14 from . import __version__\r\n     15 \r\n\r\n/usr/local/site-packages/sklearn/utils/__init__.py in <module>()\r\n     11 \r\n     12 from .murmurhash import murmurhash3_32\r\n---> 13 from .validation import (as_float_array,\r\n     14                          assert_all_finite,\r\n     15                          check_random_state, column_or_1d, check_array,\r\n\r\n/usr/local/site-packages/sklearn/utils/validation.py in <module>()\r\n     25 from ..exceptions import NotFittedError\r\n     26 from ..exceptions import DataConversionWarning\r\n---> 27 from ..utils._joblib import Memory\r\n     28 from ..utils._joblib import __version__ as joblib_version\r\n     29 \r\n\r\n/usr/local/site-packages/sklearn/utils/_joblib.py in <module>()\r\n     16         from joblib import logger\r\n     17 else:\r\n---> 18     from ..externals.joblib import __all__   # noqa\r\n     19     from ..externals.joblib import *  # noqa\r\n     20     from ..externals.joblib import __version__  # noqa\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/__init__.py in <module>()\r\n    117 from .numpy_pickle import load\r\n    118 from .compressor import register_compressor\r\n--> 119 from .parallel import Parallel\r\n    120 from .parallel import delayed\r\n    121 from .parallel import cpu_count\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/parallel.py in <module>()\r\n     26 from .my_exceptions import TransportableException\r\n     27 from .disk import memstr_to_bytes\r\n---> 28 from ._parallel_backends import (FallbackToBackend, MultiprocessingBackend,\r\n     29                                  ThreadingBackend, SequentialBackend,\r\n     30                                  LokyBackend)\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/_parallel_backends.py in <module>()\r\n     20     from .pool import MemmappingPool\r\n     21     from multiprocessing.pool import ThreadPool\r\n---> 22     from .executor import get_memmapping_executor\r\n     23 \r\n     24     # Compat between concurrent.futures and multiprocessing TimeoutError\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/executor.py in <module>()\r\n     12 from .disk import delete_folder\r\n     13 from ._memmapping_reducer import get_memmapping_reducers\r\n---> 14 from .externals.loky.reusable_executor import get_reusable_executor\r\n     15 \r\n     16 \r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/__init__.py in <module>()\r\n      4 hide the pool management under the hood.\r\n      5 \"\"\"\r\n----> 6 from .reusable_executor import get_reusable_executor  # noqa: F401\r\n      7 from .process_executor import ProcessPoolExecutor  # noqa: F401\r\n      8 from .process_executor import BrokenProcessPool  # noqa: F401\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/reusable_executor.py in <module>()\r\n      9 import multiprocessing as mp\r\n     10 \r\n---> 11 from .process_executor import ProcessPoolExecutor, EXTRA_QUEUED_CALLS\r\n     12 from .backend.context import cpu_count\r\n     13 from .backend import get_context\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/process_executor.py in <module>()\r\n     75 \r\n     76 from . import _base\r\n---> 77 from .backend import get_context\r\n     78 from .backend.compat import queue\r\n     79 from .backend.compat import wait\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/backend/__init__.py in <module>()\r\n      2 import sys\r\n      3 \r\n----> 4 from .context import get_context\r\n      5 \r\n      6 LOKY_PICKLER = os.environ.get(\"LOKY_PICKLER\")\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/backend/context.py in <module>()\r\n     19 \r\n     20 \r\n---> 21 from .process import LokyProcess\r\n     22 \r\n     23 if sys.version_info[:2] >= (3, 4):\r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/backend/process.py in <module>()\r\n      9 import os\r\n     10 import sys\r\n---> 11 from .compat import BaseProcess\r\n     12 \r\n     13 \r\n\r\n/usr/local/site-packages/sklearn/externals/joblib/externals/loky/backend/compat.py in <module>()\r\n     10 if sys.version_info[:2] >= (3, 3):\r\n     11     import queue\r\n---> 12     from _pickle import PicklingError\r\n     13 else:\r\n     14     import Queue as queue\r\n\r\nImportError: No module named '_pickle'\r\n```\r\n"}}
{"actor":{"display_login":"giodegas"}}