Skip to content

Update dependecies #5595

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

Open
wants to merge 7 commits into
base: rolling
Choose a base branch
from

Conversation

Nils-ChristianIseke
Copy link
Contributor

@Nils-ChristianIseke Nils-ChristianIseke commented May 9, 2025

Use noble for CI.

@Nils-ChristianIseke Nils-ChristianIseke marked this pull request as draft May 9, 2025 15:12
@Nils-ChristianIseke Nils-ChristianIseke mentioned this pull request May 9, 2025
4 tasks
RUN . /opt/ros2doc/bin/activate && pip3 install -r requirements.txt -c constraints.txt

RUN echo "source /opt/ros2doc/bin/activate" >> /home/$user/.bashrc
USER $user
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Is there any reason that we use a non root user in the container? In the current setup we would need sudo rights for installing pip and apt requirements.

MarkupSafe==2.0.1
packaging==21.3
pbr==5.8.0
alabaster==0.7.16
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed dependencies to latest available versions because they are working with all tools. Or is there a specific reason to stick to the dep availible via apt?

@Nils-ChristianIseke Nils-ChristianIseke marked this pull request as ready for review May 10, 2025 12:58
@Nils-ChristianIseke
Copy link
Contributor Author

@christophebedard some open questions from my side. Happy if you could have a look?

@christophebedard christophebedard self-requested a review May 10, 2025 13:06
@christophebedard
Copy link
Member

I will take a look once I'm back from vacation on Tuesday-ish!

FROM ubuntu:jammy
FROM ubuntu:noble
Copy link
Contributor Author

@Nils-ChristianIseke Nils-ChristianIseke May 12, 2025

Choose a reason for hiding this comment

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

Any plans using a deployed Docker image instead of the Dockerfile? I can create an issue for this if you think this is reasonable to do.

@@ -20,7 +20,8 @@ RUN apt-get update && \
graphviz \
locales \
make \
python3-pip && \
python3-pip \
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Just to support uv , we could consider uv instead of pip (much faster, venv support, better dep. management). Can create an issue for this if wanted.

@christophebedard christophebedard self-assigned this May 22, 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.

2 participants