Skip to content

fix(deps): drop cryptography from runtime dependencies - #323

Open
AlexanderKomarov wants to merge 4 commits into
contentauth:mainfrom
AlexanderKomarov:fix/cryptography-optional-test-dep
Open

AlexanderKomarov wants to merge 4 commits into
contentauth:mainfrom
AlexanderKomarov:fix/cryptography-optional-test-dep

Conversation

@AlexanderKomarov

@AlexanderKomarov AlexanderKomarov commented Sep 10, 2026

Copy link
Copy Markdown

Changes in this pull request

Not used by the runtime bindings — all crypto happens in the native
c2pa-rs library. Only the tests/examples need it (callback signers), and
it is already declared in requirements-dev.txt. Drop it from the runtime
deps and install requirements-dev.txt in the built-wheel CI jobs.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues — N/A (no TODOs)

Comment thread .github/workflows/build.yml Outdated
run: |
source venv/bin/activate
pip install dist/c2pa_python-*.whl
# `[test]` extra pulls cryptography for the callback-signer tests.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of mirroring requirements-dev.txt, why not use requirements-dev.txt?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good call, fixed

@AlexanderKomarov AlexanderKomarov changed the title fix(deps): make cryptography an optional test dependency fix(deps): drop cryptography from runtime dependencies Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants