Skip to content

Commit 83cd8c0

Browse files
committed
fix dependency problem with pdm
1 parent 6da0d8d commit 83cd8c0

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

.github/workflows/check_dependencies.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,9 @@ jobs:
1717
python-version: '3.11'
1818
- name: Check Python version
1919
run: python --version
20-
- name: Upgrade pip
21-
run: pip install --upgrade pip
22-
- name: Install pip-tools
23-
run: pip install --user pip-tools
24-
- name: Check lip-compile version
25-
run: pip-compile --version
26-
- name: Generate requirements.txt file
27-
run: pip-compile -v --generate-hashes pyproject.toml
20+
- name: Install PDM
21+
run: pip install pdm
22+
- name: Export dependencies to requirements.txt
23+
run: pdm export --without-hashes --format requirements > requirements.txt
2824
- name: List requirements.txt file
2925
run: cat requirements.txt

0 commit comments

Comments
 (0)