Skip to content

Commit 10c7ff8

Browse files
committed
resetting env changes for prod
1 parent 7cf3af8 commit 10c7ff8

File tree

2 files changed

+17
-49
lines changed

2 files changed

+17
-49
lines changed

.github/workflows/snowpark-ci-cd.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,16 @@ jobs:
1818
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }}
1919
steps:
2020
- uses: actions/checkout@v3
21-
- name: Set up Conda
22-
uses: conda-incubator/setup-miniconda@v2
21+
- name: Set up Python
22+
uses: actions/setup-python@v4
2323
with:
24-
auto-update-conda: true
2524
python-version: '3.10'
26-
activate-environment: snowflake-demo
27-
28-
- name: Install dependencies with Conda
29-
shell: bash -l {0}
25+
- name: Install dependencies
3026
run: |
31-
# Install from environment.yml
32-
conda env update --file environment.yml --prune
27+
python -m pip install --upgrade pip
28+
29+
# Install from requirements.txt
30+
pip install -r requirements.txt
3331
3432
# Just verify Snow CLI version - don't try to use other commands that might not exist
3533
snow --version || echo "Snow CLI version check failed"
@@ -107,18 +105,19 @@ jobs:
107105
runs-on: ubuntu-latest
108106
steps:
109107
- uses: actions/checkout@v3
110-
- name: Set up Conda
111-
uses: conda-incubator/setup-miniconda@v2
108+
- name: Set up Python
109+
uses: actions/setup-python@v4
112110
with:
113-
auto-update-conda: true
114111
python-version: '3.10'
115-
activate-environment: snowflake-demo
116-
117-
- name: Install dependencies with Conda
118-
shell: bash -l {0}
112+
- name: Install dependencies
119113
run: |
120-
# Install from environment.yml
121-
conda env update --file environment.yml --prune
114+
python -m pip install --upgrade pip
115+
116+
# Install from requirements.txt with force reinstall for key packages
117+
pip install -r requirements.txt --force-reinstall
118+
119+
# Install specific version we know works (avoid 0.2.9)
120+
pip install snowflake-connector-python==3.13.2 snowflake-snowpark-python==1.25.0
122121
123122
# Just verify Snow CLI version - no extension or snowpark commands
124123
snow --version

environment.yml

Lines changed: 0 additions & 31 deletions
This file was deleted.

0 commit comments

Comments
 (0)