Skip to content

Commit e016cf9

Browse files
committed
switch from poetry to uv
1 parent 02f9170 commit e016cf9

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

.github/workflows/checks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,10 @@ jobs:
1616
uses: astral-sh/setup-uv@v5
1717
with:
1818
python-version: ${{ matrix.python-version }}
19-
- name: Install with uv
19+
- name: Sync and install with uv
2020
run: |
2121
uv sync --frozen --all-extras
22+
uv pip install -e .
2223
ls -l
2324
ls -l docling_parse
2425
- name: Run styling check

.github/workflows/wheels.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,9 @@ jobs:
119119
echo "Building platform_id: ${{ matrix.os.platform_id }}"
120120
uv run python --version
121121
uv run python --version | grep ${{ matrix.python-version }}
122-
uv pip install --system build
123122
cat ./pyproject.toml
124-
uv run python -m cibuildwheel --output-dir wheelhouse
123+
uv pip install .[build]
124+
python -m cibuildwheel --output-dir ./wheelhouse
125125
echo "step 1"
126126
ls -l wheelhouse
127127
uv run wheel tags --remove --platform-tag macosx_${{ matrix.os.min_macos_version }}_0_x86_64 ./wheelhouse/*.whl
@@ -170,9 +170,9 @@ jobs:
170170
echo "Building platform_id: ${{ matrix.os.platform_id }}"
171171
uv run python --version
172172
uv run python --version | grep ${{ matrix.python-version }}
173-
uv pip install --system build
174173
cat ./pyproject.toml
175-
uv run python -m cibuildwheel --output-dir wheelhouse
174+
uv pip install .[build]
175+
python -m cibuildwheel --output-dir ./wheelhouse
176176
echo "step 1"
177177
ls -l wheelhouse
178178
uv run wheel tags --remove --platform-tag macosx_${{ matrix.os.min_macos_version }}_0_arm64 ./wheelhouse/*.whl
@@ -216,9 +216,9 @@ jobs:
216216
echo "Building platform_id: ${{ matrix.os.platform_id }}"
217217
uv run python --version
218218
uv run python --version | grep ${{ matrix.python-version }}
219-
uv pip install --system build
220219
cat ./pyproject.toml
221-
uv run python -m cibuildwheel --output-dir ./wheelhouse
220+
uv pip install .[build]
221+
python -m cibuildwheel --output-dir ./wheelhouse
222222
ls -l ./wheelhouse
223223
for file in ./wheelhouse/*.whl; do
224224
echo "Inspecting $file"

0 commit comments

Comments
 (0)