]> git.apps.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>
Tue, 22 Jul 2025 03:47:21 +0000 (09:17 +0530)
commit982edc02b2ab5c5cf49c1171db98f6b87c5956f7
tree933cd5710f6ca8cc4fdd00a5b86e8b2ab9726f25
parent37c0a6ac75b1344dc92358d0d0880b2ea207bfa9
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 5b2aa8f8c61d7c2a56e1480c479801079a1ff822)
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]