Compatibility with python3.12
Some dependencies in the pyproject are compatible with python3.11 but not with 3.12. Python3.12 is automatically shipped with the latest Ubuntu24.04 version, so it might be helpful for people who have a fresh installation to add this information to the readme. Should we?
Yes good point. Can you look up in your shell history which packets are problematic?
The only problematic package seems to be pyrealsense2. I checked the repository recently. There is no release with support for Python 3.12 yet. If you are only using the simulation you can use RCS without it.
Since the realsense implementation is now in its own python package, it should be no problem to allow >=python3.11
@khaledmohamed00 can you verify whether the latest version of RCS works with python 3.12 and if it does update the python version requirement in the pyproject.toml?
-
RCS is compatible with Python 3.12 (confirmed).
-
Raising the minimum Python version in pyproject.toml to >=3.12 would force downstream users to:
- Use Python 3.12 only
- Ensure Python 3.12 is installed system-wide or via Conda, which will cause issues due to system-level dependencies.
-
Consequences of Requiring Python 3.12 If you update pyproject.toml to:
requires-python = ">=3.12"Then:
-
Users with older Python versions (e.g. 3.10) will get an installation error.
-
This change will break compatibility with many LTS distros (e.g., Ubuntu 22.04 ships with Python 3.10).
-
You’ll need to:
- Add Python 3.12 to debian_deps.txt
-
-
So should we add this change?