Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove shapely stubs #7

Merged
merged 2 commits into from
Jun 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,17 +90,6 @@ This project is licensed under the MIT License.
<th>Yes</th>
<th>Yes</th>
</tr>
<tr>
<th>shapely</th>
<th><code>shapely</code></th>
<th>
<a href="https://pypi.org/project/shapely">PyPI</a>,
<a href="https://github.com/shapely/shapely">GitHub</a>
</th>
<th>Complete</th>
<th>Yes</th>
<th>Yes</th>
</tr>
</table>

## Upstreamed stubs
Expand All @@ -118,4 +107,9 @@ These stubs were included here in the past and have been moved to typeshed or to
<th><a href="https://github.com/python/typeshed/tree/main/stubs/seaborn">typeshed</a></th>
<th><code>pip install types-seaborn</code></th>
</tr>
<tr>
<th><a href="https://pypi.org/project/shapely">shapely</a></th>
<th><a href="https://github.com/python/typeshed/tree/main/stubs/shapely">typeshed</a></th>
<th><code>pip install types-shapely</code></th>
</tr>
</table>
4 changes: 1 addition & 3 deletions requirements-tests.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ pyright==1.1.364

# Runtime dependencies
# --------------------
shapely>=2.0,<2.1
geopandas>=0.14.4,<1.0

# Transient dependencies
# ----------------------
# shapely
pyproj>=3.6.1
# geopandas
types-shapely>=2.0.0.20240527
pandas-stubs>=2.2.2.240514
matplotlib>=3.8.0
folium>=0.16.0
Expand Down
2 changes: 1 addition & 1 deletion run.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class Text(str): ...
"ruff-format": ["tests", "stubs"],
"mypy": ["tests", "stubs"],
"pyright": ["tests", "stubs"],
"stubtest": ["--allowlist=stubtest_allowlist.txt", "shapely", "geopandas"],
"stubtest": ["--allowlist=stubtest_allowlist.txt", "geopandas"],
"pytest": [],
}

Expand Down
4 changes: 0 additions & 4 deletions stubs/shapely-stubs/.ruff.toml

This file was deleted.

32 changes: 0 additions & 32 deletions stubs/shapely-stubs/__init__.pyi

This file was deleted.

5 changes: 0 additions & 5 deletions stubs/shapely-stubs/_enum.pyi

This file was deleted.

184 changes: 0 additions & 184 deletions stubs/shapely-stubs/_geometry.pyi

This file was deleted.

12 changes: 0 additions & 12 deletions stubs/shapely-stubs/_ragged_array.pyi

This file was deleted.

61 changes: 0 additions & 61 deletions stubs/shapely-stubs/_typing.pyi

This file was deleted.

6 changes: 0 additions & 6 deletions stubs/shapely-stubs/_version.pyi

This file was deleted.

23 changes: 0 additions & 23 deletions stubs/shapely-stubs/affinity.pyi

This file was deleted.

Empty file.
6 changes: 0 additions & 6 deletions stubs/shapely-stubs/algorithms/cga.pyi

This file was deleted.

Loading