ipfs-shipyard / ipfs-shipyard/py-ipfs-http-client

error during install after flit_core update to 3.7.0

Open
#311 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
685
Forks
200
PR merge metrics
No merged PRs in 30d

Description

```
pip install git+https://github.com/ipfs-shipyard/py-ipfs-http-client.git
Collecting git+https://github.com/ipfs-shipyard/py-ipfs-http-client.git
Cloning https://github.com/ipfs-shipyard/py-ipfs-http-client.git to /tmp/pip-req-build-47totxmq
Running command git clone -q https://github.com/ipfs-shipyard/py-ipfs-http-client.git /tmp/pip-req-build-47totxmq
Installing build dependencies ... done
Getting requirements to build wheel ... done
Installing backend dependencies ... done
Preparing wheel metadata ... error ERROR: Command errored out with exit status 1:
command: /home/zidagar/venv/bin/python /tmp/tmpsbnxvezl_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3sjgs_pa
cwd: /tmp/pip-req-build-47totxmq
Complete output (20 lines):
Traceback (most recent call last):
File "/tmp/tmpsbnxvezl_in_process.py", line 280, in
main()
File "/tmp/tmpsbnxvezl_in_process.py", line 263, in main
json_out['return_val'] = hook(**hook_input['kwargs'])
File "/tmp/tmpsbnxvezl_in_process.py", line 133, in prepare_metadata_for_build_wheel
return hook(metadata_directory, config_settings)
File "/tmp/pip-build-env-bkl84_p8/overlay/lib/python3.9/site-packages/flit_core/buildapi.py", line 49, in prepare_metadata_for_build_wheel
metadata = make_metadata(module, ini_info)
File "/tmp/pip-build-env-bkl84_p8/overlay/lib/python3.9/site-packages/flit_core/common.py", line 399, in make_metadata
md_dict.update(get_info_from_module(module, ini_info.dynamic_metadata))
File "/tmp/pip-build-env-bkl84_p8/overlay/lib/python3.9/site-packages/flit_core/common.py", line 196, in get_info_from_module
docstring, version = get_docstring_and_version_via_import(target)
File "/tmp/pip-build-env-bkl84_p8/overlay/lib/python3.9/site-packages/flit_core/common.py", line 171, in get_docstring_and_version_via_import
spec.loader.exec_module(m)
File "", line 790, in exec_module
File "", line 228, in _call_with_frames_removed
File "/tmp/pip-req-build-47totxmq/ipfshttpclient/__init__.py", line 4, in
from .version import __version__
ModuleNotFoundError: No module named 'flit_core.dummy'
----------------------------------------
WARNING: Discarding git+https://github.com/ipfs-shipyard/py-ipfs-http-client.git. Command errored out with exit status 1: /home/zidagar/venv/bin/python /tmp/tmpsbnxvezl_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3sjgs_pa Check the logs
for full command output.
ERROR: Command errored out with exit status 1: /home/zidagar/venv/bin/python /tmp/tmpsbnxvezl_in_process.py prepare_metadata_for_build_wheel /tmp/tmp3sjgs_pa Check the logs for full command output.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.