nix-community / pypi2nix

Abandoned! Generate Nix expressions for Python packages
194 stars 47 forks source link

Error when running pypi2nix command #443

Open macalinao opened 4 years ago

macalinao commented 4 years ago

Description

<detailed description of error # Traceback

% pypi2nix --version
% pypi2nix -e migra
Collecting migra
  Downloading migra-1.0.1587214226.tar.gz (8.5 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'
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/migra-1.0.1587214226.tar.gz
Collecting six
  Downloading six-1.14.0.tar.gz (33 kB)
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/six-1.14.0.tar.gz
Collecting sqlbag
  Downloading sqlbag-0.1.1579049654.tar.gz (11 kB)
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/sqlbag-0.1.1579049654.tar.gz
Collecting schemainspect>=0.1.1587211753
  Downloading schemainspect-0.1.1587214651.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'
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/schemainspect-0.1.1587214651.tar.gz
Collecting pathlib
  Downloading pathlib-1.0.1.tar.gz (49 kB)
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/pathlib-1.0.1.tar.gz
Collecting sqlalchemy
  Downloading SQLAlchemy-1.3.16.tar.gz (6.1 MB)
  Saved /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/SQLAlchemy-1.3.16.tar.gz
Successfully downloaded migra six sqlbag schemainspect pathlib sqlalchemy
Looking in links: /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download, /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/wheel
Processing /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download/migra-1.0.1587214226.tar.gz
  Installing build dependencies: started
  Installing build dependencies: finished with status 'error'
macalinao commented 4 years ago
 % pypi2nix -e migra
INFO: pypi2nix v2.0.4 running ...
INFO: Downloading wheels and creating wheelhouse ...
INFO: Downloading runtime requirements
INFO: Build wheels of setup and runtime requirements
  ERROR: Command errored out with exit status 1:
   command: /nix/store/fl3ima1nc83whcx9vw3nrgz45mdyf29x-python3-3.7.6-env/bin/python3.7 /nix/store/fl3ima1nc83whcx9vw3nrgz45mdyf29x-python3-3.7.6-env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/pip-build-env-vpf3_z8s/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download --find-links /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/wheel -- 'setuptools>=40.8.0' wheel
       cwd: None
  Complete output (3 lines):
  Looking in links: /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download, /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/wheel
  ERROR: Could not find a version that satisfies the requirement setuptools>=40.8.0 (from versions: none)
  ERROR: No matching distribution found for setuptools>=40.8.0
  ----------------------------------------
ERROR: Command errored out with exit status 1: /nix/store/fl3ima1nc83whcx9vw3nrgz45mdyf29x-python3-3.7.6-env/bin/python3.7 /nix/store/fl3ima1nc83whcx9vw3nrgz45mdyf29x-python3-3.7.6-env/lib/python3.7/site-packages/pip install --ignore-installed --no-user --prefix /private/var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/pip-build-env-vpf3_z8s/overlay --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/download --find-links /var/folders/82/xctdj57111zg9qwf76l7ky_w0000gn/T/tmpk9v_6ft8/wheel -- 'setuptools>=40.8.0' wheel Check the logs for full command output.