When collecting a CC/FIPS dataset, we could collect the tool versions used to produce such datasets. When the user fetches from_web_latest(), we could display a warning when different version is run. We could assist the user by displaying him how to install the tool of that specific release. E.g., pip install sec-certs xxx.
Care must be taken when dealing with datasets created with commit x, but updated on commit y.
TODO
Create a new attribute sec_certs_version of DatasetInternalState and populate it with version obtained from setuptools_scm when a dataset is created.
Design it so that the attribute is filled only when dataset is created, not when dataset is updated, de/serialized, etc.
When a dataset is loaded, compare the current tool version with the dataset version. If mismatch, log warning.
When collecting a CC/FIPS dataset, we could collect the tool versions used to produce such datasets. When the user fetches
from_web_latest()
, we could display a warning when different version is run. We could assist the user by displaying him how to install the tool of that specific release. E.g.,pip install sec-certs xxx
.Care must be taken when dealing with datasets created with commit x, but updated on commit y.
TODO
sec_certs_version
ofDatasetInternalState
and populate it with version obtained fromsetuptools_scm
when a dataset is created.