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

Fix deprecation warnings #10

Closed
asherp opened this issue Feb 14, 2020 · 2 comments
Closed

Fix deprecation warnings #10

asherp opened this issue Feb 14, 2020 · 2 comments

Comments

@asherp
Copy link
Contributor

asherp commented Feb 14, 2020

Kamodo was developed under sympy==1.4. sympy==1.5.1 produces deprecation warnings

sympy/physics/units/quantities.py:84: SymPyDeprecationWarning: 

Moving method to UnitSystem class has been deprecated since SymPy 1.5.
Use unit_system.set_quantity_dimension or
nanotesla.set_global_relative_scale_factor instead. See
https://github.com/sympy/sympy/issues/17765 for more info.

  useinstead="unit_system.set_quantity_dimension or {}.set_global_relative_scale_factor".format(self),
sympy/physics/units/quantities.py:95: SymPyDeprecationWarning: 
@asherp
Copy link
Contributor Author

asherp commented Feb 14, 2020

Relevant sympy issue: #sympy/sympy#17765

@rebeccaringuette
Copy link
Contributor

This is addressed in kamodo-core. Please close.

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

No branches or pull requests

3 participants