Skip to content

Commit

Permalink
Get out of arrow/python directory to not require editable mode instal…
Browse files Browse the repository at this point in the history
…lation
  • Loading branch information
raulcd committed May 29, 2024
1 parent 2c438b1 commit 3c785c9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion python/examples/minimal_build/Dockerfile.ubuntu
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# specific language governing permissions and limitations
# under the License.

FROM ubuntu:focal
FROM ubuntu:jammy

ENV DEBIAN_FRONTEND=noninteractive

Expand All @@ -32,6 +32,7 @@ RUN apt-get update -y -q && \
python3-dev \
python3-pip \
python3-venv \
tzdata \
&& \
apt-get clean && rm -rf /var/lib/apt/lists*

Expand Down
3 changes: 2 additions & 1 deletion python/examples/minimal_build/build_conda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ export PYARROW_BUILD_TYPE=Debug
export PYARROW_CMAKE_GENERATOR=Ninja

# Use the same command that we use on python_build.sh
python -m pip install --no-deps --no-build-isolation -e .
python -m pip install --no-deps --no-build-isolation -vv .
popd

py.test pyarrow
4 changes: 3 additions & 1 deletion python/examples/minimal_build/build_venv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,9 @@ export PYARROW_BUILD_TYPE=Debug
export PYARROW_CMAKE_GENERATOR=Ninja

# Use the same command that we use on python_build.sh
python -m pip install --no-deps --no-build-isolation -e .
python -m pip install --no-deps --no-build-isolation -vv .

popd

pip install -r $ARROW_ROOT/python/requirements-test.txt

Expand Down

0 comments on commit 3c785c9

Please sign in to comment.