Skip to content

Commit 7c1b9bb

Browse files
Resolves PyPi install issue #726 (#727)
* Resolves PyPy install issue #726 * remove requirements in ci workflow Co-authored-by: VictorSanh <[email protected]>
1 parent 5001f67 commit 7c1b9bb

File tree

4 files changed

+20
-22
lines changed

4 files changed

+20
-22
lines changed

.github/workflows/check_templates.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ jobs:
1919
run: |
2020
python -m pip install --upgrade pip
2121
pip install .
22-
pip install -r requirements.txt
2322
- name: Check templates
2423
run: |
2524
pytest test/test_templates.py

.github/workflows/show_new_templates.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ jobs:
2222
python -m pip install --upgrade pip
2323
pip install .
2424
pip install black isort flake8
25-
pip install -r requirements.txt
2625
- id: files
2726
uses: jitterbit/get-changed-files@v1
2827
continue-on-error: true

requirements.txt

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

setup.py

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,26 @@
33
with open("README.md", "r", encoding="utf-8") as readme_file:
44
readme = readme_file.read()
55

6-
with open('requirements.txt') as requirements_file:
7-
requirements = requirements_file.read().split('\n')
6+
requirements = [
7+
"black<=21.12b0",
8+
"datasets>=1.7.0",
9+
"flake8",
10+
"isort==5.8.0",
11+
"pytest",
12+
"pyyaml>=5",
13+
"streamlit==0.82",
14+
"jinja2",
15+
"plotly",
16+
"requests",
17+
"pandas",
18+
##############################################################
19+
# Dependencies in this section are added for specific datasets
20+
##############################################################
21+
"py7zr",
22+
##############################################################
23+
# End of dataset-specific dependencies
24+
##############################################################
25+
]
826

927
setup(
1028
name='promptsource',

0 commit comments

Comments
 (0)