Skip to content

Part 1 of #3957: simplify offline builds (#3944) - #3958

Merged
ajpotts merged 3 commits into
Bears-R-Us:masterfrom
ajpotts:3933_failing_make_install-arrow_pt4
Jan 15, 2025
Merged

ajpotts merged 3 commits into
Bears-R-Us:masterfrom
ajpotts:3933_failing_make_install-arrow_pt4

Conversation

@ajpotts

@ajpotts ajpotts commented Jan 3, 2025 •

Copy link
Copy Markdown
Contributor

This is meant to be a follow-on to PR #3946, as part of an effort to better support offline arkouda builds.

It adds a step to download the python dependencies to the almalinux-with-arkouda-deps docker container so that the pip installs can also be conducted offline.

Part of #3957

@ajpotts

ajpotts commented Jan 3, 2025 •

Copy link
Copy Markdown
Contributor Author

To test the almalinux install without network connection:

  1. Pull the container: docker pull ajpotts/almalinux-with-arkouda-deps:1.0.1
  2. Run the container: docker run -it --network none ajpotts/almalinux-with-arkouda-deps:1.0.1
  3. Test that you will get an error if you try to download from the internet: dnf install gedit
  4. Install the python dependencies: pip install --no-index --find-links /root/pip_deps/ -r /root/requirements.txt
  5. Enter the arkouda directory: cd /root/arkouda/
  6. Build: make install-deps DEP_BUILD_DIR=/dep/build
  7. pip install arkouda: python3 -m pip install -e .[dev]
  8. Make arkouda: make
  9. Verify tests run: make test

@ajpotts
ajpotts force-pushed the 3933_failing_make_install-arrow_pt4 branch 4 times, most recently from 23d94d1 to 4b30ce4 Compare January 7, 2025 13:16
@ajpotts
ajpotts marked this pull request as ready for review January 7, 2025 13:16
@ajpotts ajpotts changed the title Part of #3957: simplify offline builds (#3944) Part 1 of #3957: simplify offline builds (#3944) Jan 7, 2025
@ajpotts
ajpotts force-pushed the 3933_failing_make_install-arrow_pt4 branch from 4b30ce4 to 6003cbd Compare January 8, 2025 00:43
@ajpotts
ajpotts requested a review from 1RyanK January 13, 2025 21:16

@drculhane drculhane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I ran through all the steps in your comments. Everything worked as expected, and the make test succeeded.

VERY nice work.

@jaketrookman jaketrookman left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks great, yesterday's Docker meeting was super helpful understanding this and learning how to test this

@ajpotts
ajpotts added this pull request to the merge queue Jan 15, 2025
Merged via the queue into Bears-R-Us:master with commit abc2731 Jan 15, 2025
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.

3 participants