Skip to content

Commit a561a2f

Browse files
committed
fix ui runtime
Signed-off-by: Tommy Hughes <tohughes@redhat.com>
1 parent 5d486b8 commit a561a2f

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ build: protos build-java build-docker
3838

3939
install-python-ci-dependencies:
4040
python -m piptools sync sdk/python/requirements/py$(PYTHON)-ci-requirements.txt
41-
pip install --no-deps -e .
41+
pip install --use-pep517 --no-deps -e .
4242
python setup.py build_python_protos --inplace
4343

4444
install-python-ci-dependencies-uv:
4545
uv pip sync --system sdk/python/requirements/py$(PYTHON)-ci-requirements.txt
46-
uv pip install --system --no-deps -e .
46+
uv pip install --use-pep517 --system --no-deps -e .
4747
python setup.py build_python_protos --inplace
4848

4949
lock-python-ci-dependencies:
@@ -375,7 +375,7 @@ kill-trino-locally:
375375
cd ${ROOT_DIR}; docker stop trino
376376

377377
install-protoc-dependencies:
378-
pip install --ignore-installed protobuf==4.24.0 "grpcio-tools>=1.56.2,<2" mypy-protobuf==3.1.0
378+
pip install --use-pep517 --ignore-installed protobuf==4.24.0 "grpcio-tools>=1.56.2,<2" mypy-protobuf==3.1.0
379379

380380
# Docker
381381

sdk/python/feast/infra/feature_servers/multicloud/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,6 @@ RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short |
1616
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1717
RUN apt update
1818
RUN apt -y install libarrow-dev
19-
RUN mkdir -m 775 /.cache
19+
# modify permissions to support running with a random uid
20+
RUN mkdir -m 775 /.cache
21+
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

sdk/python/feast/infra/feature_servers/multicloud/Dockerfile.dev

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,7 @@ RUN apt install -y -V ca-certificates lsb-release wget
1616
RUN wget https://apache.jfrog.io/artifactory/arrow/$(lsb_release --id --short | tr 'A-Z' 'a-z')/apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1717
RUN apt install -y -V ./apache-arrow-apt-source-latest-$(lsb_release --codename --short).deb
1818
RUN apt update
19-
RUN apt -y install libarrow-dev
19+
RUN apt -y install libarrow-dev
20+
# modify permissions to support running with a random uid
21+
RUN mkdir -m 775 /.cache
22+
RUN chmod g+w $(python -c "import feast.ui as _; print(_.__path__)" | tr -d "[']")/build/projects-list.json

0 commit comments

Comments
 (0)