-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Labels
tech debtTechnical debtTechnical debt
Description
$ python --version
Python 3.13.3
$ miniwdl --version
miniwdl v1.13.0
Traceback (most recent call last):
File "/home/user/kg/miniwdl-dev/.direnv/python-3.13/bin/miniwdl", line 8, in <module>
sys.exit(main())
~~~~^^
File "/home/user/kg/miniwdl-dev/.direnv/python-3.13/lib64/python3.13/site-packages/WDL/CLI.py", line 67, in main
args = parser.parse_args(args if args is not None else sys.argv[1:])
File "/usr/lib64/python3.13/argparse.py", line 1889, in parse_args
args, argv = self.parse_known_args(args, namespace)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 1899, in parse_known_args
return self._parse_known_args2(args, namespace, intermixed=False)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 1928, in _parse_known_args2
namespace, args = self._parse_known_args(args, namespace, intermixed)
~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 2179, in _parse_known_args
start_index = consume_optional(start_index)
File "/usr/lib64/python3.13/argparse.py", line 2103, in consume_optional
take_action(action, args, option_string)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.13/argparse.py", line 2004, in take_action
action(self, namespace, argument_values, option_string)
~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/user/kg/miniwdl-dev/.direnv/python-3.13/lib64/python3.13/site-packages/WDL/CLI.py", line 149, in __call__
import pkg_resources # type: ignore
^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'pkg_resources'
pip install setuptools
fixes this temporarily but I guess this is something that will need to be resolved going forward?
And afterwards it reports
$ miniwdl --version
miniwdl v1.13.0
/home/user/kg/miniwdl-dev/.direnv/python-3.13/lib64/python3.13/site-packages/WDL/CLI.py:149: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
import pkg_resources # type: ignore
Metadata
Metadata
Assignees
Labels
tech debtTechnical debtTechnical debt