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

LimePy broken #1102

Open
LourensVeen opened this issue Jan 21, 2025 · 2 comments
Open

LimePy broken #1102

LourensVeen opened this issue Jan 21, 2025 · 2 comments
Labels

Comments

@LourensVeen
Copy link
Collaborator

Describe the bug
LimePy does not work, because it uses SciPi features that no longer exist.

To Reproduce
Try to import amuse.ic.limepy.

Expected behavior
I expect LimePy to become available.

Logs

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/lourens/.miniconda3/envs/amuse-dev/lib/python3.12/site-packages/amuse/ic/limepy.py", line 7, in <module>
    from ._limepy import limepy, sample
  File "/home/lourens/.miniconda3/envs/amuse-dev/lib/python3.12/site-packages/amuse/ic/_limepy/__init__.py", line 7, in <module>
    from .limepy import limepy
  File "/home/lourens/.miniconda3/envs/amuse-dev/lib/python3.12/site-packages/amuse/ic/_limepy/limepy.py", line 8, in <module>
    from scipy.integrate import ode, simps, quad
ImportError: cannot import name 'simps' from 'scipy.integrate' (/home/lourens/.miniconda3/envs/amuse-dev/lib/python3.12/site-packages/scipy/integrate/__init__.py). Did you mean: 'simpson'?

Environment (please complete the following information):

  • OS and version: KUbuntu Linux 22.04
  • Compiler: N/A

Additional context
See also #758.

@rieder
Copy link
Member

rieder commented Jan 21, 2025 via email

@LourensVeen
Copy link
Collaborator Author

Unfortunately, this isn't the only problem. There's also scipy.random , and that doesn't have a clear replacement IIRC. I looked at this at some point in the past, it'll require some work to get this working again.

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

No branches or pull requests

2 participants