Skip to content
Snippets Groups Projects
Commit c5f633ba authored by Vincent Texier's avatar Vincent Texier
Browse files

replace poetry by uv

parent 9557d755
Branches
Tags
No related merge requests found
Pipeline #40149 passed
FROM python:3.7-slim-bullseye FROM python:3.8-slim-bullseye
# Install system requirements # Install system requirements
RUN apt update && \ RUN apt update && \
...@@ -9,15 +9,13 @@ apt install --yes curl libsodium23 make gettext binutils zip git libglib2.0-0 li ...@@ -9,15 +9,13 @@ apt install --yes curl libsodium23 make gettext binutils zip git libglib2.0-0 li
libxcb-render0 libxcb-render-util0 libxcb-shape0 && \ libxcb-render0 libxcb-render-util0 libxcb-shape0 && \
rm -rf /var/lib/apt/lists rm -rf /var/lib/apt/lists
# Install Poetry # Install uv
ENV POETRY_HOME="/opt/poetry" RUN pip install uv
ENV PATH="$POETRY_HOME/bin:$PATH"
RUN curl -sSL https://install.python-poetry.org | python - && poetry config virtualenvs.create false
# Install main big dependency # Install big dependencies
RUN pip install -U PyQt5=="5.15.9" RUN pip install -U PyQt5=="5.15.9" "pyqt5-qt>=5.15.2,<5.15.11" "pyqt5-qt5>=5.15.2,<5.15.11" "opencv-contrib-python>=4.8.0.74"
# Set X display port # Set X display portdocker u
ENV DISPLAY :99 ENV DISPLAY :99
# Add virtual X buffer start script # Add virtual X buffer start script
......
...@@ -18,7 +18,8 @@ In the container, install dependencies and build app: ...@@ -18,7 +18,8 @@ In the container, install dependencies and build app:
git clone https://git.duniter.org/clients/python/tikka.git git clone https://git.duniter.org/clients/python/tikka.git
cd tikka cd tikka
poetry install --no-root uv sync --extra dev
export PATH=".venv/bin:$PATH"
bin/convert_resources.sh bin/convert_resources.sh
make i18n_build make i18n_build
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment