Skip to content

Commit de49c5c

Browse files
committed
Remove requirements.txt (redundant with pyproject.toml), pin lower bounds of dependencies
1 parent af24a5c commit de49c5c

3 files changed

Lines changed: 6 additions & 11 deletions

File tree

.github/workflows/tests.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
python -m pip install --upgrade pip
22-
pip install flake8 pytest pytest-cov pytest-mock
23-
pip install -r requirements.txt
22+
pip install -e ".[dev]"
2423
- name: Lint with flake8
2524
run: |
2625
# stop the build if there are Python syntax errors or undefined names

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ classifiers = [
1616
]
1717
keywords = ["ebrains", "hbp", "metadata", "electrophysiology", "knowledge-graph"]
1818
dependencies=[
19-
"ebrains-kg-core",
19+
"ebrains-kg-core>=0.9.20",
2020
"openminds>=0.5.1",
21-
"python-dateutil",
22-
"tabulate",
23-
"requests"
21+
"python-dateutil>=2.0",
22+
"tabulate>=0.8.0",
23+
"requests>=2.20.0"
2424
]
2525

2626
[project.optional-dependencies]
@@ -29,6 +29,7 @@ dev = [
2929
"pytest",
3030
"pytest-cov",
3131
"pytest-mock",
32+
"flake8",
3233
"coverage",
3334
"build",
3435
"setuptools",

requirements.txt

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

0 commit comments

Comments
 (0)