pyproj4 / pyproj

Python interface to PROJ (cartographic projections and coordinate transformations library)
https://pyproj4.github.io/pyproj
MIT License
1.04k stars 211 forks source link

WHL: Update to PROJ 9.3 #1334

Closed snowman2 closed 1 year ago

snowman2 commented 1 year ago

TODO: vcpkg & PROJ release

codecov[bot] commented 1 year ago

Codecov Report

Merging #1334 (e068fe7) into main (c3e8aca) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1334   +/-   ##
=======================================
  Coverage   96.41%   96.41%           
=======================================
  Files          20       20           
  Lines        1812     1812           
=======================================
  Hits         1747     1747           
  Misses         65       65           
dotlambda commented 1 year ago

I get a test failure using PROJ 9.3.0 with pyproj 3.6.0:

=================================== FAILURES ===================================
____________________________ test_repr__conditional ____________________________

    @pytest.mark.grid
    def test_repr__conditional():
        trans_repr = repr(Transformer.from_crs("EPSG:4326+3855", "EPSG:4979"))
        if grids_available("us_nga_egm08_25.tif"):
            assert trans_repr == (
                "<Unknown Transformer: unknown>\n"
                "Description: unavailable until proj_trans is called\n"
                "Area of Use:\n- undefined"
            )
        elif PROJ_GTE_92:
>           assert trans_repr == (
                "<Unknown Transformer: noop>\n"
                "Description: Transformation from EGM2008 height to WGS 84 "
                "(ballpark vertical transformation, without ellipsoid height "
                "to vertical height correction)\n"
                "Area of Use:\n- undefined"
            )
E           AssertionError: assert '<Other Coord... 180.0, 90.0)' == '<Unknown Tra...\n- undefined'
E             - <Unknown Transformer: noop>
E             + <Other Coordinate Operation Transformer: noop>
E               Description: Transformation from EGM2008 height to WGS 84 (ballpark vertical transformation, without ellipsoid height to vertical height correction)
E               Area of Use:
E             - - undefined
E             + - name: World.
E             + - bounds: (-180.0, -90.0, 180.0, 90.0)

test/test_transformer.py:544: AssertionError
snowman2 commented 1 year ago

See #1315