]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
pybind/mgr: Hack around the 'ImportError: PyO3 modules may only be initialized once...
authorPaulo E. Castro <pecastro@wormholenet.com>
Sat, 5 Apr 2025 20:47:55 +0000 (21:47 +0100)
committerNizamudeen A <nia@redhat.com>
Mon, 5 Jan 2026 10:44:33 +0000 (16:14 +0530)
commit8ba69fff36136fd7ffddea77b64607ff32ca30c5
tree0ef841115b593c4a62c5e651b15c42a88934b22d
parent8da68c82dbbb70a485ab6713cada68443fa2c925
pybind/mgr: Hack around the 'ImportError: PyO3 modules may only be initialized once per interpreter process' issue.

Fixes: https://tracker.ceph.com/issues/64213
Signed-off-by: Paulo E. Castro <pecastro@wormholenet.com>
(cherry picked from commit 717d0a6f3530ad3e07f4423002810327b2addcf1)
src/pybind/mgr/cephadm/tests/test_cephadm.py
src/pybind/mgr/mgr_util.py
src/pybind/mgr/tests/test_tls.py
src/python-common/ceph/pybind/__init__.py [new file with mode: 0644]
src/python-common/ceph/pybind/mgr/__init__.py [new file with mode: 0644]
src/python-common/ceph/pybind/mgr/cryptotools.py [new file with mode: 0644]