Skip to content

Commit

Permalink
Merge pull request #336 from Point72/tkp/test
Browse files Browse the repository at this point in the history
Don't install runtime dependencies in-place
  • Loading branch information
timkpaine authored Jul 16, 2024
2 parents 323122e + a176e0f commit 4114b90
Showing 1 changed file with 18 additions and 6 deletions.
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

0 comments on commit 4114b90

Please sign in to comment.