{"action":"closed","issue":{"url":"https://api.github.com/repos/pysal/region/issues/16","repository_url":"https://api.github.com/repos/pysal/region","labels_url":"https://api.github.com/repos/pysal/region/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/pysal/region/issues/16/comments","events_url":"https://api.github.com/repos/pysal/region/issues/16/events","html_url":"https://github.com/pysal/region/issues/16","id":354054408,"node_id":"MDU6SXNzdWUzNTQwNTQ0MDg=","number":16,"title":"pulp currently does not support python 3.5+","user":{"login":"jGaboardi","id":8590583,"node_id":"MDQ6VXNlcjg1OTA1ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/8590583?v=4","gravatar_id":"","url":"https://api.github.com/users/jGaboardi","html_url":"https://github.com/jGaboardi","followers_url":"https://api.github.com/users/jGaboardi/followers","following_url":"https://api.github.com/users/jGaboardi/following{/other_user}","gists_url":"https://api.github.com/users/jGaboardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jGaboardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGaboardi/subscriptions","organizations_url":"https://api.github.com/users/jGaboardi/orgs","repos_url":"https://api.github.com/users/jGaboardi/repos","events_url":"https://api.github.com/users/jGaboardi/events{/privacy}","received_events_url":"https://api.github.com/users/jGaboardi/received_events","type":"User","site_admin":false},"labels":[{"id":632998801,"node_id":"MDU6TGFiZWw2MzI5OTg4MDE=","url":"https://api.github.com/repos/pysal/region/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"closed","locked":false,"assignee":{"login":"jGaboardi","id":8590583,"node_id":"MDQ6VXNlcjg1OTA1ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/8590583?v=4","gravatar_id":"","url":"https://api.github.com/users/jGaboardi","html_url":"https://github.com/jGaboardi","followers_url":"https://api.github.com/users/jGaboardi/followers","following_url":"https://api.github.com/users/jGaboardi/following{/other_user}","gists_url":"https://api.github.com/users/jGaboardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jGaboardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGaboardi/subscriptions","organizations_url":"https://api.github.com/users/jGaboardi/orgs","repos_url":"https://api.github.com/users/jGaboardi/repos","events_url":"https://api.github.com/users/jGaboardi/events{/privacy}","received_events_url":"https://api.github.com/users/jGaboardi/received_events","type":"User","site_admin":false},"assignees":[{"login":"jGaboardi","id":8590583,"node_id":"MDQ6VXNlcjg1OTA1ODM=","avatar_url":"https://avatars3.githubusercontent.com/u/8590583?v=4","gravatar_id":"","url":"https://api.github.com/users/jGaboardi","html_url":"https://github.com/jGaboardi","followers_url":"https://api.github.com/users/jGaboardi/followers","following_url":"https://api.github.com/users/jGaboardi/following{/other_user}","gists_url":"https://api.github.com/users/jGaboardi/gists{/gist_id}","starred_url":"https://api.github.com/users/jGaboardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jGaboardi/subscriptions","organizations_url":"https://api.github.com/users/jGaboardi/orgs","repos_url":"https://api.github.com/users/jGaboardi/repos","events_url":"https://api.github.com/users/jGaboardi/events{/privacy}","received_events_url":"https://api.github.com/users/jGaboardi/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2018-08-26T00:44:26Z","updated_at":"2018-09-02T01:56:37Z","closed_at":"2018-09-02T01:56:37Z","author_association":"MEMBER","body":"[`pulp` only supports python up to 3.4](https://github.com/coin-or/pulp/blob/master/.travis.yml) and errors out when trying to import `cplex` due to no support . A direction to go may be dump `pulp` in favor of [`ortools`](https://github.com/google/or-tools) for using [`Coin-or Branch Cut`](https://projects.coin-or.org/Cbc)\r\n\r\n\r\n\r\n--------------------------\r\n```\r\nFailure: Exception (CPLEX 12.8.0.0 is not compatible with this version of Python.) ... ERROR\r\n\r\n======================================================================\r\nERROR: Failure: Exception (CPLEX 12.8.0.0 is not compatible with this version of Python.)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/nose/failure.py\", line 39, in runTest\r\n    raise self.exc_val.with_traceback(self.tb)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/nose/loader.py\", line 417, in loadTestsFromName\r\n    addr.filename, addr.module)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/nose/importer.py\", line 47, in importFromPath\r\n    return self.importFromDir(dir_path, fqname)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/nose/importer.py\", line 94, in importFromDir\r\n    mod = load_module(part_fqname, fh, filename, desc)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/imp.py\", line 245, in load_module\r\n    return load_package(name, filename)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/imp.py\", line 217, in load_package\r\n    return _load(spec)\r\n  File \"<frozen importlib._bootstrap>\", line 684, in _load\r\n  File \"<frozen importlib._bootstrap>\", line 665, in _load_unlocked\r\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\r\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\r\n  File \"/Users/cpu/region/region/__init__.py\", line 2, in <module>\r\n    from . import max_p_regions\r\n  File \"/Users/cpu/region/region/max_p_regions/__init__.py\", line 1, in <module>\r\n    from . import heuristics\r\n  File \"/Users/cpu/region/region/max_p_regions/heuristics.py\", line 6, in <module>\r\n    from region.objective_function import ObjectiveFunctionPairwise\r\n  File \"/Users/cpu/region/region/objective_function.py\", line 6, in <module>\r\n    from region.util import get_metric_function\r\n  File \"/Users/cpu/region/region/util.py\", line 14, in <module>\r\n    import pulp\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/pulp/__init__.py\", line 34, in <module>\r\n    from .pulp import *\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/pulp/pulp.py\", line 102, in <module>\r\n    from .solvers import *\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/site-packages/pulp/solvers.py\", line 991, in <module>\r\n    import cplex\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/__init__.py\", line 43, in <module>\r\n    from .aborter import Aborter\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/aborter.py\", line 13, in <module>\r\n    from ._internal import _procedural as _proc\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/_internal/__init__.py\", line 21, in <module>\r\n    from . import _list_array_utils\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/_internal/_list_array_utils.py\", line 14, in <module>\r\n    from . import _pycplex as CPX\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/_internal/_pycplex.py\", line 28, in <module>\r\n    _pycplex_platform = swig_import_helper()\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/_internal/_pycplex.py\", line 24, in swig_import_helper\r\n    _mod = imp.load_module('_pycplex_platform', fp, pathname, description)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/imp.py\", line 235, in load_module\r\n    return load_source(name, filename, file)\r\n  File \"/Users/cpu/miniconda3/envs/py3_spgh_dev/lib/python3.6/imp.py\", line 172, in load_source\r\n    module = _load(spec)\r\n  File \"/Applications/CPLEX_Studio128/cplex/python/2.7/x86-64_osx/cplex/_internal/_pycplex_platform.py\", line 25, in <module>\r\n    raise Exception(ERROR_STRING)\r\nException: CPLEX 12.8.0.0 is not compatible with this version of Python.\r\n```"}}
{"actor":{"display_login":"jGaboardi"}}