Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test cases not passing #1386

Closed
sathwikreddy56 opened this issue Jan 21, 2023 · 3 comments
Closed

Test cases not passing #1386

sathwikreddy56 opened this issue Jan 21, 2023 · 3 comments

Comments

@sathwikreddy56
Copy link

sathwikreddy56 commented Jan 21, 2023

Tests from
test_geometry.py
test_grid_workflow.py
test_virtual.py are failing.py

even after installing all the libraries properly some throw error from
test_common.py
test_dataset_add.py
test_util_docs.py

Expected behaviour

Actual behaviour

ERROR tests/test_utils_docs.py::test_read_docs_from_http
ERROR tests/ui/test_common.py::test_ui_path_doc_stream
ERROR integration_tests/test_dataset_add.py::test_dataset_add_http[US/Pacific-datacube]
ERROR integration_tests/test_dataset_add.py::test_dataset_add_http[UTC-datacube]
FAILED tests/test_geometry.py::test_ops - AttributeError: 'LineString' object has no attribute 'array_interface'
FAILED tests/test_geometry.py::test_geom_split - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_chop - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_wrap_dateline - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_wrap_dateline_sinusoidal[pts0] - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_wrap_dateline_sinusoidal[pts1] - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_wrap_dateline_sinusoidal[pts2] - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_wrap_dateline_utm - TypeError: 'GeometryCollection' object is not iterable
FAILED tests/test_geometry.py::test_geom_clone - assert <POLYGON ((0 0, 0 20, 10 20, 10 0, 0 0))> is not <POLYGON ((0 0, 0 20, 10 20, 10 0, 0 0))>
FAILED tests/api/test_grid_workflow.py::test_gridworkflow_with_time_depth - AssertionError
FAILED tests/api/test_virtual.py::test_aggregate - ValueError: time already exists as coordinate or variable name.
FAILED integration_tests/test_end_to_end.py::test_end_to_end[US/Pacific-datacube] - AssertionError
FAILED integration_tests/test_end_to_end.py::test_end_to_end[UTC-datacube] - AssertionError

... eg. Incorrect result, python stacktrace, etc. ...

Steps to reproduce the behaviour

... Include code, command line parameters as appropriate ...

Environment information

  • Which datacube --version are you using?
  • What datacube deployment/enviornment are you running against?

Note: Stale issues will be automatically closed after a period of six months with no activity.
To ensure critical issues are not closed, tag them with the Github pinned tag.
If you are a community member and not a maintainer please escalate this issue to maintainers via
GIS StackExchange or Slack.

@SpacemanPaul
Copy link
Contributor

Possibly a duplicate of #1334

@Ariana-B
Copy link
Contributor

Pinning the shapely version to be < 2.0.0 should resolve the LineString and GeometryCollection related errors, which might in turn resolve the rest.

@Ariana-B
Copy link
Contributor

Ariana-B commented Feb 1, 2023

Shapely compatibility update in the latest release should resolve this.

@Ariana-B Ariana-B closed this as completed Feb 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants