Rosbag and Django 5.2 with Python 3.13

I try to import the rosbag library with Django 5.2 and Python 3.13 in my docker but it doesn't work.

If I try an import rosbag with a python command in the shell, it's work, but if I try the same command in the ./manage.py shell it doesn't work.

I only have a gnupg INFO message likes:
2025-05-02 10:29:58,983 gnupg INFO Log opened: Fri May 2 08:29:58 2025 UTC but after nothing happens, the import is like frozen and I can't do anything.

With my docker, the command works with Python3.10 but not with Python3.12 or Python3.13.
In local dev with a virtual env, it's works with ./manage.py shell in both versions.
If I create a new docker with python3.13.3 image, and I install all requirements from my docker and I create a new django project, the command works in the ./manage.py shell.
In this new docker, I tried to copy/paste my project and it's works...

I don't know where the problem might be coming from and how to track down where the import is blocking exactly...

Вернуться на верх