upgrade Python version

This commit is contained in:
Jonas Eschle 2025-04-08 09:43:46 +02:00
parent d6725caee6
commit 1f462ab50a
2 changed files with 10 additions and 7 deletions

View File

@ -27,8 +27,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install uv
pip install tox tox-gh-actions uv install --system tox tox-gh-actions
- name: Test with tox - name: Test with tox
run: tox run: tox
@ -42,9 +42,8 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
python -m pip install --upgrade pip python -m pip install uv poetry
pip install poetry uv install --system .[dev]
poetry install --with dev
- name: Calculate coverage - name: Calculate coverage
run: poetry run coverage run --source=pipreqs -m unittest discover run: poetry run coverage run --source=pipreqs -m unittest discover

View File

@ -39,9 +39,13 @@ dev = [
"coverage>=7.3.2", "coverage>=7.3.2",
"sphinx>=7.2.6;python_version>='3.9'", "sphinx>=7.2.6;python_version>='3.9'",
] ]
[tool.poetry.group.dev.dependencies] # for legacy usage
flake8 = "^6.1.0"
tox = "^4.11.3"
coverage = "^7.3.2"
sphinx = { version = "^7.2.6", python = ">=3.9" }
[project.scripts]
[tool.poetry.scripts]
pipreqs = "pipreqs.pipreqs:main" pipreqs = "pipreqs.pipreqs:main"
[build-system] [build-system]