Merge pull request #481 from bndr/projecttoml_upgrade

upgrade Python version
This commit is contained in:
Jonas Eschle 2025-04-08 09:45:54 +02:00 committed by GitHub
commit a7a6b856b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 pip 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 pip 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]