Closed ssteinbach closed 2 years ago
Do we also want to update the code base to use newer syntax? If so then we can use https://github.com/asottile/pyupgrade to automatically upgrade code to use newer syntax. It also handles changing imports, and a bunch of different things. When running the tool, you basically tell it to target a specific Python version and it will take care of the rest.
We might also want to update Pybind11 to 2.10+.
it would be interesting to try pyupgrade and see what happens, and yes we'll want to update pybind11 to latest. we've been frozen for a whle
@JeanChristopheMorinPerso great suggestion. It sounds like we want to do this after making release 0.15.0
.
(I added your notes as todo list items)
As noted by #1094, VFX platform 2019 is the last VFX platform that includes python 2.7. This issue is to prepare for when we drop python 2.7 support.
# python2
or# python 2.7
(this is a rough list from grep).github/workflows/python-package.yml
- python-package.yml