Closed Josverl closed 6 months ago
Python 3.12 is not supported at this time.
Is there a timeline or should I look for a different solution. I rather like your solution , so my preference is to wait if there is a reasonable timeline.
It will be added at some point, but it will take significant effort and I don't know when I'll find the time.
If the source is compatible with Python 3.11, you can minify it with python-minifier running on Python 3.11 and the result will run fine on Python 3.12.
But if the source makes use of the f-string enhancements or type parameter syntax introduced in 3.12 it won't work until properly supported.
+1
Thanks Daniel.
Much appreciated.
@dflook I just wanted to add my appreciation of your work to bring 3.12 support - looks like it's quite fiddly with the updates that landed in 3.12. :rocket: FWIW, we hope to use this project for Python minification over in PyScript. cc/ @webreflection :hugs:
Not sure if there is limitation that prevents from running on 3.12.
https://github.com/dflook/python-minifier/blob/eb46ee627bcbecbe9ccaf03992ea21d94447db5f/setup.py#L30
If not, please update/publish, unless #94 is near complete.