Installing targets full or webui of TRamWAy fails with an error on installing Bokeh.
In a virtual environment, pip install -e .[full] causes:
/tmp/pip-install-cil8qkqc/bokeh_9f19c6edc8474badb41e9e0e945e93f8/versioneer.py:419: SyntaxWarning: invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "[...]/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
main()
File "[...]/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "[...]/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-2ighc5qh/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-build-env-2ighc5qh/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
self.run_setup()
File "/tmp/pip-build-env-2ighc5qh/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 480, in run_setup
super().run_setup(setup_script=setup_script)
File "/tmp/pip-build-env-2ighc5qh/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 108, in <module>
File "/tmp/pip-install-cil8qkqc/bokeh_9f19c6edc8474badb41e9e0e945e93f8/versioneer.py", line 1475, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "/tmp/pip-install-cil8qkqc/bokeh_9f19c6edc8474badb41e9e0e945e93f8/versioneer.py", line 1407, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/pip-install-cil8qkqc/bokeh_9f19c6edc8474badb41e9e0e945e93f8/versioneer.py", line 340, in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
This has been observed with Python 3.12 and the dev branch of TRamWAy.
pip install --upgrade versioneer does not help.
Installing other targets works after properly specifying flexible upper bounds on version numbers in the pyproject.toml file.
Installing targets full or webui of TRamWAy fails with an error on installing Bokeh.
In a virtual environment,
pip install -e .[full]causes:This has been observed with Python 3.12 and the dev branch of TRamWAy.
pip install --upgrade versioneerdoes not help.Installing other targets works after properly specifying flexible upper bounds on version numbers in the pyproject.toml file.