pyogrio 0.11.0__cp311-cp311-macosx_12_0_arm64.whl → 0.11.1__cp311-cp311-macosx_12_0_arm64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of pyogrio might be problematic. Click here for more details.

Binary file
pyogrio/__init__.py CHANGED
@@ -4,7 +4,9 @@ try:
4
4
  # we try importing shapely, to ensure it is imported (and it can load its
5
5
  # own GEOS copy) before we load GDAL and its linked GEOS
6
6
  import shapely
7
- import shapely.geos # noqa: F401
7
+
8
+ if shapely.__version__ < "2.0.0":
9
+ import shapely.geos
8
10
  except Exception:
9
11
  pass
10
12
 
Binary file
Binary file
Binary file
Binary file
pyogrio/_version.py CHANGED
@@ -8,11 +8,11 @@ import json
8
8
 
9
9
  version_json = '''
10
10
  {
11
- "date": "2025-05-08T16:44:26+0200",
11
+ "date": "2025-08-02T21:41:37+0200",
12
12
  "dirty": false,
13
13
  "error": null,
14
- "full-revisionid": "7ada821e195a4c74b5135ae88d1e8c494afb0c9a",
15
- "version": "0.11.0"
14
+ "full-revisionid": "d3ff55ba80ea5f1744d40f7502adec3658d91b15",
15
+ "version": "0.11.1"
16
16
  }
17
17
  ''' # END VERSION_JSON
18
18
 
Binary file
@@ -3,13 +3,13 @@
3
3
  "spdxVersion": "SPDX-2.2",
4
4
  "dataLicense": "CC0-1.0",
5
5
  "SPDXID": "SPDXRef-DOCUMENT",
6
- "documentNamespace": "https://spdx.org/spdxdocs/gdal-arm64-osx-dynamic-release-3.10.3-d997cc0b-364d-4510-b991-48143596850b",
6
+ "documentNamespace": "https://spdx.org/spdxdocs/gdal-arm64-osx-dynamic-release-3.10.3-ccb91b2d-8a82-4412-9cc9-cc32c1d4d665",
7
7
  "name": "gdal:arm64-osx-dynamic-release@3.10.3 3b9bcb6f704f356d70d60249796ffc7e8ebff0f7ef4518d2f365aedd3a5a3d79",
8
8
  "creationInfo": {
9
9
  "creators": [
10
- "Tool: vcpkg-2025-04-16-f9b6c6917b23c1ccf16c1a9f015ebabf8f615045"
10
+ "Tool: vcpkg-2025-07-21-d4b65a2b83ae6c3526acd1c6f3b51aff2a884533"
11
11
  ],
12
- "created": "2025-05-07T14:29:30Z"
12
+ "created": "2025-08-01T14:33:18Z"
13
13
  },
