Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
kosenhitatchi opened this issue Nov 8, 2023 · 0 comments

Comments

@kosenhitatchi
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant