diff --git a/c2pa-native-version.txt b/c2pa-native-version.txt index fcafb103..2923e65e 100644 --- a/c2pa-native-version.txt +++ b/c2pa-native-version.txt @@ -1 +1 @@ -c2pa-v0.59.1 +c2pa-v0.60.1 diff --git a/pyproject.toml b/pyproject.toml index d0e45cb7..85e5560c 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "c2pa-python" -version = "0.13.0" +version = "0.14.0" requires-python = ">=3.10" description = "Python bindings for the C2PA Content Authenticity Initiative (CAI) library" readme = { file = "README.md", content-type = "text/markdown" } diff --git a/tests/test_unit_tests.py b/tests/test_unit_tests.py index 5a42e178..3bf4b6c0 100644 --- a/tests/test_unit_tests.py +++ b/tests/test_unit_tests.py @@ -40,7 +40,7 @@ class TestC2paSdk(unittest.TestCase): def test_sdk_version(self): - self.assertIn("0.59.1", sdk_version()) + self.assertIn("0.60.1", sdk_version()) class TestReader(unittest.TestCase): @@ -956,6 +956,7 @@ def test_builder_sign_with_setting_no_thumbnail_and_ingredient(self): # Verify the first ingredient's title matches what we set first_ingredient = active_manifest["ingredients"][0] self.assertEqual(first_ingredient["title"], "Test Ingredient") + self.assertNotIn("thumbnail", first_ingredient) builder.close() @@ -1791,7 +1792,10 @@ def test_read_ingredient_file_who_has_no_manifest(self): ingredient_data = json.loads(ingredient_json_with_dir) self.assertEqual(ingredient_data["title"], INGREDIENT_TEST_FILE_NAME) self.assertEqual(ingredient_data["format"], "image/jpeg") - self.assertIn("thumbnail", ingredient_data) + self.assertNotIn("thumbnail", ingredient_data) + + # Reset setting + load_settings('{"builder": { "thumbnail": {"enabled": true}}}') def test_compare_read_ingredient_file_with_builder_added_ingredient(self): """Test reading a C2PA ingredient from a file."""