diff --git a/README.md b/README.md index a19d35370..f47c2ce88 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.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. @@ -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..f4112662b 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.6 onwards, but we recommend to use Python 3.7. +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/`. @@ -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" diff --git a/setup/setup.py b/setup/setup.py index e7c8f1c44..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.11', + 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.',