Skip to content

Commit 5e40695

Browse files
committed
devendor tabulate
The vendored copy of tabulate, which was version 0.8.9, and then modified to match py3 and random tool formatting. The main useful feature of tabulate was the custom, compressed showkw format. Extract the custom showkw format into pkgdev itself, and depend on tabulate>=0.9.0 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>
1 parent dd35692 commit 5e40695

5 files changed

Lines changed: 51 additions & 1786 deletions

File tree

NEWS.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,11 @@ pkgdev 0.2.18 (unreleased)
2323
version the stablereq check considers due for stabilization if possible
2424
(Arthur Zamarin)
2525

26+
**pkgdev showkw:**
27+
28+
- showkw: drop the vendored copy of tabulate in favor of a dependency on
29+
``tabulate>=0.9.0`` (Arthur Zamarin)
30+
2631
pkgdev 0.2.17 (2026-08-14)
2732
--------------------------
2833

pyproject.toml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ dependencies = [
3131
"snakeoil~=0.11.1",
3232
"pkgcore@git+https://github.com/pkgcore/pkgcore.git#master",
3333
"pkgcheck~=0.10.42",
34+
"tabulate>=0.9.0",
3435
]
3536

3637
[project.optional-dependencies]
@@ -70,9 +71,6 @@ exclude = [
7071
[tool.ruff]
7172
line-length = 100
7273
target-version = "py311"
73-
exclude = [
74-
"src/pkgdev/_vendor/tabulate.py"
75-
]
7674

7775
[tool.ruff.lint.per-file-ignores]
7876
"tests/**" = [

src/pkgdev/_vendor/__init__.py

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)