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

error during install after flit_core update to 3.7.0 #311

Open
zidagar opened this issue Feb 22, 2022 · 0 comments · May be fixed by #312
Open

error during install after flit_core update to 3.7.0 #311

zidagar opened this issue Feb 22, 2022 · 0 comments · May be fixed by #312

Comments

@zidagar
Copy link

zidagar commented Feb 22, 2022

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.
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

Successfully merging a pull request may close this issue.

1 participant