Closed pzelasko closed 6 months ago
Cool! We can start using the walrus operator now :)
+1
PyTorch has already dropped support for Python 3.7 since torch 2.0.0.
We can use new features as described in https://docs.python.org/3/whatsnew/3.8.html if we target at only Python >=3.8.
It's merged. Feel free to use the "walrus", etc. going forward :)
I'm considering stopping supporting Python 3.7 in the next Lhotse release (or one after), since Python 3.7 has reached end of life recently. That'd mean Lhotse library code could start using new syntax features from Python 3.8. This issue is an RFC to check with the community if this is problematic and to what extent. Please share your feedback.
CC @danpovey @csukuangfj @desh2608