Skip to content

Commit 256bbef

Browse files
authored
Merge pull request #3907 from youknowone/remove-pipenv
remove pipenv
2 parents d9d4538 + 2dd446a commit 256bbef

File tree

8 files changed

+10
-48
lines changed

8 files changed

+10
-48
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -165,15 +165,8 @@ jobs:
165165
- uses: actions/setup-python@v2
166166
with:
167167
python-version: "3.10"
168-
- name: Install pipenv
169-
run: |
170-
python -V
171-
python -m pip install --upgrade pip
172-
python -m pip install pipenv
173-
- run: pipenv install --python "3.10"
174-
working-directory: ./extra_tests
175168
- name: run snippets
176-
run: pipenv run pytest -v
169+
run: python -m pip install -r requirements.txt && pytest -v
177170
working-directory: ./extra_tests
178171
- if: runner.os == 'Linux'
179172
name: run cpython platform-independent tests
@@ -277,12 +270,7 @@ jobs:
277270
- uses: actions/setup-python@v2
278271
with:
279272
python-version: "3.10"
280-
- name: Install pipenv
281-
run: |
282-
python -V
283-
python -m pip install --upgrade pip
284-
python -m pip install pipenv
285-
- run: pipenv install
273+
- run: python -m pip install -r requirements.txt
286274
working-directory: ./wasm/tests
287275
- uses: actions/setup-node@v1
288276
- name: run test

.github/workflows/cron-ci.yaml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,10 @@ jobs:
2424
- uses: actions/setup-python@v2
2525
with:
2626
python-version: "3.10"
27-
- name: Install pipenv
28-
run: |
29-
python -V
30-
python -m pip install --upgrade pip
31-
python -m pip install pipenv
32-
- run: pipenv install
27+
- run: python -m pip install pytest
3328
working-directory: ./extra_tests
3429
- name: run snippets
35-
run: LLVM_PROFILE_FILE="$PWD/snippet-%p.profraw" pipenv run pytest -v
30+
run: LLVM_PROFILE_FILE="$PWD/snippet-%p.profraw" pytest -v
3631
working-directory: ./extra_tests
3732
- name: run cpython tests
3833
run: LLVM_PROFILE_FILE="$PWD/regrtest.profraw" target/release/rustpython -m test -v

extra_tests/Pipfile

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

extra_tests/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
bytecode
2+
pytest

wasm/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"dev": "webpack-dev-server -d",
2525
"build": "webpack",
2626
"dist": "webpack --mode production",
27-
"test": "webpack --mode production && cd ../tests && pipenv run pytest"
27+
"test": "webpack --mode production && cd ../tests && pytest"
2828
},
2929
"repository": {
3030
"type": "git",

wasm/notebook/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"dev": "webpack-dev-server -d",
2828
"build": "webpack",
2929
"dist": "webpack --mode production",
30-
"test": "webpack --mode production && cd ../tests && pipenv run pytest"
30+
"test": "webpack --mode production && cd ../tests && pytest"
3131
},
3232
"repository": {
3333
"type": "git",

wasm/tests/Pipfile

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

wasm/tests/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
pytest
2+
selenium

0 commit comments

Comments
 (0)