You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FAIL Required test coverage of 86.0% not reached. Total coverage: 84.09%
================================================================== short test summary info ===================================================================
FAILED tests/test_5_benchmark.py::test_pt_volume_counter_bus - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_5_benchmark.py::test_pt_interactions_counter_bus - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_5_benchmark.py::test_links_counter_car_init - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_5_benchmark.py::test_links_counter_bus_init - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_5_benchmark.py::test_points_counter_init - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_5_benchmark.py::test_benchmark_workstation_with_link_bms - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_7_factory.py::test_bfs - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_7_factory.py::test_write_geojson - NotImplementedError: A polygon does not itself provide the array interface. Its rings do.
FAILED tests/test_7_factory.py::test_write_geojson_no_path - NotImplementedError: A polygon does not itself provide the array interface. Its rings do.
FAILED tests/test_7_factory.py::test_write_geojson_tool - NotImplementedError: A polygon does not itself provide the array interface. Its rings do.
FAILED tests/test_7_factory.py::test_bfs_depends - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_7_factory.py::test_write_geojson_tool_no_path - NotImplementedError: A polygon does not itself provide the array interface. Its rings do.
FAILED tests/test_8_main.py::test_main - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_8_main.py::test_main_ordering_graph - TypeError: got an unexpected keyword argument 'verbose'
FAILED tests/test_8_main.py::test_main_missing_requirement_still_fulfilled - TypeError: got an unexpected keyword argument 'verbose'
======================================================= 15 failed, 325 passed, 193 warnings in 38.56s ========================================================
(elara-3.11.0) arup@workbox-michael:~/elara$
The TypeError failures look like:
elara/factory.py:771: in build
return build_dag(queue=queue, write_path=write_path)
elara/factory.py:829: in build_dag
current.build(write_path=write_path)
elara/benchmarking.py:2206: in build
scores = benchmark.build({}, write_path=write_path)
elara/benchmarking.py:829: in build
bm_results_summary_plot.savefig(os.path.join(self.config.output_path,"benchmarks", plot_name), verbose=False)
../.pyenv/versions/elara-3.11.0/lib/python3.11/site-packages/matplotlib/figure.py:3274: in savefig
self.canvas.print_figure(fname, **kwargs)
../.pyenv/versions/elara-3.11.0/lib/python3.11/site-packages/matplotlib/backend_bases.py:2338: in print_figure
result = print_method(
../.pyenv/versions/elara-3.11.0/lib/python3.11/site-packages/matplotlib/backend_bases.py:2204: in<lambda>
print_method = functools.wraps(meth)(lambda *args, **kwargs: meth(
../.pyenv/versions/elara-3.11.0/lib/python3.11/site-packages/matplotlib/_api/deprecation.py:385: in wrapper
arguments = signature.bind(*inner_args, **inner_kwargs).arguments
../.pyenv/versions/3.11.0/lib/python3.11/inspect.py:3204: inbindreturn self._bind(args, kwargs)
Elara will not install into a Python 3.11.0 environment. On an EC2 instance running Ubuntu:
I was able to make
pip install
work by upgrading the following libraries:However, there were failures in the test suite:
The
TypeError
failures look like:The
NotImplementedError
failures look like:The text was updated successfully, but these errors were encountered: