nix-community / pypi2nix

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

Fails to build aiokafka #403

Open timbess opened 4 years ago

timbess commented 4 years ago

I'm new to pypi2nix and nix, so it's possible I'm fucking something up here.

Host

[nix-shell:~/src/api]$ sudo nix-channel --list
nixos https://nixos.org/channels/nixos-19.09
unstable https://nixos.org/channels/nixos-unstable

[nix-shell:~/src/api]$ pypi2nix --version
2.0.2

Requirements File

# Flask
Flask==1.1.1
Flask-SQLAlchemy==2.4.1
Flask-Caching==1.7.2
Flask-Marshmallow==0.10.1
Flask-Admin==1.5.4
Flask-RESTful==0.3.7

# Auth
Flask-JWT-Extended==3.24.1

# DB
psycopg2-binary==2.8.4
SQLAlchemy==1.3.10
marshmallow==3.2.1
marshmallow-sqlalchemy==0.19.0
Flask-Migrate==2.5.2

# Generating from existing schema:
# sqlacodegen==2.1.0
# flask-sqlacodegen
# CMD: flask-sqlacodegen postgresql://postgres:postgres@localhost:5432/postgres

# Util
jmespath==0.9.4
python-dotenv==0.7.1

# Integration
jira==2.0.0
ipython>=4.0.0

# Jobs/Queue
faust==1.9.0

Steps to produce bug

$ pypi2nix -V python36 -r requirements.txt --extra-build-inputs 'postgresql libffi openssl'
$ nix-shell requirements.nix -A interpreter

Output

these derivations will be built:
  /nix/store/cd3r7x99qbm8pjfxvaj8xhbnrk23x17d-python3.6-aiocontextvars-0.2.2.drv
  /nix/store/04hkfsykb2gmw5cz3qy0v5phbswh63ic-python3.6-mode-4.1.8.drv
  /nix/store/4n50q22nd46k16j3addk7wni1zr1qlvl-python3.6-cryptography-2.8.drv
  /nix/store/7ijl91zr1d1p7rb87k9vgz7jmp35shd1-python3.6-robinhood-aiokafka-1.1.3.drv
  /nix/store/j7axllkxzmypm9b6zmjg5sm7id5ndkf1-python3.6-yarl-1.4.2.drv
  /nix/store/vvwsbc97lcvg8pijg0ci7zjncwhh13c2-python3.6-aiohttp-3.6.2.drv
  /nix/store/vkpbpnjiaqwlfsf1n7yjy2djr5yh1ijp-python3.6-aiohttp-cors-0.7.0.drv
  /nix/store/62y9pjmms7r3na6xd692ya4crqnd7h2h-python3.6-faust-1.9.0.drv
  /nix/store/dhmxdnyxcwv3wxqbs3kds1y190vbsgp6-python3.6-docutils-0.15.2.drv
  /nix/store/qj4sc8m31j3jxrcxyqy4mxxilpbxach8-python3.6-flit-2.1.0.drv
  /nix/store/v29zbyfcf9v5ky1hrvc66bxk6m320ha7-python3.6-ptyprocess-0.6.0.drv
  /nix/store/bblg7i0pk496yda8b1qc4v6jna9swric-python3.6-pexpect-4.7.0.drv
  /nix/store/p8pp6f3m6bhz03dfhv8mz4sj5y09sg54-python3.6-jira-2.0.0.drv
  /nix/store/rss2dxd1400han06l6hy1bgg2yj8fv2p-python3.6-ipython-7.11.1.drv
building '/nix/store/cd3r7x99qbm8pjfxvaj8xhbnrk23x17d-python3.6-aiocontextvars-0.2.2.drv'...
building '/nix/store/4n50q22nd46k16j3addk7wni1zr1qlvl-python3.6-cryptography-2.8.drv'...
building '/nix/store/dhmxdnyxcwv3wxqbs3kds1y190vbsgp6-python3.6-docutils-0.15.2.drv'...
building '/nix/store/p8pp6f3m6bhz03dfhv8mz4sj5y09sg54-python3.6-jira-2.0.0.drv'...
building '/nix/store/7ijl91zr1d1p7rb87k9vgz7jmp35shd1-python3.6-robinhood-aiokafka-1.1.3.drv'...
building '/nix/store/j7axllkxzmypm9b6zmjg5sm7id5ndkf1-python3.6-yarl-1.4.2.drv'...
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
unpacking sources
unpacking source archive /nix/store/facnjmsvpxzx1dckhgd72c2llag7plbh-aiocontextvars-0.2.2.tar.gz
source root is aiocontextvars-0.2.2
setting SOURCE_DATE_EPOCH to timestamp 1554763231 of file aiocontextvars-0.2.2/setup.cfg
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing pip-build-hook
Using pipBuildPhase
Using pipShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
unpacking sources
unpacking source archive /nix/store/fr0zwf8ywhcim6ab7apkqbmy268n7vp2-cryptography-2.8.tar.gz
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
source root is cryptography-2.8
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
patching sources
configuring
unpacking sources
unpacking source archive /nix/store/2mmw1pgr7w5n9m0c953jlpv3x1nsszyd-docutils-0.15.2.tar.gz
unpacking sources
unpacking source archive /nix/store/w0hxxlbsmyb65df8kvlk46m30r5izpag-jira-2.0.0.tar.gz
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
source root is jira-2.0.0
setting SOURCE_DATE_EPOCH to timestamp 1571317269 of file cryptography-2.8/src/cryptography.egg-info/SOURCES.txt
Sourcing python-catch-conflicts-hook.sh
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing setuptools-build-hook
Using setuptoolsBuildPhase
Using setuptoolsShellHook
Sourcing pip-install-hook
Using pipInstallPhase
Sourcing python-imports-check-hook.sh
Using pythonImportsCheckPhase
patching sources
configuring
no configure script, doing nothing
building
Executing pipBuildPhase
setting SOURCE_DATE_EPOCH to timestamp 1531417429 of file jira-2.0.0/setup.cfg
unpacking sources
unpacking source archive /nix/store/g09jbvwi20pv8mnxd1ka31fxial4j9h6-robinhood-aiokafka-1.1.3.tar.gz
patching sources
configuring
no configure script, doing nothing
building
Creating a wheel...
Executing setuptoolsBuildPhase
source root is docutils-0.15.2
source root is robinhood-aiokafka-1.1.3
unpacking sources
unpacking source archive /nix/store/w4cq68r8n3vwgc5w0yz3h8ba236iyq30-yarl-1.4.2.tar.gz
setting SOURCE_DATE_EPOCH to timestamp 1564480426 of file docutils-0.15.2/setup.cfg
patching sources
configuring
source root is yarl-1.4.2
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
setting SOURCE_DATE_EPOCH to timestamp 1572366956 of file robinhood-aiokafka-1.1.3/setup.cfg
patching sources
configuring
setting SOURCE_DATE_EPOCH to timestamp 1575500124 of file yarl-1.4.2/yarl/_quoting.c
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
WARNING: The directory '/homeless-shelter/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
Processing /build/cryptography-2.8
running bdist_wheel
running build
running build_py
build_py_2to3
creating build
creating build/lib
creating build/lib/docutils
copying docutils/__init__.py -> build/lib/docutils
copying docutils/statemachine.py -> build/lib/docutils
copying docutils/examples.py -> build/lib/docutils
copying docutils/nodes.py -> build/lib/docutils
copying docutils/core.py -> build/lib/docutils
copying docutils/frontend.py -> build/lib/docutils
copying docutils/_compat.py -> build/lib/docutils
copying docutils/io.py -> build/lib/docutils
creating build/lib/docutils/languages
copying docutils/languages/da.py -> build/lib/docutils/languages
copying docutils/languages/ca.py -> build/lib/docutils/languages
copying docutils/languages/__init__.py -> build/lib/docutils/languages
copying docutils/languages/fr.py -> build/lib/docutils/languages
copying docutils/languages/ja.py -> build/lib/docutils/languages
copying docutils/languages/eo.py -> build/lib/docutils/languages
copying docutils/languages/cs.py -> build/lib/docutils/languages
copying docutils/languages/fa.py -> build/lib/docutils/languages
copying docutils/languages/zh_tw.py -> build/lib/docutils/languages
copying docutils/languages/sk.py -> build/lib/docutils/languages
copying docutils/languages/pt_br.py -> build/lib/docutils/languages
copying docutils/languages/nl.py -> build/lib/docutils/languages
copying docutils/languages/es.py -> build/lib/docutils/languages
copying docutils/languages/ru.py -> build/lib/docutils/languages
copying docutils/languages/lt.py -> build/lib/docutils/languages
copying docutils/languages/lv.py -> build/lib/docutils/languages
copying docutils/languages/ko.py -> build/lib/docutils/languages
copying docutils/languages/he.py -> build/lib/docutils/languages
copying docutils/languages/gl.py -> build/lib/docutils/languages
copying docutils/languages/pl.py -> build/lib/docutils/languages
copying docutils/languages/en.py -> build/lib/docutils/languages
copying docutils/languages/zh_cn.py -> build/lib/docutils/languages
copying docutils/languages/de.py -> build/lib/docutils/languages
copying docutils/languages/it.py -> build/lib/docutils/languages
copying docutils/languages/af.py -> build/lib/docutils/languages
copying docutils/languages/fi.py -> build/lib/docutils/languages
copying docutils/languages/sv.py -> build/lib/docutils/languages
creating build/lib/docutils/parsers
copying docutils/parsers/__init__.py -> build/lib/docutils/parsers
copying docutils/parsers/null.py -> build/lib/docutils/parsers
creating build/lib/docutils/parsers/rst
copying docutils/parsers/rst/__init__.py -> build/lib/docutils/parsers/rst
copying docutils/parsers/rst/roles.py -> build/lib/docutils/parsers/rst
copying docutils/parsers/rst/tableparser.py -> build/lib/docutils/parsers/rst
copying docutils/parsers/rst/states.py -> build/lib/docutils/parsers/rst
creating build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/parts.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/__init__.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/references.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/html.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/misc.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/images.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/tables.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/admonitions.py -> build/lib/docutils/parsers/rst/directives
copying docutils/parsers/rst/directives/body.py -> build/lib/docutils/parsers/rst/directives
creating build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/da.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/ca.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/__init__.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/fr.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/ja.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/eo.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/cs.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/fa.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/zh_tw.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/sk.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/pt_br.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/nl.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/es.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/ru.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/lt.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/lv.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/ko.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/he.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/gl.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/pl.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/en.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/zh_cn.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/de.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/it.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/af.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/fi.py -> build/lib/docutils/parsers/rst/languages
copying docutils/parsers/rst/languages/sv.py -> build/lib/docutils/parsers/rst/languages
creating build/lib/docutils/readers
copying docutils/readers/__init__.py -> build/lib/docutils/readers
copying docutils/readers/doctree.py -> build/lib/docutils/readers
copying docutils/readers/standalone.py -> build/lib/docutils/readers
copying docutils/readers/pep.py -> build/lib/docutils/readers
creating build/lib/docutils/transforms
copying docutils/transforms/parts.py -> build/lib/docutils/transforms
copying docutils/transforms/__init__.py -> build/lib/docutils/transforms
copying docutils/transforms/references.py -> build/lib/docutils/transforms
copying docutils/transforms/peps.py -> build/lib/docutils/transforms
copying docutils/transforms/writer_aux.py -> build/lib/docutils/transforms
copying docutils/transforms/universal.py -> build/lib/docutils/transforms
copying docutils/transforms/misc.py -> build/lib/docutils/transforms
copying docutils/transforms/components.py -> build/lib/docutils/transforms
copying docutils/transforms/frontmatter.py -> build/lib/docutils/transforms
creating build/lib/docutils/utils
copying docutils/utils/roman.py -> build/lib/docutils/utils
copying docutils/utils/__init__.py -> build/lib/docutils/utils
copying docutils/utils/error_reporting.py -> build/lib/docutils/utils
copying docutils/utils/smartquotes.py -> build/lib/docutils/utils
copying docutils/utils/punctuation_chars.py -> build/lib/docutils/utils
copying docutils/utils/code_analyzer.py -> build/lib/docutils/utils
copying docutils/utils/urischemes.py -> build/lib/docutils/utils
creating build/lib/docutils/utils/math
copying docutils/utils/math/tex2mathml_extern.py -> build/lib/docutils/utils/math
copying docutils/utils/math/__init__.py -> build/lib/docutils/utils/math
copying docutils/utils/math/math2html.py -> build/lib/docutils/utils/math
copying docutils/utils/math/unichar2tex.py -> build/lib/docutils/utils/math
copying docutils/utils/math/latex2mathml.py -> build/lib/docutils/utils/math
copying docutils/utils/math/tex2unichar.py -> build/lib/docutils/utils/math
creating build/lib/docutils/writers
copying docutils/writers/__init__.py -> build/lib/docutils/writers
copying docutils/writers/_html_base.py -> build/lib/docutils/writers
copying docutils/writers/pseudoxml.py -> build/lib/docutils/writers
copying docutils/writers/null.py -> build/lib/docutils/writers
copying docutils/writers/manpage.py -> build/lib/docutils/writers
copying docutils/writers/docutils_xml.py -> build/lib/docutils/writers
creating build/lib/docutils/writers/html4css1
copying docutils/writers/html4css1/__init__.py -> build/lib/docutils/writers/html4css1
creating build/lib/docutils/writers/html5_polyglot
copying docutils/writers/html5_polyglot/__init__.py -> build/lib/docutils/writers/html5_polyglot
creating build/lib/docutils/writers/pep_html
copying docutils/writers/pep_html/__init__.py -> build/lib/docutils/writers/pep_html
creating build/lib/docutils/writers/s5_html
copying docutils/writers/s5_html/__init__.py -> build/lib/docutils/writers/s5_html
creating build/lib/docutils/writers/latex2e
copying docutils/writers/latex2e/__init__.py -> build/lib/docutils/writers/latex2e
creating build/lib/docutils/writers/xetex
copying docutils/writers/xetex/__init__.py -> build/lib/docutils/writers/xetex
creating build/lib/docutils/writers/odf_odt
copying docutils/writers/odf_odt/__init__.py -> build/lib/docutils/writers/odf_odt
copying docutils/writers/odf_odt/pygmentsformatter.py -> build/lib/docutils/writers/odf_odt
Download error on https://pypi.org/simple/pytest-runner/: [Errno -2] Name or service not known -- Some packages may not be found!
Couldn't find index page for 'pytest-runner' (maybe misspelled?)
Download error on https://pypi.org/simple/: [Errno -2] Name or service not known -- Some packages may not be found!
No local packages or working download links found for pytest-runner
Traceback (most recent call last):
  File "nix_run_setup", line 8, in <module>
    exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\\r\\n', '\\n'), __file__, 'exec'))
  File "setup.py", line 53, in <module>
    setup_requires=setup_requirements,
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/setuptools/__init__.py", line 144, in setup
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/setuptools/__init__.py", line 139, in _install_setup_requires
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/setuptools/dist.py", line 719, in fetch_build_eggs
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/pkg_resources/__init__.py", line 782, in resolve
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/pkg_resources/__init__.py", line 1065, in best_match
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/pkg_resources/__init__.py", line 1077, in obtain
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/setuptools/dist.py", line 786, in fetch_build_egg
  File "/nix/store/ib0912x9z6qmxjj0kgk70v804bfhqvyw-python3.6-setuptools-41.2.0/lib/python3.6/site-packages/setuptools-41.2.0-py3.6.egg/setuptools/command/easy_install.py", line 673, in easy_install
distutils.errors.DistutilsError: Could not find suitable distribution for Requirement.parse('pytest-runner')
Skipping optional fixer: buffer
Skipping optional fixer: idioms
running bdist_wheel
The [wheel] section is deprecated. Use [bdist_wheel] instead.
running build
running build_py
creating build
creating build/lib.linux-x86_64-3.6
creating build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/helpers.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/__init__.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/errors.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/structs.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/cluster.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/conn.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/client.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/util.py -> build/lib.linux-x86_64-3.6/aiokafka
copying aiokafka/abc.py -> build/lib.linux-x86_64-3.6/aiokafka
running egg_info
builder for '/nix/store/cd3r7x99qbm8pjfxvaj8xhbnrk23x17d-python3.6-aiocontextvars-0.2.2.drv' failed with exit code 1
error: build of '/nix/store/04hkfsykb2gmw5cz3qy0v5phbswh63ic-python3.6-mode-4.1.8.drv', '/nix/store/4n50q22nd46k16j3addk7wni1zr1qlvl-python3.6-cryptography-2.8.drv', '/nix/store/62y9pjmms7r3na6xd692ya4crqnd7h2h-python3.6-faust-1.9.0.drv', '/nix/store/7ijl91zr1d1p7rb87k9vgz7jmp35shd1-python3.6-robinhood-aiokafka-1.1.3.drv', '/nix/store/bblg7i0pk496yda8b1qc4v6jna9swric-python3.6-pexpect-4.7.0.drv', '/nix/store/cd3r7x99qbm8pjfxvaj8xhbnrk23x17d-python3.6-aiocontextvars-0.2.2.drv', '/nix/store/dhmxdnyxcwv3wxqbs3kds1y190vbsgp6-python3.6-docutils-0.15.2.drv', '/nix/store/j7axllkxzmypm9b6zmjg5sm7id5ndkf1-python3.6-yarl-1.4.2.drv', '/nix/store/p8pp6f3m6bhz03dfhv8mz4sj5y09sg54-python3.6-jira-2.0.0.drv', '/nix/store/qj4sc8m31j3jxrcxyqy4mxxilpbxach8-python3.6-flit-2.1.0.drv', '/nix/store/rss2dxd1400han06l6hy1bgg2yj8fv2p-python3.6-ipython-7.11.1.drv', '/nix/store/v29zbyfcf9v5ky1hrvc66bxk6m320ha7-python3.6-ptyprocess-0.6.0.drv', '/nix/store/vkpbpnjiaqwlfsf1n7yjy2djr5yh1ijp-python3.6-aiohttp-cors-0.7.0.drv', '/nix/store/vvwsbc97lcvg8pijg0ci7zjncwhh13c2-python3.6-aiohttp-3.6.2.drv' failed
seppeljordan commented 4 years ago

Hi, you are not fucking something up.

The issue arises from the fact that pypi2nix is unable to detect setup_requires-requirements, build time dependencies in plain english, for projects that do not declare them in pyproject.toml or setup.cfg. This is the case for aiocontextvars. You can work around the issue by overriding the specific package manually via the requirements_override.nix mechanism. See the content of intengrationtests/ directory and README.rst for more information. If you have a specific question on how this works, post it here and I try to assist (although I cannot promise a timely reply).

If you feel the open source and have time to spare for the community you take either or both of the following steps:

1) Open a PR at https://github.com/fantix/aiocontextvars that declares build time dependencies in setup.cfg instead of setup.py. This would mean that the issue is solved for everyone, including users of other automation tools.

2) Get involved with maintaining default overrides for this package at https://github.com/nix-community/pypi2nix-overrides . This is a little bit more involved but also appreciated by me and other users of pypi2nix. Open an issue at this project if you are interested.

Please let me know if this helped.