Skip to content

Commit 47c35b0

Browse files
authored
Move pyogrio to typeshed (#46)
1 parent 01c8dfe commit 47c35b0

13 files changed

Lines changed: 6 additions & 454 deletions

File tree

README.md

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -77,16 +77,6 @@ This project is licensed under the MIT License.
7777
<th>Incomplete</th>
7878
<th>Yes</th>
7979
</tr>
80-
<tr>
81-
<th>pyogrio</th>
82-
<th><code>pyogrio</code></th>
83-
<th>
84-
<a href="https://pypi.org/project/pyogrio">PyPI</a>,
85-
<a href="https://github.com/geopandas/pyogrio">GitHub</a>
86-
</th>
87-
<th>Complete</th>
88-
<th>Yes</th>
89-
</tr>
9080
</table>
9181

9282
## Upstreamed stubs
@@ -114,4 +104,9 @@ These stubs were included here in the past and have been moved to typeshed or to
114104
<th><a href="https://github.com/python/typeshed/tree/main/stubs/geopandas">typeshed</a></th>
115105
<th><code>pip install types-geopandas</code></th>
116106
</tr>
107+
<tr>
108+
<th><a href="https://pypi.org/project/pyogrio">pyogrio</a></th>
109+
<th><a href="https://github.com/python/typeshed/tree/main/stubs/pyogrio">typeshed</a></th>
110+
<th><code>pip install types-pyogrio</code></th>
111+
</tr>
117112
</table>

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ tests = [
2424
"geopandas>=1.0.0",
2525
"pandapower>=3.1.2,<3.5", # TODO: remove upper bound
2626
"types-networkx>=3.4.2",
27-
# pyogrio
28-
"pyogrio>=0.13.0",
2927
]
3028
dev = [
3129
"ruff>=0.15.21",

run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"pyright": ["tests", "stubs"],
1818
"ty-check": ["tests", "stubs"],
1919
"pyrefly-check": ["tests", "stubs"],
20-
"stubtest": ["--allowlist=stubtest_allowlist.txt", "pandapower", "pyogrio"],
20+
"stubtest": ["--allowlist=stubtest_allowlist.txt", "pandapower"],
2121
"pytest": [],
2222
}
2323
if (num_mypy_workers := min(os.cpu_count() or 1, 6)) > 1:

stubs/pyogrio-stubs/.ruff.toml

Lines changed: 0 additions & 4 deletions
This file was deleted.

stubs/pyogrio-stubs/__init__.pyi

Lines changed: 0 additions & 47 deletions
This file was deleted.

stubs/pyogrio-stubs/_typing.pyi

Lines changed: 0 additions & 24 deletions
This file was deleted.

stubs/pyogrio-stubs/core.pyi

Lines changed: 0 additions & 82 deletions
This file was deleted.

stubs/pyogrio-stubs/errors.pyi

Lines changed: 0 additions & 6 deletions
This file was deleted.

stubs/pyogrio-stubs/geopandas.pyi

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)