Migrate Backend to JetPack 6 with Python 3.10 #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request was generated by @kiro-agent 👻
Comment with /kiro fix to address specific feedback or /kiro all to address everything.
Learn about Kiro autonomous agent
Summary
This PR updates the backend for JetPack 6 Orin compatibility, migrating from Python 3.9 to Python 3.10 (the native interpreter for JetPack 6).
JetPack 6 Specifications
Why Python 3.10 (not 3.11)?
Changes
Dockerfile (
src/backend/Dockerfile)libssl1.1dependency (not available in Ubuntu 22.04)python3instead ofpython3.9requirements.txt (
src/backend/requirements.txt)Important Notes
DLR (Neo Deep Learning Runtime)
dlr==1.10.0is retained but may need custom build for JetPack 6Jetson.GPIO
Testing Recommendations
Build Docker image on JetPack 6 Orin device:
Verify Python version inside container:
docker run --rm dda-backend:jetpack6 python3 --version # Expected: Python 3.10.xTest NVIDIA library compatibility (TensorRT, CUDA) on the Orin device