Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't install runtime dependencies in-place #336

Merged
merged 1 commit into from
Jul 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 18 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,9 @@ jobs:
if: ${{ runner.os == 'Linux' }}

- name: Install wheel (Linux)
run: python -m pip install -U *manylinux*.whl --target .
run: |
python -m pip install -U *manylinux*.whl
python -m pip install -U --no-deps *manylinux*.whl --target .
if: ${{ runner.os == 'Linux' }}

########
Expand All @@ -533,11 +535,15 @@ jobs:
if: ${{ runner.os == 'macOS' }}

- name: Install wheel (OSX x86)
run: python -m pip install -U *x86*.whl --target .
run: |
python -m pip install -U *x86*.whl
python -m pip install -U --no-deps *x86*.whl --target .
if: ${{ runner.os == 'macOS' && runner.arch == 'X64' }}

- name: Install wheel (OSX arm)
run: python -m pip install -U *arm64*.whl --target .
run: |
python -m pip install -U *arm64*.whl
python -m pip install -U --no-deps *arm64*.whl --target .
if: ${{ runner.os == 'macOS' && runner.arch == 'ARM64' }}

########
Expand All @@ -547,7 +553,9 @@ jobs:
if: ${{ runner.os == 'Windows' }}

- name: Install wheel (windows)
run: python -m pip install -U (Get-ChildItem .\*.whl | Select-Object -Expand FullName) --target .
run: |
python -m pip install -U (Get-ChildItem .\*.whl | Select-Object -Expand FullName)
python -m pip install -U --no-deps (Get-ChildItem .\*.whl | Select-Object -Expand FullName) --target .
if: ${{ runner.os == 'Windows' }}

##########
Expand Down Expand Up @@ -615,7 +623,9 @@ jobs:
path: dist/

- name: Install sdist
run: python -m pip install -U -vvv dist/csp*.tar.gz --target .
run: |
python -m pip install -U -vvv dist/csp*.tar.gz
python -m pip install -U --no-deps -vvv dist/csp*.tar.gz --target .
env:
CCACHE_DIR: /home/runner/work/csp/csp/.ccache
VCPKG_DEFAULT_BINARY_CACHE: /home/runner/vcpkg_cache
Expand Down Expand Up @@ -690,7 +700,9 @@ jobs:
name: csp-dist-${{ runner.os }}-${{ runner.arch }}-${{ matrix.python-version }}

- name: Install wheel
run: python -m pip install -U *manylinux*.whl --target .
run: |
python -m pip install -U *manylinux*.whl
python -m pip install -U --no-deps *manylinux*.whl --target .

- name: Install package - ${{ matrix.package }}
run: python -m pip install -U "${{ matrix.package }}"
Expand Down
Loading