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

Upgrade to numpy>=2.0.0 #117

Merged
merged 2 commits into from
Sep 18, 2024
Merged

Upgrade to numpy>=2.0.0 #117

merged 2 commits into from
Sep 18, 2024

Conversation

moeyensj
Copy link
Member

No description provided.

Comment on lines -29 to -43
cache: 'pip' # caching pip dependencies

- name: Install openorb dependencies
run: |
sudo apt-get update -y
sudo apt-get install -y gfortran liblapack-dev
wget -P /tmp/ https://storage.googleapis.com/oorb-data/oorb_data.tar.gz
mkdir -p /tmp/oorb/
tar -xvf /tmp/oorb_data.tar.gz -C /tmp/oorb/
cache: 'pip' # caching pip dependencies
- name: Install Testing Dependencies
run: |
pip install pip --upgrade
pip install ".[dev]"
# Install pyoorb propagator from source
pip install git+https://github.com/B612-Asteroid-Institute/adam-pyoorb.git@main
Copy link
Member Author

Choose a reason for hiding this comment

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

Controversial maybe but I think it is time.

@akoumjian
Copy link
Contributor

I tested adam-assist against this version and unit and integration tests all passed. I was worried that maybe the serialization to numpy arrays in rebound might behave differently, since I think the C apis have changed, but as far as I can tell it's fine.

Looks like unit tests for adam-core pass in about same amount of time (~1min 30s), so not obvious performance from that alone. adam_etl might have the biggest changes, but we were due for a big upgrade anyway.

@moeyensj moeyensj merged commit 917b1f4 into main Sep 18, 2024
2 of 3 checks passed
@moeyensj moeyensj deleted the jm/numpy-version branch September 18, 2024 00:39
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