Skip to content

Commit 55ecdaf

Browse files
authored
Merge pull request #99 from contentauth/gpeacock/dynamic_gathered
fix: c2pa_rs update for dynamic gathered assertions.
2 parents 8571bd4 + c5882fe commit 55ecdaf

File tree

4 files changed

+9
-5
lines changed

4 files changed

+9
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "c2pa-python"
3-
version = "0.8.1"
3+
version = "0.8.2"
44
edition = "2021"
55
authors = ["Gavin Peacock <[email protected]"]
66

@@ -12,7 +12,7 @@ crate-type = ["lib", "cdylib"]
1212
normal = ["openssl-src"]
1313

1414
[dependencies]
15-
c2pa = { version = "0.49.2", features = ["file_io", "pdf", "fetch_remote_manifests"]}
15+
c2pa = { version = "0.49.3", features = ["file_io", "pdf", "fetch_remote_manifests"]}
1616
thiserror = "1.0.49"
1717
uniffi = "0.28.2"
1818
openssl-src = "=300.3.1" # Required for openssl-sys

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,8 @@ build-python:
1515

1616
test:
1717
python3 ./tests/test_unit_tests.py
18-
python3 ./tests/test_api.py
18+
python3 ./tests/test_api.py
19+
20+
publish: release
21+
python3 -m pip install twine
22+
python3 -m twine upload dist/*

tests/test_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def getitem(d, key):
6363

6464
class TestC2paSdk(unittest.TestCase):
6565
def test_version(self):
66-
assert version() == "0.8.0"
66+
assert version() == "0.8.2"
6767

6868
def test_sdk_version(self):
6969
assert "c2pa-rs/" in sdk_version()

tests/test_unit_tests.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525

2626
class TestC2paSdk(unittest.TestCase):
2727
def test_version(self):
28-
self.assertIn("0.8.0", sdk_version())
28+
self.assertIn("0.8.2", sdk_version())
2929

3030

3131
class TestReader(unittest.TestCase):

0 commit comments

Comments
 (0)