Skip to content

error during install after flit_core update to 3.7.0 #311

Open
@zidagar

Description

@zidagar
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 <module>
        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 "<frozen importlib._bootstrap_external>", line 790, in exec_module
      File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
      File "/tmp/pip-req-build-47totxmq/ipfshttpclient/__init__.py", line 4, in <module>
        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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions