Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 11 additions & 10 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -238,9 +238,9 @@ jobs:
apt update -y && apt-get install -y libssl-dev openssl pkg-config
fi
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.target }}
path: dist

windows:
Expand Down Expand Up @@ -271,9 +271,9 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-${{ matrix.target }}
path: dist

macos_x86:
Expand All @@ -300,9 +300,9 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-mac-x86_64
path: dist

macos_aarch64:
Expand All @@ -329,9 +329,9 @@ jobs:
args: --release --out dist --find-interpreter
sccache: 'true'
- name: Upload wheels
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
name: wheels-mac-aarch64
path: dist

sdist:
Expand All @@ -352,7 +352,7 @@ jobs:
command: sdist
args: --out dist
- name: Upload sdist
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: wheels
path: dist
Expand All @@ -366,8 +366,9 @@ jobs:
environment: Publish
needs: [linux, windows, macos_x86, macos_aarch64, sdist]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
pattern: wheels-*
name: wheels
- name: Publish to PyPI
uses: PyO3/maturin-action@v1
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "c2pa-python"
version = "0.6.3"
version = "0.7.1"
edition = "2021"
authors = ["Gavin Peacock <gpeacock@adobe.com"]

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

[dependencies]
c2pa = { version = "0.45.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
c2pa = { version = "0.46.0", features = ["file_io", "openssl", "pdf", "fetch_remote_manifests"]}
thiserror = "1.0.49"
uniffi = "0.28.2"
openssl-src = "=300.3.1" # Required for openssl-sys
Expand Down
2 changes: 1 addition & 1 deletion tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def getitem(d, key):

class TestC2paSdk(unittest.TestCase):
def test_version(self):
assert version() == "0.6.3"
assert version() == "0.7.1"

def test_sdk_version(self):
assert "c2pa-rs/" in sdk_version()
Expand Down
2 changes: 1 addition & 1 deletion tests/test_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

class TestC2paSdk(unittest.TestCase):
def test_version(self):
self.assertIn("0.6.3", sdk_version())
self.assertIn("0.7.1", sdk_version())


class TestReader(unittest.TestCase):
Expand Down
Loading