Skip to content

Commit

Permalink
Use installed python
Browse files Browse the repository at this point in the history
  • Loading branch information
sfc-gh-jvasquezrojas committed Nov 28, 2024
1 parent bb48c23 commit edb62d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .github/workflows/compare-versions-pip-and-pipx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
id: setup_snowcli
with:
default-config-file-path: '.github/workflows/tests-files/config.toml'

- name: Show installed package with pipx
shell: bash
run: pipx list --verbose

- name: Compare pipx and pip versions
shell: bash
Expand Down
4 changes: 2 additions & 2 deletions scripts/install-snowcli.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ mkdir -p "${PIPX_BIN_DIR}"


if [ "$CLI_VERSION" == "latest" ]; then
pipx install snowflake-cli
pipx install snowflake-cli --python $(which python)
else
pipx install snowflake-cli=="$CLI_VERSION"
pipx install snowflake-cli=="$CLI_VERSION" --python $(which python)
fi


Expand Down

0 comments on commit edb62d1

Please sign in to comment.