Skip to content

Conversation

@dominikandreas
Copy link

This PR adds support for python 3.12 by modifying some of the requirements:

  • matplotlib: removed the <3.6.0 restriction as this version is not compatible with python 3.12
  • shapely: removed the <2.0.0 restriction as this version is not compatible with python 3.12
  • numpy: added a <2.0 restriction, since without it I was not able to install the package with python 3.8 (not sure why it tried to install it at all, seems that the 2.0.x versions are still in beta)

I ran the tests successfully with the changes and was also able to execute the jupyter notebooks without any issues. There might still be code in this repository that is not covered by either jupyter notebooks or test cases which is incompatible, but at least it's possible to install the nuscenes-devkit package via python3.12 now and use the majority of the features.

@whyekit-motional
Copy link
Collaborator

@dominikandreas the objective of this PR looks similar to #1045

Can we combine both into a single PR?

@dominikandreas
Copy link
Author

Sure, @whyekit-motional I've merged the changes from the PR from @michael-hoss into this one, reinstalled the requirements and ran the tests for both python 3.8 and python 3.12. Everything seems to work fine

@idanshef
Copy link

any news about this one?

@whyekit-motional
Copy link
Collaborator

Thanks everyone for your patience, this PR should address this: #1166

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants