From d76dda0b04f8299d62df691b26763cb1c18dc668 Mon Sep 17 00:00:00 2001 From: "whyekit.fong" Date: Thu, 28 Aug 2025 10:32:30 +0800 Subject: [PATCH 1/3] Bump pip version to 1.1.12 --- README.md | 3 ++- docs/installation.md | 2 +- setup/setup.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a19d35370..734755478 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,7 @@ Welcome to the Motionalᵀᴹ nuTonomy® downloadable driverless vehicle softwar - [Citation](#citation) ## Changelog +- Aug. 28, 2025: Devkit v1.1.12: Change to supporting Python 3.9 and Python 3.12. - Sep. 25, 2023: Devkit v1.1.11: Specify version for various pip requirements. - Feb. 13, 2023: Devkit v1.1.10: Specify version for various pip requirements. - Sep. 20, 2021: Devkit v1.1.9: Refactor tracking eval code for custom datasets with different classes. @@ -52,7 +53,7 @@ Welcome to the Motionalᵀᴹ nuTonomy® downloadable driverless vehicle softwar We use a common devkit for nuScenes and nuImages. -The devkit is tested for Python 3.6 and Python 3.7. +The devkit is tested for Python 3.9 and Python 3.12. To install Python, please check [here](https://github.com/nutonomy/nuscenes-devkit/blob/master/docs/installation.md#install-python). Our devkit is available and can be installed via [pip](https://pip.pypa.io/en/stable/installing/) : diff --git a/docs/installation.md b/docs/installation.md index 6af1e4503..6ae74518a 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -21,7 +21,7 @@ For these, you will need to download the source code and [manually install the r ## Install Python -The devkit is tested for Python 3.6 onwards, but we recommend to use Python 3.7. +The devkit is tested for Python 3.9 and Python 3.12. For Ubuntu: If the right Python version is not already installed on your system, install it by running: ``` sudo apt install python-pip diff --git a/setup/setup.py b/setup/setup.py index e7c8f1c44..f89ac2af1 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -39,7 +39,7 @@ def get_dirlist(_rootdir): setuptools.setup( name='nuscenes-devkit', - version='1.1.11', + version='1.1.12', author='Holger Caesar, Oscar Beijbom, Qiang Xu, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, ' 'Sergi Widjaja, Kiwoo Shin, Caglayan Dicle, Freddy Boulton, Whye Kit Fong, Asha Asvathaman, Lubing Zhou ' 'et al.', From cee46a648f1f01b52ae876ff219fe7507748350f Mon Sep 17 00:00:00 2001 From: "whyekit.fong" Date: Thu, 28 Aug 2025 10:49:49 +0800 Subject: [PATCH 2/3] Bump pip version to 1.1.12 --- README.md | 2 +- docs/installation.md | 6 +++--- setup/setup.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 734755478..f47c2ce88 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Welcome to the Motionalᵀᴹ nuTonomy® downloadable driverless vehicle softwar - [Citation](#citation) ## Changelog -- Aug. 28, 2025: Devkit v1.1.12: Change to supporting Python 3.9 and Python 3.12. +- Aug. 28, 2025: Devkit v1.2.0: Change to supporting Python 3.9 and Python 3.12. - Sep. 25, 2023: Devkit v1.1.11: Specify version for various pip requirements. - Feb. 13, 2023: Devkit v1.1.10: Specify version for various pip requirements. - Sep. 20, 2021: Devkit v1.1.9: Refactor tracking eval code for custom datasets with different classes. diff --git a/docs/installation.md b/docs/installation.md index 6ae74518a..06bec8973 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -21,14 +21,14 @@ For these, you will need to download the source code and [manually install the r ## Install Python -The devkit is tested for Python 3.9 and Python 3.12. +The devkit is tested for Python 3.9 and Python 3.12, but we recommend to use Python 3.12. For Ubuntu: If the right Python version is not already installed on your system, install it by running: ``` sudo apt install python-pip sudo add-apt-repository ppa:deadsnakes/ppa sudo apt-get update -sudo apt-get install python3.7 -sudo apt-get install python3.7-dev +sudo apt-get install python3.12 +sudo apt-get install python3.12-dev ``` For Mac OS download and install from `https://www.python.org/downloads/mac-osx/`. diff --git a/setup/setup.py b/setup/setup.py index f89ac2af1..b306065eb 100644 --- a/setup/setup.py +++ b/setup/setup.py @@ -39,7 +39,7 @@ def get_dirlist(_rootdir): setuptools.setup( name='nuscenes-devkit', - version='1.1.12', + version='1.2.0', author='Holger Caesar, Oscar Beijbom, Qiang Xu, Varun Bankiti, Alex H. Lang, Sourabh Vora, Venice Erin Liong, ' 'Sergi Widjaja, Kiwoo Shin, Caglayan Dicle, Freddy Boulton, Whye Kit Fong, Asha Asvathaman, Lubing Zhou ' 'et al.', From f59d62b93459dea91ccb8c18abcf08713651d32c Mon Sep 17 00:00:00 2001 From: "whyekit.fong" Date: Thu, 28 Aug 2025 10:52:13 +0800 Subject: [PATCH 3/3] Bump pip version to 1.2.0 --- docs/installation.md | 4 ++-- .../eval/prediction/docker_container/docker/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/installation.md b/docs/installation.md index 06bec8973..f4112662b 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -42,7 +42,7 @@ See the [official Miniconda page](https://conda.io/en/latest/miniconda.html). #### Setup a Conda environment We create a new Conda environment named `nuscenes`. We will use this environment for both nuScenes and nuImages. ``` -conda create --name nuscenes python=3.7 +conda create --name nuscenes python=3.12 ``` #### Activate the environment @@ -81,7 +81,7 @@ For more details, see [this issue](https://github.com/nutonomy/nuscenes-devkit/i #### Create the virtual environment We create a new virtual environment named `nuscenes`. ``` -mkvirtualenv nuscenes --python=python3.7 +mkvirtualenv nuscenes --python=python3.12 ``` #### Activate the virtual environment diff --git a/python-sdk/nuscenes/eval/prediction/docker_container/docker/Dockerfile b/python-sdk/nuscenes/eval/prediction/docker_container/docker/Dockerfile index 087b5eda3..1ce39d98c 100644 --- a/python-sdk/nuscenes/eval/prediction/docker_container/docker/Dockerfile +++ b/python-sdk/nuscenes/eval/prediction/docker_container/docker/Dockerfile @@ -32,7 +32,7 @@ ENV PYTHONPATH=/nuscenes-dev/python-sdk COPY setup/requirements.txt . -RUN bash -c "conda create -y -n nuscenes python=3.7 \ +RUN bash -c "conda create -y -n nuscenes python=3.12 \ && source activate nuscenes \ && pip install --no-cache-dir -r /nuscenes-dev/prediction/requirements.txt \ && conda clean --yes --all"