You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# from importlib import metadata# __version__ = metadata.version("isort")__version__='6.0.1'
It is very simple fix. If I dont do it, I get error while using CudaText plugin under Windows x64 Python 3.12.9 (on linting some py file);
...
Traceback (most recent call last):
File "importlib\metadata\__init__.py", line 397, in from_name
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\CudaText\py\cuda_lint_pylint\pylint\utils\utils.py", line 8, in <module>
import isort.api
File "C:\CudaText\py\cuda_lint_pylint\isort\__init__.py", line 23, in <module>
from ._version import __version__
File "C:\CudaText\py\cuda_lint_pylint\isort\_version.py", line 3, in <module>
__version__ = metadata.version("isort")
^^^^^^^^^^^^^^^^^^^^^^^^^
File "importlib\metadata\__init__.py", line 889, in version
File "importlib\metadata\__init__.py", line 862, in distribution
File "importlib\metadata\__init__.py", line 399, in from_name
importlib.metadata.PackageNotFoundError: No package metadata was found for isort
Is isort OK here?
I use last version from PyPI.org. other python libs are also last from today.
I use embedded Windows Python (in python312.dll).
The text was updated successfully, but these errors were encountered:
I used 'isort' in this CudaText plugin: https://github.com/cudatext-addons/cuda_lint_pylint
I had to make a change to
_version.py
It is very simple fix. If I dont do it, I get error while using CudaText plugin under Windows x64 Python 3.12.9 (on linting some py file);
Is isort OK here?
I use last version from PyPI.org. other python libs are also last from today.
I use embedded Windows Python (in python312.dll).
The text was updated successfully, but these errors were encountered: