Content-Length: 220161 | pFad | http://github.com/python/typeshed/issues/14177

0B mypy CI fails with `geopandas` error · Issue #14177 · python/typeshed · GitHub
Skip to content

mypy CI fails with geopandas error #14177

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

Open
sobolevn opened this issue May 27, 2025 · 0 comments
Open

mypy CI fails with geopandas error #14177

sobolevn opened this issue May 27, 2025 · 0 comments
Assignees
Labels
project: infrastructure typeshed build, test, documentation, or distribution related

Comments

@sobolevn
Copy link
Member

sobolevn commented May 27, 2025

Link: https://github.com/python/typeshed/actions/runs/15279387776/job/42974250437

 testing geopandas (25 files)... failure (exit code 1)

stubs/geopandas/geopandas/geoseries.pyi:152: error: Cannot override final attribute "take" (previously declared in base class "NDFrame")  [misc]
stubs/geopandas/geopandas/geoseries.pyi:152: error: Argument 2 of "take" is incompatible with supertype "NDFrame"; supertype defines the argument type as "Literal['index', 0] | Literal['columns', 1]"  [override]
stubs/geopandas/geopandas/geoseries.pyi:152: note: This violates the Liskov substitution principle
stubs/geopandas/geopandas/geoseries.pyi:152: note: See https://mypy.readthedocs.io/en/stable/common_issues.html#incompatible-overrides

I will try to fix it.

@sobolevn sobolevn added the project: infrastructure typeshed build, test, documentation, or distribution related label May 27, 2025
@sobolevn sobolevn self-assigned this May 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
project: infrastructure typeshed build, test, documentation, or distribution related
Projects
None yet
Development

No branches or pull requests

1 participant








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/python/typeshed/issues/14177

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy