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

numpy DeprecationWarning within pyproj #452

Closed
jGaboardi opened this issue Apr 28, 2024 · 1 comment · Fixed by #449
Closed

numpy DeprecationWarning within pyproj #452

jGaboardi opened this issue Apr 28, 2024 · 1 comment · Fixed by #449
Assignees
Labels

Comments

@jGaboardi
Copy link
Member

A numpy DeprecationWarning is being thrown from within pyproj (see here. Is this something we should ignore or do something about on our side?

xref:

spopt/tests/test_lscp.py: 6 warnings
spopt/tests/test_lscpb.py: 6 warnings
spopt/tests/test_mclp.py: 8 warnings
spopt/tests/test_p_center.py: 6 warnings
spopt/tests/test_p_median.py: 8 warnings
  /home/runner/micromamba/envs/test/lib/python3.12/site-packages/pyproj/transformer.py:820: DeprecationWarning: Conversion of an array with ndim > 0 to a scalar is deprecated, and will error in future. Ensure you extract a single element from your array before performing this operation. (Deprecated NumPy 1.25.)
    return self._transformer._transform_point(
@jGaboardi
Copy link
Member Author

Resolved via #449

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

Successfully merging a pull request may close this issue.

4 participants