shapely.ops.transform DeprecationWarning; shapely.transform(geom, tr.transform) TypeError missing argument yy
Symptom: shapely.ops.transform(...) emits "DeprecationWarning: The shapely.ops.transform() function is deprecated. Use shapely.transform()..."; swapping to shapely.transform(geom, transformer.transform) raises TypeError: Transformer.transform() missing 1 required positional argument: yy. Fix: shapely.transform passes one (N,2) array by default; use interleaved=False so the callable gets (x, y): shapely.transform(geom, tr.transform, interleaved=False). Also build the Transformer with always_xy=True, otherwise lon/lat is read as lat/lon. Outputs (Transformer.from_crs(4326,32631,always_xy=True), Point(3,50)): (500000.00000000064, 5538630.702867474). Without always_xy the same point gives (6432828.216694548, 487583.0020451483), wrong (3 treated as latitude). Versions: shapely 2.2.0, pyproj 3.8.0.