Skip to content

Unable to install pendulum with --no-binary :all: (proxy for alpine or such where there aren't wheels) #470

@altendky

Description

@altendky
  • OS version and name: Ubuntu 19.10
  • Pendulum version: 2.1.0

Issue

This is a new error while I was looking back at #458, #454, #457, etc.

altendky@p1:~/repos/pendulum/tmp$ python3.8 -m venv venv
altendky@p1:~/repos/pendulum/tmp$ venv/bin/pip install --upgrade pip setuptools
Collecting pip
  Using cached https://files.pythonhosted.org/packages/54/2e/df11ea7e23e7e761d484ed3740285a34e38548cf2bad2bed3dd5768ec8b9/pip-20.1-py2.py3-none-any.whl
Collecting setuptools
  Using cached https://files.pythonhosted.org/packages/a0/df/635cdb901ee4a8a42ec68e480c49f85f4c59e8816effbf57d9e6ee8b3588/setuptools-46.1.3-py3-none-any.whl
Installing collected packages: pip, setuptools
  Found existing installation: pip 19.2.3
    Uninstalling pip-19.2.3:
      Successfully uninstalled pip-19.2.3
  Found existing installation: setuptools 41.2.0
    Uninstalling setuptools-41.2.0:
      Successfully uninstalled setuptools-41.2.0
Successfully installed pip-20.1 setuptools-46.1.3
altendky@p1:~/repos/pendulum/tmp$ venv/bin/pip install --no-binary :all: pendulum
Collecting pendulum
  Using cached pendulum-2.1.0.tar.gz (80 kB)
  Installing build dependencies ... error
  ERROR: Command errored out with exit status 1:
   command: /home/altendky/repos/pendulum/tmp/venv/bin/python3.8 /home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-z78_ptnj/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=1.0.0b1'
       cwd: None
  Complete output (139 lines):
  Collecting poetry>=1.0.0b1
    Using cached poetry-1.1.0a1.tar.gz (107 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting poetry-core<2.0.0,>=1.0.0a5
    Using cached poetry-core-1.0.0a6.tar.gz (268 kB)
    Installing build dependencies: started
    Installing build dependencies: finished with status 'done'
    Getting requirements to build wheel: started
    Getting requirements to build wheel: finished with status 'done'
      Preparing wheel metadata: started
      Preparing wheel metadata: finished with status 'done'
  Collecting pexpect<5.0.0,>=4.7.0
    Using cached pexpect-4.8.0.tar.gz (157 kB)                                                                                                                                                                                                 
  Collecting cleo<0.9.0,>=0.8.0                                                                                                                                                                                                                
    Downloading cleo-0.8.1.tar.gz (19 kB)                                                                                                                                                                                                      
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'done'                                                                                                                                                                                 
    Getting requirements to build wheel: started                                                                                                                                                                                               
    Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                           
      Preparing wheel metadata: started                                                                                                                                                                                                        
      Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                    
  Collecting clikit<0.6.0,>=0.5.1                                                                                                                                                                                                              
    Using cached clikit-0.5.1.tar.gz (54 kB)                                                                                                                                                                                                   
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'done'                                                                                                                                                                                 
    Getting requirements to build wheel: started                                                                                                                                                                                               
    Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                           
      Preparing wheel metadata: started                                                                                                                                                                                                        
      Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                    
  Collecting html5lib<2.0,>=1.0                                                                                                                                                                                                                
    Using cached html5lib-1.0.1.tar.gz (252 kB)                                                                                                                                                                                                
  Collecting keyring<21.0.0,>=20.0.1; python_version >= "3.5" and python_version < "4.0"                                                                                                                                                       
    Using cached keyring-20.0.1.tar.gz (53 kB)                                                                                                                                                                                                 
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'done'                                                                                                                                                                                 
    Getting requirements to build wheel: started                                                                                                                                                                                               
    Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                           
      Preparing wheel metadata: started                                                                                                                                                                                                        
      Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                    
  Collecting requests-toolbelt<0.9.0,>=0.8.0                                                                                                                                                                                                   
    Using cached requests-toolbelt-0.8.0.tar.gz (196 kB)                                                                                                                                                                                       
  Collecting shellingham<2.0,>=1.1                                                                                                                                                                                                             
    Using cached shellingham-1.3.2.tar.gz (9.7 kB)                                                                                                                                                                                             
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'done'                                                                                                                                                                                 
    Getting requirements to build wheel: started                                                                                                                                                                                               
    Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                           
      Preparing wheel metadata: started                                                                                                                                                                                                        
      Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                    
  Collecting cachy<0.4.0,>=0.3.0                                                                                                                                                                                                               
    Using cached cachy-0.3.0.tar.gz (15 kB)                                                                                                                                                                                                    
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'done'                                                                                                                                                                                 
    Getting requirements to build wheel: started                                                                                                                                                                                               
    Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                           
      Preparing wheel metadata: started                                                                                                                                                                                                        
      Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                    
  Collecting cachecontrol[filecache]<0.13.0,>=0.12.4                                                                                                                                                                                           
    Using cached CacheControl-0.12.6.tar.gz (14 kB)                                                                                                                                                                                            
  Collecting requests<3.0,>=2.18                                                                                                                                                                                                               
    Using cached requests-2.23.0.tar.gz (114 kB)                                                                                                                                                                                               
  Collecting pkginfo<2.0,>=1.4                                                                                                                                                                                                                 
    Using cached pkginfo-1.5.0.1.tar.gz (34 kB)                                                                                                                                                                                                
  Collecting tomlkit<0.6.0,>=0.5.11                                                                                                                                                                                                            
    Using cached tomlkit-0.5.11.tar.gz (68 kB)                                                                                                                                                                                                 
    Installing build dependencies: started                                                                                                                                                                                                     
    Installing build dependencies: finished with status 'error'                                                                                                                                                                                
    ERROR: Command errored out with exit status 2:                                                                                                                                                                                             
     command: /home/altendky/repos/pendulum/tmp/venv/bin/python3.8 /home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-qq1r0h_3/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=0.12a3'                                                                                                                                                   
         cwd: None                                                                                                                                                                                                                             
    Complete output (61 lines):                                                                                                                                                                                                                
    Collecting poetry>=0.12a3                                                                                                                                                                                                                  
      Using cached poetry-1.1.0a1.tar.gz (107 kB)                                                                                                                                                                                              
      Installing build dependencies: started                                                                                                                                                                                                   
      Installing build dependencies: finished with status 'done'                                                                                                                                                                               
      Getting requirements to build wheel: started                                                                                                                                                                                             
      Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                         
        Preparing wheel metadata: started                                                                                                                                                                                                      
        Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                  
    Collecting clikit<0.6.0,>=0.5.1                                                                                                                                                                                                            
      Using cached clikit-0.5.1.tar.gz (54 kB)                                                                                                                                                                                                 
      Installing build dependencies: started                                                                                                                                                                                                   
      Installing build dependencies: finished with status 'done'                                                                                                                                                                               
      Getting requirements to build wheel: started                                                                                                                                                                                             
      Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                         
        Preparing wheel metadata: started                                                                                                                                                                                                      
        Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                  
    Collecting keyring<21.0.0,>=20.0.1; python_version >= "3.5" and python_version < "4.0"                                                                                                                                                     
      Using cached keyring-20.0.1.tar.gz (53 kB)                                                                                                                                                                                               
      Installing build dependencies: started                                                                                                                                                                                                   
      Installing build dependencies: finished with status 'done'                                                                                                                                                                               
      Getting requirements to build wheel: started                                                                                                                                                                                             
      Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                         
        Preparing wheel metadata: started                                                                                                                                                                                                      
        Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                  
    Collecting shellingham<2.0,>=1.1                                                                                                                                                                                                           
      Using cached shellingham-1.3.2.tar.gz (9.7 kB)                                                                                                                                                                                           
      Installing build dependencies: started                                                                                                                                                                                                   
      Installing build dependencies: finished with status 'done'                                                                                                                                                                               
      Getting requirements to build wheel: started                                                                                                                                                                                             
      Getting requirements to build wheel: finished with status 'done'                                                                                                                                                                         
        Preparing wheel metadata: started                                                                                                                                                                                                      
        Preparing wheel metadata: finished with status 'done'                                                                                                                                                                                  
    Collecting requests-toolbelt<0.9.0,>=0.8.0                                                                                                                                                                                                 
      Using cached requests-toolbelt-0.8.0.tar.gz (196 kB)                                                                                                                                                                                     
    Collecting tomlkit<0.6.0,>=0.5.11                                                                                                                                                                                                          
      Using cached tomlkit-0.5.11.tar.gz (68 kB)                                                                                                                                                                                               
    ERROR: Exception:                                                                                                                                                                                                                          
    Traceback (most recent call last):                                                                                                                                                                                                         
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 188, in _main                                                                                                          
        status = self.run(options, args)                                                                                                                                                                                                       
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 185, in wrapper                                                                                                         
        return func(self, options, args)                                                                                                                                                                                                       
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 332, in run                                                                                                            
        requirement_set = resolver.resolve(                                                                                                                                                                                                    
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 179, in resolve                                                                                              
        discovered_reqs.extend(self._resolve_one(requirement_set, req))                                                                                                                                                                        
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 362, in _resolve_one                                                                                         
        abstract_dist = self._get_abstract_dist_for(req_to_install)                                                                                                                                                                            
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/resolution/legacy/resolver.py", line 314, in _get_abstract_dist_for                                                                               
        abstract_dist = self.preparer.prepare_linked_requirement(req)                                                                                                                                                                          
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 430, in prepare_linked_requirement                                                                                   
        abstract_dist = _get_prepared_distribution(                                                                                                                                                                                            
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 84, in _get_prepared_distribution                                                                                    
        with req_tracker.track(req):                                                                                                                                                                                                           
      File "/home/altendky/.pyenv/versions/3.8.2/lib/python3.8/contextlib.py", line 113, in __enter__                                                                                                                                          
        return next(self.gen)                                                                                                                                                                                                                  
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_tracker.py", line 149, in track                                                                                                           
        self.add(req)                                                                                                                                                                                                                          
      File "/home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip/_internal/req/req_tracker.py", line 116, in add                                                                                                             
        raise LookupError(message)                                                                                                                                                                                                             
    LookupError: https://files.pythonhosted.org/packages/53/10/1f1186fcd453d10254450a7e947e92e6dbb0bf1418484aa4da2829be44f9/tomlkit-0.5.11.tar.gz#sha256=f044eda25647882e5ef22b43a1688fb6ab12af2fc50e8456cdfc751c873101cf (from https://pypi.org/simple/tomlkit/) (requires-python:>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*) is already being built: tomlkit<0.6.0,>=0.5.11 from https://files.pythonhosted.org/packages/53/10/1f1186fcd453d10254450a7e947e92e6dbb0bf1418484aa4da2829be44f9/tomlkit-0.5.11.tar.gz#sha256=f044eda25647882e5ef22b43a1688fb6ab12af2fc50e8456cdfc751c873101cf (from poetry>=1.0.0b1)                                                                                                                            
    ----------------------------------------                                                                                                                                                                                                   
  ERROR: Command errored out with exit status 2: /home/altendky/repos/pendulum/tmp/venv/bin/python3.8 /home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-qq1r0h_3/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=0.12a3' Check the logs for full command output.                                                                        
  ----------------------------------------                                                                                                                                                                                                     
ERROR: Command errored out with exit status 1: /home/altendky/repos/pendulum/tmp/venv/bin/python3.8 /home/altendky/repos/pendulum/tmp/venv/lib/python3.8/site-packages/pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-z78_ptnj/overlay --no-warn-script-location --no-binary :all: --only-binary :none: -i https://pypi.org/simple -- 'poetry>=1.0.0b1' 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