aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-09-26 22:36:16 +0200
committerMichał Górny <mgorny@gentoo.org>2021-09-26 23:06:17 +0200
commitcdaff1c404d486a4a61caa262b783189f3f53aba (patch)
tree68bec2bdcfe5a22c17d6db252eae25b4734054b7
parentremove test for deprecated profile with no replacement (diff)
downloadpkgcheck-cdaff1c404d486a4a61caa262b783189f3f53aba.tar.gz
pkgcheck-cdaff1c404d486a4a61caa262b783189f3f53aba.tar.bz2
pkgcheck-cdaff1c404d486a4a61caa262b783189f3f53aba.zip
addons.eclass: get cache version from EclassDoc.ABI_VERSION
-rw-r--r--requirements/install.txt2
-rw-r--r--requirements/pyproject.toml2
-rw-r--r--src/pkgcheck/addons/eclass.py3
3 files changed, 4 insertions, 3 deletions
diff --git a/requirements/install.txt b/requirements/install.txt
index 4e8e51c6..aa65bd9f 100644
--- a/requirements/install.txt
+++ b/requirements/install.txt
@@ -4,4 +4,4 @@ lxml
pathspec
tree-sitter~=0.19.0
snakeoil~=0.9.6
-pkgcore~=0.12.7
+pkgcore~=0.12.8
diff --git a/requirements/pyproject.toml b/requirements/pyproject.toml
index 8b536657..da9b027d 100644
--- a/requirements/pyproject.toml
+++ b/requirements/pyproject.toml
@@ -7,6 +7,6 @@ requires = [
"pathspec",
"tree-sitter~=0.19.0",
"snakeoil~=0.9.6",
- "pkgcore~=0.12.7",
+ "pkgcore~=0.12.8",
]
build-backend = "setuptools.build_meta"
diff --git a/src/pkgcheck/addons/eclass.py b/src/pkgcheck/addons/eclass.py
index 73e09aa0..fd4d085e 100644
--- a/src/pkgcheck/addons/eclass.py
+++ b/src/pkgcheck/addons/eclass.py
@@ -49,7 +49,8 @@ class EclassAddon(caches.CachedAddon):
"""Eclass support for various checks."""
# cache registry
- cache = caches.CacheData(type='eclass', file='eclass.pickle', version=5)
+ cache = caches.CacheData(type='eclass', file='eclass.pickle',
+ version=EclassDoc.ABI_VERSION)
def __init__(self, *args):
super().__init__(*args)