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

Deprecation in common.py: #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jllovell
Copy link
Contributor

.to_wkt() is deprecated since around shapely 1.8. Replaced it with .wkt.
This is not only important for future proofing, but also because the original sandpyper dependency requirements and suggested virtual environment and package versions create so many conflicts when installing SP with conda on a Mac, that it makes Sandpyper unusable.
I will make another Branch that deals with Sandpyper's cross-platform usability and share an environment .yml file with dependencies that do work on a Mac, and which uses a more recent version of some packages like shapely, thus making this fix unavoidable.

Copy link
Owner

@npucino npucino left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for this. Sandpyper was created while I was self-learning Python during my PhD so I am sure there are heaps of things that can be improved or are deprecated today.

@npucino
Copy link
Owner

npucino commented Dec 12, 2024

I will wait for the new PR with the updated .yml file for cross-platform compatibility

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.

2 participants