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

View File

@ -39,9 +39,13 @@ dev = [
"coverage>=7.3.2",
"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" }
[tool.poetry.scripts]
[project.scripts]
pipreqs = "pipreqs.pipreqs:main"
[build-system]