Skip to content

Commit 1fa38c3

Browse files
committed
remove uv
1 parent 37e359c commit 1fa38c3

File tree

2 files changed

+17
-23
lines changed

2 files changed

+17
-23
lines changed

.github/workflows/check-btcli-tests.yml

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -152,12 +152,9 @@ jobs:
152152
sudo apt-get update &&
153153
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
154154
155-
- name: Install uv
156-
uses: astral-sh/setup-uv@v5
157-
158155
- name: Create Python virtual environment
159156
working-directory: ${{ github.workspace }}
160-
run: uv venv ${{ github.workspace }}/venv
157+
run: python3 -m venv ${{ github.workspace }}/venv
161158

162159
- name: Clone Bittensor CLI repo
163160
working-directory: ${{ github.workspace }}
@@ -169,8 +166,8 @@ jobs:
169166
source ${{ github.workspace }}/venv/bin/activate
170167
git checkout staging
171168
git fetch origin staging
172-
uv run --active pip install --upgrade pip
173-
uv run --active pip install pytest
169+
python3 -m pip install --upgrade pip
170+
python3 -m pip install pytest
174171
175172
- name: Clone async-substrate-interface repo
176173
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -186,8 +183,8 @@ jobs:
186183
working-directory: ${{ github.workspace }}
187184
run: |
188185
source ${{ github.workspace }}/venv/bin/activate
189-
uv run --active pip uninstall async-substrate-interface -y
190-
uv run --active pip install .
186+
python3 -m pip uninstall async-substrate-interface -y
187+
python3 -m pip install .
191188
192189
- name: Download Cached Docker Image
193190
uses: actions/download-artifact@v4
@@ -220,7 +217,7 @@ jobs:
220217
221218
- name: Create Python virtual environment
222219
working-directory: ${{ github.workspace }}
223-
run: python3 -m venv venv
220+
run: python3 -m venv ${{ github.workspace }}/venv
224221

225222
- name: Clone Bittensor CLI repo
226223
working-directory: ${{ github.workspace }}
@@ -252,8 +249,8 @@ jobs:
252249
working-directory: ${{ github.workspace }}
253250
run: |
254251
source ${{ github.workspace }}/venv/bin/activate
255-
pip uninstall async-substrate-interface -y
256-
pip install .
252+
python3 -m pip uninstall async-substrate-interface -y
253+
python3 -m pip install .
257254
258255
- name: Run SDK unit tests
259256
working-directory: ${{ github.workspace }}

.github/workflows/check-sdk-tests.yml

Lines changed: 9 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -151,12 +151,9 @@ jobs:
151151
sudo apt-get update &&
152152
sudo apt-get install -y clang curl libssl-dev llvm libudev-dev protobuf-compiler
153153
154-
- name: Install uv
155-
uses: astral-sh/setup-uv@v5
156-
157154
- name: Create Python virtual environment
158155
working-directory: ${{ github.workspace }}
159-
run: uv venv ${{ github.workspace }}/venv
156+
run: python3 -m venv ${{ github.workspace }}/venv
160157

161158
- name: Clone Bittensor SDK repo
162159
working-directory: ${{ github.workspace }}
@@ -168,8 +165,8 @@ jobs:
168165
source ${{ github.workspace }}/venv/bin/activate
169166
git checkout staging
170167
git fetch origin staging
171-
uv run --active pip install --upgrade pip
172-
uv run --active pip install '.[dev]'
168+
python3 -m pip install --upgrade pip
169+
python3 -m pip install '.[dev]'
173170
174171
- name: Clone Bittensor async-substrate-interface repo
175172
run: git clone https://github.com/opentensor/async-substrate-interface.git
@@ -185,8 +182,8 @@ jobs:
185182
working-directory: ${{ github.workspace }}
186183
run: |
187184
source ${{ github.workspace }}/venv/bin/activate
188-
uv run --active pip uninstall async-substrate-interface -y
189-
uv run --active pip install .
185+
python3 -m pip uninstall async-substrate-interface -y
186+
python3 -m pip install .
190187
191188
- name: Download Cached Docker Image
192189
uses: actions/download-artifact@v4
@@ -200,7 +197,7 @@ jobs:
200197
working-directory: ${{ github.workspace }}
201198
run: |
202199
source ${{ github.workspace }}/venv/bin/activate
203-
pytest ${{ matrix.test-file }} -s
200+
python3 -m pytest ${{ matrix.test-file }} -s
204201
205202
206203
run-integration-and-unit-test:
@@ -219,7 +216,7 @@ jobs:
219216
220217
- name: Create Python virtual environment
221218
working-directory: ${{ github.workspace }}
222-
run: python3 -m venv venv
219+
run: python3 -m venv ${{ github.workspace }}/venv
223220

224221
- name: Clone Bittensor SDK repo
225222
working-directory: ${{ github.workspace }}
@@ -249,8 +246,8 @@ jobs:
249246
working-directory: ${{ github.workspace }}
250247
run: |
251248
source ${{ github.workspace }}/venv/bin/activate
252-
pip uninstall async-substrate-interface -y
253-
pip install .
249+
python3 -m pip uninstall async-substrate-interface -y
250+
python3 -m pip install .
254251
255252
- name: Run SDK integration tests
256253
working-directory: ${{ github.workspace }}

0 commit comments

Comments
 (0)