|
139 | 139 | # patch pubspecs |
140 | 140 | for dir in packages/flet*; do |
141 | 141 | echo "Patching $dir/pubspec.yaml" |
142 | | - uv run --with pyyaml ci/patch_pubspec.py $dir/pubspec.yaml $PKG_VER |
| 142 | + uv run ci/patch_pubspec.py $dir/pubspec.yaml $PKG_VER |
143 | 143 | done |
144 | 144 |
|
145 | 145 | cd packages/flet |
|
209 | 209 | $ErrorActionPreference = "Stop" |
210 | 210 | $env:PYPI_VER = $env:APPVEYOR_BUILD_VERSION.replace("+", ".dev") |
211 | 211 | $vp = "$env:flet_sdk_root/packages/flet-desktop/src/flet_desktop/version.py"; (Get-Content $vp).replace("version = `"`"", "version = `"$env:PYPI_VER`"") | Set-Content $vp |
212 | | - - uv run --with tomlkit ci/patch_toml_versions.py %flet_sdk_root%/packages/flet-desktop/pyproject.toml %PYPI_VER% |
| 212 | + - uv run ci/patch_toml_versions.py %flet_sdk_root%/packages/flet-desktop/pyproject.toml %PYPI_VER% |
213 | 213 |
|
214 | 214 | - cd client |
215 | 215 | - set RELEASE_DIR=build\windows\x64\runner\Release |
|
230 | 230 | - uv build --wheel --package flet-desktop |
231 | 231 | - ps: | |
232 | 232 | Get-ChildItem -Path dist/*-py3-none-any.whl | ForEach-Object { |
233 | | - Start-ProcessWithOutput "uv run --with wheel --no-project $env:APPVEYOR_BUILD_FOLDER\ci\repackage_wheel_with_tag.py $($_.FullName) py3-none-win_amd64" |
234 | | - Start-ProcessWithOutput "uv run --with wheel --no-project $env:APPVEYOR_BUILD_FOLDER\ci\repackage_wheel_with_tag.py $($_.FullName) py3-none-win32" |
| 233 | + Start-ProcessWithOutput "uv run $env:APPVEYOR_BUILD_FOLDER\ci\repackage_wheel_with_tag.py $($_.FullName) py3-none-win_amd64" |
| 234 | + Start-ProcessWithOutput "uv run $env:APPVEYOR_BUILD_FOLDER\ci\repackage_wheel_with_tag.py $($_.FullName) py3-none-win32" |
235 | 235 | Remove-Item $_.FullName |
236 | 236 | } |
237 | 237 | - dir dist |
|
291 | 291 | - uv build --wheel --package flet-desktop |
292 | 292 | - sh: | |
293 | 293 | for file in dist/*-py3-none-any.whl; do |
294 | | - uv run --with wheel --no-project $root/ci/repackage_wheel_with_tag.py $file "py3-none-macosx_12_0_arm64" |
295 | | - uv run --with wheel --no-project $root/ci/repackage_wheel_with_tag.py $file "py3-none-macosx_10_14_x86_64" |
| 294 | + uv run $root/ci/repackage_wheel_with_tag.py $file "py3-none-macosx_12_0_arm64" |
| 295 | + uv run $root/ci/repackage_wheel_with_tag.py $file "py3-none-macosx_10_14_x86_64" |
296 | 296 | rm $file |
297 | 297 | done |
298 | 298 |
|
|
378 | 378 | for file in dist/*-py3-none-any.whl; do |
379 | 379 | for tag in "${wheel_tags[@]}"; do |
380 | 380 | wheel_tag=$(echo "$tag" | sed "s/{arch}/$platform_arch/g") |
381 | | - uv run --with wheel --no-project $root/ci/repackage_wheel_with_tag.py $file $wheel_tag |
| 381 | + uv run $root/ci/repackage_wheel_with_tag.py $file $wheel_tag |
382 | 382 | done |
383 | 383 | rm "$file" |
384 | 384 | done |
|
488 | 488 | - uv build --wheel --package flet |
489 | 489 |
|
490 | 490 | # update deps |
491 | | - - uv run --with wheel $root/ci/update-flet-wheel-deps.py dist |
| 491 | + - uv run $root/ci/update-flet-wheel-deps.py dist |
492 | 492 |
|
493 | 493 | # publish packages |
494 | 494 | - publish_to_pypi dist/*.whl |
|
0 commit comments