mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00
Merge 522ea8a880
into f609e1ddaf
This commit is contained in:
commit
58f16d0c31
1 changed files with 38 additions and 26 deletions
64
.github/workflows/build-binaries.yml
vendored
64
.github/workflows/build-binaries.yml
vendored
|
@ -426,14 +426,16 @@ jobs:
|
|||
distro: ${{ matrix.platform.arch == 'arm' && 'bullseye' || 'ubuntu20.04' }}
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
${{ env.MODULE_NAME }} --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }} --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }} --help
|
||||
uvx --help
|
||||
# uv run -- python -m ${{ env.MODULE_NAME }} --help
|
||||
~/.local/bin/uv run -- uvx --help
|
||||
- name: "Upload wheels"
|
||||
uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2
|
||||
with:
|
||||
|
@ -475,11 +477,13 @@ jobs:
|
|||
distro: ${{ matrix.platform.arch == 'arm' && 'bullseye' || 'ubuntu20.04' }}
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }}_build --no-index --find-links crates/uv-build/dist --force-reinstall
|
||||
${{ env.MODULE_NAME }}-build --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }}-build --no-index --find-links crates/uv-build/dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }}-build --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }}_build --help
|
||||
- name: "Upload wheels uv-build"
|
||||
|
@ -526,11 +530,13 @@ jobs:
|
|||
distro: ubuntu20.04
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
${{ env.MODULE_NAME }} --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }} --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }} --help
|
||||
uvx --help
|
||||
|
@ -575,11 +581,13 @@ jobs:
|
|||
distro: ubuntu20.04
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }}-build --no-index --find-links crates/uv-build/dist --force-reinstall
|
||||
${{ env.MODULE_NAME }}-build --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }} --no-index --find-links crates/uv-build/dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }} --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }}-build --help
|
||||
- name: "Upload wheels uv-build"
|
||||
|
@ -930,11 +938,13 @@ jobs:
|
|||
distro: ubuntu20.04
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
${{ env.MODULE_NAME }} --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }} --no-index --find-links dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }} --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }} --help
|
||||
uvx --help
|
||||
|
@ -994,11 +1004,13 @@ jobs:
|
|||
distro: ubuntu20.04
|
||||
install: |
|
||||
apt-get update
|
||||
apt-get install -y --no-install-recommends python3 python3-pip python-is-python3
|
||||
pip3 install -U pip
|
||||
apt-get install -y --no-install-recommends python3 python3-distutils curl
|
||||
export CURL_SSL_NO_VERIFY=1
|
||||
curl -LsSf https://astral.sh/uv/0.6.17/install.sh | sh
|
||||
run: |
|
||||
pip install ${{ env.PACKAGE_NAME }}-build --no-index --find-links crates/uv-build/dist --force-reinstall
|
||||
${{ env.MODULE_NAME }}-build --help
|
||||
~/.local/bin/uv venv
|
||||
~/.local/bin/uv pip install ${{ env.PACKAGE_NAME }}-build --no-index --find-links crates/uv-build/dist/ --force-reinstall
|
||||
~/.local/bin/uv run -- ${{ env.MODULE_NAME }}-build --help
|
||||
# TODO(konsti): Enable this test on all platforms, currently `find_uv_bin` is failing to discover uv here.
|
||||
# python -m ${{ env.MODULE_NAME }}_build --help
|
||||
- name: "Upload wheels"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue