Skip to content

Commit 5e30ac9

Browse files
committed
switch from poetry to uv
1 parent 0c1993e commit 5e30ac9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/scripts/build_rhel.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ sudo -E XDG_RUNTIME_DIR= podman build --progress=plain \
2222
2323
RUN dnf install -y --nodocs \
2424
autoconf automake binutils cmake gcc gcc-c++ git glibc-devel glibc-headers glibc-static kernel-devel libtool libstdc++-devel make ninja-build pkgconfig zlib-devel \
25-
python3.11 python3.11-pip python3.11-devel \
25+
python3.13 python3.13-pip python3.13-devel \
2626
libjpeg-turbo-devel libpng-devel qpdf-devel json-devel utf8cpp-devel loguru-devel cxxopts-devel \
2727
&& dnf clean all
2828
@@ -35,15 +35,15 @@ sudo -E XDG_RUNTIME_DIR= podman build --progress=plain \
3535
# pre-install build requirements + wheel for "--no-build-isolation"
3636
# build docling-parse wheel in an isolated network namespace (unshare -rn)
3737
# install the wheel and its dependencies
38-
RUN pip3.11 install uv pybind11 wheel \
39-
&& unshare -rn pip3.11 wheel \
38+
RUN pip3.13 install uv pybind11 wheel \
39+
&& unshare -rn pip3.13 wheel \
4040
--no-deps --no-build-isolation -w /dist/ \
4141
/src/docling_parse*.tar.gz \
42-
&& pip3.11 install /dist/docling_parse*.whl \
43-
&& python3.11 -c 'from docling_parse.pdf_parsers import pdf_parser_v1, pdf_parser_v2'
42+
&& pip3.13 install /dist/docling_parse*.whl \
43+
&& python3.13 -c 'from docling_parse.pdf_parsers import pdf_parser_v1, pdf_parser_v2'
4444
4545
COPY ./tests /src/tests
4646
47-
RUN pip3.11 install pytest \
47+
RUN pip3.13 install pytest \
4848
&& pytest
4949
EOF

.github/workflows/rhel.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
runs-on: ubuntu-latest
2020
steps:
2121
- uses: actions/checkout@v4
22-
- name: Install uv and set python 3.11
22+
- name: Install uv and set python 3.13
2323
uses: astral-sh/setup-uv@v5
2424
with:
25-
python-version: '3.11'
25+
python-version: '3.13'
2626
- name: Install podman and uv
2727
run: sudo apt-get update && sudo apt-get install -y podman
2828
- name: Run build in docker

0 commit comments

Comments
 (0)