diff --git a/coconut/command/command.py b/coconut/command/command.py index dcdae0b12..9548f1ed3 100644 --- a/coconut/command/command.py +++ b/coconut/command/command.py @@ -266,7 +266,7 @@ def execute_args(self, args, interact=True, original_args=None): if args.site_install and args.site_uninstall: raise CoconutException("cannot --site-install and --site-uninstall simultaneously") if args.incremental and not SUPPORTS_INCREMENTAL: - raise CoconutException("--incremental mode requires cPyparsing (run '{python} -m pip install --upgrade cPyparsing' to fix)".format(python=sys.executable)) + raise CoconutException("--incremental mode not supported in current environment (try '{python} -m pip install --upgrade cPyparsing' to fix)".format(python=sys.executable)) for and_args in getattr(args, "and") or []: if len(and_args) > 2: raise CoconutException( diff --git a/coconut/constants.py b/coconut/constants.py index c2ad6eea1..dc142f320 100644 --- a/coconut/constants.py +++ b/coconut/constants.py @@ -963,6 +963,7 @@ def get_path_env_var(env_var, default): "numpy": ( ("numpy", "py<3;cpy"), ("numpy", "py34;py<39"), + ("numpy", "py39"), ("pandas", "py36"), ), "tests": ( diff --git a/coconut/tests/main_test.py b/coconut/tests/main_test.py index edc424bc5..690bca953 100644 --- a/coconut/tests/main_test.py +++ b/coconut/tests/main_test.py @@ -940,7 +940,7 @@ def test_run_arg(self): def test_jobs_zero(self): run(["--jobs", "0"]) - if not PYPY: + if not PYPY and PY38: def test_incremental(self): run(["--incremental"]) # includes "Error" because exceptions include the whole file