Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
python: ['3.11', '3.12', '3.13', '3.14', '3.15']
steps:
- name: Checkout source code
uses: actions/checkout@v7
Expand Down
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ repos:
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.16.6
rev: v0.17.0
hooks:
- id: ruff-check
args: ['--fix', '--unsafe-fixes']
Expand Down
21 changes: 14 additions & 7 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[build-system]
requires = ["pbr>=6.1.1"]
requires = ["pbr>=7.1.0"]
build-backend = "pbr.build"

[project]
Expand All @@ -14,8 +14,8 @@ maintainers = [
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "GPL-2.0"
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
dynamic = ["version"]
requires-python = ">=3.11"
keywords = ["patchwork", "api"]
classifiers = [
"Development Status :: 5 - Production/Stable",
Expand All @@ -28,6 +28,15 @@ classifiers = [
"Operating System :: OS Independent",
]

[dependency-groups]
test = [
"pytest",
"pytest-cov",
]
typing = [
"mypy",
]

[project.urls]
"Bug Tracker" = "https://github.com/getpatchwork/pwclient/issues"
"Source Code" = "https://github.com/getpatchwork/pwclient"
Expand All @@ -36,10 +45,8 @@ classifiers = [
[project.scripts]
pwclient = "pwclient.shell:main"

[tool.setuptools]
packages = [
"pwclient"
]
[tool.setuptools.packages.find]
include = ["pwclient*"]

[tool.ruff]
line-length = 79
Expand Down
2 changes: 0 additions & 2 deletions setup.cfg

This file was deleted.

8 changes: 0 additions & 8 deletions setup.py

This file was deleted.

2 changes: 0 additions & 2 deletions test-requirements.txt

This file was deleted.

15 changes: 6 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[tox]
minversion = 4.6.0
envlist = pep8,clean,py{39,310,311,312,313},report,docs,man
envlist = pep8,clean,py{311,312,313,314,315},report,docs,man

[testenv]
deps =
-r{toxinidir}/test-requirements.txt
dependency_groups =
test
commands =
pytest -Wall --cov=pwclient --cov-report term-missing {posargs}

Expand All @@ -16,9 +16,9 @@ commands =
pre-commit run --all-files --show-diff-on-failure

[testenv:mypy]
deps=
mypy
commands=
dependency_groups =
typing
commands =
mypy {posargs:--ignore-missing-imports --follow-imports=skip} pwclient

[testenv:report]
Expand Down Expand Up @@ -57,6 +57,3 @@ commands =
--url https://github.com/getpatchwork/patchwork \
--author="Patchwork Developers" --author-email="patchwork@lists.ozlabs.org" \
--module pwclient.parser --function get_parser > man/pwclient.1'

[flake8]
show-source = true
Loading