boundless-lifeguard-61788
08/19/2024, 5:00 PMflytekitplugins-pod
. There is no docker error it just hangs repeating the messages
INFO: This is taking longer than usual.
...
Collecting adlfs>=2023.3.0 (from flytekit>=1.3.0b2->flytekitplugins-pod)
...
239.0 Collecting flytekit>=1.3.0b2 (from flytekitplugins-pod)
239.0 Downloading flytekit-1.13.3-py3-none-any.whl.metadata (5.7 kB)
ancient-wolf-19325
08/19/2024, 5:00 PMflytekit
and flytekitplugins-pod
. Ensure that all dependencies are compatible with each other.
3. Build Environment: If you're building on a MacBook with an M1 chip, ensure that you're building the image for the correct architecture. You might need to use Docker Buildx to build multi-platform images.
4. Verbose Logging: Enable verbose logging to get more details about where the process is hanging. This can be done by setting the PIP_VERBOSE
environment variable to 1
.
Here is an example Dockerfile snippet to help you troubleshoot:
# Use a base image
FROM python:3.8-slim
# Set environment variables
ENV PIP_NO_CACHE_DIR=1
ENV PIP_VERBOSE=1
# Install dependencies
RUN pip install --upgrade pip
RUN pip install flytekit==1.13.3 flytekitplugins-pod
# Add your application code
COPY . /app
WORKDIR /app
# Install application dependencies
RUN pip install -r requirements.txt
# Command to run your application
CMD ["python", "your_application.py"]
If the issue persists, consider isolating the problem by building a minimal container with just flytekit
and flytekitplugins-pod
to see if the problem is with these packages or with other parts of your build process.
Would you like more detailed steps or further assistance?
Sources:
- Flyte GitHub Issue #4985
- Flyte GitHub Issue #4813
- Flyte GitHub Issue #2072
- Flyte Discuss - Workflow execution seems to start but failing with the error
- Flyte Discuss - Hi Team I am following the first example to launch a test workflow 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.boundless-lifeguard-61788
08/19/2024, 5:32 PMancient-wolf-19325
08/19/2024, 5:32 PMboto
from the package list likely resolved the issue because flytekit
and its plugins already handle AWS interactions through fsspec
and other dependencies, reducing the need for boto
and avoiding potential conflicts.
Would you like more details on managing dependencies in Flyte or any other assistance?
Sources:
- Flyte GitHub Issue #4418 👍 0 button 👎 0 button 💡 Hint: Mention @runllm in the thread for followups.boundless-lifeguard-61788
08/20/2024, 5:29 PMpackages=["flytekitplugins-pod==1.13.4", "boto3==1.33.7"],