-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Good morning.
I hope you're all doing great.
I recently tried to install faber via the pip command on pypi.orghere :
$ python --version
Python 3.12.0
$ pip install faber
And I got an installation "SyntaxWarning: invalid escape sequence '\s' "error (cf below for readability).
This does not happen if I use the latest available pre-release on pip (0.6.0.dev1)
$ pip install faber==0.6.0.dev1
Collecting faber==0.6.0.dev1
Using cached faber-0.6.0.dev1-py3-none-any.whl (93 kB)
Installing collected packages: faber
Successfully installed faber-0.6.0.dev1
Best
ERROR
$ pip install faber
Collecting faber
Using cached faber-0.5.tar.gz (156 kB)
Installing build dependencies ... done
Getting requirements to build wheel ... error
error: subprocess-exited-with-error× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> [31 lines of output]
C:\Users<user>\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py:421: SyntaxWarning:
invalid escape sequence '\s'
LONG_VERSION_PY['git'] = '''
Traceback (most recent call last):
File "C:\Users<user>\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in
main()
File "C:\Users<user>\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 335, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<user>\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 118, in get_requires_for_build_wheel
return hook(config_settings)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<user>\AppData\Local\Temp\pip-build-env-ptk6r643\overlay\Lib\site-packages\setuptools\build_meta.py", line 355,
in get_requires_for_build_wheel
return self._get_build_requires(config_settings, requirements=['wheel'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<user>\AppData\Local\Temp\pip-build-env-ptk6r643\overlay\Lib\site-packages\setuptools\build_meta.py", line 325,
in _get_build_requires
self.run_setup()
File "C:\Users<user>\AppData\Local\Temp\pip-build-env-ptk6r643\overlay\Lib\site-packages\setuptools\build_meta.py", line 507,
in run_setup
super(_BuildMetaLegacyBackend, self).run_setup(setup_script=setup_script)
File "C:\Users<user>\AppData\Local\Temp\pip-build-env-ptk6r643\overlay\Lib\site-packages\setuptools\build_meta.py", line 341,
in run_setup
exec(code, locals())
File "", line 24, in
File "C:\Users<user>\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py", line 1480, in get_version
return get_versions()["version"]
^^^^^^^^^^^^^^
File "C:\Users<user>\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py", line 1412, in get_versions
cfg = get_config_from_root(root)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users<user>\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py", line 342,
in get_config_from_root
parser = configparser.SafeConfigParser()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'configparser' has no attribute 'SafeConfigParser'. Did you mean: 'RawConfigParser'?
[end of output]note: This error originates from a subprocess, and is likely not a problem with pip.
error: subprocess-exited-with-error× Getting requirements to build wheel did not run successfully.
│ exit code: 1
╰─> See above for output.note: This error originates from a subprocess, and is likely not a problem with pip.