Skip to content

Python SDK segfaults on some Linux environments #1288

@tangowithfoxtrot

Description

@tangowithfoxtrot

The following is a continuation of the conversation from #1221.

Steps To Reproduce

Build the Python SDK

npm i
npm run schemas

python -m venv /tmp/venv-bitwarden
source /tmp/venv-bitwarden/bin/activate
pip install maturin[patchelf]

cd languages/python/
maturin develop

Attempt to use it in Python

python -c "import bitwarden_sdk"

Expected Result

The import succeeds and the SDK client can be used.

Actual Result

Segmentation fault (core dumped)

Screenshots or Videos

No response

Additional Context

No response

Operating System

Linux

Operating System Version

Fedora Silverblue/Workstation 42, and possibly some other Linux environments that don't match the GitHub Runner OS and version

Build Version

main

Issue Tracking Info

  • I understand that work is tracked outside of Github. A PR will be linked to this issue should one be opened to address it, but Bitwarden doesn't use fields like "assigned", "milestone", or "project" to track progress.

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions