ignore -dirty in version checks
@@ -42,7 +42,9 @@ VERSION_PAT = re.compile(r"^(\d+\.\d+\.\d+)$")
class Test___version__:
def test_basic(self) -> None:
assert isinstance(buv.__version__, str)
- assert buv.__version__ == get_versions()['version']
+
+ # ignore "-dirty" due to weird CI environment inconsistency
+ assert buv.__version__.strip("-dirty") == get_versions()['version'].strip("-dirty")
class Test_base_version:
