Skip to content

Commit 286d608

Browse files
authored
Merge pull request #77 from python-ellar/package_fix
rearrangement lib dependencies
2 parents 6538a13 + 6ee186f commit 286d608

File tree

7 files changed

+17
-18
lines changed

7 files changed

+17
-18
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- name: Install Flit
1818
run: pip install flit
1919
- name: Install Dependencies
20-
run: flit install --symlink
20+
run: make install
2121
- name: Install build dependencies
2222
run: pip install build
2323
- name: Build distribution

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Install Flit
1919
run: pip install flit
2020
- name: Install Dependencies
21-
run: flit install --symlink
21+
run: make install
2222
- name: Test
2323
run: make test-cov
2424
- name: Coverage

.github/workflows/test_full.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install Flit
2222
run: pip install flit
2323
- name: Install Dependencies
24-
run: flit install --symlink
24+
run: make install
2525
- name: Test
2626
run: pytest tests
2727

@@ -36,7 +36,7 @@ jobs:
3636
- name: Install Flit
3737
run: pip install flit
3838
- name: Install Dependencies
39-
run: flit install --symlink
39+
run: make install
4040
- name: Ruff linting check
4141
run: ruff check ellar_cli tests
4242
- name: mypy

Makefile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ clean: ## Removing cached python compiled files
1111
find . -name __pycache__ | xargs rm -rfv
1212

1313
install: ## Install dependencies
14-
flit install --deps develop --symlink
14+
pip install -r requirements.txt
15+
flit install --symlink
1516

1617
install-full: ## Install dependencies
1718
make install

pyproject.toml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ dependencies = [
4444
"tomlkit >=0.11.1,<1.0.0,!=0.11.2,!=0.11.3",
4545
"uvicorn[standard] == 0.27.1",
4646
"ellar >= 0.7.1",
47+
"click >= 8.1.7",
4748
]
4849

4950
[project.scripts]
@@ -54,19 +55,6 @@ Documentation = "https://github.com/python-ellar/ellar-cli"
5455
Source = "https://github.com/python-ellar/ellar-cli"
5556
Homepage = "https://python-ellar.github.io/ellar-cli/"
5657

57-
[project.optional-dependencies]
58-
test = [
59-
"pytest >=7.1.3,<9.0.0",
60-
"pytest-cov >=2.12.0,<5.0.0",
61-
"mypy == 1.8.0",
62-
"ruff ==0.3.0",
63-
"pytest-asyncio",
64-
"autoflake",
65-
]
66-
dev = [
67-
"pre-commit"
68-
]
69-
7058
[tool.ruff]
7159
select = [
7260
"E", # pycodestyle errors

requirements-tests.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
autoflake
2+
mypy == 1.8.0
3+
pytest >=7.1.3,<9.0.0
4+
pytest-asyncio
5+
pytest-cov >=2.12.0,<5.0.0
6+
ruff ==0.3.0

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-e .
2+
-r requirements-tests.txt
3+
4+
pre-commit >=2.17.0,<4.0.0

0 commit comments

Comments
 (0)