Skip to content

Commit 8791fb5

Browse files
committed
chore: clean up python dependencies
Signed-off-by: Timo Glastra <timo@animo.id>
1 parent 6800b4a commit 8791fb5

File tree

4 files changed

+7
-25
lines changed

4 files changed

+7
-25
lines changed

.github/workflows/run-py-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
- name: Install dependencies
1818
run: |
1919
python -m pip install --upgrade pip
20-
pip install -r requirements.txt
20+
pip install -r requirements.txt -r requirements.dev.txt
2121
- name: Run tests with pytest
2222
run: pytest

requirements.dev.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
asyncio==3.4.3
2+
black==21.5b1
3+
pytest==6.2.4
4+
pytest-asyncio==0.15.1

requirements.txt

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,2 @@
11
aiohttp>=3.7.4
2-
appdirs==1.4.4
3-
async-timeout==3.0.1
4-
asyncio==3.4.3
5-
attrs==21.2.0
6-
black==21.5b1
7-
certifi==2020.12.5
8-
chardet==3.0.4
9-
click==8.0.1
10-
idna==3.2
11-
iniconfig==1.1.1
12-
multidict==4.7.6
13-
mypy-extensions==0.4.3
14-
packaging==20.9
15-
pathspec==0.8.1
16-
pluggy==1.0.0.dev0
17-
py==1.10.0
18-
pyparsing==3.0.0b3
19-
Pypubsub==4.0.3
20-
pytest==6.2.4
21-
pytest-asyncio==0.15.1
22-
regex==2021.4.4
23-
toml==0.10.2
24-
yarl==1.6.3
25-
uplink[aiohttp, pydantic]==0.9.4
2+
uplink[aiohttp, pydantic]==0.9.4

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ def parse_requirements(filename: str):
3030
"requirements.txt",
3131
]
3232
},
33+
tests_require=parse_requirements("requirements.dev.txt"),
3334
install_requires=parse_requirements("requirements.txt"),
3435
python_requires=">=3.8",
3536
classifiers=[

0 commit comments

Comments
 (0)