Skip to content

Fix compatibility with pyshp 3.0.0. #634

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
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

sebastic
Copy link

From the pyshp README:

  • bbox, mbox and zbox attributes are all new Namedtuples.

Namedtuples don't have tolist(), calling list() on shapefile._Array (pyshp < 3.0.0) and tuple (pyshp >= 3.0.0) produces the same result.

Fixes: #632

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test failures with pyshp 3.0.0 (AttributeError: 'tuple' object has no attribute 'tolist')
1 participant