Generated version facts through lab.version_info; options and world harnesses take the data version from the jar

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Ludovic Marie
2026-10-15 17:53:28 +02:00
parent ce87bfb8c7
commit eee7786609
4 changed files with 5 additions and 11 deletions
+1 -1
View File
@@ -33,7 +33,7 @@ class GenVersionConstsTests(unittest.TestCase):
jar = Path(directory) / "client.jar"
with zipfile.ZipFile(jar, "w") as archive:
archive.writestr("version.json", json.dumps(INFO))
self.assertEqual(gen.jar_info(jar), INFO)
self.assertEqual(lab.version_info(jar), INFO)
def test_committed_file_is_the_pinned_version(self):
"""A pin bump regenerates version.rs: the lock and the constants never disagree."""