Skip to content

Commit 3deeef2

Browse files
authored
fix: Bump version to c2pa v0.60.1 (#145)
* fix: Bump version * fix: Bump Python package version
1 parent ad877cb commit 3deeef2

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

c2pa-native-version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
c2pa-v0.59.1
1+
c2pa-v0.60.1

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "c2pa-python"
7-
version = "0.13.0"
7+
version = "0.14.0"
88
requires-python = ">=3.10"
99
description = "Python bindings for the C2PA Content Authenticity Initiative (CAI) library"
1010
readme = { file = "README.md", content-type = "text/markdown" }

tests/test_unit_tests.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
class TestC2paSdk(unittest.TestCase):
4242
def test_sdk_version(self):
43-
self.assertIn("0.59.1", sdk_version())
43+
self.assertIn("0.60.1", sdk_version())
4444

4545

4646
class TestReader(unittest.TestCase):
@@ -956,6 +956,7 @@ def test_builder_sign_with_setting_no_thumbnail_and_ingredient(self):
956956
# Verify the first ingredient's title matches what we set
957957
first_ingredient = active_manifest["ingredients"][0]
958958
self.assertEqual(first_ingredient["title"], "Test Ingredient")
959+
self.assertNotIn("thumbnail", first_ingredient)
959960

960961
builder.close()
961962

@@ -1791,7 +1792,10 @@ def test_read_ingredient_file_who_has_no_manifest(self):
17911792
ingredient_data = json.loads(ingredient_json_with_dir)
17921793
self.assertEqual(ingredient_data["title"], INGREDIENT_TEST_FILE_NAME)
17931794
self.assertEqual(ingredient_data["format"], "image/jpeg")
1794-
self.assertIn("thumbnail", ingredient_data)
1795+
self.assertNotIn("thumbnail", ingredient_data)
1796+
1797+
# Reset setting
1798+
load_settings('{"builder": { "thumbnail": {"enabled": true}}}')
17951799

17961800
def test_compare_read_ingredient_file_with_builder_added_ingredient(self):
17971801
"""Test reading a C2PA ingredient from a file."""

0 commit comments

Comments
 (0)