Skip to content
Open
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
4 changes: 3 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ jobs:
run: |
source venv/bin/activate
pip install dist/c2pa_python-*.whl
pip install -r requirements-dev.txt

- name: Run unittest tests on installed wheel
run: |
Expand Down Expand Up @@ -373,7 +374,7 @@ jobs:
$wheel = Get-ChildItem -Path dist -Filter "c2pa_python-*.whl" | Select-Object -First 1
if (-not $wheel) { Write-Error "No wheel file found in dist directory"; exit 1 }
pip install $wheel.FullName
pip install -r requirements.txt
pip install -r requirements-dev.txt
pip install pytest

- name: Run tests with pytest (venv)
Expand Down Expand Up @@ -454,6 +455,7 @@ jobs:
run: |
source venv/bin/activate
pip install dist/c2pa_python-*.whl
pip install -r requirements-dev.txt

- name: Run unittest tests on installed wheel
run: |
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ maintainers = [
urls = {homepage = "https://contentauthenticity.org", repository = "https://github.com/contentauth/c2pa-python"}
dependencies = [
"toml>=0.10.2",
"cryptography>=41.0.0",
"requests>=2.0.0"
]

Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
# only used in the training example
cryptography>=47.0.0
# cryptography moved to requirements-dev.txt (used by tests/examples only).