Skip to content

Add version py bindings#32

Merged
LDiazN merged 4 commits intomainfrom
add-version-py-bindings
Apr 3, 2026
Merged

Add version py bindings#32
LDiazN merged 4 commits intomainfrom
add-version-py-bindings

Conversation

@LDiazN
Copy link
Copy Markdown
Contributor

@LDiazN LDiazN commented Apr 3, 2026

This PR will add functions to userauth-core and userauth-py to get their crates versions

The Python library will have two new attributes:

  • __version__ : Will give you the Python module's version (same as the one in ooniauth-py/Cargo.toml)
  • get_protocol_version(): Will give you the version of ooniauth-core, the actual protocol implementation

This is required to add the library version to the manifest metadata in the backend deployment, see: ooni/backend#1148

@LDiazN LDiazN self-assigned this Apr 3, 2026
@LDiazN LDiazN merged commit cd8d271 into main Apr 3, 2026
3 checks passed
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.

1 participant