14
14
  "relationships": [
15
15
  {
@@ -125,7 +125,7 @@
125
125
  "versionInfo": "3.10.3",
126
126
  "downloadLocation": "git+https://github.com/Microsoft/vcpkg@5fbf8e1a6b0541dd68d3e256c0fd77ab6f99c163",
127
127
  "homepage": "https://gdal.org",
128
- "licenseConcluded": "NOASSERTION",
128
+ "licenseConcluded": "LicenseRef-vcpkg-null",
129
129
  "licenseDeclared": "NOASSERTION",
130
130
  "copyrightText": "NOASSERTION",
131
131
  "description": "The Geographic Data Abstraction Library for reading and writing geospatial raster and vector data",
@@ -136,7 +136,7 @@
136
136
  "SPDXID": "SPDXRef-binary",
137
137
  "versionInfo": "3b9bcb6f704f356d70d60249796ffc7e8ebff0f7ef4518d2f365aedd3a5a3d79",
138
138
  "downloadLocation": "NONE",
139
- "licenseConcluded": "NOASSERTION",
139
+ "licenseConcluded": "LicenseRef-vcpkg-null",
140
140
  "licenseDeclared": "NOASSERTION",
141
141
  "copyrightText": "NOASSERTION",
142
142
  "comment": "This is a binary package built by vcpkg."
@@ -3,13 +3,13 @@
3
3
  "spdxVersion": "SPDX-2.2",
4
4
  "dataLicense": "CC0-1.0",
5
5
  "SPDXID": "SPDXRef-DOCUMENT",
6
- "documentNamespace": "https://spdx.org/spdxdocs/proj-arm64-osx-dynamic-release-9.6.0-07767e49-9fc1-4d61-8f9d-90ab0d96ed0c",
6
+ "documentNamespace": "https://spdx.org/spdxdocs/proj-arm64-osx-dynamic-release-9.6.0-17c606b9-e052-488d-b801-91803ff6faa3",
7
7
  "name": "proj:arm64-osx-dynamic-release@9.6.0 b2ef1758b546a7589c0740f68647dbe45409b00c48c51a3aaa5084952d1e3ee1",
8
8
  "creationInfo": {
9
9
  "creators": [
10
- "Tool: vcpkg-2025-04-16-f9b6c6917b23c1ccf16c1a9f015ebabf8f615045"
10
+ "Tool: vcpkg-2025-07-21-d4b65a2b83ae6c3526acd1c6f3b51aff2a884533"
11
11
  ],
12
- "created": "2025-05-07T14:21:43Z"
12
+ "created": "2025-08-01T14:23:54Z"
13
13
  },
14
14
  "relationships": [
15
15
  {
@@ -759,12 +759,22 @@ def test_read_negative_skip_features(naturalearth_lowres, use_arrow):
759
759
  read_dataframe(naturalearth_lowres, skip_features=-1, use_arrow=use_arrow)
760
760
 
761
761
 
762
+ @pytest.mark.parametrize("skip_features", [0, 10, 200])
762
763
  @pytest.mark.parametrize("max_features", [10, 100])
763
- def test_read_max_features(naturalearth_lowres_all_ext, use_arrow, max_features):
764
+ def test_read_max_features(
765
+ naturalearth_lowres_all_ext, use_arrow, max_features, skip_features
766
+ ):
764
767
  ext = naturalearth_lowres_all_ext.suffix
765
- expected = read_dataframe(naturalearth_lowres_all_ext).iloc[:max_features]
768
+ expected = (
769
+ read_dataframe(naturalearth_lowres_all_ext)
770
+ .iloc[skip_features : skip_features + max_features]
771
+ .reset_index(drop=True)
772
+ )
766
773
  df = read_dataframe(
767
- naturalearth_lowres_all_ext, max_features=max_features, use_arrow=use_arrow
774
+ naturalearth_lowres_all_ext,
775
+ skip_features=skip_features,
776
+ max_features=max_features,
777
+ use_arrow=use_arrow,
768
778
  )
769
779
 
770
780
  assert len(df) == len(expected)
@@ -775,6 +785,13 @@ def test_read_max_features(naturalearth_lowres_all_ext, use_arrow, max_features)
775
785
  # In .geojsonl the vertices are reordered, so normalize
776
786
  is_jsons = ext == ".geojsonl"
777
787
 
788
+ if len(expected) == 0 and not use_arrow:
789
+ # for pandas >= 3, the column has string dtype but when reading it as
790
+ # empty result, it gets inferred as object dtype
791
+ expected["continent"] = expected["continent"].astype("object")
792
+ expected["name"] = expected["name"].astype("object")
793
+ expected["iso_a3"] = expected["iso_a3"].astype("object")
794
+
778
795
  assert_geodataframe_equal(
779
796
  df,
780
797
  expected,
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pyogrio
3
- Version: 0.11.0
3
+ Version: 0.11.1
4
4
  Summary: Vectorized spatial vector file format I/O using GDAL/OGR
5
5
  Author: pyogrio contributors
6
6
  Author-email: "Brendan C. Ward" <bcward@astutespruce.com>
@@ -1,23 +1,23 @@
1
- pyogrio-0.11.0.dist-info/RECORD,,
2
- pyogrio-0.11.0.dist-info/WHEEL,sha256=_F1UVstIM5Us3sK0icv9IOiLQIF1N2VwZ0HZ_pahGLI,136
3
- pyogrio-0.11.0.dist-info/top_level.txt,sha256=DUBAVaLxa9r0nHHskG8tHdP1P3zt6TYYPRiDBlEUc7Y,8
4
- pyogrio-0.11.0.dist-info/METADATA,sha256=f3d2-Lo1f7bgvZMKwM7-Ked2BSJZRcUg-iE0sviJVVU,5256
5
- pyogrio-0.11.0.dist-info/licenses/LICENSE,sha256=cLGJD_UZOxwnHgUg3rmhlzRkgfv6x9s8yx1zZ1Orc10,1102
6
- pyogrio/_geometry.cpython-311-darwin.so,sha256=BT06PHIMWLP_bcNa2VGj37Li8qpeUQrrE6htGwal4_0,117456
7
- pyogrio/_err.cpython-311-darwin.so,sha256=ZfJiG7f7T20Er6P1rH1-tvPOi4BOZkYp1MH97B2k-g0,202176
8
- pyogrio/_version.py,sha256=YNuT9sp5w7oceq4RZ_lnPWEjO4ukSHNLMe70rZoQ3Hk,498
1
+ pyogrio-0.11.1.dist-info/RECORD,,
2
+ pyogrio-0.11.1.dist-info/WHEEL,sha256=_PuQWn3gSfbzTkd99InNmwPmfKKCZwY7uAqfOc1peZM,136
3
+ pyogrio-0.11.1.dist-info/top_level.txt,sha256=DUBAVaLxa9r0nHHskG8tHdP1P3zt6TYYPRiDBlEUc7Y,8
4
+ pyogrio-0.11.1.dist-info/METADATA,sha256=RWKIiEG-GRyTknGDJ5Xp9-WZldR4NQPwqKcvMVXegeU,5256
5
+ pyogrio-0.11.1.dist-info/licenses/LICENSE,sha256=cLGJD_UZOxwnHgUg3rmhlzRkgfv6x9s8yx1zZ1Orc10,1102
6
+ pyogrio/_geometry.cpython-311-darwin.so,sha256=-iz2-sOU5us5HxZErRJt3y8TxOViAJqnw2ESpGLt4h8,117088
7
+ pyogrio/_err.cpython-311-darwin.so,sha256=QsnxGPwwMLl5gNj4667UpoldrQiI1C4UwmObMOb8yrQ,187264
8
+ pyogrio/_version.py,sha256=VZ4HnGSNSWJuyFf5AlXU7S7BXlDYoXAEgZu4Am8JLW0,498
9
9
  pyogrio/raw.py,sha256=wF443ou_yv6-_c1_zBAPGsLzMCFUzxGBbicdHhlJdh0,34375
10
10
  pyogrio/util.py,sha256=EanTwJHJXvd5uLLzQBuL5pMqjFyErvy-mTaCOA0hveI,7131
11
- pyogrio/__init__.py,sha256=am6EPcAXKiEEThP-9t2gy2WKZYkpwJP7UxRRxD6Y4YI,1284
11
+ pyogrio/__init__.py,sha256=gsLtnp2fshNpz0C9kWlTr4VH3ZsLsHRdcnumEmnm4Hk,1313
12
12
  pyogrio/core.py,sha256=Wck5hTG-Gw9xBslG9sJenrCq8DNXuVtc3ZM9R7u-drg,12702
13
- pyogrio/_ogr.cpython-311-darwin.so,sha256=OWjXOA-QXdM5pnpjQMqY4DX60jCI_BEbbiC8QQbPUgg,176064
14
- pyogrio/_io.cpython-311-darwin.so,sha256=6Mk44WcoxY8YrgigRhxmpw0WfeDxuzKIlcc8gv5tT58,578608
13
+ pyogrio/_ogr.cpython-311-darwin.so,sha256=1rAhY9JCg7ok3wA7HIIP7acs6ndBBoWBnngZzxK4Jp8,161904
14
+ pyogrio/_io.cpython-311-darwin.so,sha256=Pk-VdlDYzTmIe-mNFolzBz5CFweq5g_EXebjqSLv1-w,531152
15
15
  pyogrio/geopandas.py,sha256=dBhoRukJ4CjYstJcBcZgnRKDWNDbOMABSew5Gf0o0_I,31192
16
- pyogrio/_vsi.cpython-311-darwin.so,sha256=C2-5OP45taqYitqv8roZka0q_Rv6X95a6tGDGmxRhLY,140752
16
+ pyogrio/_vsi.cpython-311-darwin.so,sha256=7Q4A5rtkVISmjW8pM5JEq0ArYNHjjIgejY48vwn73x4,142400
17
17
  pyogrio/errors.py,sha256=gVPzLg6A5QZ7MNDHKGSVwlpkOPt6WthhMctkIsJ_K1E,645
18
18
  pyogrio/_compat.py,sha256=Q2x7EHE-RQ9tiNzjJSkkbVqmJ5kEFFAA7PC_t7bf_4M,1508
19
19
  pyogrio/_env.py,sha256=VPsAlVd6PAG1c9Xp46P5zZYopj_5ZlitPMTkCrd7cfo,1494
20
- pyogrio/proj_data/vcpkg.spdx.json,sha256=erSvZDqwFnsTM_d6HPy0fcJbgU9hhzYgKY4jpQoDFgE,6161
20
+ pyogrio/proj_data/vcpkg.spdx.json,sha256=dkolB5TxDBcOJi7tANzEy27mYEUMnZ4w926Hh2KHOK4,6161
21
21
  pyogrio/proj_data/proj.db,sha256=f1lW9moJcBNOp1IV9AHT1794cPK8y9cbdHlyq0I2SoA,9359360
22
22
  pyogrio/proj_data/nad83,sha256=mmJgyGgKvlIWyo_phZmPq6vBIbADKHmoIddcrjQR3JY,16593
23
23
  pyogrio/proj_data/CH,sha256=bFPqQKLGAyW6bGuaK5wUO9FlZxw4gg7NjyPKq0omSrU,1097
@@ -48,7 +48,7 @@ pyogrio/tests/test_raw_io.py,sha256=4hRdOoxfi4CAp64OItWkbgnw3f1ziry8JFoidMPTK7A,
48
48
  pyogrio/tests/test_core.py,sha256=gIacLsEM8c2hK7jkK0eyz0e3w-FirX3x4bVIdXMPSM8,22313
49
49
  pyogrio/tests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
50
50
  pyogrio/tests/test_util.py,sha256=kCsVL87vgckQdUSQ9vl4wWCRv5mGQKIk7UWah_WAFhs,2126
51
- pyogrio/tests/test_geopandas_io.py,sha256=D8zcwPO18x20XIH0GyA6rckPdZY6JUdzgXTPfN-MkIA,87328
51
+ pyogrio/tests/test_geopandas_io.py,sha256=NKHl5WMbfzTjKLJZ6hnjflsPHRgjhF2Z4RP8iEcCL5Y,87925
52
52
  pyogrio/tests/test_path.py,sha256=qENCJNdJi4nhVQSM65QZ7TgSg96RxIln8HZRkq1lh9c,12605
53
53
  pyogrio/tests/test_arrow.py,sha256=20ZdHwXJQH9Z1mbZhdQ7OZjPux1Ptsa2utzr0xmKD9s,37803
54
54
  pyogrio/tests/fixtures/curvepolygon.gpkg,sha256=AKEwmrDyn5ekxfbLnNO94nFD_JNnEtUQF2f2DwyWusc,98304
@@ -63,7 +63,7 @@ pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.cpg,sha256=CfwxMH
63
63
  pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.shp,sha256=CONBYG6DkeRYw_CN6zEt5mS1a_rjdgZMWqCu5mgaX1U,180924
64
64
  pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.dbf,sha256=0q4cma3PjkWGpbEsY5ZyA1-i8_Rp5yVZR94AQBw-1-E,48869
65
65
  pyogrio/tests/fixtures/naturalearth_lowres/naturalearth_lowres.prj,sha256=mKrz0cDsrfGkJKRTbeJhw9r043NpfLhsQMQ7mJ2vUus,143
66
- pyogrio/.dylibs/libgdal.36.3.10.3.dylib,sha256=H9KWvaIc-jsuFdpr44634zMtAqPy-EzREKPxYqNUdeI,45475984
66
+ pyogrio/.dylibs/libgdal.36.3.10.3.dylib,sha256=o4pMiKdObE3leqgoZr9hkgYIFPWrg9ZfjIfAGiPM8DM,45475984
67
67
  pyogrio/gdal_data/gml_registry.xml,sha256=2rVxsqdOS23ieg_eYtNIhxQcpFbRHKrN11oWay3lp0M,6643
68
68
  pyogrio/gdal_data/grib2_table_4_2_2_5.csv,sha256=DMm7VDNZcLAKXwFA4SIgfExBb1d8iGFNMKpOoYmwY5U,9513
69
69
  pyogrio/gdal_data/grib2_table_4_2_10_191.csv,sha256=D1EVM9Eyzl1STFGdSwy-OjkzyVNqUJc4JvToQgIcscg,9634
@@ -94,7 +94,7 @@ pyogrio/gdal_data/jpfgdgml_Cstline.gfs,sha256=cbzTD-Dbdi2QC-nO9Ep8i64E2CUW3m9nRh
94
94
  pyogrio/gdal_data/inspire_cp_CadastralZoning.gfs,sha256=e1GC-8pLjZ6gc-OY0IUDd5LL2URNHcazWW-i7QMLTPo,4812
95
95
  pyogrio/gdal_data/jpfgdgml_WA.gfs,sha256=GBCluVns9HsNGQMnEb4VXaYYi-cNgIo9LDYMCINVlnM,1497
96
96
  pyogrio/gdal_data/grib2_table_4_2_2_3.csv,sha256=NhDBdFAucOn0CBT4N8txwupv58jwnpCY6ChnhGNjkfo,10634
97
- pyogrio/gdal_data/vcpkg.spdx.json,sha256=4QXfFWTktLxstTgf3HUX7XdeMF_sMu6rHvSVY_fr6Uc,8107
97
+ pyogrio/gdal_data/vcpkg.spdx.json,sha256=oG-PYoTH_2_TMVrc9Zj1FwKOYD6Yxrnp6wrXR4NmozI,8127
98
98
  pyogrio/gdal_data/grib2_table_4_2_0_1.csv,sha256=Islx1uwOrtFhUgZcq0urhO9eG1bFDWjFieujFdQJq3M,16505
99
99
  pyogrio/gdal_data/grib2_table_4_2_20_1.csv,sha256=PssQWXb7slKE9Lj3j6-7bzaT_MbaNYvW1Ye9svtdHRQ,9851
100
100
  pyogrio/gdal_data/grib2_table_4_2_4_5.csv,sha256=UH1R3eJHZQ9Xejfrgr9km-ko28squEkiEdtdfqN9boE,9495
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (80.3.1)
2
+ Generator: setuptools (80.9.0)
3
3
  Root-Is-Purelib: false
4
4
  Tag: cp311-cp311-macosx_12_0_arm64
5
5
  Generator: delocate 0.13.0