stefanseefeld / faber

Faber
https://stefanseefeld.github.io/faber
Boost Software License 1.0
14 stars 2 forks source link

Pip install falling with of curent version of Faber (v:0.5) on pypi.org #31

Open kosenhitatchi opened 10 months ago

kosenhitatchi commented 10 months ago

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\\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\\AppData\Local\Programs\Python\Python312\Lib\site-packages\pip_vendor\pyproject_hooks_in_process_in_process.py", line 353, in main() File "C:\Users\\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\\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\\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\\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\\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\\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\\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py", line 1480, in get_version return get_versions()["version"] ^^^^^^^^^^^^^^ File "C:\Users\\AppData\Local\Temp\pip-install-7qihg3xi\faber_d30072f922a04861bd41f948b1360a21\versioneer.py", line 1412, in get_versions cfg = get_config_from_root(root) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\\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.