I have made plugin and placed under ‘Packages’ folder.
All its feature are working fine no issues at all, my plugin requires python 3.8 so created the .python-version
with 3.8 in it in the root of my plugin folder.
But now i want to create its .sublime-package
everytime i hit Create Package File
it gives error on type hinting and f strings, which is weird since its supported on python 3.8 and my plugin is also working fine.
Example error
Traceback (most recent call last):
File "./python3.3/compileall.py", line 115, in compile_file
File "./python3.3/py_compile.py", line 125, in compile
py_compile.PyCompileError: File "/Users/abhishek/Library/Application Support/Sublime Text 3/Packages/pyrock/src/commands/admin.py", line 41
response: Optional[Dict] = Network.get(...)
^
SyntaxError: invalid syntax
From error it looks like its still using python 3.3 to compile the package.