You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sedona.apache.org by "paleolimbot (via GitHub)" <gi...@apache.org> on 2026/09/22 21:48:22 UTC

[I] python/sedonadb: Python warnings for deprecated numpy behaiour are in tests [sedona-db]

paleolimbot opened a new issue, #1341:
URL: https://github.com/apache/sedona-db/issues/1341

   From recent CI logs:
   
   ```
   =============================== warnings summary ===============================
   tests/functions/test_raster_functions.py: 325 warnings
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_raster_functions.py:241: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       xs, ys = zip(*(affine * (u, v) for u, v in pixel_points))
   
   tests/functions/test_raster_functions.py: 325 warnings
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_raster_functions.py:509: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       xs, ys = zip(*(affine * (u, v) for u, v in pixel_points))
   
   tests/functions/test_rs_asraster.py: 12 warnings
   tests/functions/test_rs_clip.py: 406 warnings
   tests/functions/test_rs_tile.py: 13 warnings
     /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/site-packages/rasterio/windows.py:360: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       x, y = transform * (window.col_off or 0.0, window.row_off or 0.0)
   
   tests/functions/test_rs_asraster.py: 12 warnings
   tests/functions/test_rs_clip.py: 406 warnings
   tests/functions/test_rs_tile.py: 13 warnings
     /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/site-packages/rasterio/windows.py:361: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       return Affine.translation(
   
   tests/functions/test_rs_clip.py: 12 warnings
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_rs_clip.py:342: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       [affine * corner for corner in [(1.2, 0.8), (5.7, 1.3), (2.4, 4.9)]]
   
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[north-up-1-1]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[north-up-2-3]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[north-up-7-6]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[north-up-9-8]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[skewed-1-1]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[skewed-2-3]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[skewed-7-6]
   tests/functions/test_rs_pixelas.py::test_rs_pixelaspoint_matches_comparators[skewed-9-8]
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_rs_pixelas.py:100: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       x, y = src.transform * (col - 1, row - 1)
   
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[north-up-1-1]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[north-up-2-3]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[north-up-7-6]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[north-up-9-8]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[skewed-1-1]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[skewed-2-3]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[skewed-7-6]
   tests/functions/test_rs_pixelas.py::test_rs_pixelascentroid_matches_comparators[skewed-9-8]
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_rs_pixelas.py:108: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       x, y = src.transform * (col - 0.5, row - 0.5)
   
   tests/functions/test_rs_pixelas.py: 32 warnings
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_rs_pixelas.py:123: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       return shapely.Polygon([src.transform * corner for corner in corners])
   
   tests/functions/test_rs_reprojectmatch.py::test_reproject_match_cross_crs_matches_rasterio
   tests/test_raster.py::test_raster_from_numpy_bbox_matches_rasterio
   tests/test_raster_testing.py::test_decoded_raster_random_roundtrips_through_geotiff
   tests/test_raster_testing.py::test_decoded_raster_write_geotiff_requires_uniform_nodata
   tests/test_raster_testing.py::test_write_geotiff_bbox_places_the_grid
   tests/test_raster_testing.py::test_decoded_raster_bbox_places_the_grid
     /opt/hostedtoolcache/Python/3.13.15/x64/lib/python3.13/site-packages/rasterio/transform.py:189: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       return Affine.translation(west, north) * Affine.scale(
   
   tests/functions/test_rs_resample.py: 12 warnings
     /home/runner/work/sedona-db/sedona-db/python/sedonadb/tests/functions/test_rs_resample.py:218: PendingDeprecationWarning: Use `@` matmul instead of `*` mul operator for matrix multiplication
       transform = src.transform * src.transform.scale(
   
   
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] python/sedonadb: Python warnings for deprecated numpy behaiour are in tests [sedona-db]

Posted by "jiayuasu (via GitHub)" <gi...@apache.org>.
jiayuasu closed issue #1341: python/sedonadb: Python warnings for deprecated numpy behaiour are in tests
URL: https://github.com/apache/sedona-db/issues/1341


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@sedona.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org