Giter VIP home page Giter VIP logo

poetry2nix's People

Contributors

ac130kz avatar adisbladis avatar apeschar avatar asymmetric avatar bouk avatar considerate avatar cpcloud avatar dependabot[bot] avatar gilligan avatar infinisil avatar jhh avatar k900 avatar kiskae avatar l0b0 avatar mic92 avatar nebucatnetzer avatar pegasust avatar picogeyer avatar purcell avatar razielgn avatar rskew avatar semmulder avatar sigprof avatar sireliah avatar sohalt avatar takeda avatar tfc avatar trepetti avatar yajo avatar zimbatm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

poetry2nix's Issues

missing packages for transformers, chardet and pandas

Pandas and Chardet seem to be missing a few dependencies, for example pkgconfig. I started adding overrides but got stuck with setuptools-rust that seems also to be required.

No need for a quick fix, but I thought I'd report in case that you are looking for examples that are failing.

Error message
Processing /build/pandas-1.0.3
    ERROR: Command errored out with exit status 1:
     command: /nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/build/pip-req-build-f4irxmvs/setup.py'"'"'; __file__='"'"'/build/pip-req-build-f4irxmvs/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /build/pip-req-build-f4irxmvs/pip-egg-info
         cwd: /build/pip-req-build-f4irxmvs/
    Complete output (2 lines):
    /bin/sh: pkg-config: not found
    Failed to find sentencepiece pkgconfig
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
    ERROR: Command errored out with exit status 1:
     command: /nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/build/pip-req-build-97ixn3zu/setup.py'"'"'; __file__='"'"'/build/pip-req-build-97ixn3zu/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /build/pip-req-build-97ixn3zu/pip-egg-info
         cwd: /build/pip-req-build-97ixn3zu/
    Complete output (5 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/build/pip-req-build-97ixn3zu/setup.py", line 2, in <module>
        from setuptools_rust import Binding, RustExtension
    ModuleNotFoundError: No module named 'setuptools_rust'
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
commands, pyproject.toml, poetry.lock, shell.nix

Commands

copy the files below in a folder and type nix-shell

pyproject.toml

[tool.poetry]
name = "transformers"
version = "0.1.0"
description = ""
authors = [""]

[tool.poetry.dependencies]
python = "^3.6.1"
flask = "^1.1.2"
flask-restful = "^0.3.8"
flask-cors = "^3.0.8"
transformers = "*"
pandas = "^1.0.3"
numpy = "^1.18.4"
sklearn = "*"
tqdm = "^4.46.0"


[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

poetry.lock file:

[[package]]
category = "main"
description = "A library for parsing ISO 8601 strings."
name = "aniso8601"
optional = false
python-versions = "*"
version = "8.0.0"

[[package]]
category = "main"
description = "Python package for providing Mozilla's CA Bundle."
name = "certifi"
optional = false
python-versions = "*"
version = "2020.4.5.1"

[[package]]
category = "main"
description = "Universal encoding detector for Python 2 and 3"
name = "chardet"
optional = false
python-versions = "*"
version = "3.0.4"

[[package]]
category = "main"
description = "Composable command line interface toolkit"
name = "click"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "7.1.2"

[[package]]
category = "main"
description = "A backport of the dataclasses module for Python 3.6"
marker = "python_version < \"3.7\""
name = "dataclasses"
optional = false
python-versions = "*"
version = "0.6"

[[package]]
category = "main"
description = "A platform independent file lock."
name = "filelock"
optional = false
python-versions = "*"
version = "3.0.12"

[[package]]
category = "main"
description = "A simple framework for building complex web applications."
name = "flask"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "1.1.2"

[package.dependencies]
Jinja2 = ">=2.10.1"
Werkzeug = ">=0.15"
click = ">=5.1"
itsdangerous = ">=0.24"

[package.extras]
dev = ["pytest", "coverage", "tox", "sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet", "sphinx-issues"]
docs = ["sphinx", "pallets-sphinx-themes", "sphinxcontrib-log-cabinet", "sphinx-issues"]
dotenv = ["python-dotenv"]

[[package]]
category = "main"
description = "A Flask extension adding a decorator for CORS support"
name = "flask-cors"
optional = false
python-versions = "*"
version = "3.0.8"

[package.dependencies]
Flask = ">=0.9"
Six = "*"

[[package]]
category = "main"
description = "Simple framework for creating REST APIs"
name = "flask-restful"
optional = false
python-versions = "*"
version = "0.3.8"

[package.dependencies]
Flask = ">=0.8"
aniso8601 = ">=0.82"
pytz = "*"
six = ">=1.3.0"

[package.extras]
docs = ["sphinx"]

[[package]]
category = "main"
description = "Internationalized Domain Names in Applications (IDNA)"
name = "idna"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.9"

[[package]]
category = "main"
description = "Various helpers to pass data to untrusted environments and back."
name = "itsdangerous"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.1.0"

[[package]]
category = "main"
description = "A very fast and expressive template engine."
name = "jinja2"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "2.11.2"

[package.dependencies]
MarkupSafe = ">=0.23"

[package.extras]
i18n = ["Babel (>=0.8)"]

[[package]]
category = "main"
description = "Lightweight pipelining: using Python functions as pipeline jobs."
name = "joblib"
optional = false
python-versions = ">=3.6"
version = "0.15.1"

[[package]]
category = "main"
description = "Safely add untrusted strings to HTML/XML markup."
name = "markupsafe"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "1.1.1"

[[package]]
category = "main"
description = "NumPy is the fundamental package for array computing with Python."
name = "numpy"
optional = false
python-versions = ">=3.5"
version = "1.18.4"

[[package]]
category = "main"
description = "Powerful data structures for data analysis, time series, and statistics"
name = "pandas"
optional = false
python-versions = ">=3.6.1"
version = "1.0.3"

[package.dependencies]
numpy = ">=1.13.3"
python-dateutil = ">=2.6.1"
pytz = ">=2017.2"

[package.extras]
test = ["pytest (>=4.0.2)", "pytest-xdist", "hypothesis (>=3.58)"]

[[package]]
category = "main"
description = "Extensions to the standard Python datetime module"
name = "python-dateutil"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
version = "2.8.1"

[package.dependencies]
six = ">=1.5"

[[package]]
category = "main"
description = "World timezone definitions, modern and historical"
name = "pytz"
optional = false
python-versions = "*"
version = "2020.1"

[[package]]
category = "main"
description = "Alternative regular expression module, to replace re."
name = "regex"
optional = false
python-versions = "*"
version = "2020.5.14"

[[package]]
category = "main"
description = "Python HTTP for Humans."
name = "requests"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "2.23.0"

[package.dependencies]
certifi = ">=2017.4.17"
chardet = ">=3.0.2,<4"
idna = ">=2.5,<3"
urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26"

[package.extras]
security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)"]
socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"]

[[package]]
category = "main"
description = "SacreMoses"
name = "sacremoses"
optional = false
python-versions = "*"
version = "0.0.43"

[package.dependencies]
click = "*"
joblib = "*"
regex = "*"
six = "*"
tqdm = "*"

[[package]]
category = "main"
description = "A set of python modules for machine learning and data mining"
name = "scikit-learn"
optional = false
python-versions = ">=3.6"
version = "0.23.1"

[package.dependencies]
joblib = ">=0.11"
numpy = ">=1.13.3"
scipy = ">=0.19.1"
threadpoolctl = ">=2.0.0"

[package.extras]
alldeps = ["numpy (>=1.13.3)", "scipy (>=0.19.1)"]

[[package]]
category = "main"
description = "SciPy: Scientific Library for Python"
name = "scipy"
optional = false
python-versions = ">=3.5"
version = "1.4.1"

[package.dependencies]
numpy = ">=1.13.3"

[[package]]
category = "main"
description = "SentencePiece python wrapper"
name = "sentencepiece"
optional = false
python-versions = "*"
version = "0.1.91"

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
version = "1.15.0"

[[package]]
category = "main"
description = "A set of python modules for machine learning and data mining"
name = "sklearn"
optional = false
python-versions = "*"
version = "0.0"

[package.dependencies]
scikit-learn = "*"

[[package]]
category = "main"
description = "threadpoolctl"
name = "threadpoolctl"
optional = false
python-versions = ">=3.5"
version = "2.0.0"

[[package]]
category = "main"
description = "Fast and Customizable Tokenizers"
name = "tokenizers"
optional = false
python-versions = "*"
version = "0.7.0"

[package.extras]
testing = ["pytest"]

[[package]]
category = "main"
description = "Fast, Extensible Progress Meter"
name = "tqdm"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*"
version = "4.46.0"

[package.extras]
dev = ["py-make (>=0.1.0)", "twine", "argopt", "pydoc-markdown"]

[[package]]
category = "main"
description = "State-of-the-art Natural Language Processing for TensorFlow 2.0 and PyTorch"
name = "transformers"
optional = false
python-versions = ">=3.6.0"
version = "2.10.0"

[package.dependencies]
filelock = "*"
numpy = "*"
regex = "!=2019.12.17"
requests = "*"
sacremoses = "*"
sentencepiece = "*"
tokenizers = "0.7.0"
tqdm = ">=4.27"

[package.dependencies.dataclasses]
python = "<3.7"
version = "*"

[package.extras]
all = ["pydantic", "uvicorn", "fastapi", "starlette", "tensorflow", "torch"]
dev = ["pytest", "pytest-xdist", "timeout-decorator", "black", "isort", "flake8", "mecab-python3", "scikit-learn", "tensorflow", "torch"]
docs = ["recommonmark", "sphinx", "sphinx-markdown-tables", "sphinx-rtd-theme"]
mecab = ["mecab-python3"]
quality = ["black", "isort", "flake8"]
serving = ["pydantic", "uvicorn", "fastapi", "starlette"]
sklearn = ["scikit-learn"]
testing = ["pytest", "pytest-xdist", "timeout-decorator"]
tf = ["tensorflow", "onnxconverter-common", "keras2onnx"]
tf-cpu = ["tensorflow-cpu", "onnxconverter-common", "keras2onnx"]
torch = ["torch"]

[[package]]
category = "main"
description = "HTTP library with thread-safe connection pooling, file post, and more."
name = "urllib3"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, <4"
version = "1.25.9"

[package.extras]
brotli = ["brotlipy (>=0.6.0)"]
secure = ["certifi", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "pyOpenSSL (>=0.14)", "ipaddress"]
socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"]

[[package]]
category = "main"
description = "The comprehensive WSGI web application library."
name = "werkzeug"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "1.0.1"

[package.extras]
dev = ["pytest", "pytest-timeout", "coverage", "tox", "sphinx", "pallets-sphinx-themes", "sphinx-issues"]
watchdog = ["watchdog"]

[metadata]
content-hash = "bd74852c793acbc43bc7703d6c0c7599349a6bd3f9cb9d082b33b14cbd264db3"
python-versions = "^3.6.1"

[metadata.files]
aniso8601 = [
    {file = "aniso8601-8.0.0-py2.py3-none-any.whl", hash = "sha256:c033f63d028b9a58e3ab0c2c7d0532ab4bfa7452bfc788fbfe3ddabd327b181a"},
    {file = "aniso8601-8.0.0.tar.gz", hash = "sha256:529dcb1f5f26ee0df6c0a1ee84b7b27197c3c50fc3a6321d66c544689237d072"},
]
certifi = [
    {file = "certifi-2020.4.5.1-py2.py3-none-any.whl", hash = "sha256:1d987a998c75633c40847cc966fcf5904906c920a7f17ef374f5aa4282abd304"},
    {file = "certifi-2020.4.5.1.tar.gz", hash = "sha256:51fcb31174be6e6664c5f69e3e1691a2d72a1a12e90f872cbdb1567eb47b6519"},
]
chardet = [
    {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"},
    {file = "chardet-3.0.4.tar.gz", hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"},
]
click = [
    {file = "click-7.1.2-py2.py3-none-any.whl", hash = "sha256:dacca89f4bfadd5de3d7489b7c8a566eee0d3676333fbb50030263894c38c0dc"},
    {file = "click-7.1.2.tar.gz", hash = "sha256:d2b5255c7c6349bc1bd1e59e08cd12acbbd63ce649f2588755783aa94dfb6b1a"},
]
dataclasses = [
    {file = "dataclasses-0.6-py3-none-any.whl", hash = "sha256:454a69d788c7fda44efd71e259be79577822f5e3f53f029a22d08004e951dc9f"},
    {file = "dataclasses-0.6.tar.gz", hash = "sha256:6988bd2b895eef432d562370bb707d540f32f7360ab13da45340101bc2307d84"},
]
filelock = [
    {file = "filelock-3.0.12-py3-none-any.whl", hash = "sha256:929b7d63ec5b7d6b71b0fa5ac14e030b3f70b75747cef1b10da9b879fef15836"},
    {file = "filelock-3.0.12.tar.gz", hash = "sha256:18d82244ee114f543149c66a6e0c14e9c4f8a1044b5cdaadd0f82159d6a6ff59"},
]
flask = [
    {file = "Flask-1.1.2-py2.py3-none-any.whl", hash = "sha256:8a4fdd8936eba2512e9c85df320a37e694c93945b33ef33c89946a340a238557"},
    {file = "Flask-1.1.2.tar.gz", hash = "sha256:4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060"},
]
flask-cors = [
    {file = "Flask-Cors-3.0.8.tar.gz", hash = "sha256:72170423eb4612f0847318afff8c247b38bd516b7737adfc10d1c2cdbb382d16"},
    {file = "Flask_Cors-3.0.8-py2.py3-none-any.whl", hash = "sha256:f4d97201660e6bbcff2d89d082b5b6d31abee04b1b3003ee073a6fd25ad1d69a"},
]
flask-restful = [
    {file = "Flask-RESTful-0.3.8.tar.gz", hash = "sha256:5ea9a5991abf2cb69b4aac19793faac6c032300505b325687d7c305ffaa76915"},
    {file = "Flask_RESTful-0.3.8-py2.py3-none-any.whl", hash = "sha256:d891118b951921f1cec80cabb4db98ea6058a35e6404788f9e70d5b243813ec2"},
]
idna = [
    {file = "idna-2.9-py2.py3-none-any.whl", hash = "sha256:a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa"},
    {file = "idna-2.9.tar.gz", hash = "sha256:7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb"},
]
itsdangerous = [
    {file = "itsdangerous-1.1.0-py2.py3-none-any.whl", hash = "sha256:b12271b2047cb23eeb98c8b5622e2e5c5e9abd9784a153e9d8ef9cb4dd09d749"},
    {file = "itsdangerous-1.1.0.tar.gz", hash = "sha256:321b033d07f2a4136d3ec762eac9f16a10ccd60f53c0c91af90217ace7ba1f19"},
]
jinja2 = [
    {file = "Jinja2-2.11.2-py2.py3-none-any.whl", hash = "sha256:f0a4641d3cf955324a89c04f3d94663aa4d638abe8f733ecd3582848e1c37035"},
    {file = "Jinja2-2.11.2.tar.gz", hash = "sha256:89aab215427ef59c34ad58735269eb58b1a5808103067f7bb9d5836c651b3bb0"},
]
joblib = [
    {file = "joblib-0.15.1-py3-none-any.whl", hash = "sha256:6825784ffda353cc8a1be573118085789e5b5d29401856b35b756645ab5aecb5"},
    {file = "joblib-0.15.1.tar.gz", hash = "sha256:61e49189c84b3c5d99a969d314853f4d1d263316cc694bec17548ebaa9c47b6e"},
]
markupsafe = [
    {file = "MarkupSafe-1.1.1-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:09027a7803a62ca78792ad89403b1b7a73a01c8cb65909cd876f7fcebd79b161"},
    {file = "MarkupSafe-1.1.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:e249096428b3ae81b08327a63a485ad0878de3fb939049038579ac0ef61e17e7"},
    {file = "MarkupSafe-1.1.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:500d4957e52ddc3351cabf489e79c91c17f6e0899158447047588650b5e69183"},
    {file = "MarkupSafe-1.1.1-cp27-cp27m-win32.whl", hash = "sha256:b2051432115498d3562c084a49bba65d97cf251f5a331c64a12ee7e04dacc51b"},
    {file = "MarkupSafe-1.1.1-cp27-cp27m-win_amd64.whl", hash = "sha256:98c7086708b163d425c67c7a91bad6e466bb99d797aa64f965e9d25c12111a5e"},
    {file = "MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:cd5df75523866410809ca100dc9681e301e3c27567cf498077e8551b6d20e42f"},
    {file = "MarkupSafe-1.1.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:43a55c2930bbc139570ac2452adf3d70cdbb3cfe5912c71cdce1c2c6bbd9c5d1"},
    {file = "MarkupSafe-1.1.1-cp34-cp34m-macosx_10_6_intel.whl", hash = "sha256:1027c282dad077d0bae18be6794e6b6b8c91d58ed8a8d89a89d59693b9131db5"},
    {file = "MarkupSafe-1.1.1-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:62fe6c95e3ec8a7fad637b7f3d372c15ec1caa01ab47926cfdf7a75b40e0eac1"},
    {file = "MarkupSafe-1.1.1-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:88e5fcfb52ee7b911e8bb6d6aa2fd21fbecc674eadd44118a9cc3863f938e735"},
    {file = "MarkupSafe-1.1.1-cp34-cp34m-win32.whl", hash = "sha256:ade5e387d2ad0d7ebf59146cc00c8044acbd863725f887353a10df825fc8ae21"},
    {file = "MarkupSafe-1.1.1-cp34-cp34m-win_amd64.whl", hash = "sha256:09c4b7f37d6c648cb13f9230d847adf22f8171b1ccc4d5682398e77f40309235"},
    {file = "MarkupSafe-1.1.1-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:79855e1c5b8da654cf486b830bd42c06e8780cea587384cf6545b7d9ac013a0b"},
    {file = "MarkupSafe-1.1.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:c8716a48d94b06bb3b2524c2b77e055fb313aeb4ea620c8dd03a105574ba704f"},
    {file = "MarkupSafe-1.1.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:7c1699dfe0cf8ff607dbdcc1e9b9af1755371f92a68f706051cc8c37d447c905"},
    {file = "MarkupSafe-1.1.1-cp35-cp35m-win32.whl", hash = "sha256:6dd73240d2af64df90aa7c4e7481e23825ea70af4b4922f8ede5b9e35f78a3b1"},
    {file = "MarkupSafe-1.1.1-cp35-cp35m-win_amd64.whl", hash = "sha256:9add70b36c5666a2ed02b43b335fe19002ee5235efd4b8a89bfcf9005bebac0d"},
    {file = "MarkupSafe-1.1.1-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:24982cc2533820871eba85ba648cd53d8623687ff11cbb805be4ff7b4c971aff"},
    {file = "MarkupSafe-1.1.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:00bc623926325b26bb9605ae9eae8a215691f33cae5df11ca5424f06f2d1f473"},
    {file = "MarkupSafe-1.1.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:717ba8fe3ae9cc0006d7c451f0bb265ee07739daf76355d06366154ee68d221e"},
    {file = "MarkupSafe-1.1.1-cp36-cp36m-win32.whl", hash = "sha256:535f6fc4d397c1563d08b88e485c3496cf5784e927af890fb3c3aac7f933ec66"},
    {file = "MarkupSafe-1.1.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b1282f8c00509d99fef04d8ba936b156d419be841854fe901d8ae224c59f0be5"},
    {file = "MarkupSafe-1.1.1-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:8defac2f2ccd6805ebf65f5eeb132adcf2ab57aa11fdf4c0dd5169a004710e7d"},
    {file = "MarkupSafe-1.1.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:46c99d2de99945ec5cb54f23c8cd5689f6d7177305ebff350a58ce5f8de1669e"},
    {file = "MarkupSafe-1.1.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:ba59edeaa2fc6114428f1637ffff42da1e311e29382d81b339c1817d37ec93c6"},
    {file = "MarkupSafe-1.1.1-cp37-cp37m-win32.whl", hash = "sha256:b00c1de48212e4cc9603895652c5c410df699856a2853135b3967591e4beebc2"},
    {file = "MarkupSafe-1.1.1-cp37-cp37m-win_amd64.whl", hash = "sha256:9bf40443012702a1d2070043cb6291650a0841ece432556f784f004937f0f32c"},
    {file = "MarkupSafe-1.1.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6788b695d50a51edb699cb55e35487e430fa21f1ed838122d722e0ff0ac5ba15"},
    {file = "MarkupSafe-1.1.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:cdb132fc825c38e1aeec2c8aa9338310d29d337bebbd7baa06889d09a60a1fa2"},
    {file = "MarkupSafe-1.1.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:13d3144e1e340870b25e7b10b98d779608c02016d5184cfb9927a9f10c689f42"},
    {file = "MarkupSafe-1.1.1-cp38-cp38-win32.whl", hash = "sha256:596510de112c685489095da617b5bcbbac7dd6384aeebeda4df6025d0256a81b"},
    {file = "MarkupSafe-1.1.1-cp38-cp38-win_amd64.whl", hash = "sha256:e8313f01ba26fbbe36c7be1966a7b7424942f670f38e666995b88d012765b9be"},
    {file = "MarkupSafe-1.1.1.tar.gz", hash = "sha256:29872e92839765e546828bb7754a68c418d927cd064fd4708fab9fe9c8bb116b"},
]
numpy = [
    {file = "numpy-1.18.4-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:efdba339fffb0e80fcc19524e4fdbda2e2b5772ea46720c44eaac28096d60720"},
    {file = "numpy-1.18.4-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:2b573fcf6f9863ce746e4ad00ac18a948978bb3781cffa4305134d31801f3e26"},
    {file = "numpy-1.18.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:3f0dae97e1126f529ebb66f3c63514a0f72a177b90d56e4bce8a0b5def34627a"},
    {file = "numpy-1.18.4-cp35-cp35m-win32.whl", hash = "sha256:dccd380d8e025c867ddcb2f84b439722cf1f23f3a319381eac45fd077dee7170"},
    {file = "numpy-1.18.4-cp35-cp35m-win_amd64.whl", hash = "sha256:02ec9582808c4e48be4e93cd629c855e644882faf704bc2bd6bbf58c08a2a897"},
    {file = "numpy-1.18.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:904b513ab8fbcbdb062bed1ce2f794ab20208a1b01ce9bd90776c6c7e7257032"},
    {file = "numpy-1.18.4-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:e22cd0f72fc931d6abc69dc7764484ee20c6a60b0d0fee9ce0426029b1c1bdae"},
    {file = "numpy-1.18.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2466fbcf23711ebc5daa61d28ced319a6159b260a18839993d871096d66b93f7"},
    {file = "numpy-1.18.4-cp36-cp36m-win32.whl", hash = "sha256:00d7b54c025601e28f468953d065b9b121ddca7fff30bed7be082d3656dd798d"},
    {file = "numpy-1.18.4-cp36-cp36m-win_amd64.whl", hash = "sha256:7d59f21e43bbfd9a10953a7e26b35b6849d888fc5a331fa84a2d9c37bd9fe2a2"},
    {file = "numpy-1.18.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:efb7ac5572c9a57159cf92c508aad9f856f1cb8e8302d7fdb99061dbe52d712c"},
    {file = "numpy-1.18.4-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0e6f72f7bb08f2f350ed4408bb7acdc0daba637e73bce9f5ea2b207039f3af88"},
    {file = "numpy-1.18.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:9933b81fecbe935e6a7dc89cbd2b99fea1bf362f2790daf9422a7bb1dc3c3085"},
    {file = "numpy-1.18.4-cp37-cp37m-win32.whl", hash = "sha256:96dd36f5cdde152fd6977d1bbc0f0561bccffecfde63cd397c8e6033eb66baba"},
    {file = "numpy-1.18.4-cp37-cp37m-win_amd64.whl", hash = "sha256:57aea170fb23b1fd54fa537359d90d383d9bf5937ee54ae8045a723caa5e0961"},
    {file = "numpy-1.18.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ed722aefb0ebffd10b32e67f48e8ac4c5c4cf5d3a785024fdf0e9eb17529cd9d"},
    {file = "numpy-1.18.4-cp38-cp38-manylinux1_i686.whl", hash = "sha256:50fb72bcbc2cf11e066579cb53c4ca8ac0227abb512b6cbc1faa02d1595a2a5d"},
    {file = "numpy-1.18.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:709c2999b6bd36cdaf85cf888d8512da7433529f14a3689d6e37ab5242e7add5"},
    {file = "numpy-1.18.4-cp38-cp38-win32.whl", hash = "sha256:f22273dd6a403ed870207b853a856ff6327d5cbce7a835dfa0645b3fc00273ec"},
    {file = "numpy-1.18.4-cp38-cp38-win_amd64.whl", hash = "sha256:1be2e96314a66f5f1ce7764274327fd4fb9da58584eaff00b5a5221edefee7d6"},
    {file = "numpy-1.18.4.zip", hash = "sha256:bbcc85aaf4cd84ba057decaead058f43191cc0e30d6bc5d44fe336dc3d3f4509"},
]
pandas = [
    {file = "pandas-1.0.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:d234bcf669e8b4d6cbcd99e3ce7a8918414520aeb113e2a81aeb02d0a533d7f7"},
    {file = "pandas-1.0.3-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:ca84a44cf727f211752e91eab2d1c6c1ab0f0540d5636a8382a3af428542826e"},
    {file = "pandas-1.0.3-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:1fa4bae1a6784aa550a1c9e168422798104a85bf9c77a1063ea77ee6f8452e3a"},
    {file = "pandas-1.0.3-cp36-cp36m-win32.whl", hash = "sha256:863c3e4b7ae550749a0bb77fa22e601a36df9d2905afef34a6965bed092ba9e5"},
    {file = "pandas-1.0.3-cp36-cp36m-win_amd64.whl", hash = "sha256:a210c91a02ec5ff05617a298ad6f137b9f6f5771bf31f2d6b6367d7f71486639"},
    {file = "pandas-1.0.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:11c7cb654cd3a0e9c54d81761b5920cdc86b373510d829461d8f2ed6d5905266"},
    {file = "pandas-1.0.3-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:6597df07ea361231e60c00692d8a8099b519ed741c04e65821e632bc9ccb924c"},
    {file = "pandas-1.0.3-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:743bba36e99d4440403beb45a6f4f3a667c090c00394c176092b0b910666189b"},
    {file = "pandas-1.0.3-cp37-cp37m-win32.whl", hash = "sha256:07c1b58936b80eafdfe694ce964ac21567b80a48d972879a359b3ebb2ea76835"},
    {file = "pandas-1.0.3-cp37-cp37m-win_amd64.whl", hash = "sha256:12f492dd840e9db1688126216706aa2d1fcd3f4df68a195f9479272d50054645"},
    {file = "pandas-1.0.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0ebe327fb088df4d06145227a4aa0998e4f80a9e6aed4b61c1f303bdfdf7c722"},
    {file = "pandas-1.0.3-cp38-cp38-manylinux1_i686.whl", hash = "sha256:858a0d890d957ae62338624e4aeaf1de436dba2c2c0772570a686eaca8b4fc85"},
    {file = "pandas-1.0.3-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:387dc7b3c0424327fe3218f81e05fc27832772a5dffbed385013161be58df90b"},
    {file = "pandas-1.0.3-cp38-cp38-win32.whl", hash = "sha256:167a1315367cea6ec6a5e11e791d9604f8e03f95b57ad227409de35cf850c9c5"},
    {file = "pandas-1.0.3-cp38-cp38-win_amd64.whl", hash = "sha256:1a7c56f1df8d5ad8571fa251b864231f26b47b59cbe41aa5c0983d17dbb7a8e4"},
    {file = "pandas-1.0.3.tar.gz", hash = "sha256:32f42e322fb903d0e189a4c10b75ba70d90958cc4f66a1781ed027f1a1d14586"},
]
python-dateutil = [
    {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
    {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
]
pytz = [
    {file = "pytz-2020.1-py2.py3-none-any.whl", hash = "sha256:a494d53b6d39c3c6e44c3bec237336e14305e4f29bbf800b599253057fbb79ed"},
    {file = "pytz-2020.1.tar.gz", hash = "sha256:c35965d010ce31b23eeb663ed3cc8c906275d6be1a34393a1d73a41febf4a048"},
]
regex = [
    {file = "regex-2020.5.14-cp27-cp27m-win32.whl", hash = "sha256:e565569fc28e3ba3e475ec344d87ed3cd8ba2d575335359749298a0899fe122e"},
    {file = "regex-2020.5.14-cp27-cp27m-win_amd64.whl", hash = "sha256:d466967ac8e45244b9dfe302bbe5e3337f8dc4dec8d7d10f5e950d83b140d33a"},
    {file = "regex-2020.5.14-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:27ff7325b297fb6e5ebb70d10437592433601c423f5acf86e5bc1ee2919b9561"},
    {file = "regex-2020.5.14-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ea55b80eb0d1c3f1d8d784264a6764f931e172480a2f1868f2536444c5f01e01"},
    {file = "regex-2020.5.14-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:c9bce6e006fbe771a02bda468ec40ffccbf954803b470a0345ad39c603402577"},
    {file = "regex-2020.5.14-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:d881c2e657c51d89f02ae4c21d9adbef76b8325fe4d5cf0e9ad62f850f3a98fd"},
    {file = "regex-2020.5.14-cp36-cp36m-win32.whl", hash = "sha256:99568f00f7bf820c620f01721485cad230f3fb28f57d8fbf4a7967ec2e446994"},
    {file = "regex-2020.5.14-cp36-cp36m-win_amd64.whl", hash = "sha256:70c14743320a68c5dac7fc5a0f685be63bc2024b062fe2aaccc4acc3d01b14a1"},
    {file = "regex-2020.5.14-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:a7c37f048ec3920783abab99f8f4036561a174f1314302ccfa4e9ad31cb00eb4"},
    {file = "regex-2020.5.14-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:89d76ce33d3266173f5be80bd4efcbd5196cafc34100fdab814f9b228dee0fa4"},
    {file = "regex-2020.5.14-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:51f17abbe973c7673a61863516bdc9c0ef467407a940f39501e786a07406699c"},
    {file = "regex-2020.5.14-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:ce5cc53aa9fbbf6712e92c7cf268274eaff30f6bd12a0754e8133d85a8fb0f5f"},
    {file = "regex-2020.5.14-cp37-cp37m-win32.whl", hash = "sha256:8044d1c085d49673aadb3d7dc20ef5cb5b030c7a4fa253a593dda2eab3059929"},
    {file = "regex-2020.5.14-cp37-cp37m-win_amd64.whl", hash = "sha256:c2062c7d470751b648f1cacc3f54460aebfc261285f14bc6da49c6943bd48bdd"},
    {file = "regex-2020.5.14-cp38-cp38-manylinux1_i686.whl", hash = "sha256:329ba35d711e3428db6b45a53b1b13a0a8ba07cbbcf10bbed291a7da45f106c3"},
    {file = "regex-2020.5.14-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:579ea215c81d18da550b62ff97ee187b99f1b135fd894a13451e00986a080cad"},
    {file = "regex-2020.5.14-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:3a9394197664e35566242686d84dfd264c07b20f93514e2e09d3c2b3ffdf78fe"},
    {file = "regex-2020.5.14-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:ce367d21f33e23a84fb83a641b3834dd7dd8e9318ad8ff677fbfae5915a239f7"},
    {file = "regex-2020.5.14-cp38-cp38-win32.whl", hash = "sha256:1386e75c9d1574f6aa2e4eb5355374c8e55f9aac97e224a8a5a6abded0f9c927"},
    {file = "regex-2020.5.14-cp38-cp38-win_amd64.whl", hash = "sha256:7e61be8a2900897803c293247ef87366d5df86bf701083b6c43119c7c6c99108"},
    {file = "regex-2020.5.14.tar.gz", hash = "sha256:ce450ffbfec93821ab1fea94779a8440e10cf63819be6e176eb1973a6017aff5"},
]
requests = [
    {file = "requests-2.23.0-py2.py3-none-any.whl", hash = "sha256:43999036bfa82904b6af1d99e4882b560e5e2c68e5c4b0aa03b655f3d7d73fee"},
    {file = "requests-2.23.0.tar.gz", hash = "sha256:b3f43d496c6daba4493e7c431722aeb7dbc6288f52a6e04e7b6023b0247817e6"},
]
sacremoses = [
    {file = "sacremoses-0.0.43.tar.gz", hash = "sha256:123c1bf2664351fb05e16f87d3786dbe44a050cfd7b85161c09ad9a63a8e2948"},
]
scikit-learn = [
    {file = "scikit-learn-0.23.1.tar.gz", hash = "sha256:e3fec1c8831f8f93ad85581ca29ca1bb88e2da377fb097cf8322aa89c21bc9b8"},
    {file = "scikit_learn-0.23.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:058d213092de4384710137af1300ed0ff030b8c40459a6c6f73c31ccd274cc39"},
    {file = "scikit_learn-0.23.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:ebe853e6f318f9d8b3b74dd17e553720d35646eff675a69eeaed12fbbbb07daa"},
    {file = "scikit_learn-0.23.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:e9879ba9e64ec3add41bf201e06034162f853652ef4849b361d73b0deb3153ad"},
    {file = "scikit_learn-0.23.1-cp36-cp36m-win32.whl", hash = "sha256:c2fa33d20408b513cf432505c80e6eb4bf4d71434f1ae36680765d4a2c2a16ec"},
    {file = "scikit_learn-0.23.1-cp36-cp36m-win_amd64.whl", hash = "sha256:e585682e37f2faa81ad6cd4472fff646bf2fd0542147bec93697a905db8e6bd2"},
    {file = "scikit_learn-0.23.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:244ca85d6eba17a1e6e8a66ab2f584be6a7784b5f59297e3d7ff8c7983af627c"},
    {file = "scikit_learn-0.23.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:9e04c0811ea92931ee8490d638171b8cb2f21387efcfff526bbc8c2a3da60f1c"},
    {file = "scikit_learn-0.23.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:0e7b55f73b35537ecd0d19df29dd39aa9e076dba78f3507b8136c819d84611fd"},
    {file = "scikit_learn-0.23.1-cp37-cp37m-win32.whl", hash = "sha256:bded94236e16774385202cafd26190ce96db18e4dc21e99473848c61e4fdc400"},
    {file = "scikit_learn-0.23.1-cp37-cp37m-win_amd64.whl", hash = "sha256:04799686060ecbf8992f26a35be1d99e981894c8c7860c1365cda4200f954a16"},
    {file = "scikit_learn-0.23.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:0c3464e46ef8bd4f1bfa5c009648c6449412c8f7e9b3fc0c9e3d800139c48827"},
    {file = "scikit_learn-0.23.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:93f56abd316d131645559ec0ab4f45e3391c2ccdd4eadaa4912f4c1e0a6f2c96"},
    {file = "scikit_learn-0.23.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:3e6e92b495eee193a8fa12a230c9b7976ea0fc1263719338e35c986ea1e42cff"},
    {file = "scikit_learn-0.23.1-cp38-cp38-win32.whl", hash = "sha256:5bcea4d6ee431c814261117281363208408aa4e665633655895feb059021aca6"},
    {file = "scikit_learn-0.23.1-cp38-cp38-win_amd64.whl", hash = "sha256:16feae4361be6b299d4d08df5a30956b4bfc8eadf173fe9258f6d59630f851d4"},
]
scipy = [
    {file = "scipy-1.4.1-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:c5cac0c0387272ee0e789e94a570ac51deb01c796b37fb2aad1fb13f85e2f97d"},
    {file = "scipy-1.4.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:a144811318853a23d32a07bc7fd5561ff0cac5da643d96ed94a4ffe967d89672"},
    {file = "scipy-1.4.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:71eb180f22c49066f25d6df16f8709f215723317cc951d99e54dc88020ea57be"},
    {file = "scipy-1.4.1-cp35-cp35m-win32.whl", hash = "sha256:770254a280d741dd3436919d47e35712fb081a6ff8bafc0f319382b954b77802"},
    {file = "scipy-1.4.1-cp35-cp35m-win_amd64.whl", hash = "sha256:a1aae70d52d0b074d8121333bc807a485f9f1e6a69742010b33780df2e60cfe0"},
    {file = "scipy-1.4.1-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:bb517872058a1f087c4528e7429b4a44533a902644987e7b2fe35ecc223bc408"},
    {file = "scipy-1.4.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:dba8306f6da99e37ea08c08fef6e274b5bf8567bb094d1dbe86a20e532aca088"},
    {file = "scipy-1.4.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:386086e2972ed2db17cebf88610aab7d7f6e2c0ca30042dc9a89cf18dcc363fa"},
    {file = "scipy-1.4.1-cp36-cp36m-win32.whl", hash = "sha256:8d3bc3993b8e4be7eade6dcc6fd59a412d96d3a33fa42b0fa45dc9e24495ede9"},
    {file = "scipy-1.4.1-cp36-cp36m-win_amd64.whl", hash = "sha256:dc60bb302f48acf6da8ca4444cfa17d52c63c5415302a9ee77b3b21618090521"},
    {file = "scipy-1.4.1-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:787cc50cab3020a865640aba3485e9fbd161d4d3b0d03a967df1a2881320512d"},
    {file = "scipy-1.4.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0902a620a381f101e184a958459b36d3ee50f5effd186db76e131cbefcbb96f7"},
    {file = "scipy-1.4.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:00af72998a46c25bdb5824d2b729e7dabec0c765f9deb0b504f928591f5ff9d4"},
    {file = "scipy-1.4.1-cp37-cp37m-win32.whl", hash = "sha256:9508a7c628a165c2c835f2497837bf6ac80eb25291055f56c129df3c943cbaf8"},
    {file = "scipy-1.4.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a2d6df9eb074af7f08866598e4ef068a2b310d98f87dc23bd1b90ec7bdcec802"},
    {file = "scipy-1.4.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3092857f36b690a321a662fe5496cb816a7f4eecd875e1d36793d92d3f884073"},
    {file = "scipy-1.4.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:8a07760d5c7f3a92e440ad3aedcc98891e915ce857664282ae3c0220f3301eb6"},
    {file = "scipy-1.4.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:1e3190466d669d658233e8a583b854f6386dd62d655539b77b3fa25bfb2abb70"},
    {file = "scipy-1.4.1-cp38-cp38-win32.whl", hash = "sha256:cc971a82ea1170e677443108703a2ec9ff0f70752258d0e9f5433d00dda01f59"},
    {file = "scipy-1.4.1-cp38-cp38-win_amd64.whl", hash = "sha256:2cce3f9847a1a51019e8c5b47620da93950e58ebc611f13e0d11f4980ca5fecb"},
    {file = "scipy-1.4.1.tar.gz", hash = "sha256:dee1bbf3a6c8f73b6b218cb28eed8dd13347ea2f87d572ce19b289d6fd3fbc59"},
]
sentencepiece = [
    {file = "sentencepiece-0.1.91-cp27-cp27m-macosx_10_6_x86_64.whl", hash = "sha256:f2f109514b28326d5c6d69b43ba6b08e6fedf8fc77416b9a9c16be55c9ac138d"},
    {file = "sentencepiece-0.1.91-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:b3643634e043fd7a5914d51d7dc60003dad0af976b8496df0406a487b0b83a8e"},
    {file = "sentencepiece-0.1.91-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:21a2e9f476f0c3e45da1e5da00b7ec5241bbddb524bd7b1b3d61b1bcbc05efa6"},
    {file = "sentencepiece-0.1.91-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:30224b1f77af9cef79ffe3a40ed0e536be44df75c066f771e9e769b48379bd98"},
    {file = "sentencepiece-0.1.91-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:679fcdd01e01d990950a46a814210445f2202260d092d3b69f9826739d8aed2b"},
    {file = "sentencepiece-0.1.91-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:123ac26429025b3153f8bae53d044e9dd29539e888dcb9f39a4982e6daf9dbe9"},
    {file = "sentencepiece-0.1.91-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:53f4a91c8a6b55a75caad70d9f34bf331a576e9708c549729b06412c857aacb9"},
    {file = "sentencepiece-0.1.91-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:f1c0cf36fcff4a3ea8925babc3ed7f5f3d58628e062b24f9fad92c400bc9210c"},
    {file = "sentencepiece-0.1.91-cp36-cp36m-macosx_10_6_x86_64.whl", hash = "sha256:c0b01bb8ab3b62aba76d6b0851a1d0fcf5df5ef5616f114ea85917d8ab5f59db"},
    {file = "sentencepiece-0.1.91-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:70b4164c98dba43246a068c848fab5ac9966b5bcd731ee4cb9bcf6ae976389a4"},
    {file = "sentencepiece-0.1.91-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b858805ac3c6d92e5454a89476b1f9e0505e1511276cd258d5a70776c70374f1"},
    {file = "sentencepiece-0.1.91-cp36-cp36m-win32.whl", hash = "sha256:8bbb9173168d53165ba00172a5db7734e4826c30e6ffc4b3f8a6098713f6111d"},
    {file = "sentencepiece-0.1.91-cp36-cp36m-win_amd64.whl", hash = "sha256:51c25d504beeef4c697b8f55e2baf7c6b31733a190ff9b983a6db57faa59d3d8"},
    {file = "sentencepiece-0.1.91-cp37-cp37m-macosx_10_6_x86_64.whl", hash = "sha256:a04218f1b93b5669f3cee1dc8d6c397428e2f6af8843a20ddb2b629f6a86e632"},
    {file = "sentencepiece-0.1.91-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:7fcda06cab76136346dd279268664c65f0b66bb2147ceb97e2cec25b426e8210"},
    {file = "sentencepiece-0.1.91-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:3b4175a9d883a3b27436d51cb82794e3a62d0955bb36cc96d5d7932095c13135"},
    {file = "sentencepiece-0.1.91-cp37-cp37m-win32.whl", hash = "sha256:f0b383de68604195fe806072e7c8837eb5156455dfdb18fd26a9a94df3f57d42"},
    {file = "sentencepiece-0.1.91-cp37-cp37m-win_amd64.whl", hash = "sha256:82d819eb1e997b39424d7422aa885d2ef514f754dd2935a4f4fcfdedeee955c6"},
    {file = "sentencepiece-0.1.91-cp38-cp38-macosx_10_6_x86_64.whl", hash = "sha256:f331fd58f438d5d5476d189e9a4944c84f7e4b027533809292b9c119b58e43b8"},
    {file = "sentencepiece-0.1.91-cp38-cp38-manylinux1_i686.whl", hash = "sha256:79ad2f82b412859c516b569fb89b5e5c0ceba74d71c8d4b99cc8a2c734f3c79d"},
    {file = "sentencepiece-0.1.91-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:796726d680d6c26f0f4ff213a0f6b1ef790b02071268adf5f449739c1c903f93"},
    {file = "sentencepiece-0.1.91-cp38-cp38-win32.whl", hash = "sha256:9bdff324279359598a516de8413fd2c62bc3c9c8f569f4431829599fbe57e417"},
    {file = "sentencepiece-0.1.91-cp38-cp38-win_amd64.whl", hash = "sha256:c2a004470d388272d6c17ca160ef73d6ea1ffcddc345771d817ece5c85d85dcb"},
    {file = "sentencepiece-0.1.91.tar.gz", hash = "sha256:f9700cf607ea064d9fad34c751fbf49953dcc56fe68c54b277481aa0aec5c18f"},
]
six = [
    {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"},
    {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"},
]
sklearn = [
    {file = "sklearn-0.0.tar.gz", hash = "sha256:e23001573aa194b834122d2b9562459bf5ae494a2d59ca6b8aa22c85a44c0e31"},
]
threadpoolctl = [
    {file = "threadpoolctl-2.0.0-py3-none-any.whl", hash = "sha256:72eed211bb25feecc3244c5c26b015579777a466589e9b854c66f18d6deaeee1"},
    {file = "threadpoolctl-2.0.0.tar.gz", hash = "sha256:48b3e3e9ee079d6b5295c65cbe255b36a3026afc6dde3fb49c085cd0c004bbcf"},
]
tokenizers = [
    {file = "tokenizers-0.7.0-cp35-cp35m-macosx_10_10_x86_64.whl", hash = "sha256:c9edc043bc14462faf8b261b528661718e9c4f0b8424fb25be71cae26187432a"},
    {file = "tokenizers-0.7.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:892dac477347c65d65eef5092e9aa0c02df17f1a6d2113380277505bc6ae1db4"},
    {file = "tokenizers-0.7.0-cp35-cp35m-win32.whl", hash = "sha256:aa7d429b4c2978e1b2265a9fdbf27fe723f3acb9d58cebd6756ef20584d2d5e5"},
    {file = "tokenizers-0.7.0-cp35-cp35m-win_amd64.whl", hash = "sha256:8f4203683b66369defa6fdd91ba07828715537ff31258dab171e4029bf54f7c9"},
    {file = "tokenizers-0.7.0-cp36-cp36m-macosx_10_10_x86_64.whl", hash = "sha256:e0faee1f08daaec0f9220967c8209b19e147e6eda55a22bea8fcc6f06aee95c7"},
    {file = "tokenizers-0.7.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:17793599e4a0bb71730e366ecef47e4c0df2a79b4418d7557bf3af6cb995f8ba"},
    {file = "tokenizers-0.7.0-cp36-cp36m-win32.whl", hash = "sha256:fe3c994d2a993d32effcaf8600bf6ac29ef7de84519669f0efadb54f94d411a3"},
    {file = "tokenizers-0.7.0-cp36-cp36m-win_amd64.whl", hash = "sha256:83da606afe2a5e7941a25490d841924750d55d7667284d2d2ded2de520181790"},
    {file = "tokenizers-0.7.0-cp37-cp37m-macosx_10_10_x86_64.whl", hash = "sha256:1b28e8ec30eea03b0d9bf7fe80c6fd240b7e5b76e7ec9542af0a48ffc1853a16"},
    {file = "tokenizers-0.7.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:695657cddabb9bb08444ba1bed822302039983c63d046e93760eb993739c3c10"},
    {file = "tokenizers-0.7.0-cp37-cp37m-win32.whl", hash = "sha256:a0abe20c50ca0760a895da33f1b55d452f21e55bddc418007d92d8665e86feb7"},
    {file = "tokenizers-0.7.0-cp37-cp37m-win_amd64.whl", hash = "sha256:b319d70f50c851ec4ae9a3d5c4eae1e3f74f8d720d61bc3d430915868a06a4a8"},
    {file = "tokenizers-0.7.0-cp38-cp38-macosx_10_10_x86_64.whl", hash = "sha256:f22ea3a79daf3705d9a8446821b3e202e8cc79467df7db75875d1fbb85d7c852"},
    {file = "tokenizers-0.7.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2b101a752ee6147c4a5e08daa9c7d617259483fd4b0c70e7dfddfcadc8a73d2f"},
    {file = "tokenizers-0.7.0-cp38-cp38-win32.whl", hash = "sha256:03ad125d12e69a343763dbb160f43d953513cb32c5e11674c09431133ebcfd8b"},
    {file = "tokenizers-0.7.0-cp38-cp38-win_amd64.whl", hash = "sha256:40520c333c1d602d0f99602bfeecd8f734188fc4360268ec7eb4d8b8570c6e95"},
    {file = "tokenizers-0.7.0.tar.gz", hash = "sha256:a3cb9be31e3be381ab3f9e9ea7f96d4ba83588c40c44fe63b535b7341cdf74fe"},
]
tqdm = [
    {file = "tqdm-4.46.0-py2.py3-none-any.whl", hash = "sha256:acdafb20f51637ca3954150d0405ff1a7edde0ff19e38fb99a80a66210d2a28f"},
    {file = "tqdm-4.46.0.tar.gz", hash = "sha256:4733c4a10d0f2a4d098d801464bdaf5240c7dadd2a7fde4ee93b0a0efd9fb25e"},
]
transformers = [
    {file = "transformers-2.10.0-py3-none-any.whl", hash = "sha256:dd06c2e684655d19d60b975be20cd4a924f6c1b02439db0aa5fafce5a39aed5a"},
    {file = "transformers-2.10.0.tar.gz", hash = "sha256:ad50a5d99e9379cc46a830b96d6c75f6ee058d141b34a2626ee07031a51a94c3"},
]
urllib3 = [
    {file = "urllib3-1.25.9-py2.py3-none-any.whl", hash = "sha256:88206b0eb87e6d677d424843ac5209e3fb9d0190d0ee169599165ec25e9d9115"},
    {file = "urllib3-1.25.9.tar.gz", hash = "sha256:3018294ebefce6572a474f0604c2021e33b3fd8006ecd11d62107a5d2a963527"},
]
werkzeug = [
    {file = "Werkzeug-1.0.1-py2.py3-none-any.whl", hash = "sha256:2de2a5db0baeae7b2d2664949077c2ac63fbd16d98da0ff71837f7d1dea3fd43"},
    {file = "Werkzeug-1.0.1.tar.gz", hash = "sha256:6c80b1e5ad3665290ea39320b91e1be1e0d5f60652b964a3070216de83d2e47c"},
]

shell.nix

{ pkgs ? import (builtins.fetchTarball {
  name = "nixos-unstable-2020-05-19";
    url = "https://github.com/nixos/nixpkgs/archive/84cf00f98031e93f389f1eb93c4a7374a33cc0a9.tar.gz";
  }) {}
}:

let
  poetry2nix = import (builtins.fetchGit {
    url = "https://github.com/nix-community/poetry2nix";
    rev = "8d2251bde8f6980e0d0a5743f4313ed648968e34";
  }) {pkgs=pkgs;};

  python = poetry2nix.mkPoetryEnv {
    projectDir = ./.;
  };
in
  pkgs.mkShell {
    name="transformers";
    buildInputs = with pkgs; [
      python
    ];
  }

Collision between two packages

shell.nix (based off the branch that fixes #44 )

with (import (builtins.fetchGit {
    name = "my-project";
    url = https://github.com/nixos/nixpkgs/;
    ref = "refs/heads/master";
    rev = "6f545410b593a0d1b78806aa878f95ee3f3d4a4a";
}) {});

let src = builtins.fetchGit {
    name = "poetry-nix";
    url = https://github.com/max-arrival/poetry2nix/;
    ref = "refs/heads/uvloop-overrides";
    rev = "e5022aadc818aaabfded6eb996fa2d95a6aa6e68";
}; in with import "${src.outPath}/overlay.nix" pkgs pkgs;

let
    pythonEnv = poetry2nix.mkPoetryEnv {
        poetrylock = ./poetry.lock;
    };
in

mkShell {
    name = "my-project";

    buildInputs = [
        python37Full
        python37Packages.virtualenv
        pythonEnv
        poetry
        # usually required as python runtime dependencies
        ncurses
        libxml2
        libxslt
        libzip
        zlib
        cacert
    ];
    shellHook = ''
        # Set SOURCE_DATE_EPOCH so that we can use python wheels.
        # This compromises immutability, but is what we need
        # to allow package installs from PyPI
        export SOURCE_DATE_EPOCH=$(date +%s)

        VENV_DIR=$PWD/.venv

        export PATH=$VENV_DIR/bin:$PATH
        export LANG=en_US.UTF-8

        # https://python-poetry.org/docs/configuration/
        export POETRY_VIRTUALENVS_CREATE=false
        export PIP_CACHE_DIR=$PWD/.local/pip-cache

        # Dirty fix for Linux systems
        # https://nixos.wiki/wiki/Packaging/Quirks_and_Caveats
        export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:$LD_LIBRARY_PATH
    '';

}

poetry.lock

[[package]]
category = "main"
description = "Composable command line interface toolkit"
name = "click"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "7.0"

[[package]]
category = "main"
description = "A pure-Python, bring-your-own-I/O implementation of HTTP/1.1"
name = "h11"
optional = false
python-versions = "*"
version = "0.9.0"

[[package]]
category = "main"
description = "A collection of framework independent HTTP protocol utils."
marker = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"pypy\""
name = "httptools"
optional = false
python-versions = "*"
version = "0.0.13"

[[package]]
category = "main"
description = "The little ASGI library that shines."
name = "starlette"
optional = false
python-versions = ">=3.6"
version = "0.13.0"

[package.extras]
full = ["aiofiles", "graphene", "itsdangerous", "jinja2", "python-multipart", "pyyaml", "requests", "ujson"]

[[package]]
category = "main"
description = "The lightning-fast ASGI server."
name = "uvicorn"
optional = false
python-versions = "*"
version = "0.11.2"

[package.dependencies]
click = ">=7.0.0,<8.0.0"
h11 = ">=0.8,<0.10"
httptools = "0.0.13"
uvloop = ">=0.14.0"
websockets = ">=8.0.0,<9.0.0"

[[package]]
category = "main"
description = "Fast implementation of asyncio event loop on top of libuv"
marker = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"pypy\""
name = "uvloop"
optional = false
python-versions = "*"
version = "0.14.0"

[[package]]
category = "main"
description = "An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
name = "websockets"
optional = false
python-versions = ">=3.6.1"
version = "8.1"

[metadata]
content-hash = "078f7cc55590c48aac4823b6908dbd674b3b0957b5ac36b840bfec85ddc6c66e"
python-versions = "^3.7"

[metadata.files]
click = [
    {file = "Click-7.0-py2.py3-none-any.whl", hash = "sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13"},
    {file = "Click-7.0.tar.gz", hash = "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"},
]
h11 = [
    {file = "h11-0.9.0-py2.py3-none-any.whl", hash = "sha256:4bc6d6a1238b7615b266ada57e0618568066f57dd6fa967d1290ec9309b2f2f1"},
    {file = "h11-0.9.0.tar.gz", hash = "sha256:33d4bca7be0fa039f4e84d50ab00531047e53d6ee8ffbc83501ea602c169cae1"},
]
httptools = [
    {file = "httptools-0.0.13.tar.gz", hash = "sha256:e00cbd7ba01ff748e494248183abc6e153f49181169d8a3d41bb49132ca01dfc"},
]
starlette = [
    {file = "starlette-0.13.0.tar.gz", hash = "sha256:6bd414152d40d000ccbf6aa40ed89718b40868366a0f69fb83034f416303acef"},
]
uvicorn = [
    {file = "uvicorn-0.11.2-py3-none-any.whl", hash = "sha256:4a35496af38e4deeec911f4af99b0bace19669c986210b0a950ad2b7bfd5737a"},
    {file = "uvicorn-0.11.2.tar.gz", hash = "sha256:11f397855c7f35dc034a3d288883382a4c16afdfe6675b70896f55bd6051da64"},
]
uvloop = [
    {file = "uvloop-0.14.0-cp35-cp35m-macosx_10_11_x86_64.whl", hash = "sha256:08b109f0213af392150e2fe6f81d33261bb5ce968a288eb698aad4f46eb711bd"},
    {file = "uvloop-0.14.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:4544dcf77d74f3a84f03dd6278174575c44c67d7165d4c42c71db3fdc3860726"},
    {file = "uvloop-0.14.0-cp36-cp36m-macosx_10_11_x86_64.whl", hash = "sha256:b4f591aa4b3fa7f32fb51e2ee9fea1b495eb75b0b3c8d0ca52514ad675ae63f7"},
    {file = "uvloop-0.14.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:f07909cd9fc08c52d294b1570bba92186181ca01fe3dc9ffba68955273dd7362"},
    {file = "uvloop-0.14.0-cp37-cp37m-macosx_10_11_x86_64.whl", hash = "sha256:afd5513c0ae414ec71d24f6f123614a80f3d27ca655a4fcf6cabe50994cc1891"},
    {file = "uvloop-0.14.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:e7514d7a48c063226b7d06617cbb12a14278d4323a065a8d46a7962686ce2e95"},
    {file = "uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl", hash = "sha256:bcac356d62edd330080aed082e78d4b580ff260a677508718f88016333e2c9c5"},
    {file = "uvloop-0.14.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:4315d2ec3ca393dd5bc0b0089d23101276778c304d42faff5dc4579cb6caef09"},
    {file = "uvloop-0.14.0.tar.gz", hash = "sha256:123ac9c0c7dd71464f58f1b4ee0bbd81285d96cdda8bc3519281b8973e3a461e"},
]
websockets = [
    {file = "websockets-8.1-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:3762791ab8b38948f0c4d281c8b2ddfa99b7e510e46bd8dfa942a5fff621068c"},
    {file = "websockets-8.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:3db87421956f1b0779a7564915875ba774295cc86e81bc671631379371af1170"},
    {file = "websockets-8.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:4f9f7d28ce1d8f1295717c2c25b732c2bc0645db3215cf757551c392177d7cb8"},
    {file = "websockets-8.1-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:295359a2cc78736737dd88c343cd0747546b2174b5e1adc223824bcaf3e164cb"},
    {file = "websockets-8.1-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:1d3f1bf059d04a4e0eb4985a887d49195e15ebabc42364f4eb564b1d065793f5"},
    {file = "websockets-8.1-cp36-cp36m-win32.whl", hash = "sha256:2db62a9142e88535038a6bcfea70ef9447696ea77891aebb730a333a51ed559a"},
    {file = "websockets-8.1-cp36-cp36m-win_amd64.whl", hash = "sha256:0e4fb4de42701340bd2353bb2eee45314651caa6ccee80dbd5f5d5978888fed5"},
    {file = "websockets-8.1-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:9b248ba3dd8a03b1a10b19efe7d4f7fa41d158fdaa95e2cf65af5a7b95a4f989"},
    {file = "websockets-8.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:ce85b06a10fc65e6143518b96d3dca27b081a740bae261c2fb20375801a9d56d"},
    {file = "websockets-8.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:965889d9f0e2a75edd81a07592d0ced54daa5b0785f57dc429c378edbcffe779"},
    {file = "websockets-8.1-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:751a556205d8245ff94aeef23546a1113b1dd4f6e4d102ded66c39b99c2ce6c8"},
    {file = "websockets-8.1-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:3ef56fcc7b1ff90de46ccd5a687bbd13a3180132268c4254fc0fa44ecf4fc422"},
    {file = "websockets-8.1-cp37-cp37m-win32.whl", hash = "sha256:7ff46d441db78241f4c6c27b3868c9ae71473fe03341340d2dfdbe8d79310acc"},
    {file = "websockets-8.1-cp37-cp37m-win_amd64.whl", hash = "sha256:20891f0dddade307ffddf593c733a3fdb6b83e6f9eef85908113e628fa5a8308"},
    {file = "websockets-8.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c1ec8db4fac31850286b7cd3b9c0e1b944204668b8eb721674916d4e28744092"},
    {file = "websockets-8.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:5c01fd846263a75bc8a2b9542606927cfad57e7282965d96b93c387622487485"},
    {file = "websockets-8.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:9bef37ee224e104a413f0780e29adb3e514a5b698aabe0d969a6ba426b8435d1"},
    {file = "websockets-8.1-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:d705f8aeecdf3262379644e4b55107a3b55860eb812b673b28d0fbc347a60c55"},
    {file = "websockets-8.1-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:c8a116feafdb1f84607cb3b14aa1418424ae71fee131642fc568d21423b51824"},
    {file = "websockets-8.1-cp38-cp38-win32.whl", hash = "sha256:e898a0863421650f0bebac8ba40840fc02258ef4714cb7e1fd76b6a6354bda36"},
    {file = "websockets-8.1-cp38-cp38-win_amd64.whl", hash = "sha256:f8a7bff6e8664afc4e6c28b983845c5bc14965030e3fb98789734d416af77c4b"},
    {file = "websockets-8.1.tar.gz", hash = "sha256:5c65d2da8c6bce0fca2528f69f44b2f977e06954c8512a952222cea50dad430f"},
]

The lock is the actual representation of a project consisting of two packages:
pyproject.toml

[tool.poetry]
name = "poetry-exp"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.7"
uvicorn = "^0.11.2"
starlette = "^0.13.0"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

The result:

nix-shell
these derivations will be built:
  /nix/store/1y5xqprg1qzcwk18z6zxa59rdbh5aqvv-python3.7-h11-0.9.0.drv
  /nix/store/z0qdf9dikj14nrsxx0izdhmxf1izbzd4-websockets-8.1.tar.gz.drv
  /nix/store/crc9zk2a3kzwj4y2d2fls32azkxqbqzc-python3.7-websockets-8.1.drv
  /nix/store/sm985cpzkhlqbi24zzb2jsrimxp9sxyg-uvicorn-0.11.2.tar.gz.drv
  /nix/store/11m6riwynl38bg6z7qbg13g0r8n1nrd7-python3.7-uvicorn-0.11.2.drv
  /nix/store/f36kskdgj5r0fl0bg2f5hmfgaq5hllsm-python3.7-starlette-0.13.0.drv
  /nix/store/g9n9im2x53fd2lbbcgwkv14w9vx0vq2c-python3-3.7.6-env.drv
these paths will be fetched (0.13 MiB download, 0.13 MiB unpacked):
  /nix/store/fpl14cgw54akj5wflrm9gz7781grc15f-h11-0.9.0.tar.gz
  /nix/store/h130ncrziywqbv2shxrp73ys0pspnlp0-starlette-0.13.0.tar.gz
copying path '/nix/store/fpl14cgw54akj5wflrm9gz7781grc15f-h11-0.9.0.tar.gz' from 'https://cache.nixos.org'...
copying path '/nix/store/h130ncrziywqbv2shxrp73ys0pspnlp0-starlette-0.13.0.tar.gz' from 'https://cache.nixos.org'...
building '/nix/store/1y5xqprg1qzcwk18z6zxa59rdbh5aqvv-python3.7-h11-0.9.0.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/fpl14cgw54akj5wflrm9gz7781grc15f-h11-0.9.0.tar.gz
source root is h11-0.9.0
setting SOURCE_DATE_EPOCH to timestamp 1557945822 of file h11-0.9.0/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/h11
copying h11/_readers.py -> build/lib/h11
copying h11/_version.py -> build/lib/h11
copying h11/_receivebuffer.py -> build/lib/h11
copying h11/_writers.py -> build/lib/h11
copying h11/__init__.py -> build/lib/h11
copying h11/_abnf.py -> build/lib/h11
copying h11/_state.py -> build/lib/h11
copying h11/_util.py -> build/lib/h11
copying h11/_events.py -> build/lib/h11
copying h11/_headers.py -> build/lib/h11
copying h11/_connection.py -> build/lib/h11
creating build/lib/h11/tests
copying h11/tests/test_against_stdlib_http.py -> build/lib/h11/tests
copying h11/tests/test_connection.py -> build/lib/h11/tests
copying h11/tests/__init__.py -> build/lib/h11/tests
copying h11/tests/test_io.py -> build/lib/h11/tests
copying h11/tests/test_util.py -> build/lib/h11/tests
copying h11/tests/test_state.py -> build/lib/h11/tests
copying h11/tests/test_helpers.py -> build/lib/h11/tests
copying h11/tests/test_receivebuffer.py -> build/lib/h11/tests
copying h11/tests/test_events.py -> build/lib/h11/tests
copying h11/tests/helpers.py -> build/lib/h11/tests
copying h11/tests/test_headers.py -> build/lib/h11/tests
running egg_info
writing h11.egg-info/PKG-INFO
writing dependency_links to h11.egg-info/dependency_links.txt
writing top-level names to h11.egg-info/top_level.txt
reading manifest file 'h11.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'tiny-client-demo.py'
no previously-included directories found matching 'docs/build'
writing manifest file 'h11.egg-info/SOURCES.txt'
creating build/lib/h11/tests/data
copying h11/tests/data/test-file -> build/lib/h11/tests/data
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_readers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_version.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_receivebuffer.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
creating build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_against_stdlib_http.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_connection.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_io.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_util.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_state.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_helpers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_receivebuffer.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_events.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
creating build/bdist.macosx-10.6-x86_64/wheel/h11/tests/data
copying build/lib/h11/tests/data/test-file -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests/data
copying build/lib/h11/tests/helpers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/tests/test_headers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11/tests
copying build/lib/h11/_writers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_abnf.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_state.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_util.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_events.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_headers.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
copying build/lib/h11/_connection.py -> build/bdist.macosx-10.6-x86_64/wheel/h11
running install_egg_info
Copying h11.egg-info to build/bdist.macosx-10.6-x86_64/wheel/h11-0.9.0-py3.7.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.6-x86_64/wheel/h11-0.9.0.dist-info/WHEEL
creating 'dist/h11-0.9.0-py2.py3-none-any.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'h11/__init__.py'
adding 'h11/_abnf.py'
adding 'h11/_connection.py'
adding 'h11/_events.py'
adding 'h11/_headers.py'
adding 'h11/_readers.py'
adding 'h11/_receivebuffer.py'
adding 'h11/_state.py'
adding 'h11/_util.py'
adding 'h11/_version.py'
adding 'h11/_writers.py'
adding 'h11/tests/__init__.py'
adding 'h11/tests/helpers.py'
adding 'h11/tests/test_against_stdlib_http.py'
adding 'h11/tests/test_connection.py'
adding 'h11/tests/test_events.py'
adding 'h11/tests/test_headers.py'
adding 'h11/tests/test_helpers.py'
adding 'h11/tests/test_io.py'
adding 'h11/tests/test_receivebuffer.py'
adding 'h11/tests/test_state.py'
adding 'h11/tests/test_util.py'
adding 'h11/tests/data/test-file'
adding 'h11-0.9.0.dist-info/LICENSE.txt'
adding 'h11-0.9.0.dist-info/METADATA'
adding 'h11-0.9.0.dist-info/WHEEL'
adding 'h11-0.9.0.dist-info/top_level.txt'
adding 'h11-0.9.0.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-h11-0.9.0.drv-0/h11-0.9.0/dist /private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-h11-0.9.0.drv-0/h11-0.9.0
Processing ./h11-0.9.0-py2.py3-none-any.whl
Installing collected packages: h11
Successfully installed h11-0.9.0
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-h11-0.9.0.drv-0/h11-0.9.0
Finished executing pipInstallPhase
post-installation fixup
strip is /nix/store/s8dwnjkl3jlv452dml9d6r9rvzxc0ny3-cctools-binutils-darwin-927.0.2/bin/strip
stripping (with command strip and flags -S) in /nix/store/1h5p3v67fv1q1d2s3fcac1271v9i1rny-python3.7-h11-0.9.0/lib 
patching script interpreter paths in /nix/store/1h5p3v67fv1q1d2s3fcac1271v9i1rny-python3.7-h11-0.9.0
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
building '/nix/store/f36kskdgj5r0fl0bg2f5hmfgaq5hllsm-python3.7-starlette-0.13.0.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/h130ncrziywqbv2shxrp73ys0pspnlp0-starlette-0.13.0.tar.gz
source root is starlette-0.13.0
setting SOURCE_DATE_EPOCH to timestamp 1573648090 of file starlette-0.13.0/starlette.egg-info/top_level.txt
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/starlette
copying starlette/graphql.py -> build/lib/starlette
copying starlette/responses.py -> build/lib/starlette
copying starlette/config.py -> build/lib/starlette
copying starlette/templating.py -> build/lib/starlette
copying starlette/websockets.py -> build/lib/starlette
copying starlette/applications.py -> build/lib/starlette
copying starlette/concurrency.py -> build/lib/starlette
copying starlette/background.py -> build/lib/starlette
copying starlette/__init__.py -> build/lib/starlette
copying starlette/types.py -> build/lib/starlette
copying starlette/convertors.py -> build/lib/starlette
copying starlette/staticfiles.py -> build/lib/starlette
copying starlette/schemas.py -> build/lib/starlette
copying starlette/routing.py -> build/lib/starlette
copying starlette/authentication.py -> build/lib/starlette
copying starlette/testclient.py -> build/lib/starlette
copying starlette/exceptions.py -> build/lib/starlette
copying starlette/requests.py -> build/lib/starlette
copying starlette/datastructures.py -> build/lib/starlette
copying starlette/endpoints.py -> build/lib/starlette
copying starlette/formparsers.py -> build/lib/starlette
copying starlette/status.py -> build/lib/starlette
creating build/lib/starlette/middleware
copying starlette/middleware/gzip.py -> build/lib/starlette/middleware
copying starlette/middleware/sessions.py -> build/lib/starlette/middleware
copying starlette/middleware/cors.py -> build/lib/starlette/middleware
copying starlette/middleware/__init__.py -> build/lib/starlette/middleware
copying starlette/middleware/httpsredirect.py -> build/lib/starlette/middleware
copying starlette/middleware/trustedhost.py -> build/lib/starlette/middleware
copying starlette/middleware/authentication.py -> build/lib/starlette/middleware
copying starlette/middleware/errors.py -> build/lib/starlette/middleware
copying starlette/middleware/base.py -> build/lib/starlette/middleware
copying starlette/middleware/wsgi.py -> build/lib/starlette/middleware
copying starlette/py.typed -> build/lib/starlette
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/starlette
creating build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/gzip.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/sessions.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/cors.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/httpsredirect.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/trustedhost.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/authentication.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/errors.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/base.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/middleware/wsgi.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette/middleware
copying build/lib/starlette/graphql.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/responses.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/config.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/templating.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/websockets.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/applications.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/concurrency.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/background.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/types.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/convertors.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/staticfiles.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/schemas.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/routing.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/authentication.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/testclient.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/py.typed -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/exceptions.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/requests.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/datastructures.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/endpoints.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/formparsers.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
copying build/lib/starlette/status.py -> build/bdist.macosx-10.6-x86_64/wheel/starlette
running install_data
creating build/bdist.macosx-10.6-x86_64/wheel/starlette-0.13.0.data
creating build/bdist.macosx-10.6-x86_64/wheel/starlette-0.13.0.data/data
copying LICENSE.md -> build/bdist.macosx-10.6-x86_64/wheel/starlette-0.13.0.data/data/
running install_egg_info
running egg_info
writing starlette.egg-info/PKG-INFO
writing dependency_links to starlette.egg-info/dependency_links.txt
writing requirements to starlette.egg-info/requires.txt
writing top-level names to starlette.egg-info/top_level.txt
reading manifest file 'starlette.egg-info/SOURCES.txt'
writing manifest file 'starlette.egg-info/SOURCES.txt'
Copying starlette.egg-info to build/bdist.macosx-10.6-x86_64/wheel/starlette-0.13.0-py3.7.egg-info
running install_scripts
adding license file "LICENSE.md" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.6-x86_64/wheel/starlette-0.13.0.dist-info/WHEEL
creating 'dist/starlette-0.13.0-py3-none-any.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'starlette/__init__.py'
adding 'starlette/applications.py'
adding 'starlette/authentication.py'
adding 'starlette/background.py'
adding 'starlette/concurrency.py'
adding 'starlette/config.py'
adding 'starlette/convertors.py'
adding 'starlette/datastructures.py'
adding 'starlette/endpoints.py'
adding 'starlette/exceptions.py'
adding 'starlette/formparsers.py'
adding 'starlette/graphql.py'
adding 'starlette/py.typed'
adding 'starlette/requests.py'
adding 'starlette/responses.py'
adding 'starlette/routing.py'
adding 'starlette/schemas.py'
adding 'starlette/staticfiles.py'
adding 'starlette/status.py'
adding 'starlette/templating.py'
adding 'starlette/testclient.py'
adding 'starlette/types.py'
adding 'starlette/websockets.py'
adding 'starlette/middleware/__init__.py'
adding 'starlette/middleware/authentication.py'
adding 'starlette/middleware/base.py'
adding 'starlette/middleware/cors.py'
adding 'starlette/middleware/errors.py'
adding 'starlette/middleware/gzip.py'
adding 'starlette/middleware/httpsredirect.py'
adding 'starlette/middleware/sessions.py'
adding 'starlette/middleware/trustedhost.py'
adding 'starlette/middleware/wsgi.py'
adding 'starlette-0.13.0.data/data/LICENSE.md'
adding 'starlette-0.13.0.dist-info/LICENSE.md'
adding 'starlette-0.13.0.dist-info/METADATA'
adding 'starlette-0.13.0.dist-info/WHEEL'
adding 'starlette-0.13.0.dist-info/top_level.txt'
adding 'starlette-0.13.0.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-starlette-0.13.0.drv-0/starlette-0.13.0/dist /private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-starlette-0.13.0.drv-0/starlette-0.13.0
Processing ./starlette-0.13.0-py3-none-any.whl
Installing collected packages: starlette
Successfully installed starlette-0.13.0
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-starlette-0.13.0.drv-0/starlette-0.13.0
Finished executing pipInstallPhase
post-installation fixup
strip is /nix/store/s8dwnjkl3jlv452dml9d6r9rvzxc0ny3-cctools-binutils-darwin-927.0.2/bin/strip
stripping (with command strip and flags -S) in /nix/store/46dc0jlbn3w3x1cg6pn6y1ldrs11pny2-python3.7-starlette-0.13.0/lib 
patching script interpreter paths in /nix/store/46dc0jlbn3w3x1cg6pn6y1ldrs11pny2-python3.7-starlette-0.13.0
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
building '/nix/store/sm985cpzkhlqbi24zzb2jsrimxp9sxyg-uvicorn-0.11.2.tar.gz.drv'...

trying https://files.pythonhosted.org/packages/source/u/uvicorn/uvicorn-0.11.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 28541  100 28541    0     0   162k      0 --:--:-- --:--:-- --:--:--  162k
building '/nix/store/z0qdf9dikj14nrsxx0izdhmxf1izbzd4-websockets-8.1.tar.gz.drv'...

trying https://files.pythonhosted.org/packages/source/w/websockets/websockets-8.1.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 58874  100 58874    0     0   184k      0 --:--:-- --:--:-- --:--:--  184k
building '/nix/store/crc9zk2a3kzwj4y2d2fls32azkxqbqzc-python3.7-websockets-8.1.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/gj541zs4h9ywi01cv7rxvb4d409rczpz-websockets-8.1.tar.gz
source root is websockets-8.1
setting SOURCE_DATE_EPOCH to timestamp 1572615610 of file websockets-8.1/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.7
creating build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/auth.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/handshake.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/server.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/version.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/protocol.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/client.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/__init__.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/utils.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/uri.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/http.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/framing.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/exceptions.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/headers.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/typing.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/__main__.py -> build/lib.macosx-10.6-x86_64-3.7/websockets
creating build/lib.macosx-10.6-x86_64-3.7/websockets/extensions
copying src/websockets/extensions/permessage_deflate.py -> build/lib.macosx-10.6-x86_64-3.7/websockets/extensions
copying src/websockets/extensions/__init__.py -> build/lib.macosx-10.6-x86_64-3.7/websockets/extensions
copying src/websockets/extensions/base.py -> build/lib.macosx-10.6-x86_64-3.7/websockets/extensions
running egg_info
writing src/websockets.egg-info/PKG-INFO
writing dependency_links to src/websockets.egg-info/dependency_links.txt
writing top-level names to src/websockets.egg-info/top_level.txt
reading manifest file 'src/websockets.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
writing manifest file 'src/websockets.egg-info/SOURCES.txt'
copying src/websockets/py.typed -> build/lib.macosx-10.6-x86_64-3.7/websockets
copying src/websockets/speedups.c -> build/lib.macosx-10.6-x86_64-3.7/websockets
running build_ext
building 'websockets.speedups' extension
creating build/temp.macosx-10.6-x86_64-3.7
creating build/temp.macosx-10.6-x86_64-3.7/src
creating build/temp.macosx-10.6-x86_64-3.7/src/websockets
clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/include/python3.7m -c src/websockets/speedups.c -o build/temp.macosx-10.6-x86_64-3.7/src/websockets/speedups.o
clang-7: warning: argument unused during compilation: '-fno-strict-overflow' [-Wunused-command-line-argument]
clang -bundle -undefined dynamic_lookup -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.18.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.30.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.1-20190112/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1d/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-swift-corefoundation/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-configd-osx-10.8.5/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.4/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.3/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.18.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.30.1/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.1-20190112/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1d/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-swift-corefoundation/lib -L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-configd-osx-10.8.5/lib build/temp.macosx-10.6-x86_64-3.7/src/websockets/speedups.o -L/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib -o build/lib.macosx-10.6-x86_64-3.7/websockets/speedups.cpython-37m-darwin.so
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.3/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.18.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.30.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.1-20190112/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1d/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-swift-corefoundation/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-configd-osx-10.8.5/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-zlib-1.2.11/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-bzip2-1.0.6.0.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-expat-2.2.8/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xz-5.2.4/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libffi-3.3/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-gdbm-1.18.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-sqlite-3.30.1/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-readline-6.3p08/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-ncurses-6.1-20190112/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-openssl-1.1.1d/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-swift-corefoundation/lib'
ld: warning: directory not found for option '-L/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-configd-osx-10.8.5/lib'
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/auth.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/handshake.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/server.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/version.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/speedups.c -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/protocol.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/client.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
creating build/bdist.macosx-10.6-x86_64/wheel/websockets/extensions
copying build/lib.macosx-10.6-x86_64-3.7/websockets/extensions/permessage_deflate.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets/extensions
copying build/lib.macosx-10.6-x86_64-3.7/websockets/extensions/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets/extensions
copying build/lib.macosx-10.6-x86_64-3.7/websockets/extensions/base.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets/extensions
copying build/lib.macosx-10.6-x86_64-3.7/websockets/utils.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/uri.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/http.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/py.typed -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/framing.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/exceptions.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/headers.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/speedups.cpython-37m-darwin.so -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/typing.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
copying build/lib.macosx-10.6-x86_64-3.7/websockets/__main__.py -> build/bdist.macosx-10.6-x86_64/wheel/websockets
running install_egg_info
Copying src/websockets.egg-info to build/bdist.macosx-10.6-x86_64/wheel/websockets-8.1-py3.7.egg-info
running install_scripts
creating build/bdist.macosx-10.6-x86_64/wheel/websockets-8.1.dist-info/WHEEL
creating 'dist/websockets-8.1-cp37-cp37m-macosx_10_6_x86_64.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'websockets/__init__.py'
adding 'websockets/__main__.py'
adding 'websockets/auth.py'
adding 'websockets/client.py'
adding 'websockets/exceptions.py'
adding 'websockets/framing.py'
adding 'websockets/handshake.py'
adding 'websockets/headers.py'
adding 'websockets/http.py'
adding 'websockets/protocol.py'
adding 'websockets/py.typed'
adding 'websockets/server.py'
adding 'websockets/speedups.c'
adding 'websockets/speedups.cpython-37m-darwin.so'
adding 'websockets/typing.py'
adding 'websockets/uri.py'
adding 'websockets/utils.py'
adding 'websockets/version.py'
adding 'websockets/extensions/__init__.py'
adding 'websockets/extensions/base.py'
adding 'websockets/extensions/permessage_deflate.py'
adding 'websockets-8.1.dist-info/LICENSE'
adding 'websockets-8.1.dist-info/METADATA'
adding 'websockets-8.1.dist-info/WHEEL'
adding 'websockets-8.1.dist-info/top_level.txt'
adding 'websockets-8.1.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-websockets-8.1.drv-0/websockets-8.1/dist /private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-websockets-8.1.drv-0/websockets-8.1
Processing ./websockets-8.1-cp37-cp37m-macosx_10_6_x86_64.whl
Installing collected packages: websockets
Successfully installed websockets-8.1
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-websockets-8.1.drv-0/websockets-8.1
Finished executing pipInstallPhase
post-installation fixup
strip is /nix/store/s8dwnjkl3jlv452dml9d6r9rvzxc0ny3-cctools-binutils-darwin-927.0.2/bin/strip
stripping (with command strip and flags -S) in /nix/store/kiqlcz7v3dva19zwdlql1l1m69ngvjwb-python3.7-websockets-8.1/lib 
patching script interpreter paths in /nix/store/kiqlcz7v3dva19zwdlql1l1m69ngvjwb-python3.7-websockets-8.1
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
building '/nix/store/11m6riwynl38bg6z7qbg13g0r8n1nrd7-python3.7-uvicorn-0.11.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/w9zxyadpwzi8f0kvj3cfiasp0zvgj1r1-uvicorn-0.11.2.tar.gz
source root is uvicorn-0.11.2
setting SOURCE_DATE_EPOCH to timestamp 1579523618 of file uvicorn-0.11.2/uvicorn.egg-info/top_level.txt
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/uvicorn
copying uvicorn/logging.py -> build/lib/uvicorn
copying uvicorn/config.py -> build/lib/uvicorn
copying uvicorn/importer.py -> build/lib/uvicorn
copying uvicorn/subprocess.py -> build/lib/uvicorn
copying uvicorn/__init__.py -> build/lib/uvicorn
copying uvicorn/workers.py -> build/lib/uvicorn
copying uvicorn/main.py -> build/lib/uvicorn
copying uvicorn/__main__.py -> build/lib/uvicorn
creating build/lib/uvicorn/middleware
copying uvicorn/middleware/asgi2.py -> build/lib/uvicorn/middleware
copying uvicorn/middleware/__init__.py -> build/lib/uvicorn/middleware
copying uvicorn/middleware/proxy_headers.py -> build/lib/uvicorn/middleware
copying uvicorn/middleware/message_logger.py -> build/lib/uvicorn/middleware
copying uvicorn/middleware/debug.py -> build/lib/uvicorn/middleware
copying uvicorn/middleware/wsgi.py -> build/lib/uvicorn/middleware
creating build/lib/uvicorn/supervisors
copying uvicorn/supervisors/statreload.py -> build/lib/uvicorn/supervisors
copying uvicorn/supervisors/__init__.py -> build/lib/uvicorn/supervisors
copying uvicorn/supervisors/multiprocess.py -> build/lib/uvicorn/supervisors
creating build/lib/uvicorn/lifespan
copying uvicorn/lifespan/off.py -> build/lib/uvicorn/lifespan
copying uvicorn/lifespan/on.py -> build/lib/uvicorn/lifespan
copying uvicorn/lifespan/__init__.py -> build/lib/uvicorn/lifespan
creating build/lib/uvicorn/loops
copying uvicorn/loops/uvloop.py -> build/lib/uvicorn/loops
copying uvicorn/loops/asyncio.py -> build/lib/uvicorn/loops
copying uvicorn/loops/__init__.py -> build/lib/uvicorn/loops
copying uvicorn/loops/auto.py -> build/lib/uvicorn/loops
creating build/lib/uvicorn/protocols
copying uvicorn/protocols/__init__.py -> build/lib/uvicorn/protocols
copying uvicorn/protocols/utils.py -> build/lib/uvicorn/protocols
creating build/lib/uvicorn/protocols/websockets
copying uvicorn/protocols/websockets/__init__.py -> build/lib/uvicorn/protocols/websockets
copying uvicorn/protocols/websockets/websockets_impl.py -> build/lib/uvicorn/protocols/websockets
copying uvicorn/protocols/websockets/wsproto_impl.py -> build/lib/uvicorn/protocols/websockets
copying uvicorn/protocols/websockets/auto.py -> build/lib/uvicorn/protocols/websockets
creating build/lib/uvicorn/protocols/http
copying uvicorn/protocols/http/__init__.py -> build/lib/uvicorn/protocols/http
copying uvicorn/protocols/http/h11_impl.py -> build/lib/uvicorn/protocols/http
copying uvicorn/protocols/http/auto.py -> build/lib/uvicorn/protocols/http
copying uvicorn/protocols/http/httptools_impl.py -> build/lib/uvicorn/protocols/http
installing to build/bdist.macosx-10.6-x86_64/wheel
running install
running install_lib
creating build/bdist.macosx-10.6-x86_64
creating build/bdist.macosx-10.6-x86_64/wheel
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/asgi2.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/proxy_headers.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/message_logger.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/debug.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/middleware/wsgi.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/middleware
copying build/lib/uvicorn/logging.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
copying build/lib/uvicorn/config.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
copying build/lib/uvicorn/importer.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
copying build/lib/uvicorn/subprocess.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
copying build/lib/uvicorn/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/supervisors
copying build/lib/uvicorn/supervisors/statreload.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/supervisors
copying build/lib/uvicorn/supervisors/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/supervisors
copying build/lib/uvicorn/supervisors/multiprocess.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/supervisors
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/lifespan
copying build/lib/uvicorn/lifespan/off.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/lifespan
copying build/lib/uvicorn/lifespan/on.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/lifespan
copying build/lib/uvicorn/lifespan/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/lifespan
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/loops
copying build/lib/uvicorn/loops/uvloop.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/loops
copying build/lib/uvicorn/loops/asyncio.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/loops
copying build/lib/uvicorn/loops/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/loops
copying build/lib/uvicorn/loops/auto.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/loops
copying build/lib/uvicorn/workers.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
copying build/lib/uvicorn/main.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols
copying build/lib/uvicorn/protocols/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/websockets
copying build/lib/uvicorn/protocols/websockets/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/websockets
copying build/lib/uvicorn/protocols/websockets/websockets_impl.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/websockets
copying build/lib/uvicorn/protocols/websockets/wsproto_impl.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/websockets
copying build/lib/uvicorn/protocols/websockets/auto.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/websockets
copying build/lib/uvicorn/protocols/utils.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/http
copying build/lib/uvicorn/protocols/http/__init__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/http
copying build/lib/uvicorn/protocols/http/h11_impl.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/http
copying build/lib/uvicorn/protocols/http/auto.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/http
copying build/lib/uvicorn/protocols/http/httptools_impl.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn/protocols/http
copying build/lib/uvicorn/__main__.py -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn
running install_data
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn-0.11.2.data
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn-0.11.2.data/data
copying LICENSE.md -> build/bdist.macosx-10.6-x86_64/wheel/uvicorn-0.11.2.data/data/
running install_egg_info
running egg_info
writing uvicorn.egg-info/PKG-INFO
writing dependency_links to uvicorn.egg-info/dependency_links.txt
writing entry points to uvicorn.egg-info/entry_points.txt
writing requirements to uvicorn.egg-info/requires.txt
writing top-level names to uvicorn.egg-info/top_level.txt
reading manifest file 'uvicorn.egg-info/SOURCES.txt'
writing manifest file 'uvicorn.egg-info/SOURCES.txt'
Copying uvicorn.egg-info to build/bdist.macosx-10.6-x86_64/wheel/uvicorn-0.11.2-py3.7.egg-info
running install_scripts
adding license file "LICENSE.md" (matched pattern "LICEN[CS]E*")
creating build/bdist.macosx-10.6-x86_64/wheel/uvicorn-0.11.2.dist-info/WHEEL
creating 'dist/uvicorn-0.11.2-py3-none-any.whl' and adding 'build/bdist.macosx-10.6-x86_64/wheel' to it
adding 'uvicorn/__init__.py'
adding 'uvicorn/__main__.py'
adding 'uvicorn/config.py'
adding 'uvicorn/importer.py'
adding 'uvicorn/logging.py'
adding 'uvicorn/main.py'
adding 'uvicorn/subprocess.py'
adding 'uvicorn/workers.py'
adding 'uvicorn/lifespan/__init__.py'
adding 'uvicorn/lifespan/off.py'
adding 'uvicorn/lifespan/on.py'
adding 'uvicorn/loops/__init__.py'
adding 'uvicorn/loops/asyncio.py'
adding 'uvicorn/loops/auto.py'
adding 'uvicorn/loops/uvloop.py'
adding 'uvicorn/middleware/__init__.py'
adding 'uvicorn/middleware/asgi2.py'
adding 'uvicorn/middleware/debug.py'
adding 'uvicorn/middleware/message_logger.py'
adding 'uvicorn/middleware/proxy_headers.py'
adding 'uvicorn/middleware/wsgi.py'
adding 'uvicorn/protocols/__init__.py'
adding 'uvicorn/protocols/utils.py'
adding 'uvicorn/protocols/http/__init__.py'
adding 'uvicorn/protocols/http/auto.py'
adding 'uvicorn/protocols/http/h11_impl.py'
adding 'uvicorn/protocols/http/httptools_impl.py'
adding 'uvicorn/protocols/websockets/__init__.py'
adding 'uvicorn/protocols/websockets/auto.py'
adding 'uvicorn/protocols/websockets/websockets_impl.py'
adding 'uvicorn/protocols/websockets/wsproto_impl.py'
adding 'uvicorn/supervisors/__init__.py'
adding 'uvicorn/supervisors/multiprocess.py'
adding 'uvicorn/supervisors/statreload.py'
adding 'uvicorn-0.11.2.data/data/LICENSE.md'
adding 'uvicorn-0.11.2.dist-info/LICENSE.md'
adding 'uvicorn-0.11.2.dist-info/METADATA'
adding 'uvicorn-0.11.2.dist-info/WHEEL'
adding 'uvicorn-0.11.2.dist-info/entry_points.txt'
adding 'uvicorn-0.11.2.dist-info/top_level.txt'
adding 'uvicorn-0.11.2.dist-info/RECORD'
removing build/bdist.macosx-10.6-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-uvicorn-0.11.2.drv-0/uvicorn-0.11.2/dist /private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-uvicorn-0.11.2.drv-0/uvicorn-0.11.2
Processing ./uvicorn-0.11.2-py3-none-any.whl
Requirement already satisfied: httptools==0.0.13; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "pypy" in /nix/store/6dhni1qr0zpln676m1m7pgp79rghn323-python3.7-httptools-0.0.13/lib/python3.7/site-packages (from uvicorn==0.11.2) (0.0.13)
Requirement already satisfied: websockets==8.* in /nix/store/kiqlcz7v3dva19zwdlql1l1m69ngvjwb-python3.7-websockets-8.1/lib/python3.7/site-packages (from uvicorn==0.11.2) (8.1)
Requirement already satisfied: click==7.* in /nix/store/y96fq949j2wz0lv169w3sk6r6i26gbfd-python3.7-click-7.0/lib/python3.7/site-packages (from uvicorn==0.11.2) (7.0)
Requirement already satisfied: h11<0.10,>=0.8 in /nix/store/1h5p3v67fv1q1d2s3fcac1271v9i1rny-python3.7-h11-0.9.0/lib/python3.7/site-packages (from uvicorn==0.11.2) (0.9.0)
Requirement already satisfied: uvloop>=0.14.0; sys_platform != "win32" and sys_platform != "cygwin" and platform_python_implementation != "pypy" in /nix/store/id6yn1196mq2144cdaqkswa23qkyzrx4-python3.7-uvloop-0.14.0/lib/python3.7/site-packages (from uvicorn==0.11.2) (0.14.0)
Installing collected packages: uvicorn
  WARNING: The script uvicorn is installed in '/nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed uvicorn-0.11.2
/private/var/folders/f8/z6c2znxs6xq0ylyhmxqvnjgh0000gp/T/nix-build-python3.7-uvicorn-0.11.2.drv-0/uvicorn-0.11.2
Finished executing pipInstallPhase
post-installation fixup
strip is /nix/store/s8dwnjkl3jlv452dml9d6r9rvzxc0ny3-cctools-binutils-darwin-927.0.2/bin/strip
stripping (with command strip and flags -S) in /nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2/lib  /nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2/bin 
patching script interpreter paths in /nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2
Rewriting #!/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/bin/python3.7 to #!/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6
wrapping `/nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2/bin/uvicorn'...
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
building '/nix/store/g9n9im2x53fd2lbbcgwkv14w9vx0vq2c-python3-3.7.6-env.drv'...
collision between `/nix/store/kdxcgd583krc4if2nf3vk5xgxdxjp2m7-python3.7-uvicorn-0.11.2/LICENSE.md' and `/nix/store/46dc0jlbn3w3x1cg6pn6y1ldrs11pny2-python3.7-starlette-0.13.0/LICENSE.md'
builder for '/nix/store/g9n9im2x53fd2lbbcgwkv14w9vx0vq2c-python3-3.7.6-env.drv' failed with exit code 25
error: build of '/nix/store/g9n9im2x53fd2lbbcgwkv14w9vx0vq2c-python3-3.7.6-env.drv' failed

Git dependencies break on non-default branches.

I have a project where I'm fetching the non-HEAD default branch, like this:


[tool.poetry]
name = "nixops-packet"
version = "1.0"
description = "NixOps plugin for Packet.com"
authors = ["Graham Christensen <[email protected]>"]
license = "LGPL-3.0-only"

[tool.poetry.dependencies]
python = "^3.7"
packet-python = "^1.42.0"
nixops = {git = "https://github.com/grahamc/nixops.git", rev = "integration"}

[tool.poetry.dev-dependencies]
nose = "^1.3.7"
mypy = "^0.770"
pytest-runner = "^5.2"

[tool.poetry.plugins."nixops"]
packet = "nixopspacket.plugin:load"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

In this case, integration wasn't the default branch.

nixops = {git = "https://github.com/grahamc/nixops.git", rev = "integration"}

In the poetry.lock, this is present:

[package.source]
reference = "458e4437e350fbea01ac1a3c2872871b17365816"
type = "git"
url = "https://github.com/grahamc/nixops.git"

but builtin.fetchGit can't find 458e4437e350fbea01ac1a3c2872871b17365816 because it isn't reachable from master.

Note, I made "integration" my default branch to get past this, so if you try and replicate, it won't break.

Installation and usage doc

I am trying to convert my project to use nix. I am new to this environment and just completed the nix pills series. It is hard to find any source on how to use poetry2nix correctly.

Could you add something like this naersk ? using with niv or with builtins

uvloop build env on MacOS lacks SDK framework components

poetry.lock

[[package]]
category = "main"
description = "Fast implementation of asyncio event loop on top of libuv"
name = "uvloop"
optional = false
python-versions = "*"
version = "0.14.0"

[metadata]
content-hash = "2a7f16b9594c33d61114990af29b5196b926178886f940df04c9bbf985653426"
python-versions = "^3.7"

[metadata.files]
uvloop = [
    {file = "uvloop-0.14.0-cp35-cp35m-macosx_10_11_x86_64.whl", hash = "sha256:08b109f0213af392150e2fe6f81d33261bb5ce968a288eb698aad4f46eb711bd"},
    {file = "uvloop-0.14.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:4544dcf77d74f3a84f03dd6278174575c44c67d7165d4c42c71db3fdc3860726"},
    {file = "uvloop-0.14.0-cp36-cp36m-macosx_10_11_x86_64.whl", hash = "sha256:b4f591aa4b3fa7f32fb51e2ee9fea1b495eb75b0b3c8d0ca52514ad675ae63f7"},
    {file = "uvloop-0.14.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:f07909cd9fc08c52d294b1570bba92186181ca01fe3dc9ffba68955273dd7362"},
    {file = "uvloop-0.14.0-cp37-cp37m-macosx_10_11_x86_64.whl", hash = "sha256:afd5513c0ae414ec71d24f6f123614a80f3d27ca655a4fcf6cabe50994cc1891"},
    {file = "uvloop-0.14.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:e7514d7a48c063226b7d06617cbb12a14278d4323a065a8d46a7962686ce2e95"},
    {file = "uvloop-0.14.0-cp38-cp38-macosx_10_11_x86_64.whl", hash = "sha256:bcac356d62edd330080aed082e78d4b580ff260a677508718f88016333e2c9c5"},
    {file = "uvloop-0.14.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:4315d2ec3ca393dd5bc0b0089d23101276778c304d42faff5dc4579cb6caef09"},
    {file = "uvloop-0.14.0.tar.gz", hash = "sha256:123ac9c0c7dd71464f58f1b4ee0bbd81285d96cdda8bc3519281b8973e3a461e"},
]

shell.nix

with (import (builtins.fetchGit {
    name = "my-project";
    url = https://github.com/nixos/nixpkgs/;
    ref = "refs/heads/master";
    rev = "6f545410b593a0d1b78806aa878f95ee3f3d4a4a";
}) {});

let src = builtins.fetchGit {
    name = "poetry-nix";
    url = https://github.com/nix-community/poetry2nix/;
    ref = "refs/heads/master";
    rev = "82166c8a498b0ea1401109ad9c2b71a3796725a0";
}; in with import "${src.outPath}/overlay.nix" pkgs pkgs;

let
    pythonEnv = poetry2nix.mkPoetryEnv {
        poetrylock = ./poetry.lock;
    };
in

mkShell {
    name = "my-project";

    buildInputs = [
        python37Full
        python37Packages.virtualenv
        pythonEnv
        poetry
        # usually required as python runtime dependencies
        ncurses
        libxml2
        libxslt
        libzip
        zlib
        cacert
    ];
    shellHook = ''
        # Set SOURCE_DATE_EPOCH so that we can use python wheels.
        # This compromises immutability, but is what we need
        # to allow package installs from PyPI
        export SOURCE_DATE_EPOCH=$(date +%s)

        VENV_DIR=$PWD/.venv

        export PATH=$VENV_DIR/bin:$PATH
        export LANG=en_US.UTF-8

        # https://python-poetry.org/docs/configuration/
        export POETRY_VIRTUALENVS_CREATE=false
        export PIP_CACHE_DIR=$PWD/.local/pip-cache

        # Dirty fix for Linux systems
        # https://nixos.wiki/wiki/Packaging/Quirks_and_Caveats
        export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:$LD_LIBRARY_PATH
    '';

}

The result:

nix-shell
these derivations will be built:
  /nix/store/7nqmdxayjwhgpcn3j4xid9bq75szw4hg-python3.7-uvloop-0.14.0.drv
  /nix/store/na80lsk1p810bzxx81fs20sibdq9hy21-python3-3.7.6-env.drv
building '/nix/store/7nqmdxayjwhgpcn3j4xid9bq75szw4hg-python3.7-uvloop-0.14.0.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/1a6asiaypg1p6w8ri5hynaf2qcnlw9wj-uvloop-0.14.0.tar.gz
source root is uvloop-0.14.0
setting SOURCE_DATE_EPOCH to timestamp 1572979398 of file uvloop-0.14.0/uvloop/loop.c
patching sources
configuring
fixing libtool script ./vendor/libuv/ltmain.sh
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
creating build
creating build/lib.macosx-10.6-x86_64-3.7
creating build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/_noop.py -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/_testbase.py -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/__init__.py -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/_patch.py -> build/lib.macosx-10.6-x86_64-3.7/uvloop
running egg_info
writing uvloop.egg-info/PKG-INFO
writing dependency_links to uvloop.egg-info/dependency_links.txt
writing top-level names to uvloop.egg-info/top_level.txt
reading manifest file 'uvloop.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/.git'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/docs'
warning: no previously-included files matching '*' found under directory 'vendor/libuv/img'
writing manifest file 'uvloop.egg-info/SOURCES.txt'
copying uvloop/cbhandles.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/cbhandles.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/dns.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/errors.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/loop.c -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/loop.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/loop.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/lru.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/pseudosock.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/request.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/request.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/server.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/server.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/sslproto.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop
copying uvloop/sslproto.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop
creating build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/async_.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/async_.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/basetransport.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/basetransport.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/check.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/check.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/handle.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/handle.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/idle.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/idle.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/pipe.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/pipe.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/poll.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/poll.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/process.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/process.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/stream.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/stream.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/streamserver.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/streamserver.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/tcp.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/tcp.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/timer.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/timer.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/udp.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
copying uvloop/handles/udp.pyx -> build/lib.macosx-10.6-x86_64-3.7/uvloop/handles
creating build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/__init__.py -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/compat.h -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/consts.pxi -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/debug.h -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/debug.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/flowcontrol.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/fork_handler.h -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/python.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/stdlib.pxi -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/system.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
copying uvloop/includes/uv.pxd -> build/lib.macosx-10.6-x86_64-3.7/uvloop/includes
running build_ext
checking for a BSD-compatible install... /nix/store/4fwpaqkhp351m7zkjk2vki9hkrchjhkd-coreutils-8.31/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /nix/store/4fwpaqkhp351m7zkjk2vki9hkrchjhkd-coreutils-8.31/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... x86_64-apple-darwin19.2.0
checking host system type... x86_64-apple-darwin19.2.0
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking whether clang understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of clang... gcc3
checking if clang supports -pedantic flag... yes
checking for clang way to treat warnings as errors... -Werror
checking if clang supports -fvisibility=hidden... yes
checking if clang supports -g flag... yes
checking if clang supports -std=gnu89 flag... yes
checking if clang supports -Wall flag... yes
checking if clang supports -Wextra flag... yes
checking if clang supports -Wno-long-long flag... yes
checking if clang supports -Wno-unused-parameter flag... yes
checking if clang supports -Wstrict-prototypes flag... yes
checking the archiver (ar) interface... ar
checking how to print strings... printf
checking for a sed that does not truncate output... /nix/store/ljrr4g1qdhrimqh31lvcjg717sqdx166-gnused-4.7/bin/sed
checking for grep that handles long lines and -e... /nix/store/fiprsfm9rp7s1vg98q36v1d3a16d4gds-gnugrep-3.3/bin/grep
checking for egrep... /nix/store/fiprsfm9rp7s1vg98q36v1d3a16d4gds-gnugrep-3.3/bin/grep -E
checking for fgrep... /nix/store/fiprsfm9rp7s1vg98q36v1d3a16d4gds-gnugrep-3.3/bin/grep -F
checking for ld used by clang... ld
checking if the linker (ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-apple-darwin19.2.0 file names to x86_64-apple-darwin19.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin19.2.0 file names to toolchain format... func_convert_file_noop
checking for ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse nm output from clang object... ok
checking for sysroot... no
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... no
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... clang -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fno-common -DPIC
checking if clang PIC flag -fno-common -DPIC works... yes
checking if clang static flag -static works... no
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether make supports nested variables... (cached) yes
checking for dlopen in -ldl... yes
checking for kstat_lookup in -lkstat... no
checking for gethostbyname in -lnsl... no
checking for perfstat_cpu in -lperfstat... no
checking for pthread_mutex_init in -lpthread... yes
checking for clock_gettime in -lrt... no
checking for sendfile in -lsendfile... no
checking for socket in -lsocket... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking sys/ahafs_evProds.h usability... no
checking sys/ahafs_evProds.h presence... no
checking for sys/ahafs_evProds.h... no
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libuv.pc
config.status: executing depfiles commands
config.status: executing libtool commands
  CC       src/libuv_la-fs-poll.lo
  CC       src/libuv_la-idna.lo
  CC       src/libuv_la-inet.lo
  CC       src/libuv_la-random.lo
  CC       src/libuv_la-strscpy.lo
  CC       src/libuv_la-threadpool.lo
  CC       src/libuv_la-timer.lo
  CC       src/libuv_la-uv-data-getter-setters.lo
  CC       src/libuv_la-uv-common.lo
  CC       src/libuv_la-version.lo
  CC       src/unix/libuv_la-async.lo
  CC       src/unix/libuv_la-core.lo
  CC       src/unix/libuv_la-dl.lo
  CC       src/unix/libuv_la-fs.lo
  CC       src/unix/libuv_la-getaddrinfo.lo
  CC       src/unix/libuv_la-getnameinfo.lo
  CC       src/unix/libuv_la-loop-watcher.lo
  CC       src/unix/libuv_la-loop.lo
  CC       src/unix/libuv_la-pipe.lo
  CC       src/unix/libuv_la-poll.lo
  CC       src/unix/libuv_la-process.lo
  CC       src/unix/libuv_la-random-devurandom.lo
  CC       src/unix/libuv_la-signal.lo
  CC       src/unix/libuv_la-stream.lo
  CC       src/unix/libuv_la-tcp.lo
  CC       src/unix/libuv_la-thread.lo
  CC       src/unix/libuv_la-tty.lo
  CC       src/unix/libuv_la-udp.lo
  CC       src/unix/libuv_la-bsd-ifaddrs.lo
  CC       src/unix/libuv_la-darwin.lo
  CC       src/unix/libuv_la-darwin-proctitle.lo
  CC       src/unix/libuv_la-fsevents.lo
  CC       src/unix/libuv_la-kqueue.lo
  CC       src/unix/libuv_la-proctitle.lo
src/unix/fsevents.c:50:10: fatal error: 'CoreServices/CoreServices.h' file not found
#include <CoreServices/CoreServices.h>
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:2564: src/unix/libuv_la-fsevents.lo] Error 1
make: *** Waiting for unfinished jobs....
src/unix/darwin-proctitle.c:34:11: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
# include <ApplicationServices/ApplicationServices.h>
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
make: *** [Makefile:2557: src/unix/libuv_la-darwin-proctitle.lo] Error 1
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 270, in <module>
    test_suite='tests.suite'
  File "/nix/store/k29vx88f57rd1yafdbwgz3ynnhsnrmzv-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/core.py", line 148, in setup
    dist.run_commands()
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/nix/store/5vhhlk0x582jd58n9izkgjb26d16c2p9-python3.7-python3.7-wheel-0.33.6/lib/python3.7/site-packages/wheel/bdist_wheel.py", line 192, in run
    self.run_command('build')
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/command/build.py", line 135, in run
    self.run_command(cmd_name)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/dist.py", line 985, in run_command
    cmd_obj.run()
  File "/nix/store/k29vx88f57rd1yafdbwgz3ynnhsnrmzv-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/command/build_ext.py", line 84, in run
    _build_ext.run(self)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/distutils/command/build_ext.py", line 340, in run
    self.build_extensions()
  File "setup.py", line 198, in build_extensions
    self.build_libuv()
  File "setup.py", line 185, in build_libuv
    cwd=LIBUV_BUILD_DIR, env=env, check=True)
  File "/nix/store/rha7vqq2xg37z37g7wzqa7cnrxnav5x9-python3-3.7.6/lib/python3.7/subprocess.py", line 512, in run
    output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['make', '-j8', 'CFLAGS= -O2 -fPIC ']' returned non-zero exit status 2.
builder for '/nix/store/7nqmdxayjwhgpcn3j4xid9bq75szw4hg-python3.7-uvloop-0.14.0.drv' failed with exit code 1
cannot build derivation '/nix/store/na80lsk1p810bzxx81fs20sibdq9hy21-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/na80lsk1p810bzxx81fs20sibdq9hy21-python3-3.7.6-env.drv' failed

I guess buildInputs of uvloop needs to be extended with ++ lib.optionals stdenv.isDarwin [ darwin.apple_sdk.frameworks.CoreServices darwin.apple_sdk.frameworks.ApplicationServices ], but if I understand it correctly, it's already taken care of at https://github.com/NixOS/nixpkgs/blob/ec8fd9cc3450b78573ccc8684fce8aa504705af3/pkgs/development/python-modules/uvloop/default.nix#L27

I wonder if it's my local issue (running it on MacOS Catalina, Xcode and xcode-select --install, Poetry-1.0.2) or something that others can reproduce in their environment too?

Installing a package with Rust dependencies

Hello again 😸 I am trying to install a package with Rust dependencies (maturin) and it's not going well. I thought that adding rustc and cargo to the nativeBuildInputs would do the trick, but the builder fails without any helpful error message. Do you have any suggestions how to debug this?

The shell.nix:

with import (builtins.fetchGit {
  name = "nixpkgs-unstable-2020-01-06";
  url = "https://github.com/NixOS/nixpkgs-channels";
  ref = "nixpkgs-unstable";
  # `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable`
  rev = "7e8454fb856573967a70f61116e15f879f2e3f6a";
}) {
};

let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    # Commit hash for master as of 2020-01-10
    # `git ls-remote https://github.com/nix-community/poetry2nix.git master`
    rev = "7d8722a799be9d20a51b619d0dac181e474c3879";
    sha256 = "183jwnrm417c1rpqn5hiq8gb40m9490mfpihwapph0qwzjhsf167";
  };
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let
  pythonEnv = poetry2nix.mkPoetryEnv {
    python = python3;
    poetrylock = ./poetry.lock;
    overrides = [
      poetry2nix.defaultPoetryOverrides (self: super: {
        maturin = super.maturin.overrideAttrs(old: {
          nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.cargo pkgs.rustc ];
        });
      })
    ];
  };
in
  mkShell {
    name = "example";
    nativeBuildInputs = [
      pythonEnv
      poetry
    ];
  }

and the poetry.lock:

[[package]]
category = "dev"
description = "Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages"
name = "maturin"
optional = false
python-versions = ">=3.5"
version = "0.7.7"

[package.dependencies]
toml = ">=0.10.0,<0.11.0"

[[package]]
category = "dev"
description = "Python Library for Tom's Obvious, Minimal Language"
name = "toml"
optional = false
python-versions = "*"
version = "0.10.0"

[metadata]
content-hash = "b62226d9119fda54336e87418cb2b6b90650853ad5351cb584fd825aca80c331"
python-versions = "^3.6"

[metadata.files]
maturin = [
    {file = "maturin-0.7.7-py2.py3-none-macosx_10_7_x86_64.whl", hash = "sha256:87a3d9a94f9c3b8d3ecc57017cdae2b3f1e0f6bfc851509f0b53c2486f312dcc"},
    {file = "maturin-0.7.7-py2.py3-none-manylinux1_i686.whl", hash = "sha256:7f7f04de2acf379b1ff8993747f11bfb60760c69caf8c43414212cf7cc4b07ef"},
    {file = "maturin-0.7.7-py2.py3-none-manylinux1_x86_64.whl", hash = "sha256:aa474d70630833349dac090306fd51a8af2df88080cea74ea4d831b40616ea41"},
    {file = "maturin-0.7.7-py2.py3-none-win32.whl", hash = "sha256:5e6390245a023cbdca39d9276035fdee4d892b44d3ab798ccf2c3443d87e3f98"},
    {file = "maturin-0.7.7-py2.py3-none-win_amd64.whl", hash = "sha256:4fd7fcf4e40e984274dc9caf80c08fa16a6c7c1f4ca1f694ba2ac3802b7340aa"},
    {file = "maturin-0.7.7.tar.gz", hash = "sha256:2533c648aa8fa19f7a9d4f62282b4adce2f9c07c49f512005f92911be767555e"},
]
toml = [
    {file = "toml-0.10.0-py2.7.egg", hash = "sha256:f1db651f9657708513243e61e6cc67d101a39bad662eaa9b5546f789338e07a3"},
    {file = "toml-0.10.0-py2.py3-none-any.whl", hash = "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e"},
    {file = "toml-0.10.0.tar.gz", hash = "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c"},
]

torch fails in fixup phase

When building a poetry environment with just torch in it, it builds and installs just fine, but in the fixup phase (when it sets RPATHS), it fails to find CUDA-related libraries, specifically libcuda.so.1.


Also related, this still happens if I add an override to export USE_CUDA=0 in the preConfigure phase, probably because it just downloads a wheel anyways?

Also also related, pandas, which is a dependency of torch, wouldn't build without cython present, so I had to override the nativeBuildInputs to include cython:

pandas = super.pandas.overrideAttrs (old: {
  nativeBuildInputs = old.nativeBuildInputs ++ [ self.cython ];
});

Here are my pyproject.toml and poetry.lock files, and here is the output of nix-shell.

If I add the below override to export LD_LIBRARY_PATH so it can find those libraries, I get one that I can't locate (libcudart.so.10.1).

(self: super: {
  torch = super.torch.overrideAttrs (old: {
    nativeBuildInputs = old.nativeBuildInputs
     ++ [ pkgs.cudatoolkit pkgs.linuxPackages.nvidia_x11 ];
    preConfigure = ''
      export LD_LIBRARY_PATH="${pkgs.linuxPackages.nvidia_x11}/lib:${pkgs.cudatoolkit}/targets/x86_64-linux/lib"
    '';
})

Output from running nix-shell with that is here.

I'm not really sure where to go from here, or even if I'm going in the right direction.
I don't mind dropping the CUDA support when building pytorch, but like I said above exporting the proper variable doesn't affect it.

Collision between packages

I end up with a:

collision between `/nix/store/i3yh9cvd2h0jh2zwsds1mzhrnmchq7wm-python3.7-vose-alias-method-1.1.1/LICENSE' and `/nix/store/vr6sz31s2wpg439300kax1hcz3nba5rs-python3.7-pytest-datadir-1.3.1/LICENSE'

with the following shell.nix:

with import (builtins.fetchGit {
  name = "nixpkgs-unstable-2020-01-06";
  url = "https://github.com/NixOS/nixpkgs-channels";
  ref = "nixpkgs-unstable";
  # `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable`
  rev = "7e8454fb856573967a70f61116e15f879f2e3f6a";
}) {
};

let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    # Commit hash for master as of 2020-01-10
    # `git ls-remote https://github.com/nix-community/poetry2nix.git master`
    rev = "7d8722a799be9d20a51b619d0dac181e474c3879";
    sha256 = "183jwnrm417c1rpqn5hiq8gb40m9490mfpihwapph0qwzjhsf167";
  };
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let
  pythonEnv = poetry2nix.mkPoetryEnv {
    python = python3;
    poetrylock = ./poetry.lock;
    overrides = [
      poetry2nix.defaultPoetryOverrides (self: super: {
        maturin = super.maturin.overrideAttrs(old: {
          nativeBuildInputs = old.nativeBuildInputs ++ [ pkgs.cargo pkgs.rustc ];
        });
      })
    ];
  };
in
  mkShell {
    name = "example";
    nativeBuildInputs = [
      pythonEnv
      poetry
    ];
  }

and poetry.lock:

[[package]]
category = "dev"
description = "Atomic file writes."
marker = "sys_platform == \"win32\""
name = "atomicwrites"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.3.0"

[[package]]
category = "dev"
description = "Classes Without Boilerplate"
name = "attrs"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.3.0"

[package.extras]
azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"]
dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"]
docs = ["sphinx", "zope.interface"]
tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"]

[[package]]
category = "dev"
description = "Cross-platform colored terminal text."
marker = "sys_platform == \"win32\""
name = "colorama"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.4.3"

[[package]]
category = "dev"
description = "Read metadata from Python packages"
marker = "python_version < \"3.8\""
name = "importlib-metadata"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
version = "1.4.0"

[package.dependencies]
zipp = ">=0.5"

[package.extras]
docs = ["sphinx", "rst.linker"]
testing = ["packaging", "importlib-resources"]

[[package]]
category = "dev"
description = "More routines for operating on iterables, beyond itertools"
name = "more-itertools"
optional = false
python-versions = ">=3.5"
version = "8.1.0"

[[package]]
category = "dev"
description = "Core utilities for Python packages"
name = "packaging"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "20.0"

[package.dependencies]
pyparsing = ">=2.0.2"
six = "*"

[[package]]
category = "dev"
description = "plugin and hook calling mechanisms for python"
name = "pluggy"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.13.1"

[package.dependencies]
[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[package.extras]
dev = ["pre-commit", "tox"]

[[package]]
category = "dev"
description = "library with cross-python path, ini-parsing, io, code, log facilities"
name = "py"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.8.1"

[[package]]
category = "dev"
description = "Python parsing module"
name = "pyparsing"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.4.6"

[[package]]
category = "dev"
description = "pytest: simple powerful testing with Python"
name = "pytest"
optional = false
python-versions = ">=3.5"
version = "5.3.2"

[package.dependencies]
atomicwrites = ">=1.0"
attrs = ">=17.4.0"
colorama = "*"
more-itertools = ">=4.0.0"
packaging = "*"
pluggy = ">=0.12,<1.0"
py = ">=1.5.0"
wcwidth = "*"

[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[package.extras]
testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"]

[[package]]
category = "dev"
description = "pytest plugin for test data directories and files"
name = "pytest-datadir"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.3.1"

[package.dependencies]
pytest = ">=2.7.0"

[[package]]
category = "dev"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*"
version = "1.13.0"

[[package]]
category = "main"
description = "Python implementation of Vose's alias method, an efficient algorithm for sampling from a discrete probability distribution."
name = "vose-alias-method"
optional = false
python-versions = "*"
version = "1.1.1"

[[package]]
category = "dev"
description = "Measures number of Terminal column cells of wide-character codes"
name = "wcwidth"
optional = false
python-versions = "*"
version = "0.1.8"

[[package]]
category = "dev"
description = "Backport of pathlib-compatible object wrapper for zip files"
marker = "python_version < \"3.8\""
name = "zipp"
optional = false
python-versions = ">=2.7"
version = "0.6.0"

[package.dependencies]
more-itertools = "*"

[package.extras]
docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
testing = ["pathlib2", "contextlib2", "unittest2"]

[metadata]
content-hash = "e60e7e89321628b09a92edc84137cec1705f36e72d6a8a1f7f30e00cc1518ccf"
python-versions = "^3.6"

[metadata.files]
atomicwrites = [
    {file = "atomicwrites-1.3.0-py2.py3-none-any.whl", hash = "sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4"},
    {file = "atomicwrites-1.3.0.tar.gz", hash = "sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"},
]
attrs = [
    {file = "attrs-19.3.0-py2.py3-none-any.whl", hash = "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c"},
    {file = "attrs-19.3.0.tar.gz", hash = "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"},
]
colorama = [
    {file = "colorama-0.4.3-py2.py3-none-any.whl", hash = "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff"},
    {file = "colorama-0.4.3.tar.gz", hash = "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1"},
]
importlib-metadata = [
    {file = "importlib_metadata-1.4.0-py2.py3-none-any.whl", hash = "sha256:bdd9b7c397c273bcc9a11d6629a38487cd07154fa255a467bf704cd2c258e359"},
    {file = "importlib_metadata-1.4.0.tar.gz", hash = "sha256:f17c015735e1a88296994c0697ecea7e11db24290941983b08c9feb30921e6d8"},
]
more-itertools = [
    {file = "more-itertools-8.1.0.tar.gz", hash = "sha256:c468adec578380b6281a114cb8a5db34eb1116277da92d7c46f904f0b52d3288"},
    {file = "more_itertools-8.1.0-py3-none-any.whl", hash = "sha256:1a2a32c72400d365000412fe08eb4a24ebee89997c18d3d147544f70f5403b39"},
]
packaging = [
    {file = "packaging-20.0-py2.py3-none-any.whl", hash = "sha256:aec3fdbb8bc9e4bb65f0634b9f551ced63983a529d6a8931817d52fdd0816ddb"},
    {file = "packaging-20.0.tar.gz", hash = "sha256:fe1d8331dfa7cc0a883b49d75fc76380b2ab2734b220fbb87d774e4fd4b851f8"},
]
pluggy = [
    {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"},
    {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"},
]
py = [
    {file = "py-1.8.1-py2.py3-none-any.whl", hash = "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0"},
    {file = "py-1.8.1.tar.gz", hash = "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa"},
]
pyparsing = [
    {file = "pyparsing-2.4.6-py2.py3-none-any.whl", hash = "sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec"},
    {file = "pyparsing-2.4.6.tar.gz", hash = "sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f"},
]
pytest = [
    {file = "pytest-5.3.2-py3-none-any.whl", hash = "sha256:e41d489ff43948babd0fad7ad5e49b8735d5d55e26628a58673c39ff61d95de4"},
    {file = "pytest-5.3.2.tar.gz", hash = "sha256:6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa"},
]
pytest-datadir = [
    {file = "pytest-datadir-1.3.1.tar.gz", hash = "sha256:d3af1e738df87515ee509d6135780f25a15959766d9c2b2dbe02bf4fb979cb18"},
    {file = "pytest_datadir-1.3.1-py2.py3-none-any.whl", hash = "sha256:1847ed0efe0bc54cac40ab3fba6d651c2f03d18dd01f2a582979604d32e7621e"},
]
six = [
    {file = "six-1.13.0-py2.py3-none-any.whl", hash = "sha256:1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd"},
    {file = "six-1.13.0.tar.gz", hash = "sha256:30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66"},
]
vose-alias-method = [
    {file = "Vose-Alias-Method-1.1.1.tar.gz", hash = "sha256:aad5889d11852b0dd4cac75c6de9a431770a1822cdea87ec638d47357a3173a3"},
    {file = "Vose_Alias_Method-1.1.1-py3-none-any.whl", hash = "sha256:5fc08d66693c24b3e4dc73669c09316e2e1d8ab7defdf6c82d3f1b33465b7bf5"},
]
wcwidth = [
    {file = "wcwidth-0.1.8-py2.py3-none-any.whl", hash = "sha256:8fd29383f539be45b20bd4df0dc29c20ba48654a41e661925e612311e9f3c603"},
    {file = "wcwidth-0.1.8.tar.gz", hash = "sha256:f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8"},
]
zipp = [
    {file = "zipp-0.6.0-py2.py3-none-any.whl", hash = "sha256:f06903e9f1f43b12d371004b4ac7b06ab39a44adc747266928ae6debfa7b3335"},
    {file = "zipp-0.6.0.tar.gz", hash = "sha256:3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"},
]

Cannot cythonize without Cython installed.

I have this pyproject.toml file

[tool.poetry]
name = "myproj"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.7"
cython = ">0.29.14"
scipy = "1.4.1"
matplotlib = "^3.0"
scikit-learn = "*"
seaborn = "*"

I run poetry lock which produces this poetry.lock file:

[[package]]
category = "main"
description = "Composable style cycles"
name = "cycler"
optional = false
python-versions = "*"
version = "0.10.0"

[package.dependencies]
six = "*"

[[package]]
category = "main"
description = "The Cython compiler for writing C extensions for the Python language."
name = "cython"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "0.29.15"

[[package]]
category = "main"
description = "Lightweight pipelining: using Python functions as pipeline jobs."
name = "joblib"
optional = false
python-versions = "*"
version = "0.14.1"

[[package]]
category = "main"
description = "A fast implementation of the Cassowary constraint solver"
name = "kiwisolver"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.1.0"

[package.dependencies]
setuptools = "*"

[[package]]
category = "main"
description = "Python plotting package"
name = "matplotlib"
optional = false
python-versions = ">=3.6"
version = "3.1.3"

[package.dependencies]
cycler = ">=0.10"
kiwisolver = ">=1.0.1"
numpy = ">=1.11"
pyparsing = ">=2.0.1,<2.0.4 || >2.0.4,<2.1.2 || >2.1.2,<2.1.6 || >2.1.6"
python-dateutil = ">=2.1"

[[package]]
category = "main"
description = "NumPy is the fundamental package for array computing with Python."
name = "numpy"
optional = false
python-versions = ">=3.5"
version = "1.18.1"

[[package]]
category = "main"
description = "Powerful data structures for data analysis, time series, and statistics"
name = "pandas"
optional = false
python-versions = ">=3.6.1"
version = "1.0.1"

[package.dependencies]
numpy = ">=1.13.3"
python-dateutil = ">=2.6.1"
pytz = ">=2017.2"

[package.extras]
test = ["pytest (>=4.0.2)", "pytest-xdist", "hypothesis (>=3.58)"]

[[package]]
category = "main"
description = "Python parsing module"
name = "pyparsing"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.4.6"

[[package]]
category = "main"
description = "Extensions to the standard Python datetime module"
name = "python-dateutil"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
version = "2.8.1"

[package.dependencies]
six = ">=1.5"

[[package]]
category = "main"
description = "World timezone definitions, modern and historical"
name = "pytz"
optional = false
python-versions = "*"
version = "2019.3"

[[package]]
category = "main"
description = "A set of python modules for machine learning and data mining"
name = "scikit-learn"
optional = false
python-versions = ">=3.5"
version = "0.22.1"

[package.dependencies]
joblib = ">=0.11"
numpy = ">=1.11.0"
scipy = ">=0.17.0"

[package.extras]
alldeps = ["numpy (>=1.11.0)", "scipy (>=0.17.0)"]

[[package]]
category = "main"
description = "SciPy: Scientific Library for Python"
name = "scipy"
optional = false
python-versions = ">=3.5"
version = "1.4.0"

[package.dependencies]
numpy = ">=1.13.3"

[[package]]
category = "main"
description = "seaborn: statistical data visualization"
name = "seaborn"
optional = false
python-versions = ">=3.6"
version = "0.10.0"

[package.dependencies]
matplotlib = ">=2.1.2"
numpy = ">=1.13.3"
pandas = ">=0.22.0"
scipy = ">=1.0.1"

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
version = "1.14.0"

[metadata]
content-hash = "26aed954ecd0c6fcf3965748c4b25ebe392c7862a8f90635e13720dace7d61f2"
python-versions = "^3.7"

[metadata.files]
cycler = [
    {file = "cycler-0.10.0-py2.py3-none-any.whl", hash = "sha256:1d8a5ae1ff6c5cf9b93e8811e581232ad8920aeec647c37316ceac982b08cb2d"},
    {file = "cycler-0.10.0.tar.gz", hash = "sha256:cd7b2d1018258d7247a71425e9f26463dfb444d411c39569972f4ce586b0c9d8"},
]
cython = [
    {file = "Cython-0.29.15-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:1dc973bdea03c65f03f41517e4f0fc2b717d71cfbcf4ec34adac7e5bee71303e"},
    {file = "Cython-0.29.15-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:214a53257c100e93e7673e95ab448d287a37626a3902e498025993cc633647ae"},
    {file = "Cython-0.29.15-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:9a5f0cf8b95c0c058e413679a650f70dcc97764ccb2a6d5ccc6b08d44c9b334c"},
    {file = "Cython-0.29.15-cp27-cp27m-win32.whl", hash = "sha256:61e505379497b624d6316dd67ef8100aaadca0451f48f8c6fff8d622281cd121"},
    {file = "Cython-0.29.15-cp27-cp27m-win_amd64.whl", hash = "sha256:30462d61e7e290229a64e1c3682b4cc758ffc441e59cc6ce6fae059a05df305b"},
    {file = "Cython-0.29.15-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:6f6de0bee19c70cb01e519634f0c35770de623006e4876e649ee4a960a147fec"},
    {file = "Cython-0.29.15-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:c3d778304209cc39f8287da22f2180f34d2c2ee46cd55abd82e48178841b37b1"},
    {file = "Cython-0.29.15-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:34c888a57f419c63bef63bc0911c5bb407b93ed5d6bdeb1587dca2cd1dd56ad1"},
    {file = "Cython-0.29.15-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:ea3b61bff995de49b07331d1081e0056ea29901d3e995aa989073fe2b1be0cb7"},
    {file = "Cython-0.29.15-cp34-cp34m-win32.whl", hash = "sha256:9f2839396d21d5537bc9ff53772d44db39b0efb6bf8b6cac709170483df53a5b"},
    {file = "Cython-0.29.15-cp34-cp34m-win_amd64.whl", hash = "sha256:f91b16e73eca996f86d1943be3b2c2b679b03e068ed8c82a5506c1e65766e4a6"},
    {file = "Cython-0.29.15-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:ea5f987b4da530822fa797cf2f010193be77ea9e232d07454e3194531edd8e58"},
    {file = "Cython-0.29.15-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:34004f60b1e79033b0ca29b9ab53a86c12bcaab56648b82fbe21c007cd73d867"},
    {file = "Cython-0.29.15-cp35-cp35m-win32.whl", hash = "sha256:d282b030ed5c736e4cdb1713a0c4fad7027f4e3959dc4b8fdb7c75042d83ed1b"},
    {file = "Cython-0.29.15-cp35-cp35m-win_amd64.whl", hash = "sha256:bb6d90180eff72fc5a30099c442b8b0b5a620e84bf03ef32a55e3f7bd543f32e"},
    {file = "Cython-0.29.15-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:b8ba4b4ee3addc26bc595a51b6240b05a80e254b946d624fff6506439bc323d1"},
    {file = "Cython-0.29.15-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:77ac051b7caf02938a32ea0925f558534ab2a99c0c98c681cc905e3e8cba506e"},
    {file = "Cython-0.29.15-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:d8c73fe0ec57a0e4fdf5d2728b5e18b63980f55f1baf51b6bac6a73e8cbb7186"},
    {file = "Cython-0.29.15-cp36-cp36m-win32.whl", hash = "sha256:d114f9c0164df8fcd2880e4ba96986d7b0e7218f6984acc4989ff384c5d3d512"},
    {file = "Cython-0.29.15-cp36-cp36m-win_amd64.whl", hash = "sha256:4e5acf3b856a50d0aaf385f06a7b56a128a296322a9740f5f279c96619244308"},
    {file = "Cython-0.29.15-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:3dd0cba13b36ff969232930bd6db08d3da0798f1fac376bd1fa4458f4b55d802"},
    {file = "Cython-0.29.15-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:c562bc316040097e21357e783286e5eca056a5b2750e89d9d75f9541c156b6dc"},
    {file = "Cython-0.29.15-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:e7f1dcc0e8c3e18fa2fddca4aecdf71c5651555a8dc9a0cd3a1d164cbce6cb35"},
    {file = "Cython-0.29.15-cp37-cp37m-win32.whl", hash = "sha256:7e4d74515d92c4e2be7201aaef7a51705bd3d5957df4994ddfe1b252195b5e27"},
    {file = "Cython-0.29.15-cp37-cp37m-win_amd64.whl", hash = "sha256:0e078e793a9882bf48194b8b5c9b40c75769db1859cd90b210a4d7bf33cda2b1"},
    {file = "Cython-0.29.15-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:01d566750e7c08e5f094419f8d1ee90e7fa286d8d77c4569748263ed5f05280a"},
    {file = "Cython-0.29.15-cp38-cp38-manylinux1_i686.whl", hash = "sha256:1a3842be21d1e25b7f3440a0c881ef44161937273ea386c30c0e253e30c63740"},
    {file = "Cython-0.29.15-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:072cb90e2fe4b5cc27d56de12ec5a00311eee781c2d2e3f7c98a82319103c7ed"},
    {file = "Cython-0.29.15-cp38-cp38-win32.whl", hash = "sha256:993837bbf0849e3b176e1ef6a50e9b8c2225e895501b85d56f4bb65a67f5ea25"},
    {file = "Cython-0.29.15-cp38-cp38-win_amd64.whl", hash = "sha256:e5c8f4198e25bc4b0e4a884377e0c0e46ca273993679e3bcc212ef96d4211b83"},
    {file = "Cython-0.29.15-py2.py3-none-any.whl", hash = "sha256:7ea18a5c87cacdd6e4feacf8badf13643775b6f69c3aa8b50417834b9ce0e627"},
    {file = "Cython-0.29.15.tar.gz", hash = "sha256:60d859e1efa5cc80436d58aecd3718ff2e74b987db0518376046adedba97ac30"},
]
joblib = [
    {file = "joblib-0.14.1-py2.py3-none-any.whl", hash = "sha256:bdb4fd9b72915ffb49fde2229ce482dd7ae79d842ed8c2b4c932441495af1403"},
    {file = "joblib-0.14.1.tar.gz", hash = "sha256:0630eea4f5664c463f23fbf5dcfc54a2bc6168902719fa8e19daf033022786c8"},
]
kiwisolver = [
    {file = "kiwisolver-1.1.0-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:7f4dd50874177d2bb060d74769210f3bce1af87a8c7cf5b37d032ebf94f0aca3"},
    {file = "kiwisolver-1.1.0-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:fe51b79da0062f8e9d49ed0182a626a7dc7a0cbca0328f612c6ee5e4711c81e4"},
    {file = "kiwisolver-1.1.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:f790f8b3dff3d53453de6a7b7ddd173d2e020fb160baff578d578065b108a05f"},
    {file = "kiwisolver-1.1.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:f2b22153870ca5cf2ab9c940d7bc38e8e9089fa0f7e5856ea195e1cf4ff43d5a"},
    {file = "kiwisolver-1.1.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:e8bf074363ce2babeb4764d94f8e65efd22e6a7c74860a4f05a6947afc020ff2"},
    {file = "kiwisolver-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:05b5b061e09f60f56244adc885c4a7867da25ca387376b02c1efc29cc16bcd0f"},
    {file = "kiwisolver-1.1.0-cp27-none-win32.whl", hash = "sha256:47b8cb81a7d18dbaf4fed6a61c3cecdb5adec7b4ac292bddb0d016d57e8507d5"},
    {file = "kiwisolver-1.1.0-cp27-none-win_amd64.whl", hash = "sha256:b64916959e4ae0ac78af7c3e8cef4becee0c0e9694ad477b4c6b3a536de6a544"},
    {file = "kiwisolver-1.1.0-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:682e54f0ce8f45981878756d7203fd01e188cc6c8b2c5e2cf03675390b4534d5"},
    {file = "kiwisolver-1.1.0-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:d52e3b1868a4e8fd18b5cb15055c76820df514e26aa84cc02f593d99fef6707f"},
    {file = "kiwisolver-1.1.0-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:8aa7009437640beb2768bfd06da049bad0df85f47ff18426261acecd1cf00897"},
    {file = "kiwisolver-1.1.0-cp34-none-win32.whl", hash = "sha256:26f4fbd6f5e1dabff70a9ba0d2c4bd30761086454aa30dddc5b52764ee4852b7"},
    {file = "kiwisolver-1.1.0-cp34-none-win_amd64.whl", hash = "sha256:79bfb2f0bd7cbf9ea256612c9523367e5ec51d7cd616ae20ca2c90f575d839a2"},
    {file = "kiwisolver-1.1.0-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:3b2378ad387f49cbb328205bda569b9f87288d6bc1bf4cd683c34523a2341efe"},
    {file = "kiwisolver-1.1.0-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:aa716b9122307c50686356cfb47bfbc66541868078d0c801341df31dca1232a9"},
    {file = "kiwisolver-1.1.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:58e626e1f7dfbb620d08d457325a4cdac65d1809680009f46bf41eaf74ad0187"},
    {file = "kiwisolver-1.1.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:e3a21a720791712ed721c7b95d433e036134de6f18c77dbe96119eaf7aa08004"},
    {file = "kiwisolver-1.1.0-cp35-none-win32.whl", hash = "sha256:939f36f21a8c571686eb491acfffa9c7f1ac345087281b412d63ea39ca14ec4a"},
    {file = "kiwisolver-1.1.0-cp35-none-win_amd64.whl", hash = "sha256:9733b7f64bd9f807832d673355f79703f81f0b3e52bfce420fc00d8cb28c6a6c"},
    {file = "kiwisolver-1.1.0-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:acc4df99308111585121db217681f1ce0eecb48d3a828a2f9bbf9773f4937e9e"},
    {file = "kiwisolver-1.1.0-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:9105ce82dcc32c73eb53a04c869b6a4bc756b43e4385f76ea7943e827f529e4d"},
    {file = "kiwisolver-1.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:f16814a4a96dc04bf1da7d53ee8d5b1d6decfc1a92a63349bb15d37b6a263dd9"},
    {file = "kiwisolver-1.1.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:400599c0fe58d21522cae0e8b22318e09d9729451b17ee61ba8e1e7c0346565c"},
    {file = "kiwisolver-1.1.0-cp36-none-win32.whl", hash = "sha256:db1a5d3cc4ae943d674718d6c47d2d82488ddd94b93b9e12d24aabdbfe48caee"},
    {file = "kiwisolver-1.1.0-cp36-none-win_amd64.whl", hash = "sha256:5a52e1b006bfa5be04fe4debbcdd2688432a9af4b207a3f429c74ad625022641"},
    {file = "kiwisolver-1.1.0-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl", hash = "sha256:a02f6c3e229d0b7220bd74600e9351e18bc0c361b05f29adae0d10599ae0e326"},
    {file = "kiwisolver-1.1.0-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:9491578147849b93e70d7c1d23cb1229458f71fc79c51d52dce0809b2ca44eea"},
    {file = "kiwisolver-1.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:5c7ca4e449ac9f99b3b9d4693debb1d6d237d1542dd6a56b3305fe8a9620f883"},
    {file = "kiwisolver-1.1.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:a0c0a9f06872330d0dd31b45607197caab3c22777600e88031bfe66799e70bb0"},
    {file = "kiwisolver-1.1.0-cp37-none-win32.whl", hash = "sha256:8944a16020c07b682df861207b7e0efcd2f46c7488619cb55f65882279119389"},
    {file = "kiwisolver-1.1.0-cp37-none-win_amd64.whl", hash = "sha256:d3fcf0819dc3fea58be1fd1ca390851bdb719a549850e708ed858503ff25d995"},
    {file = "kiwisolver-1.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:933df612c453928f1c6faa9236161a1d999a26cd40abf1dc5d7ebbc6dbfb8fca"},
    {file = "kiwisolver-1.1.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:d22702cadb86b6fcba0e6b907d9f84a312db9cd6934ee728144ce3018e715ee1"},
    {file = "kiwisolver-1.1.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:210d8c39d01758d76c2b9a693567e1657ec661229bc32eac30761fa79b2474b0"},
    {file = "kiwisolver-1.1.0-cp38-none-win32.whl", hash = "sha256:76275ee077772c8dde04fb6c5bc24b91af1bb3e7f4816fd1852f1495a64dad93"},
    {file = "kiwisolver-1.1.0-cp38-none-win_amd64.whl", hash = "sha256:3b15d56a9cd40c52d7ab763ff0bc700edbb4e1a298dc43715ecccd605002cf11"},
    {file = "kiwisolver-1.1.0.tar.gz", hash = "sha256:53eaed412477c836e1b9522c19858a8557d6e595077830146182225613b11a75"},
]
matplotlib = [
    {file = "matplotlib-3.1.3-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:6a0031774c6c68298183438edf2e738856d63a4c4797876fa81d0ee337f5361c"},
    {file = "matplotlib-3.1.3-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b4c0010eff09ab65c77ad1a0eec6c7cccb9f6838c3c77dc5b4002fe0cf2912fd"},
    {file = "matplotlib-3.1.3-cp36-cp36m-win32.whl", hash = "sha256:78d0772412c0653aa3e860c52ff08d1f5ba64334e2b86b09dc2d502657d8ca73"},
    {file = "matplotlib-3.1.3-cp36-cp36m-win_amd64.whl", hash = "sha256:97f04d29a358826f205320fbc88d46ce5c5ff6fb54ae050042ff396beda52ca4"},
    {file = "matplotlib-3.1.3-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:4164265ca573481ce61c83322e6b33628203afeabeb3e22c50376f5d3ee0f9be"},
    {file = "matplotlib-3.1.3-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:b5ace0531255932ad19fe64c116ada2713f7b38381db8f68df0fa694409e67d1"},
    {file = "matplotlib-3.1.3-cp37-cp37m-win32.whl", hash = "sha256:c7bb7ed3e011324b56462391ec3f4bbb7c8c6af5892ebfb45d312b15b4cdfc8d"},
    {file = "matplotlib-3.1.3-cp37-cp37m-win_amd64.whl", hash = "sha256:f0023322c99328c40ce22678ab0ab5adfc27e338419966539398239996f63e8d"},
    {file = "matplotlib-3.1.3-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:db8bbba9284845034a2f0e1add91dc5e89db8c996359bdcf677a8d6f88875cf1"},
    {file = "matplotlib-3.1.3-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:635ded7834f43c8d999076236f7e90074d77f7b8345e5e82cd95af053cc29df1"},
    {file = "matplotlib-3.1.3-cp38-cp38-win32.whl", hash = "sha256:8efff896c49676700dc6adace6137a854ff64a4d44ca057ff726960ffdaa47bf"},
    {file = "matplotlib-3.1.3-cp38-cp38-win_amd64.whl", hash = "sha256:470eed601ff5132364e0121a20d7c3d43fab969c8c333422c1b6b72fde2ed3c1"},
    {file = "matplotlib-3.1.3-pp373-pypy36_pp73-win32.whl", hash = "sha256:23b71560c721109954c0215ffc81f4c80ce8528749d534a01a61e8ab737c5bce"},
    {file = "matplotlib-3.1.3.tar.gz", hash = "sha256:db3121f12fb9b99f105d1413aebaeb3d943f269f3d262b45586d12765866f0c6"},
]
numpy = [
    {file = "numpy-1.18.1-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:20b26aaa5b3da029942cdcce719b363dbe58696ad182aff0e5dcb1687ec946dc"},
    {file = "numpy-1.18.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:70a840a26f4e61defa7bdf811d7498a284ced303dfbc35acb7be12a39b2aa121"},
    {file = "numpy-1.18.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:17aa7a81fe7599a10f2b7d95856dc5cf84a4eefa45bc96123cbbc3ebc568994e"},
    {file = "numpy-1.18.1-cp35-cp35m-win32.whl", hash = "sha256:f3d0a94ad151870978fb93538e95411c83899c9dc63e6fb65542f769568ecfa5"},
    {file = "numpy-1.18.1-cp35-cp35m-win_amd64.whl", hash = "sha256:1786a08236f2c92ae0e70423c45e1e62788ed33028f94ca99c4df03f5be6b3c6"},
    {file = "numpy-1.18.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:ae0975f42ab1f28364dcda3dde3cf6c1ddab3e1d4b2909da0cb0191fa9ca0480"},
    {file = "numpy-1.18.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:cf7eb6b1025d3e169989416b1adcd676624c2dbed9e3bcb7137f51bfc8cc2572"},
    {file = "numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b765ed3930b92812aa698a455847141869ef755a87e099fddd4ccf9d81fffb57"},
    {file = "numpy-1.18.1-cp36-cp36m-win32.whl", hash = "sha256:2d75908ab3ced4223ccba595b48e538afa5ecc37405923d1fea6906d7c3a50bc"},
    {file = "numpy-1.18.1-cp36-cp36m-win_amd64.whl", hash = "sha256:9acdf933c1fd263c513a2df3dceecea6f3ff4419d80bf238510976bf9bcb26cd"},
    {file = "numpy-1.18.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:56bc8ded6fcd9adea90f65377438f9fea8c05fcf7c5ba766bef258d0da1554aa"},
    {file = "numpy-1.18.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:e422c3152921cece8b6a2fb6b0b4d73b6579bd20ae075e7d15143e711f3ca2ca"},
    {file = "numpy-1.18.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:b3af02ecc999c8003e538e60c89a2b37646b39b688d4e44d7373e11c2debabec"},
    {file = "numpy-1.18.1-cp37-cp37m-win32.whl", hash = "sha256:d92350c22b150c1cae7ebb0ee8b5670cc84848f6359cf6b5d8f86617098a9b73"},
    {file = "numpy-1.18.1-cp37-cp37m-win_amd64.whl", hash = "sha256:77c3bfe65d8560487052ad55c6998a04b654c2fbc36d546aef2b2e511e760971"},
    {file = "numpy-1.18.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c98c5ffd7d41611407a1103ae11c8b634ad6a43606eca3e2a5a269e5d6e8eb07"},
    {file = "numpy-1.18.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:9537eecf179f566fd1c160a2e912ca0b8e02d773af0a7a1120ad4f7507cd0d26"},
    {file = "numpy-1.18.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:e840f552a509e3380b0f0ec977e8124d0dc34dc0e68289ca28f4d7c1d0d79474"},
    {file = "numpy-1.18.1-cp38-cp38-win32.whl", hash = "sha256:590355aeade1a2eaba17617c19edccb7db8d78760175256e3cf94590a1a964f3"},
    {file = "numpy-1.18.1-cp38-cp38-win_amd64.whl", hash = "sha256:39d2c685af15d3ce682c99ce5925cc66efc824652e10990d2462dfe9b8918c6a"},
    {file = "numpy-1.18.1.zip", hash = "sha256:b6ff59cee96b454516e47e7721098e6ceebef435e3e21ac2d6c3b8b02628eb77"},
]
pandas = [
    {file = "pandas-1.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:74a470d349d52b9d00a2ba192ae1ee22155bb0a300fd1ccb2961006c3fa98ed3"},
    {file = "pandas-1.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:e2140e1bbf9c46db9936ee70f4be6584d15ff8dc3dfff1da022d71227d53bad3"},
    {file = "pandas-1.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:d10e83866b48c0cdb83281f786564e2a2b51a7ae7b8a950c3442ad3c9e36b48c"},
    {file = "pandas-1.0.1-cp36-cp36m-win32.whl", hash = "sha256:303827f0bb40ff610fbada5b12d50014811efcc37aaf6ef03202dc3054bfdda1"},
    {file = "pandas-1.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:6f38969e2325056f9959efbe06c27aa2e94dd35382265ad0703681d993036052"},
    {file = "pandas-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2530aea4fe46e8df7829c3f05e0a0f821c893885d53cb8ac9b89cc67c143448c"},
    {file = "pandas-1.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:3b019e3ea9f5d0cfee0efabae2cfd3976874e90bcc3e97b29600e5a9b345ae3d"},
    {file = "pandas-1.0.1-cp37-cp37m-win32.whl", hash = "sha256:23e177d43e4bf68950b0f8788b6a2fef2f478f4ec94883acb627b9264522a98a"},
    {file = "pandas-1.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a9fbe41663416bb70ed05f4e16c5f377519c0dc292ba9aa45f5356e37df03a38"},
    {file = "pandas-1.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7f9a509f6f11fa8b9313002ebdf6f690a7aa1dd91efd95d90185371a0d68220e"},
    {file = "pandas-1.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:942b5d04762feb0e55b2ad97ce2b254a0ffdd344b56493b04a627266e24f2d82"},
    {file = "pandas-1.0.1-cp38-cp38-win32.whl", hash = "sha256:7d77034e402165b947f43050a8a415aa3205abfed38d127ea66e57a2b7b5a9e0"},
    {file = "pandas-1.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:5036d4009012a44aa3e50173e482b664c1fae36decd277c49e453463798eca4e"},
    {file = "pandas-1.0.1.tar.gz", hash = "sha256:3c07765308f091d81b6735d4f2242bb43c332cc3461cae60543df6b10967fe27"},
]
pyparsing = [
    {file = "pyparsing-2.4.6-py2.py3-none-any.whl", hash = "sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec"},
    {file = "pyparsing-2.4.6.tar.gz", hash = "sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f"},
]
python-dateutil = [
    {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
    {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
]
pytz = [
    {file = "pytz-2019.3-py2.py3-none-any.whl", hash = "sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d"},
    {file = "pytz-2019.3.tar.gz", hash = "sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"},
]
scikit-learn = [
    {file = "scikit-learn-0.22.1.tar.gz", hash = "sha256:51ee25330fc244107588545c70e2f3570cfc4017cff09eed69d6e1d82a212b7d"},
    {file = "scikit_learn-0.22.1-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:6fad30299ef3dd103871ad1235b445fd5d2df47c424746eaf3c50fbc99c49cef"},
    {file = "scikit_learn-0.22.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:28033cb7b50b8a6c3762cddd41dc7e5449347dedfa353409a576082e76309d09"},
    {file = "scikit_learn-0.22.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:d92b81615854504c27063e0970aed37e644eea5991444558c8aca8fadc1483b3"},
    {file = "scikit_learn-0.22.1-cp35-cp35m-win32.whl", hash = "sha256:13b9ac18d48c051dfea32783067f2e45552e45852b88f3bccdb5c72fa56df3fe"},
    {file = "scikit_learn-0.22.1-cp35-cp35m-win_amd64.whl", hash = "sha256:956a68772df02342af129e8bbe858b3053745c36beb6351a13641e3b56e0df23"},
    {file = "scikit_learn-0.22.1-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:f18ae2abc09cb94a171840829a8132dda7267c941eb431387a6014f943946825"},
    {file = "scikit_learn-0.22.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:ebdf03b6e7f784e360ab26cf400cd2125d650c0903ef11086c0a3f2b4b07e603"},
    {file = "scikit_learn-0.22.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:80eec2f54cc7f51c5abb743f09506e009ba2b95bf6fb0e554aa0d8959b680003"},
    {file = "scikit_learn-0.22.1-cp36-cp36m-win32.whl", hash = "sha256:93001af23b0f1e68d93447f9d56bad631d4fc28eafd78b09469fb55aeff715b1"},
    {file = "scikit_learn-0.22.1-cp36-cp36m-win_amd64.whl", hash = "sha256:671874343a0b33bc0dbcae4af0b9a77c55b8132b33887fbfe086681c3f010840"},
    {file = "scikit_learn-0.22.1-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:7f1cdfd3c5e9d0951e273f49bb25bd9886537ab77e2273502b8676c3105828ae"},
    {file = "scikit_learn-0.22.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:1e0cb60dae75da9e72d38569d18bbad5008777defd23585035a1314a01af966c"},
    {file = "scikit_learn-0.22.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:96e1365ba285903e493b1e9505b533171c852f7069d038dcc3395ece952fdc78"},
    {file = "scikit_learn-0.22.1-cp37-cp37m-win32.whl", hash = "sha256:06c9816249b9664ef1b04ad6a5d4dfe0c4017c584858c4e658861c2ac5eb4f31"},
    {file = "scikit_learn-0.22.1-cp37-cp37m-win_amd64.whl", hash = "sha256:d92ed650c32db013f66bba63af4922bd7a9b8c5802d4ee292332e504e567bd4a"},
    {file = "scikit_learn-0.22.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:571476fbb826c87ad300a5aad0238c14a590ab7df5cb823ee19ac077bf13b5f4"},
    {file = "scikit_learn-0.22.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:2d35ece66767dd197d020940b1dab3be92ddbb1c96aaef0936d9c4369d544d69"},
    {file = "scikit_learn-0.22.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:bacc63185520d9eb295d79fa62c388fd7145783920a1fb113451a0b294994cad"},
    {file = "scikit_learn-0.22.1-cp38-cp38-win32.whl", hash = "sha256:5e0b5bebfd8bd8ab89b58c44acb95ddcc9439b23c875ed597842991cafc18b62"},
    {file = "scikit_learn-0.22.1-cp38-cp38-win_amd64.whl", hash = "sha256:12ec6b2821a0b4d1b7cbe0e5d6387e64e25e6ec8cfef058b276a14509c3a537b"},
]
scipy = [
    {file = "scipy-1.4.0-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:1b51721e5792c4d722e0cab4daf82187d5f22f2e42c56cd247398a16e4d2f48d"},
    {file = "scipy-1.4.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:cdbcfbe97a21fc6b3c55991a7bcd6a278a38bd197e2d274a45611cdc91beb5c0"},
    {file = "scipy-1.4.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:2d5b67afa5f5e0cf60dc747327c5be15cde434bed9c96743019886f86bfe0918"},
    {file = "scipy-1.4.0-cp35-cp35m-win32.whl", hash = "sha256:ab35718a2dd58089fbbdf3bcf1bb368a2ec99314de58f65d5d9a1cc8a1f49419"},
    {file = "scipy-1.4.0-cp35-cp35m-win_amd64.whl", hash = "sha256:c2722813ff63bb1f0fb3c75253a85a16c2b0ecc8c4f999f666a7788bf7c6e4c3"},
    {file = "scipy-1.4.0-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:203ba7ab52270e392e7e43834ffbe94fae09ca7f03113a11170cd36d0826eece"},
    {file = "scipy-1.4.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:1e46825a4b810e2c36cfebecbad09edfd14b74a43f6146343ec96c62659e4573"},
    {file = "scipy-1.4.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:72e644285a39aa64aaef7373fcbbed998aa7a550dc073d910d712a9380eba8b1"},
    {file = "scipy-1.4.0-cp36-cp36m-win32.whl", hash = "sha256:fb4b6c26e39375e0cb56d05508c1b43515589725f903c9250940fca906e909fd"},
    {file = "scipy-1.4.0-cp36-cp36m-win_amd64.whl", hash = "sha256:4061d71c0f143f3985d2ea9ebc4c1d86eff6df79318f265a5fdb23527811f5b2"},
    {file = "scipy-1.4.0-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:204667ab336e9087a9bcd2be37b540703aef7b6f9a4fd776186d18b8b972f24a"},
    {file = "scipy-1.4.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:c1fe5826d26b684d5a690099d56f010a4bdd916e32f9fc0e0898c22551fdc635"},
    {file = "scipy-1.4.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:b51597ed8c1d3f2f07e537fb492a2c3659e477c502ad93c7e241f39ae9e21a78"},
    {file = "scipy-1.4.0-cp37-cp37m-win32.whl", hash = "sha256:39e9571ae080c149f4b5324836e7ee06a7e331e77f0d6d55f9c6ab7266cd875a"},
    {file = "scipy-1.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:e47f4d0be4fc6985c789d24898ad65daec781c7f5da4a3d4c76ed9af285306ba"},
    {file = "scipy-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:6fcc1e8b47c332bb0a558d7529ede0990ea5ff822a9a4392b003adad8e0b31b8"},
    {file = "scipy-1.4.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:bbb21e998e136e1fdfd77e808abf16c72e75c6ffbb87f4b5a41f19c9a4b3e2de"},
    {file = "scipy-1.4.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:fa39935d7db5066a1b88575fdb196bb576474a17987637430df6bede311906be"},
    {file = "scipy-1.4.0-cp38-cp38-win32.whl", hash = "sha256:461ca398ac6cb46bc89bdbc9f6a81c0302ee370cebe8be682c84a51977e21ded"},
    {file = "scipy-1.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:e588454fd6899d93b73d648d4d90d3d1285c91d08530a6ab94826676c862cabc"},
    {file = "scipy-1.4.0.tar.gz", hash = "sha256:31f7cfa93b01507c935c12b535e24812594002a02a56803d7cd063e9920d25e8"},
]
seaborn = [
    {file = "seaborn-0.10.0-py3-none-any.whl", hash = "sha256:bdf7714ef7d4603e6325d3902e80a46d6149561e1cc237ac08a1c05c3f55a996"},
    {file = "seaborn-0.10.0.tar.gz", hash = "sha256:59fe414e138d7d5ea08b0feb01b86caf4682e36fa748e3987730523a89aecbb9"},
]
six = [
    {file = "six-1.14.0-py2.py3-none-any.whl", hash = "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c"},
    {file = "six-1.14.0.tar.gz", hash = "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a"},
]

and I have this nix-shell:

{ pkgs ? import <nixpkgs> {}}:

let
  poetry2nix = import (builtins.fetchGit {
    url = "https://github.com/nix-community/poetry2nix";
    rev = "35d38a1b11935071d9bf1a4739512e06e68a5213";
  }) {};
  python = poetry2nix.mkPoetryEnv {
    pyproject = ./pyproject.toml;
    poetrylock = ./poetry.lock;
  };
in
  pkgs.mkShell {
    name = "poetryshell";
    buildInputs = [ python ];
  }

It produces:

these derivations will be built:
  /nix/store/k2lb1xbbqpmnh2vmn8sm33r65d7z0j8y-python3.7-scipy-1.4.1.drv
  /nix/store/62gd5l01wkhbw7vyp6faw14fcjxiw363-python3.7-scikit-learn-0.22.1.drv
  /nix/store/8gd5hfnjyjvzpd719dz3h603gavax2fx-python3.7-matplotlib-3.1.3.drv
  /nix/store/b46xfxkh0pl13fpbs3f806pq8bi040f9-python3.7-pandas-1.0.1.drv
  /nix/store/bkki79l9b969pdxwap7lrb328gr0sjl6-python3.7-seaborn-0.10.0.drv
  /nix/store/m1cb9nw3a0zhcvqavdns338kzm2ffc2g-python3-3.7.5-env.drv
building '/nix/store/8gd5hfnjyjvzpd719dz3h603gavax2fx-python3.7-matplotlib-3.1.3.drv'...
building '/nix/store/b46xfxkh0pl13fpbs3f806pq8bi040f9-python3.7-pandas-1.0.1.drv'...
building '/nix/store/k2lb1xbbqpmnh2vmn8sm33r65d7z0j8y-python3.7-scipy-1.4.1.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
Sourcing python-catch-conflicts-hook.sh
Using pipInstallPhase
Sourcing python-remove-bin-bytecode-hook.sh
Sourcing python-imports-check-hook.sh
Sourcing setuptools-build-hook
Using pythonImportsCheckPhase
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
unpacking sources
unpacking source archive /nix/store/8k0b76qijmdm1i0zd34l5nx6m7ppa1ln-pandas-1.0.1.tar.gz
unpacking sources
unpacking source archive /nix/store/q1idxn6zhjzq2d188skhwfh2dsnhkhqw-matplotlib-3.1.3.tar.gz
unpacking sources
unpacking source archive /nix/store/jzrmjnhj56rdg13rqxylp3scxjjihr3v-scipy-1.4.1.tar.gz
source root is pandas-1.0.1
setting SOURCE_DATE_EPOCH to timestamp 1580919548 of file pandas-1.0.1/setup.cfg
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
source root is matplotlib-3.1.3
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 757, in <module>
    ext_modules=maybe_cythonize(extensions, compiler_directives=directives),
  File "setup.py", line 515, in maybe_cythonize
    raise RuntimeError("Cannot cythonize without Cython installed.")
RuntimeError: Cannot cythonize without Cython installed.
source root is scipy-1.4.1
builder for '/nix/store/b46xfxkh0pl13fpbs3f806pq8bi040f9-python3.7-pandas-1.0.1.drv' failed with exit code 1
cannot build derivation '/nix/store/m1cb9nw3a0zhcvqavdns338kzm2ffc2g-python3-3.7.5-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/m1cb9nw3a0zhcvqavdns338kzm2ffc2g-python3-3.7.5-env.drv' failed

The strange thing is that it used cython before to build the other libraries! I also tried adding cython to the shell but it didn't help. How can I add it as additional dependency?

installation fails for scrapy (because of m2r?)

There is some issue with the m2r package. I don't really know how to debug this, maybe it is simple.

Error message
Processing /build/m2r-0.2.1
Building wheels for collected packages: m2r
  Building wheel for m2r (setup.py) ... done
  Created wheel for m2r: filename=m2r-0.2.1-py3-none-any.whl size=10537 sha256=140fb306d1b9734b72d3e984f4b3d29e14abcccbe81e52d7c4e661c5c0a0c2da
  Stored in directory: /build/pip-ephem-wheel-cache-i1vpl30x/wheels/13/6b/be/cd806007f16778d487f4b97c6452d382784ac2b891d824641c
Successfully built m2r
Finished creating a wheel...
Finished executing pipBuildPhase
installing
Executing pipInstallPhase
/build/m2r-0.2.1/dist /build/m2r-0.2.1
Processing ./m2r-0.2.1-py3-none-any.whl
Requirement already satisfied: mistune in /nix/store/85hip2vz4dlcvy4r4nrnwfxk56das34f-python3.7-mistune-0.8.4/lib/python3.7/site-packages (from m2r==0.2.1) (0.8.4)
Requirement already satisfied: docutils in /nix/store/0a96f9rhvkjmrfk87zd10na09argdnvb-python3.7-docutils-0.16/lib/python3.7/site-packages (from m2r==0.2.1) (0.16)
Installing collected packages: m2r
  WARNING: The script m2r is installed in '/nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1/bin' which is not on PATH.
  Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.
Successfully installed m2r-0.2.1
/build/m2r-0.2.1
Finished executing pipInstallPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1
strip is /nix/store/sq2b0dqlq243mqn4ql5h36xmpplyy20k-binutils-2.31.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1/lib  /nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1/bin
patching script interpreter paths in /nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1
checking for references to /build/ in /nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1...
Rewriting #!/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7 to #!/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7
wrapping `/nix/store/6w5r4jgvm4hmq7j3x9avwzfr4n320873-python3.7-m2r-0.2.1/bin/m2r'...
Executing pythonRemoveTestsDir
Finished executing pythonRemoveTestsDir
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
    ERROR: Command errored out with exit status 1:
     command: /nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/build/pip-req-build-wqpoxc63/setup.py'"'"'; __file__='"'"'/build/pip-req-build-wqpoxc63/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /build/pip-req-build-wqpoxc63/pip-egg-info
         cwd: /build/pip-req-build-wqpoxc63/
    Complete output (43 lines):
    WARNING: The directory '/homeless-shelter/.cache/pip' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag.
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5f2d890>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/m2r/
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9cc50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/m2r/
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9ce90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/m2r/
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ead0d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/m2r/
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ead2d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/m2r/
    ERROR: Could not find a version that satisfies the requirement m2r (from versions: none)
    ERROR: No matching distribution found for m2r


    !!! m2r not found, long_description is bad, don't upload this to PyPI !!!


    Traceback (most recent call last):
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
        subprocess.check_call(cmd)
      File "/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/lib/python3.7/subprocess.py", line 363, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp1t4mfmj5', '--quiet', 'm2r']' returned non-zero exit status 1.

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/build/pip-req-build-wqpoxc63/setup.py", line 58, in <module>
        'Programming Language :: Python :: 3.8',
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/__init__.py", line 143, in setup
        _install_setup_requires(attrs)
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/__init__.py", line 138, in _install_setup_requires
        dist.fetch_build_eggs(dist.setup_requires)
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
        replace_conflicting=True,
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 783, in resolve
        replace_conflicting=replace_conflicting
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1066, in best_match
        return self.obtain(req, installer)
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1078, in obtain
        return installer(requirement)
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
        return fetch_build_egg(self, req)
      File "/nix/store/kxri2ybkwkzpqms4qf5p8n7wipbb64h9-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
        raise DistutilsError(str(e))
    distutils.errors.DistutilsError: Command '['/nix/store/vs4vj1yzqj1bkcqkf3b6sxm6jfy1gb4j-python3-3.7.7/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp1t4mfmj5', '--quiet', 'm2r']' returned non-zero exit status 1.
    ----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
builder for '/nix/store/lpng06rglir3c8i4vg29iwk20bw93lba-python3.7-automat-20.2.0.drv' failed with exit code 1
commands, pyproject.toml, poetry.lock, shell.nix

Commands

copy the files below in a folder and type nix-shell

pyproject.toml

[tool.poetry]
name = "scraper"
version = "0.1.0"
description = ""
authors = ["MMesch"]

[tool.poetry.dependencies]
python = "^3.6.1"
scrapy = "2.1.0"
m2r = "*"
numpy = "*"


[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

poetry.lock file:

[[package]]
category = "main"
description = "Classes Without Boilerplate"
name = "attrs"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.3.0"

[package.extras]
azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"]
dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"]
docs = ["sphinx", "zope.interface"]
tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"]

[[package]]
category = "main"
description = "Self-service finite-state machines for the programmer on the go."
name = "automat"
optional = false
python-versions = "*"
version = "20.2.0"

[package.dependencies]
attrs = ">=19.2.0"
six = "*"

[package.extras]
visualize = ["graphviz (>0.5.1)", "Twisted (>=16.1.1)"]

[[package]]
category = "main"
description = "Foreign Function Interface for Python calling C code."
name = "cffi"
optional = false
python-versions = "*"
version = "1.14.0"

[package.dependencies]
pycparser = "*"

[[package]]
category = "main"
description = "Symbolic constants in Python"
name = "constantly"
optional = false
python-versions = "*"
version = "15.1.0"

[[package]]
category = "main"
description = "cryptography is a package which provides cryptographic recipes and primitives to Python developers."
name = "cryptography"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
version = "2.9.2"

[package.dependencies]
cffi = ">=1.8,<1.11.3 || >1.11.3"
six = ">=1.4.1"

[package.extras]
docs = ["sphinx (>=1.6.5,<1.8.0 || >1.8.0)", "sphinx-rtd-theme"]
docstest = ["doc8", "pyenchant (>=1.6.11)", "twine (>=1.12.0)", "sphinxcontrib-spelling (>=4.0.1)"]
idna = ["idna (>=2.1)"]
pep8test = ["flake8", "flake8-import-order", "pep8-naming"]
test = ["pytest (>=3.6.0,<3.9.0 || >3.9.0,<3.9.1 || >3.9.1,<3.9.2 || >3.9.2)", "pretend", "iso8601", "pytz", "hypothesis (>=1.11.4,<3.79.2 || >3.79.2)"]

[[package]]
category = "main"
description = "cssselect parses CSS3 Selectors and translates them to XPath 1.0"
name = "cssselect"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.1.0"

[[package]]
category = "main"
description = "Docutils -- Python Documentation Utilities"
name = "docutils"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.16"

[[package]]
category = "main"
description = "A featureful, immutable, and correct URL for Python."
name = "hyperlink"
optional = false
python-versions = "*"
version = "19.0.0"

[package.dependencies]
idna = ">=2.5"

[[package]]
category = "main"
description = "Internationalized Domain Names in Applications (IDNA)"
name = "idna"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.9"

[[package]]
category = "main"
description = ""
name = "incremental"
optional = false
python-versions = "*"
version = "17.5.0"

[package.extras]
scripts = ["click (>=6.0)", "twisted (>=16.4.0)"]

[[package]]
category = "main"
description = "Powerful and Pythonic XML processing library combining libxml2/libxslt with the ElementTree API."
name = "lxml"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, != 3.4.*"
version = "4.5.1"

[package.extras]
cssselect = ["cssselect (>=0.7)"]
html5 = ["html5lib"]
htmlsoup = ["beautifulsoup4"]
source = ["Cython (>=0.29.7)"]

[[package]]
category = "main"
description = "Markdown and reStructuredText in a single file."
name = "m2r"
optional = false
python-versions = "*"
version = "0.2.1"

[package.dependencies]
docutils = "*"
mistune = "*"

[[package]]
category = "main"
description = "The fastest markdown parser in pure Python"
name = "mistune"
optional = false
python-versions = "*"
version = "0.8.4"

[[package]]
category = "main"
description = "NumPy is the fundamental package for array computing with Python."
name = "numpy"
optional = false
python-versions = ">=3.5"
version = "1.18.4"

[[package]]
category = "main"
description = "Parsel is a library to extract data from HTML and XML using XPath and CSS selectors"
name = "parsel"
optional = false
python-versions = "*"
version = "1.6.0"

[package.dependencies]
cssselect = ">=0.9"
lxml = "*"
six = ">=1.6.0"
w3lib = ">=1.19.0"

[[package]]
category = "main"
description = "Pure-Python robots.txt parser with support for modern conventions"
name = "protego"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.1.16"

[package.dependencies]
six = "*"

[[package]]
category = "main"
description = "ASN.1 types and codecs"
name = "pyasn1"
optional = false
python-versions = "*"
version = "0.4.8"

[[package]]
category = "main"
description = "A collection of ASN.1-based protocols modules."
name = "pyasn1-modules"
optional = false
python-versions = "*"
version = "0.2.8"

[package.dependencies]
pyasn1 = ">=0.4.6,<0.5.0"

[[package]]
category = "main"
description = "C parser in Python"
name = "pycparser"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.20"

[[package]]
category = "main"
description = "Multi-producer-multi-consumer signal dispatching mechanism"
name = "pydispatcher"
optional = false
python-versions = "*"
version = "2.0.5"

[[package]]
category = "main"
description = "Hamcrest framework for matcher objects"
name = "pyhamcrest"
optional = false
python-versions = ">=3.5"
version = "2.0.2"

[[package]]
category = "main"
description = "Python wrapper module around the OpenSSL library"
name = "pyopenssl"
optional = false
python-versions = "*"
version = "19.1.0"

[package.dependencies]
cryptography = ">=2.8"
six = ">=1.5.2"

[package.extras]
docs = ["sphinx", "sphinx-rtd-theme"]
test = ["flaky", "pretend", "pytest (>=3.0.1)"]

[[package]]
category = "main"
description = "Multi-producer-multi-consumer signal dispatching mechanism"
marker = "platform_python_implementation == \"PyPy\""
name = "pypydispatcher"
optional = false
python-versions = "*"
version = "2.1.2"

[[package]]
category = "main"
description = "Collection of persistent (disk-based) queues"
name = "queuelib"
optional = false
python-versions = "*"
version = "1.5.0"

[[package]]
category = "main"
description = "A high-level Web Crawling and Web Scraping framework"
name = "scrapy"
optional = false
python-versions = ">=3.5"
version = "2.1.0"

[package.dependencies]
PyDispatcher = ">=2.0.5"
PyPyDispatcher = ">=2.1.0"
Twisted = ">=17.9.0"
cryptography = ">=2.0"
cssselect = ">=0.9.1"
lxml = ">=3.5.0"
parsel = ">=1.5.0"
protego = ">=0.1.15"
pyOpenSSL = ">=16.2.0"
queuelib = ">=1.4.2"
service-identity = ">=16.0.0"
w3lib = ">=1.17.0"
"zope.interface" = ">=4.1.3"

[[package]]
category = "main"
description = "Service identity verification for pyOpenSSL & cryptography."
name = "service-identity"
optional = false
python-versions = "*"
version = "18.1.0"

[package.dependencies]
attrs = ">=16.0.0"
cryptography = "*"
pyasn1 = "*"
pyasn1-modules = "*"

[package.extras]
dev = ["coverage (>=4.2.0)", "pytest", "sphinx", "idna", "pyopenssl"]
docs = ["sphinx"]
idna = ["idna"]
tests = ["coverage (>=4.2.0)", "pytest"]

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
version = "1.15.0"

[[package]]
category = "main"
description = "An asynchronous networking framework written in Python"
name = "twisted"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*"
version = "20.3.0"

[package.dependencies]
Automat = ">=0.3.0"
PyHamcrest = ">=1.9.0,<1.10.0 || >1.10.0"
attrs = ">=19.2.0"
constantly = ">=15.1"
hyperlink = ">=17.1.1"
incremental = ">=16.10.1"
"zope.interface" = ">=4.4.2"

[package.extras]
all_non_platform = ["pyopenssl (>=16.0.0)", "service_identity (>=18.1.0)", "idna (>=0.6,<2.3 || >2.3)", "pyasn1", "cryptography (>=2.5)", "appdirs (>=1.4.0)", "bcrypt (>=3.0.0)", "soappy", "pyserial (>=3.0)", "h2 (>=3.0,<4.0)", "priority (>=1.1.0,<2.0)", "pywin32 (!=226)"]
conch = ["pyasn1", "cryptography (>=2.5)", "appdirs (>=1.4.0)", "bcrypt (>=3.0.0)"]
dev = ["pyflakes (>=1.0.0)", "twisted-dev-tools (>=0.0.2)", "python-subunit", "sphinx (>=1.3.1)", "towncrier (>=17.4.0)"]
http2 = ["h2 (>=3.0,<4.0)", "priority (>=1.1.0,<2.0)"]
macos_platform = ["pyobjc-core", "pyobjc-framework-cfnetwork", "pyobjc-framework-cocoa", "pyopenssl (>=16.0.0)", "service_identity (>=18.1.0)", "idna (>=0.6,<2.3 || >2.3)", "pyasn1", "cryptography (>=2.5)", "appdirs (>=1.4.0)", "bcrypt (>=3.0.0)", "soappy", "pyserial (>=3.0)", "h2 (>=3.0,<4.0)", "priority (>=1.1.0,<2.0)", "pywin32 (!=226)"]
osx_platform = ["pyobjc-core", "pyobjc-framework-cfnetwork", "pyobjc-framework-cocoa", "pyopenssl (>=16.0.0)", "service_identity (>=18.1.0)", "idna (>=0.6,<2.3 || >2.3)", "pyasn1", "cryptography (>=2.5)", "appdirs (>=1.4.0)", "bcrypt (>=3.0.0)", "soappy", "pyserial (>=3.0)", "h2 (>=3.0,<4.0)", "priority (>=1.1.0,<2.0)", "pywin32 (!=226)"]
serial = ["pyserial (>=3.0)", "pywin32 (!=226)"]
soap = ["soappy"]
tls = ["pyopenssl (>=16.0.0)", "service_identity (>=18.1.0)", "idna (>=0.6,<2.3 || >2.3)"]
windows_platform = ["pywin32 (!=226)", "pyopenssl (>=16.0.0)", "service_identity (>=18.1.0)", "idna (>=0.6,<2.3 || >2.3)", "pyasn1", "cryptography (>=2.5)", "appdirs (>=1.4.0)", "bcrypt (>=3.0.0)", "soappy", "pyserial (>=3.0)", "h2 (>=3.0,<4.0)", "priority (>=1.1.0,<2.0)", "pywin32 (!=226)"]

[[package]]
category = "main"
description = "Library of web-related functions"
name = "w3lib"
optional = false
python-versions = "*"
version = "1.22.0"

[package.dependencies]
six = ">=1.4.1"

[[package]]
category = "main"
description = "Interfaces for Python"
name = "zope.interface"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "5.1.0"

[package.dependencies]
setuptools = "*"

[package.extras]
docs = ["sphinx", "repoze.sphinx.autointerface"]
test = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]
testing = ["coverage (>=5.0.3)", "zope.event", "zope.testing"]

[metadata]
content-hash = "b3fe15d580a32e04b46c604634d5fee43ab93d2a4ced94ea9523def0e64f5f05"
python-versions = "^3.6.1"

[metadata.files]
attrs = [
    {file = "attrs-19.3.0-py2.py3-none-any.whl", hash = "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c"},
    {file = "attrs-19.3.0.tar.gz", hash = "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"},
]
automat = [
    {file = "Automat-20.2.0-py2.py3-none-any.whl", hash = "sha256:b6feb6455337df834f6c9962d6ccf771515b7d939bca142b29c20c2376bc6111"},
    {file = "Automat-20.2.0.tar.gz", hash = "sha256:7979803c74610e11ef0c0d68a2942b152df52da55336e0c9d58daf1831cbdf33"},
]
cffi = [
    {file = "cffi-1.14.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:1cae98a7054b5c9391eb3249b86e0e99ab1e02bb0cc0575da191aedadbdf4384"},
    {file = "cffi-1.14.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:cf16e3cf6c0a5fdd9bc10c21687e19d29ad1fe863372b5543deaec1039581a30"},
    {file = "cffi-1.14.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:f2b0fa0c01d8a0c7483afd9f31d7ecf2d71760ca24499c8697aeb5ca37dc090c"},
    {file = "cffi-1.14.0-cp27-cp27m-win32.whl", hash = "sha256:99f748a7e71ff382613b4e1acc0ac83bf7ad167fb3802e35e90d9763daba4d78"},
    {file = "cffi-1.14.0-cp27-cp27m-win_amd64.whl", hash = "sha256:c420917b188a5582a56d8b93bdd8e0f6eca08c84ff623a4c16e809152cd35793"},
    {file = "cffi-1.14.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:399aed636c7d3749bbed55bc907c3288cb43c65c4389964ad5ff849b6370603e"},
    {file = "cffi-1.14.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:cab50b8c2250b46fe738c77dbd25ce017d5e6fb35d3407606e7a4180656a5a6a"},
    {file = "cffi-1.14.0-cp35-cp35m-macosx_10_9_x86_64.whl", hash = "sha256:001bf3242a1bb04d985d63e138230802c6c8d4db3668fb545fb5005ddf5bb5ff"},
    {file = "cffi-1.14.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:e56c744aa6ff427a607763346e4170629caf7e48ead6921745986db3692f987f"},
    {file = "cffi-1.14.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:b8c78301cefcf5fd914aad35d3c04c2b21ce8629b5e4f4e45ae6812e461910fa"},
    {file = "cffi-1.14.0-cp35-cp35m-win32.whl", hash = "sha256:8c0ffc886aea5df6a1762d0019e9cb05f825d0eec1f520c51be9d198701daee5"},
    {file = "cffi-1.14.0-cp35-cp35m-win_amd64.whl", hash = "sha256:8a6c688fefb4e1cd56feb6c511984a6c4f7ec7d2a1ff31a10254f3c817054ae4"},
    {file = "cffi-1.14.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:95cd16d3dee553f882540c1ffe331d085c9e629499ceadfbda4d4fde635f4b7d"},
    {file = "cffi-1.14.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:66e41db66b47d0d8672d8ed2708ba91b2f2524ece3dee48b5dfb36be8c2f21dc"},
    {file = "cffi-1.14.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:028a579fc9aed3af38f4892bdcc7390508adabc30c6af4a6e4f611b0c680e6ac"},
    {file = "cffi-1.14.0-cp36-cp36m-win32.whl", hash = "sha256:cef128cb4d5e0b3493f058f10ce32365972c554572ff821e175dbc6f8ff6924f"},
    {file = "cffi-1.14.0-cp36-cp36m-win_amd64.whl", hash = "sha256:337d448e5a725bba2d8293c48d9353fc68d0e9e4088d62a9571def317797522b"},
    {file = "cffi-1.14.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:e577934fc5f8779c554639376beeaa5657d54349096ef24abe8c74c5d9c117c3"},
    {file = "cffi-1.14.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:62ae9af2d069ea2698bf536dcfe1e4eed9090211dbaafeeedf5cb6c41b352f66"},
    {file = "cffi-1.14.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:14491a910663bf9f13ddf2bc8f60562d6bc5315c1f09c704937ef17293fb85b0"},
    {file = "cffi-1.14.0-cp37-cp37m-win32.whl", hash = "sha256:c43866529f2f06fe0edc6246eb4faa34f03fe88b64a0a9a942561c8e22f4b71f"},
    {file = "cffi-1.14.0-cp37-cp37m-win_amd64.whl", hash = "sha256:2089ed025da3919d2e75a4d963d008330c96751127dd6f73c8dc0c65041b4c26"},
    {file = "cffi-1.14.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:3b911c2dbd4f423b4c4fcca138cadde747abdb20d196c4a48708b8a2d32b16dd"},
    {file = "cffi-1.14.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:7e63cbcf2429a8dbfe48dcc2322d5f2220b77b2e17b7ba023d6166d84655da55"},
    {file = "cffi-1.14.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:3d311bcc4a41408cf5854f06ef2c5cab88f9fded37a3b95936c9879c1640d4c2"},
    {file = "cffi-1.14.0-cp38-cp38-win32.whl", hash = "sha256:675686925a9fb403edba0114db74e741d8181683dcf216be697d208857e04ca8"},
    {file = "cffi-1.14.0-cp38-cp38-win_amd64.whl", hash = "sha256:00789914be39dffba161cfc5be31b55775de5ba2235fe49aa28c148236c4e06b"},
    {file = "cffi-1.14.0.tar.gz", hash = "sha256:2d384f4a127a15ba701207f7639d94106693b6cd64173d6c8988e2c25f3ac2b6"},
]
constantly = [
    {file = "constantly-15.1.0-py2.py3-none-any.whl", hash = "sha256:dd2fa9d6b1a51a83f0d7dd76293d734046aa176e384bf6e33b7e44880eb37c5d"},
    {file = "constantly-15.1.0.tar.gz", hash = "sha256:586372eb92059873e29eba4f9dec8381541b4d3834660707faf8ba59146dfc35"},
]
cryptography = [
    {file = "cryptography-2.9.2-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:daf54a4b07d67ad437ff239c8a4080cfd1cc7213df57d33c97de7b4738048d5e"},
    {file = "cryptography-2.9.2-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:3b3eba865ea2754738616f87292b7f29448aec342a7c720956f8083d252bf28b"},
    {file = "cryptography-2.9.2-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:c447cf087cf2dbddc1add6987bbe2f767ed5317adb2d08af940db517dd704365"},
    {file = "cryptography-2.9.2-cp27-cp27m-win32.whl", hash = "sha256:f118a95c7480f5be0df8afeb9a11bd199aa20afab7a96bcf20409b411a3a85f0"},
    {file = "cryptography-2.9.2-cp27-cp27m-win_amd64.whl", hash = "sha256:c4fd17d92e9d55b84707f4fd09992081ba872d1a0c610c109c18e062e06a2e55"},
    {file = "cryptography-2.9.2-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:d0d5aeaedd29be304848f1c5059074a740fa9f6f26b84c5b63e8b29e73dfc270"},
    {file = "cryptography-2.9.2-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:1e4014639d3d73fbc5ceff206049c5a9a849cefd106a49fa7aaaa25cc0ce35cf"},
    {file = "cryptography-2.9.2-cp35-abi3-macosx_10_9_x86_64.whl", hash = "sha256:96c080ae7118c10fcbe6229ab43eb8b090fccd31a09ef55f83f690d1ef619a1d"},
    {file = "cryptography-2.9.2-cp35-abi3-manylinux1_x86_64.whl", hash = "sha256:e993468c859d084d5579e2ebee101de8f5a27ce8e2159959b6673b418fd8c785"},
    {file = "cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl", hash = "sha256:88c881dd5a147e08d1bdcf2315c04972381d026cdb803325c03fe2b4a8ed858b"},
    {file = "cryptography-2.9.2-cp35-cp35m-win32.whl", hash = "sha256:651448cd2e3a6bc2bb76c3663785133c40d5e1a8c1a9c5429e4354201c6024ae"},
    {file = "cryptography-2.9.2-cp35-cp35m-win_amd64.whl", hash = "sha256:726086c17f94747cedbee6efa77e99ae170caebeb1116353c6cf0ab67ea6829b"},
    {file = "cryptography-2.9.2-cp36-cp36m-win32.whl", hash = "sha256:091d31c42f444c6f519485ed528d8b451d1a0c7bf30e8ca583a0cac44b8a0df6"},
    {file = "cryptography-2.9.2-cp36-cp36m-win_amd64.whl", hash = "sha256:bb1f0281887d89617b4c68e8db9a2c42b9efebf2702a3c5bf70599421a8623e3"},
    {file = "cryptography-2.9.2-cp37-cp37m-win32.whl", hash = "sha256:18452582a3c85b96014b45686af264563e3e5d99d226589f057ace56196ec78b"},
    {file = "cryptography-2.9.2-cp37-cp37m-win_amd64.whl", hash = "sha256:22e91636a51170df0ae4dcbd250d318fd28c9f491c4e50b625a49964b24fe46e"},
    {file = "cryptography-2.9.2-cp38-cp38-win32.whl", hash = "sha256:844a76bc04472e5135b909da6aed84360f522ff5dfa47f93e3dd2a0b84a89fa0"},
    {file = "cryptography-2.9.2-cp38-cp38-win_amd64.whl", hash = "sha256:1dfa985f62b137909496e7fc182dac687206d8d089dd03eaeb28ae16eec8e7d5"},
    {file = "cryptography-2.9.2.tar.gz", hash = "sha256:a0c30272fb4ddda5f5ffc1089d7405b7a71b0b0f51993cb4e5dbb4590b2fc229"},
]
cssselect = [
    {file = "cssselect-1.1.0-py2.py3-none-any.whl", hash = "sha256:f612ee47b749c877ebae5bb77035d8f4202c6ad0f0fc1271b3c18ad6c4468ecf"},
    {file = "cssselect-1.1.0.tar.gz", hash = "sha256:f95f8dedd925fd8f54edb3d2dfb44c190d9d18512377d3c1e2388d16126879bc"},
]
docutils = [
    {file = "docutils-0.16-py2.py3-none-any.whl", hash = "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af"},
    {file = "docutils-0.16.tar.gz", hash = "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"},
]
hyperlink = [
    {file = "hyperlink-19.0.0-py2.py3-none-any.whl", hash = "sha256:ab4a308feb039b04f855a020a6eda3b18ca5a68e6d8f8c899cbe9e653721d04f"},
    {file = "hyperlink-19.0.0.tar.gz", hash = "sha256:4288e34705da077fada1111a24a0aa08bb1e76699c9ce49876af722441845654"},
]
idna = [
    {file = "idna-2.9-py2.py3-none-any.whl", hash = "sha256:a068a21ceac8a4d63dbfd964670474107f541babbd2250d61922f029858365fa"},
    {file = "idna-2.9.tar.gz", hash = "sha256:7588d1c14ae4c77d74036e8c22ff447b26d0fde8f007354fd48a7814db15b7cb"},
]
incremental = [
    {file = "incremental-17.5.0-py2.py3-none-any.whl", hash = "sha256:717e12246dddf231a349175f48d74d93e2897244939173b01974ab6661406b9f"},
    {file = "incremental-17.5.0.tar.gz", hash = "sha256:7b751696aaf36eebfab537e458929e194460051ccad279c72b755a167eebd4b3"},
]
lxml = [
    {file = "lxml-4.5.1-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:ee2be8b8f72a2772e72ab926a3bccebf47bb727bda41ae070dc91d1fb759b726"},
    {file = "lxml-4.5.1-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:fadd2a63a2bfd7fb604508e553d1cf68eca250b2fbdbd81213b5f6f2fbf23529"},
    {file = "lxml-4.5.1-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:4f282737d187ae723b2633856085c31ae5d4d432968b7f3f478a48a54835f5c4"},
    {file = "lxml-4.5.1-cp27-cp27m-win32.whl", hash = "sha256:7fd88cb91a470b383aafad554c3fe1ccf6dfb2456ff0e84b95335d582a799804"},
    {file = "lxml-4.5.1-cp27-cp27m-win_amd64.whl", hash = "sha256:0790ddca3f825dd914978c94c2545dbea5f56f008b050e835403714babe62a5f"},
    {file = "lxml-4.5.1-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:9144ce36ca0824b29ebc2e02ca186e54040ebb224292072250467190fb613b96"},
    {file = "lxml-4.5.1-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:a636346c6c0e1092ffc202d97ec1843a75937d8c98aaf6771348ad6422e44bb0"},
    {file = "lxml-4.5.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:f95d28193c3863132b1f55c1056036bf580b5a488d908f7d22a04ace8935a3a9"},
    {file = "lxml-4.5.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:b26719890c79a1dae7d53acac5f089d66fd8cc68a81f4e4bd355e45470dc25e1"},
    {file = "lxml-4.5.1-cp35-cp35m-win32.whl", hash = "sha256:a9e3b8011388e7e373565daa5e92f6c9cb844790dc18e43073212bb3e76f7007"},
    {file = "lxml-4.5.1-cp35-cp35m-win_amd64.whl", hash = "sha256:2754d4406438c83144f9ffd3628bbe2dcc6d62b20dbc5c1ec4bc4385e5d44b42"},
    {file = "lxml-4.5.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:925baf6ff1ef2c45169f548cc85204433e061360bfa7d01e1be7ae38bef73194"},
    {file = "lxml-4.5.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:a87dbee7ad9dce3aaefada2081843caf08a44a8f52e03e0a4cc5819f8398f2f4"},
    {file = "lxml-4.5.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:51bb4edeb36d24ec97eb3e6a6007be128b720114f9a875d6b370317d62ac80b9"},
    {file = "lxml-4.5.1-cp36-cp36m-win32.whl", hash = "sha256:c79e5debbe092e3c93ca4aee44c9a7631bdd407b2871cb541b979fd350bbbc29"},
    {file = "lxml-4.5.1-cp36-cp36m-win_amd64.whl", hash = "sha256:b7462cdab6fffcda853338e1741ce99706cdf880d921b5a769202ea7b94e8528"},
    {file = "lxml-4.5.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:06748c7192eab0f48e3d35a7adae609a329c6257495d5e53878003660dc0fec6"},
    {file = "lxml-4.5.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:1aa7a6197c1cdd65d974f3e4953764eee3d9c7b67e3966616b41fab7f8f516b7"},
    {file = "lxml-4.5.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:afb53edf1046599991fb4a7d03e601ab5f5422a5435c47ee6ba91ec3b61416a6"},
    {file = "lxml-4.5.1-cp37-cp37m-win32.whl", hash = "sha256:2d1ddce96cf15f1254a68dba6935e6e0f1fe39247de631c115e84dd404a6f031"},
    {file = "lxml-4.5.1-cp37-cp37m-win_amd64.whl", hash = "sha256:22c6d34fdb0e65d5f782a4d1a1edb52e0a8365858dafb1c08cb1d16546cf0786"},
    {file = "lxml-4.5.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c47a8a5d00060122ca5908909478abce7bbf62d812e3fc35c6c802df8fb01fe7"},
    {file = "lxml-4.5.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:b77975465234ff49fdad871c08aa747aae06f5e5be62866595057c43f8d2f62c"},
    {file = "lxml-4.5.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:2b02c106709466a93ed424454ce4c970791c486d5fcdf52b0d822a7e29789626"},
    {file = "lxml-4.5.1-cp38-cp38-win32.whl", hash = "sha256:7eee37c1b9815e6505847aa5e68f192e8a1b730c5c7ead39ff317fde9ce29448"},
    {file = "lxml-4.5.1-cp38-cp38-win_amd64.whl", hash = "sha256:d8d40e0121ca1606aa9e78c28a3a7d88a05c06b3ca61630242cded87d8ce55fa"},
    {file = "lxml-4.5.1.tar.gz", hash = "sha256:27ee0faf8077c7c1a589573b1450743011117f1aa1a91d5ae776bbc5ca6070f2"},
]
m2r = [
    {file = "m2r-0.2.1.tar.gz", hash = "sha256:bf90bad66cda1164b17e5ba4a037806d2443f2a4d5ddc9f6a5554a0322aaed99"},
]
mistune = [
    {file = "mistune-0.8.4-py2.py3-none-any.whl", hash = "sha256:88a1051873018da288eee8538d476dffe1262495144b33ecb586c4ab266bb8d4"},
    {file = "mistune-0.8.4.tar.gz", hash = "sha256:59a3429db53c50b5c6bcc8a07f8848cb00d7dc8bdb431a4ab41920d201d4756e"},
]
numpy = [
    {file = "numpy-1.18.4-cp35-cp35m-macosx_10_9_intel.whl", hash = "sha256:efdba339fffb0e80fcc19524e4fdbda2e2b5772ea46720c44eaac28096d60720"},
    {file = "numpy-1.18.4-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:2b573fcf6f9863ce746e4ad00ac18a948978bb3781cffa4305134d31801f3e26"},
    {file = "numpy-1.18.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:3f0dae97e1126f529ebb66f3c63514a0f72a177b90d56e4bce8a0b5def34627a"},
    {file = "numpy-1.18.4-cp35-cp35m-win32.whl", hash = "sha256:dccd380d8e025c867ddcb2f84b439722cf1f23f3a319381eac45fd077dee7170"},
    {file = "numpy-1.18.4-cp35-cp35m-win_amd64.whl", hash = "sha256:02ec9582808c4e48be4e93cd629c855e644882faf704bc2bd6bbf58c08a2a897"},
    {file = "numpy-1.18.4-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:904b513ab8fbcbdb062bed1ce2f794ab20208a1b01ce9bd90776c6c7e7257032"},
    {file = "numpy-1.18.4-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:e22cd0f72fc931d6abc69dc7764484ee20c6a60b0d0fee9ce0426029b1c1bdae"},
    {file = "numpy-1.18.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2466fbcf23711ebc5daa61d28ced319a6159b260a18839993d871096d66b93f7"},
    {file = "numpy-1.18.4-cp36-cp36m-win32.whl", hash = "sha256:00d7b54c025601e28f468953d065b9b121ddca7fff30bed7be082d3656dd798d"},
    {file = "numpy-1.18.4-cp36-cp36m-win_amd64.whl", hash = "sha256:7d59f21e43bbfd9a10953a7e26b35b6849d888fc5a331fa84a2d9c37bd9fe2a2"},
    {file = "numpy-1.18.4-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:efb7ac5572c9a57159cf92c508aad9f856f1cb8e8302d7fdb99061dbe52d712c"},
    {file = "numpy-1.18.4-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0e6f72f7bb08f2f350ed4408bb7acdc0daba637e73bce9f5ea2b207039f3af88"},
    {file = "numpy-1.18.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:9933b81fecbe935e6a7dc89cbd2b99fea1bf362f2790daf9422a7bb1dc3c3085"},
    {file = "numpy-1.18.4-cp37-cp37m-win32.whl", hash = "sha256:96dd36f5cdde152fd6977d1bbc0f0561bccffecfde63cd397c8e6033eb66baba"},
    {file = "numpy-1.18.4-cp37-cp37m-win_amd64.whl", hash = "sha256:57aea170fb23b1fd54fa537359d90d383d9bf5937ee54ae8045a723caa5e0961"},
    {file = "numpy-1.18.4-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:ed722aefb0ebffd10b32e67f48e8ac4c5c4cf5d3a785024fdf0e9eb17529cd9d"},
    {file = "numpy-1.18.4-cp38-cp38-manylinux1_i686.whl", hash = "sha256:50fb72bcbc2cf11e066579cb53c4ca8ac0227abb512b6cbc1faa02d1595a2a5d"},
    {file = "numpy-1.18.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:709c2999b6bd36cdaf85cf888d8512da7433529f14a3689d6e37ab5242e7add5"},
    {file = "numpy-1.18.4-cp38-cp38-win32.whl", hash = "sha256:f22273dd6a403ed870207b853a856ff6327d5cbce7a835dfa0645b3fc00273ec"},
    {file = "numpy-1.18.4-cp38-cp38-win_amd64.whl", hash = "sha256:1be2e96314a66f5f1ce7764274327fd4fb9da58584eaff00b5a5221edefee7d6"},
    {file = "numpy-1.18.4.zip", hash = "sha256:bbcc85aaf4cd84ba057decaead058f43191cc0e30d6bc5d44fe336dc3d3f4509"},
]
parsel = [
    {file = "parsel-1.6.0-py2.py3-none-any.whl", hash = "sha256:9e1fa8db1c0b4a878bf34b35c043d89c9d1cbebc23b4d34dbc3c0ec33f2e087d"},
    {file = "parsel-1.6.0.tar.gz", hash = "sha256:70efef0b651a996cceebc69e55a85eb2233be0890959203ba7c3a03c72725c79"},
]
protego = [
    {file = "Protego-0.1.16.tar.gz", hash = "sha256:a682771bc7b51b2ff41466460896c1a5a653f9a1e71639ef365a72e66d8734b4"},
]
pyasn1 = [
    {file = "pyasn1-0.4.8-py2.4.egg", hash = "sha256:fec3e9d8e36808a28efb59b489e4528c10ad0f480e57dcc32b4de5c9d8c9fdf3"},
    {file = "pyasn1-0.4.8-py2.5.egg", hash = "sha256:0458773cfe65b153891ac249bcf1b5f8f320b7c2ce462151f8fa74de8934becf"},
    {file = "pyasn1-0.4.8-py2.6.egg", hash = "sha256:5c9414dcfede6e441f7e8f81b43b34e834731003427e5b09e4e00e3172a10f00"},
    {file = "pyasn1-0.4.8-py2.7.egg", hash = "sha256:6e7545f1a61025a4e58bb336952c5061697da694db1cae97b116e9c46abcf7c8"},
    {file = "pyasn1-0.4.8-py2.py3-none-any.whl", hash = "sha256:39c7e2ec30515947ff4e87fb6f456dfc6e84857d34be479c9d4a4ba4bf46aa5d"},
    {file = "pyasn1-0.4.8-py3.1.egg", hash = "sha256:78fa6da68ed2727915c4767bb386ab32cdba863caa7dbe473eaae45f9959da86"},
    {file = "pyasn1-0.4.8-py3.2.egg", hash = "sha256:08c3c53b75eaa48d71cf8c710312316392ed40899cb34710d092e96745a358b7"},
    {file = "pyasn1-0.4.8-py3.3.egg", hash = "sha256:03840c999ba71680a131cfaee6fab142e1ed9bbd9c693e285cc6aca0d555e576"},
    {file = "pyasn1-0.4.8-py3.4.egg", hash = "sha256:7ab8a544af125fb704feadb008c99a88805126fb525280b2270bb25cc1d78a12"},
    {file = "pyasn1-0.4.8-py3.5.egg", hash = "sha256:e89bf84b5437b532b0803ba5c9a5e054d21fec423a89952a74f87fa2c9b7bce2"},
    {file = "pyasn1-0.4.8-py3.6.egg", hash = "sha256:014c0e9976956a08139dc0712ae195324a75e142284d5f87f1a87ee1b068a359"},
    {file = "pyasn1-0.4.8-py3.7.egg", hash = "sha256:99fcc3c8d804d1bc6d9a099921e39d827026409a58f2a720dcdb89374ea0c776"},
    {file = "pyasn1-0.4.8.tar.gz", hash = "sha256:aef77c9fb94a3ac588e87841208bdec464471d9871bd5050a287cc9a475cd0ba"},
]
pyasn1-modules = [
    {file = "pyasn1-modules-0.2.8.tar.gz", hash = "sha256:905f84c712230b2c592c19470d3ca8d552de726050d1d1716282a1f6146be65e"},
    {file = "pyasn1_modules-0.2.8-py2.4.egg", hash = "sha256:0fe1b68d1e486a1ed5473f1302bd991c1611d319bba158e98b106ff86e1d7199"},
    {file = "pyasn1_modules-0.2.8-py2.5.egg", hash = "sha256:fe0644d9ab041506b62782e92b06b8c68cca799e1a9636ec398675459e031405"},
    {file = "pyasn1_modules-0.2.8-py2.6.egg", hash = "sha256:a99324196732f53093a84c4369c996713eb8c89d360a496b599fb1a9c47fc3eb"},
    {file = "pyasn1_modules-0.2.8-py2.7.egg", hash = "sha256:0845a5582f6a02bb3e1bde9ecfc4bfcae6ec3210dd270522fee602365430c3f8"},
    {file = "pyasn1_modules-0.2.8-py2.py3-none-any.whl", hash = "sha256:a50b808ffeb97cb3601dd25981f6b016cbb3d31fbf57a8b8a87428e6158d0c74"},
    {file = "pyasn1_modules-0.2.8-py3.1.egg", hash = "sha256:f39edd8c4ecaa4556e989147ebf219227e2cd2e8a43c7e7fcb1f1c18c5fd6a3d"},
    {file = "pyasn1_modules-0.2.8-py3.2.egg", hash = "sha256:b80486a6c77252ea3a3e9b1e360bc9cf28eaac41263d173c032581ad2f20fe45"},
    {file = "pyasn1_modules-0.2.8-py3.3.egg", hash = "sha256:65cebbaffc913f4fe9e4808735c95ea22d7a7775646ab690518c056784bc21b4"},
    {file = "pyasn1_modules-0.2.8-py3.4.egg", hash = "sha256:15b7c67fabc7fc240d87fb9aabf999cf82311a6d6fb2c70d00d3d0604878c811"},
    {file = "pyasn1_modules-0.2.8-py3.5.egg", hash = "sha256:426edb7a5e8879f1ec54a1864f16b882c2837bfd06eee62f2c982315ee2473ed"},
    {file = "pyasn1_modules-0.2.8-py3.6.egg", hash = "sha256:cbac4bc38d117f2a49aeedec4407d23e8866ea4ac27ff2cf7fb3e5b570df19e0"},
    {file = "pyasn1_modules-0.2.8-py3.7.egg", hash = "sha256:c29a5e5cc7a3f05926aff34e097e84f8589cd790ce0ed41b67aed6857b26aafd"},
]
pycparser = [
    {file = "pycparser-2.20-py2.py3-none-any.whl", hash = "sha256:7582ad22678f0fcd81102833f60ef8d0e57288b6b5fb00323d101be910e35705"},
    {file = "pycparser-2.20.tar.gz", hash = "sha256:2d475327684562c3a96cc71adf7dc8c4f0565175cf86b6d7a404ff4c771f15f0"},
]
pydispatcher = [
    {file = "PyDispatcher-2.0.5.tar.gz", hash = "sha256:5570069e1b1769af1fe481de6dd1d3a388492acddd2cdad7a3bde145615d5caf"},
    {file = "PyDispatcher-2.0.5.zip", hash = "sha256:5be4a8be12805ef7d712dd9a93284fb8bc53f309867e573f653a72e5fd10e433"},
]
pyhamcrest = [
    {file = "PyHamcrest-2.0.2-py3-none-any.whl", hash = "sha256:7ead136e03655af85069b6f47b23eb7c3e5c221aa9f022a4fbb499f5b7308f29"},
    {file = "PyHamcrest-2.0.2.tar.gz", hash = "sha256:412e00137858f04bde0729913874a48485665f2d36fe9ee449f26be864af9316"},
]
pyopenssl = [
    {file = "pyOpenSSL-19.1.0-py2.py3-none-any.whl", hash = "sha256:621880965a720b8ece2f1b2f54ea2071966ab00e2970ad2ce11d596102063504"},
    {file = "pyOpenSSL-19.1.0.tar.gz", hash = "sha256:9a24494b2602aaf402be5c9e30a0b82d4a5c67528fe8fb475e3f3bc00dd69507"},
]
pypydispatcher = [
    {file = "PyPyDispatcher-2.1.2.tar.gz", hash = "sha256:b6bec5dfcff9d2535bca2b23c80eae367b1ac250a645106948d315fcfa9130f2"},
]
queuelib = [
    {file = "queuelib-1.5.0-py2.py3-none-any.whl", hash = "sha256:ff43b5b74b9266f8df4232a8f768dc4d67281a271905e2ed4a3689d4d304cd02"},
    {file = "queuelib-1.5.0.tar.gz", hash = "sha256:42b413295551bdc24ed9376c1a2cd7d0b1b0fa4746b77b27ca2b797a276a1a17"},
]
scrapy = [
    {file = "Scrapy-2.1.0-py2.py3-none-any.whl", hash = "sha256:883ab2dcb6cafb22c7448616baeb5b4d7bedef57ca6a9a5f4e902cb1d6e7aeca"},
    {file = "Scrapy-2.1.0.tar.gz", hash = "sha256:640aea0f9be9b055f5cfec5ab78ee88bb37a5be3809b138329bd2af51392ec7f"},
]
service-identity = [
    {file = "service_identity-18.1.0-py2.py3-none-any.whl", hash = "sha256:001c0707759cb3de7e49c078a7c0c9cd12594161d3bf06b9c254fdcb1a60dc36"},
    {file = "service_identity-18.1.0.tar.gz", hash = "sha256:0858a54aabc5b459d1aafa8a518ed2081a285087f349fe3e55197989232e2e2d"},
]
six = [
    {file = "six-1.15.0-py2.py3-none-any.whl", hash = "sha256:8b74bedcbbbaca38ff6d7491d76f2b06b3592611af620f8426e82dddb04a5ced"},
    {file = "six-1.15.0.tar.gz", hash = "sha256:30639c035cdb23534cd4aa2dd52c3bf48f06e5f4a941509c8bafd8ce11080259"},
]
twisted = [
    {file = "Twisted-20.3.0-cp27-cp27m-macosx_10_6_intel.whl", hash = "sha256:cdbc4c7f0cd7a2218b575844e970f05a1be1861c607b0e048c9bceca0c4d42f7"},
    {file = "Twisted-20.3.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:d267125cc0f1e8a0eed6319ba4ac7477da9b78a535601c49ecd20c875576433a"},
    {file = "Twisted-20.3.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:356e8d8dd3590e790e3dba4db139eb8a17aca64b46629c622e1b1597a4a92478"},
    {file = "Twisted-20.3.0-cp27-cp27m-win32.whl", hash = "sha256:ca3a0b8c9110800e576d89b5337373e52018b41069bc879f12fa42b7eb2d0274"},
    {file = "Twisted-20.3.0-cp27-cp27m-win_amd64.whl", hash = "sha256:cd1dc5c85b58494138a3917752b54bb1daa0045d234b7c132c37a61d5483ebad"},
    {file = "Twisted-20.3.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:94ac3d55a58c90e2075c5fe1853f2aa3892b73e3bf56395f743aefde8605eeaa"},
    {file = "Twisted-20.3.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:7408c6635ee1b96587289283ebe90ee15dbf9614b05857b446055116bc822d29"},
    {file = "Twisted-20.3.0-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:c09c47ff9750a8e3aa60ad169c4b95006d455a29b80ad0901f031a103b2991cd"},
    {file = "Twisted-20.3.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:158ddb80719a4813d292293ac44ba41d8b56555ed009d90994a278237ee63d2c"},
    {file = "Twisted-20.3.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:040eb6641125d2a9a09cf198ec7b83dd8858c6f51f6770325ed9959c00f5098f"},
    {file = "Twisted-20.3.0-cp35-cp35m-win32.whl", hash = "sha256:147780b8caf21ba2aef3688628eaf13d7e7fe02a86747cd54bfaf2140538f042"},
    {file = "Twisted-20.3.0-cp35-cp35m-win_amd64.whl", hash = "sha256:25ffcf37944bdad4a99981bc74006d735a678d2b5c193781254fbbb6d69e3b22"},
    {file = "Twisted-20.3.0-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:a58e61a2a01e5bcbe3b575c0099a2bcb8d70a75b1a087338e0c48dd6e01a5f15"},
    {file = "Twisted-20.3.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:7c547fd0215db9da8a1bc23182b309e84a232364cc26d829e9ee196ce840b114"},
    {file = "Twisted-20.3.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:2182000d6ffc05d269e6c03bfcec8b57e20259ca1086180edaedec3f1e689292"},
    {file = "Twisted-20.3.0-cp36-cp36m-win32.whl", hash = "sha256:70952c56e4965b9f53b180daecf20a9595cf22b8d0935cd3bd664c90273c3ab2"},
    {file = "Twisted-20.3.0-cp36-cp36m-win_amd64.whl", hash = "sha256:3281d9ce889f7b21bdb73658e887141aa45a102baf3b2320eafcfba954fcefec"},
    {file = "Twisted-20.3.0-cp37-cp37m-macosx_10_6_intel.whl", hash = "sha256:e92703bed0cc21d6cb5c61d66922b3b1564015ca8a51325bd164a5e33798d504"},
    {file = "Twisted-20.3.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:f058bd0168271de4dcdc39845b52dd0a4a2fecf5f1246335f13f5e96eaebb467"},
    {file = "Twisted-20.3.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:894f6f3cfa57a15ea0d0714e4283913a5f2511dbd18653dd148eba53b3919797"},
    {file = "Twisted-20.3.0-cp37-cp37m-win32.whl", hash = "sha256:f3c19e5bd42bbe4bf345704ad7c326c74d3fd7a1b3844987853bef180be638d4"},
    {file = "Twisted-20.3.0-cp37-cp37m-win_amd64.whl", hash = "sha256:d95803193561a243cb0401b0567c6b7987d3f2a67046770e1dccd1c9e49a9780"},
    {file = "Twisted-20.3.0.tar.bz2", hash = "sha256:d72c55b5d56e176563b91d11952d13b01af8725c623e498db5507b6614fc1e10"},
]
w3lib = [
    {file = "w3lib-1.22.0-py2.py3-none-any.whl", hash = "sha256:0161d55537063e00d95a241663ede3395c4c6d7b777972ba2fd58bbab2001e53"},
    {file = "w3lib-1.22.0.tar.gz", hash = "sha256:0ad6d0203157d61149fd45aaed2e24f53902989c32fc1dccc2e2bfba371560df"},
]
"zope.interface" = [
    {file = "zope.interface-5.1.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:645a7092b77fdbc3f68d3cc98f9d3e71510e419f54019d6e282328c0dd140dcd"},
    {file = "zope.interface-5.1.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:d1fe9d7d09bb07228650903d6a9dc48ea649e3b8c69b1d263419cc722b3938e8"},
    {file = "zope.interface-5.1.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:a744132d0abaa854d1aad50ba9bc64e79c6f835b3e92521db4235a1991176813"},
    {file = "zope.interface-5.1.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:461d4339b3b8f3335d7e2c90ce335eb275488c587b61aca4b305196dde2ff086"},
    {file = "zope.interface-5.1.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:269b27f60bcf45438e8683269f8ecd1235fa13e5411de93dae3b9ee4fe7f7bc7"},
    {file = "zope.interface-5.1.0-cp27-cp27m-win32.whl", hash = "sha256:6874367586c020705a44eecdad5d6b587c64b892e34305bb6ed87c9bbe22a5e9"},
    {file = "zope.interface-5.1.0-cp27-cp27m-win_amd64.whl", hash = "sha256:8149ded7f90154fdc1a40e0c8975df58041a6f693b8f7edcd9348484e9dc17fe"},
    {file = "zope.interface-5.1.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:0103cba5ed09f27d2e3de7e48bb320338592e2fabc5ce1432cf33808eb2dfd8b"},
    {file = "zope.interface-5.1.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:b0becb75418f8a130e9d465e718316cd17c7a8acce6fe8fe07adc72762bee425"},
    {file = "zope.interface-5.1.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:fb55c182a3f7b84c1a2d6de5fa7b1a05d4660d866b91dbf8d74549c57a1499e8"},
    {file = "zope.interface-5.1.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:4f98f70328bc788c86a6a1a8a14b0ea979f81ae6015dd6c72978f1feff70ecda"},
    {file = "zope.interface-5.1.0-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:af2c14efc0bb0e91af63d00080ccc067866fb8cbbaca2b0438ab4105f5e0f08d"},
    {file = "zope.interface-5.1.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:f68bf937f113b88c866d090fea0bc52a098695173fc613b055a17ff0cf9683b6"},
    {file = "zope.interface-5.1.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:d7804f6a71fc2dda888ef2de266727ec2f3915373d5a785ed4ddc603bbc91e08"},
    {file = "zope.interface-5.1.0-cp35-cp35m-manylinux2010_i686.whl", hash = "sha256:74bf0a4f9091131de09286f9a605db449840e313753949fe07c8d0fe7659ad1e"},
    {file = "zope.interface-5.1.0-cp35-cp35m-manylinux2010_x86_64.whl", hash = "sha256:ba4261c8ad00b49d48bbb3b5af388bb7576edfc0ca50a49c11dcb77caa1d897e"},
    {file = "zope.interface-5.1.0-cp35-cp35m-win32.whl", hash = "sha256:ebb4e637a1fb861c34e48a00d03cffa9234f42bef923aec44e5625ffb9a8e8f9"},
    {file = "zope.interface-5.1.0-cp35-cp35m-win_amd64.whl", hash = "sha256:911714b08b63d155f9c948da2b5534b223a1a4fc50bb67139ab68b277c938578"},
    {file = "zope.interface-5.1.0-cp36-cp36m-macosx_10_6_intel.whl", hash = "sha256:e74671e43ed4569fbd7989e5eecc7d06dc134b571872ab1d5a88f4a123814e9f"},
    {file = "zope.interface-5.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:b1d2ed1cbda2ae107283befd9284e650d840f8f7568cb9060b5466d25dc48975"},
    {file = "zope.interface-5.1.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:ef739fe89e7f43fb6494a43b1878a36273e5924869ba1d866f752c5812ae8d58"},
    {file = "zope.interface-5.1.0-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:eb9b92f456ff3ec746cd4935b73c1117538d6124b8617bc0fe6fda0b3816e345"},
    {file = "zope.interface-5.1.0-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:dcefc97d1daf8d55199420e9162ab584ed0893a109f45e438b9794ced44c9fd0"},
    {file = "zope.interface-5.1.0-cp36-cp36m-win32.whl", hash = "sha256:f40db0e02a8157d2b90857c24d89b6310f9b6c3642369852cdc3b5ac49b92afc"},
    {file = "zope.interface-5.1.0-cp36-cp36m-win_amd64.whl", hash = "sha256:14415d6979356629f1c386c8c4249b4d0082f2ea7f75871ebad2e29584bd16c5"},
    {file = "zope.interface-5.1.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:5e86c66a6dea8ab6152e83b0facc856dc4d435fe0f872f01d66ce0a2131b7f1d"},
    {file = "zope.interface-5.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:39106649c3082972106f930766ae23d1464a73b7d30b3698c986f74bf1256a34"},
    {file = "zope.interface-5.1.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:8cccf7057c7d19064a9e27660f5aec4e5c4001ffcf653a47531bde19b5aa2a8a"},
    {file = "zope.interface-5.1.0-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:562dccd37acec149458c1791da459f130c6cf8902c94c93b8d47c6337b9fb826"},
    {file = "zope.interface-5.1.0-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:da2844fba024dd58eaa712561da47dcd1e7ad544a257482392472eae1c86d5e5"},
    {file = "zope.interface-5.1.0-cp37-cp37m-win32.whl", hash = "sha256:1ae4693ccee94c6e0c88a4568fb3b34af8871c60f5ba30cf9f94977ed0e53ddd"},
    {file = "zope.interface-5.1.0-cp37-cp37m-win_amd64.whl", hash = "sha256:dd98c436a1fc56f48c70882cc243df89ad036210d871c7427dc164b31500dc11"},
    {file = "zope.interface-5.1.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1b87ed2dc05cb835138f6a6e3595593fea3564d712cb2eb2de963a41fd35758c"},
    {file = "zope.interface-5.1.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:558a20a0845d1a5dc6ff87cd0f63d7dac982d7c3be05d2ffb6322a87c17fa286"},
    {file = "zope.interface-5.1.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:7b726194f938791a6691c7592c8b9e805fc6d1b9632a833b9c0640828cd49cbc"},
    {file = "zope.interface-5.1.0-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:60a207efcd8c11d6bbeb7862e33418fba4e4ad79846d88d160d7231fcb42a5ee"},
    {file = "zope.interface-5.1.0-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:b054eb0a8aa712c8e9030065a59b5e6a5cf0746ecdb5f087cca5ec7685690c19"},
    {file = "zope.interface-5.1.0-cp38-cp38-win32.whl", hash = "sha256:27d287e61639d692563d9dab76bafe071fbeb26818dd6a32a0022f3f7ca884b5"},
    {file = "zope.interface-5.1.0-cp38-cp38-win_amd64.whl", hash = "sha256:a5f8f85986197d1dd6444763c4a15c991bfed86d835a1f6f7d476f7198d5f56a"},
    {file = "zope.interface-5.1.0.tar.gz", hash = "sha256:40e4c42bd27ed3c11b2c983fecfb03356fae1209de10686d03c02c8696a1d90e"},
]

shell.nix

{ pkgs ? import (builtins.fetchTarball {
  name = "nixos-unstable-2020-05-19";
    url = "https://github.com/nixos/nixpkgs/archive/84cf00f98031e93f389f1eb93c4a7374a33cc0a9.tar.gz";
  }) {}
}:

let
  overrides = (self: super: {
#    cryptography = super.cryptography.overridePythonAttrs (
#      old: rec {
#        propagatedBuildInputs = old.propagatedBuildInputs ++ [pkgs.pythonPackages.m2r];
#      });
#    lxml = super.lxml.overridePythonAttrs (
#      old: rec {
#        nativeBuildInputs = old.nativeBuildInputs ++ [pkgs.pythonPackages.m2r];
#      });
    });

  poetry2nix = import (builtins.fetchGit {
    url = "https://github.com/nix-community/poetry2nix";
    rev = "8d2251bde8f6980e0d0a5743f4313ed648968e34";
  }) {pkgs=pkgs;};

  python = poetry2nix.mkPoetryEnv {
    projectDir = ./.;
    overrides = poetry2nix.overrides.withDefaults overrides;
  };
in
  pkgs.mkShell {
    name="transformers";
    buildInputs = with pkgs; [
      python
    ];
  }

fancycompleter, zipp, configparser: setup.py does not exist when preferWheels = true

I'm on master and noticed #62 was merged, however, I'm still getting the following error, but only when using preferWheels = true;:

patching sources
substitute(): ERROR: file 'setup.py' does not exist
builder for '/nix/store/9jcsf26k7qn39gyzr2agivmlsjsp7rli-python3.7-fancycompleter-0.9.1.drv' failed with exit code 1
cannot build derivation '/nix/store/hm4bdg4ask5w9bhg3m8kihv0ma78xhzz-python3-3.7.7-env.drv': 1 dependencies couldn't be built

minimal shell.nix

with import <nixpkgs> {};
let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "98df940936e09164fdf30f3348fc071403667074";
    sha256 = "163d72djp5z6459v964ij2qam4p2zw6xfjfh3b94qz8xyi2c3w15";
  };
in
  with import "${src.out}/overlay.nix" pkgs pkgs;
  let
    pythonEnv = poetry2nix.mkPoetryEnv {
      projectDir = ./.;
      preferWheels = true;
    };
  in
  mkShell {
    name = "test-environment";

    nativeBuildInputs = [
      pythonEnv
    ];

  }

pyproject.toml

[tool.poetry]
name = "poetry2nixtest"
version = "0.1.0"
description = ""
authors = ["Michael Lingelbach <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.7"
pdbpp = "^0.10.2"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

Attempt to call something which is not a function but a string while evaluating platform_python_implementation

With the given project setup:

poetry.lock

[[package]]
category = "main"
description = "A collection of framework independent HTTP protocol utils."
name = "httptools"
marker = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"pypy\""
optional = false
python-versions = "*"
version = "0.0.13"

[metadata]
content-hash = "54bed734c9469184b817a4eb5bd14f65e38a05ead3c2669b3f1ea296520de0f9"
python-versions = "^3.7"

[metadata.files]
httptools = [
    {file = "httptools-0.0.13.tar.gz", hash = "sha256:e00cbd7ba01ff748e494248183abc6e153f49181169d8a3d41bb49132ca01dfc"},
]

shell.nix

with (import (builtins.fetchGit {
    name = "my-project";
    url = https://github.com/nixos/nixpkgs/;
    ref = "refs/heads/master";
    rev = "6f545410b593a0d1b78806aa878f95ee3f3d4a4a";
}) {});

let src = builtins.fetchGit {
    name = "poetry-nix";
    url = https://github.com/nix-community/poetry2nix/;
    ref = "refs/heads/master";
    rev = "c8a486b894e4d8e96c921eb4265e24e44f117f56";
}; in with import "${src.outPath}/overlay.nix" pkgs pkgs;

let
    pythonEnv = poetry2nix.mkPoetryEnv {
        poetrylock = ./poetry.lock;
    };
in

mkShell {
    name = "my-project";

    buildInputs = [
        python37Full
        python37Packages.virtualenv
        pythonEnv
        poetry
        # usually required as python runtime dependencies
        ncurses
        libxml2
        libxslt
        libzip
        zlib
        cacert
    ];
    shellHook = ''
        # Set SOURCE_DATE_EPOCH so that we can use python wheels.
        # This compromises immutability, but is what we need
        # to allow package installs from PyPI
        export SOURCE_DATE_EPOCH=$(date +%s)

        VENV_DIR=$PWD/.venv

        export PATH=$VENV_DIR/bin:$PATH
        export LANG=en_US.UTF-8

        # https://python-poetry.org/docs/configuration/
        export POETRY_VIRTUALENVS_CREATE=false
        export PIP_CACHE_DIR=$PWD/.local/pip-cache

        # Dirty fix for Linux systems
        # https://nixos.wiki/wiki/Packaging/Quirks_and_Caveats
        export LD_LIBRARY_PATH=${stdenv.cc.cc.lib}/lib/:$LD_LIBRARY_PATH
    '';

}

The traced outcome:

nix-shell --show-trace
error: while evaluating the attribute 'buildInputs' of the derivation 'my-project' at /Users/username/tmp/poetry-exp/shell.nix:22:5:
while evaluating the attribute 'passAsFile' of the derivation 'python3-3.7.6-env' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/pkgs/build-support/trivial-builders.nix:7:14:
while evaluating 'callPackageWith' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/customisation.nix:117:35, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/pkgs/development/interpreters/python/default.nix:20:24:
while evaluating 'makeOverridable' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/customisation.nix:67:24, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/customisation.nix:121:8:
while evaluating anonymous function at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/pkgs/top-level/python-packages.nix:9:1, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/customisation.nix:69:16:
while evaluating 'fix'' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:25:10, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/pkgs/top-level/python-packages.nix:6854:4:
while evaluating 'extends' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:69:24, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:25:21:
while evaluating 'composeExtensions' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:75:17, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:69:67:
while evaluating 'composeExtensions' at /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:75:17, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:78:22:
while evaluating anonymous function at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/default.nix:99:18, called from /nix/store/5fidf6ralp10gv05knyq3z44y11mdhdh-my-project/lib/fixed-points.nix:76:22:
while evaluating 'supportsPythonVersion' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/default.nix:53:33, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/default.nix:55:9:
while evaluating anonymous function at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:226:1, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/default.nix:53:68:
while evaluating anonymous function at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:226:26, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:226:4:
while evaluating 'reduceExpressions' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:189:23, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:226:29:
while evaluating the attribute 'value' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:198:13:
while evaluating 'and' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:191:18, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:198:21:
while evaluating the attribute 'value' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:183:13:
while evaluating '!=' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:155:17, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:179:20:
while evaluating 'processVar' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:116:18, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:135:18:
while evaluating anonymous function at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:116:47, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:116:25:
while evaluating 'substituteVar' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:114:21, called from /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:116:50:
while evaluating the attribute 'platform_python_implementation' at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:96:7:
attempt to call something which is not a function but a string, at /nix/store/bddsxdx9svb4wym5hgpxi0j6b8i64jrk-poetry-nix/pep508.nix:96:40

I guess there's no support for marker = "sys_platform != \"win32\" and sys_platform != \"cygwin\" and platform_python_implementation != \"pypy\"" at the moment? When I remove this line from the lock, the shell evaluates as expected.

list index 0 is out of bounds

I'm not sure what's going on here.

{pkgs}:
let
  poetry2nix = pkgs.callPackage (pkgs.fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "1cfaa4084d651d73af137866622e3d0699851008";
    sha256 = "sha256:16lp3z9w0m7sdxvbk252sx92b3jwf2122vskw0vkrfgym803y59s";
  }) { };

in
poetry2nix.mkPoetryApplication {
  projectDir = ./.;
  src = pkgs.fetchFromGitHub {
    owner = "mu-editor";
    repo = "mu";
    rev = "1.0.3";
    sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855";
  };
  overrides = poetry2nix.overrides.withDefaults (self: super: {

  });
}

$ nix-build -E '(import <nixpkgs> {}).callPackage ./default.nix {}'  --show-trace 
error: while evaluating the attribute 'drvPath' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/customisation.nix:163:7:
while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python3.7-mueditor-0.1.0' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating the attribute 'out.outPath' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/customisation.nix:156:13:
while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python3.7-mu-editor-1.0.3' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating the attribute 'out.outPath' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/customisation.nix:156:13:
while evaluating the attribute 'buildInputs' of the derivation 'python3.7-qscintilla-2.11.4' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating 'getOutput' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/pkgs/stdenv/generic/make-derivation.nix:143:17, called from undefined position:
while evaluating 'getManyLinuxDeps' at /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/lib.nix:76:22, called from /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/mk-poetry-dep.nix:107:38:
while evaluating 'hasInfix' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/strings.nix:233:21, called from /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/lib.nix:80:8:
while evaluating 'hasPrefix' at /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/strings.nix:196:5, called from /nix/store/2pdw4wsfdg0mrg9d6kj6myyimimvnj4d-nixos-20.09pre226148.0f5ce2fac0c/nixos/lib/strings.nix:236:8:
while evaluating the attribute 'name' at /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/mk-poetry-dep.nix:67:11:
list index 0 is out of bounds, at /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/mk-poetry-dep.nix:62:27  

poetry2nix cannot fetch pytest-runner

The nix-buiild -f . env fails with

these derivations will be built:
  /nix/store/w2hh6rx8a2zxcbyl4jbsiylc02an6p00-python3.7-faker-4.0.0.drv
  /nix/store/3nhbd05mr6500652pr35cp3kflxw09br-python3.7-django-seed-0.1.9.drv
  /nix/store/5djw1qvygd00bpcpxp02rjswf18kk1qg-setuptools_scm-3.4.2.tar.gz.drv
  /nix/store/y7sxrrzqjhjc03m6cib0vcyasys7c2ff-python3.7-setuptools-scm-3.4.2.drv
  /nix/store/6512s2hbj3lp9n21b92bhnmh4pmnkqp9-python3-3.7.6-env.drv
building '/nix/store/w2hh6rx8a2zxcbyl4jbsiylc02an6p00-python3.7-faker-4.0.0.drv'...
building '/nix/store/5djw1qvygd00bpcpxp02rjswf18kk1qg-setuptools_scm-3.4.2.tar.gz.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/gvrhn1r99ymhg85b3cfh7i0dg8816vcb-Faker-4.0.0.tar.gz
source root is Faker-4.0.0
setting SOURCE_DATE_EPOCH to timestamp 1579025743 of file Faker-4.0.0/setup.cfg
patching sources
configuring
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.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff7079c50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pytest-runner/

trying https://files.pythonhosted.org/packages/source/s/setuptools-scm/setuptools_scm-3.4.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ccba50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pytest-runner/
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100 45512  100 45512    0     0  59884      0 --:--:-- --:--:-- --:--:-- 59884
building '/nix/store/y7sxrrzqjhjc03m6cib0vcyasys7c2ff-python3.7-setuptools-scm-3.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/4i23bsrl9654fnvz2ljydcacl8flr6hj-setuptools_scm-3.4.2.tar.gz
source root is setuptools_scm-3.4.2
setting SOURCE_DATE_EPOCH to timestamp 1579444286 of file setuptools_scm-3.4.2/src/setuptools_scm.egg-info/zip-safe
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
running bdist_wheel
running build
running build_py
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ccbc50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pytest-runner/
creating build
creating build/lib
creating build/lib/setuptools_scm
copying src/setuptools_scm/file_finder_git.py -> build/lib/setuptools_scm
copying src/setuptools_scm/hacks.py -> build/lib/setuptools_scm
copying src/setuptools_scm/file_finder.py -> build/lib/setuptools_scm
copying src/setuptools_scm/hg.py -> build/lib/setuptools_scm
copying src/setuptools_scm/integration.py -> build/lib/setuptools_scm
copying src/setuptools_scm/__main__.py -> build/lib/setuptools_scm
copying src/setuptools_scm/file_finder_hg.py -> build/lib/setuptools_scm
copying src/setuptools_scm/git.py -> build/lib/setuptools_scm
copying src/setuptools_scm/utils.py -> build/lib/setuptools_scm
copying src/setuptools_scm/config.py -> build/lib/setuptools_scm
copying src/setuptools_scm/discover.py -> build/lib/setuptools_scm
copying src/setuptools_scm/version.py -> build/lib/setuptools_scm
copying src/setuptools_scm/win_py31_compat.py -> build/lib/setuptools_scm
copying src/setuptools_scm/__init__.py -> build/lib/setuptools_scm
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/file_finder_git.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/hacks.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/file_finder.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/hg.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/integration.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/__main__.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/file_finder_hg.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/git.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/utils.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/config.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/discover.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/version.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/win_py31_compat.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
copying build/lib/setuptools_scm/__init__.py -> build/bdist.linux-x86_64/wheel/setuptools_scm
running install_egg_info
running egg_info
writing src/setuptools_scm.egg-info/PKG-INFO
writing dependency_links to src/setuptools_scm.egg-info/dependency_links.txt
writing entry points to src/setuptools_scm.egg-info/entry_points.txt
writing requirements to src/setuptools_scm.egg-info/requires.txt
writing top-level names to src/setuptools_scm.egg-info/top_level.txt
reading manifest file 'src/setuptools_scm.egg-info/SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no previously-included files found matching '*.nix'
warning: no previously-included files found matching 'appveyor.yml'
warning: no previously-included files found matching '.travis.yaml'
warning: no previously-included files found matching '.pre-commit-config.yaml'
writing manifest file 'src/setuptools_scm.egg-info/SOURCES.txt'
Copying src/setuptools_scm.egg-info to build/bdist.linux-x86_64/wheel/setuptools_scm-3.4.2-py3.7.egg-info
running install_scripts
creating build/bdist.linux-x86_64/wheel/setuptools_scm-3.4.2.dist-info/WHEEL
creating 'dist/setuptools_scm-3.4.2-py2.py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'setuptools_scm/__init__.py'
adding 'setuptools_scm/__main__.py'
adding 'setuptools_scm/config.py'
adding 'setuptools_scm/discover.py'
adding 'setuptools_scm/file_finder.py'
adding 'setuptools_scm/file_finder_git.py'
adding 'setuptools_scm/file_finder_hg.py'
adding 'setuptools_scm/git.py'
adding 'setuptools_scm/hacks.py'
adding 'setuptools_scm/hg.py'
adding 'setuptools_scm/integration.py'
adding 'setuptools_scm/utils.py'
adding 'setuptools_scm/version.py'
adding 'setuptools_scm/win_py31_compat.py'
adding 'setuptools_scm-3.4.2.dist-info/LICENSE'
adding 'setuptools_scm-3.4.2.dist-info/METADATA'
adding 'setuptools_scm-3.4.2.dist-info/WHEEL'
adding 'setuptools_scm-3.4.2.dist-info/entry_points.txt'
adding 'setuptools_scm-3.4.2.dist-info/top_level.txt'
adding 'setuptools_scm-3.4.2.dist-info/zip-safe'
adding 'setuptools_scm-3.4.2.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Finished executing setuptoolsBuildPhase
installing
Executing pipInstallPhase
/build/setuptools_scm-3.4.2/dist /build/setuptools_scm-3.4.2
Processing ./setuptools_scm-3.4.2-py2.py3-none-any.whl
Installing collected packages: setuptools-scm
Successfully installed setuptools-scm-3.4.2
/build/setuptools_scm-3.4.2
Finished executing pipInstallPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ld8lsp3rjncxhv5nzpc3n7w3l8r81wnk-python3.7-setuptools-scm-3.4.2
patching script interpreter paths in /nix/store/ld8lsp3rjncxhv5nzpc3n7w3l8r81wnk-python3.7-setuptools-scm-3.4.2
checking for references to /build/ in /nix/store/ld8lsp3rjncxhv5nzpc3n7w3l8r81wnk-python3.7-setuptools-scm-3.4.2...
pythonCatchConflictsPhase
pythonRemoveBinBytecodePhase
pythonImportsCheckPhase
Executing pythonImportsCheckPhase
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ccbe10>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pytest-runner/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ccbed0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pytest-runner/
ERROR: Could not find a version that satisfies the requirement pytest-runner (from versions: none)
ERROR: No matching distribution found for pytest-runner
Traceback (most recent call last):
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmpc06m52eq', '--quiet', 'pytest-runner']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

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 64, in <module>
    "text-unidecode==1.3",
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
    replace_conflicting=True,
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmpc06m52eq', '--quiet', 'pytest-runner']' returned non-zero exit status 1.
builder for '/nix/store/w2hh6rx8a2zxcbyl4jbsiylc02an6p00-python3.7-faker-4.0.0.drv' failed with exit code 1
cannot build derivation '/nix/store/6512s2hbj3lp9n21b92bhnmh4pmnkqp9-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/6512s2hbj3lp9n21b92bhnmh4pmnkqp9-python3-3.7.6-env.drv' failed

Given the following poetry.lock

[[package]]
category = "dev"
description = "Backport of Python 3 csv module"
name = "backports.csv"
optional = false
python-versions = "*"
version = "1.0.7"

[[package]]
category = "main"
description = "Python package for providing Mozilla's CA Bundle."
name = "certifi"
optional = false
python-versions = "*"
version = "2019.11.28"

[[package]]
category = "main"
description = "Universal encoding detector for Python 2 and 3"
name = "chardet"
optional = false
python-versions = "*"
version = "3.0.4"

[[package]]
category = "dev"
description = "Helpers for building command-line apps"
name = "cli-helpers"
optional = false
python-versions = "*"
version = "1.2.1"

[package.dependencies]
"backports.csv" = ">=1.0.0"
configobj = ">=5.0.5"
terminaltables = ">=3.0.0"

[package.dependencies.Pygments]
optional = true
version = ">=1.6"

[package.dependencies.tabulate]
extras = ["widechars"]
version = ">=0.8.2"

[package.extras]
styles = ["Pygments (>=1.6)"]

[[package]]
category = "dev"
description = "Composable command line interface toolkit"
name = "click"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "7.0"

[[package]]
category = "dev"
description = "Config file reading, writing and validation."
name = "configobj"
optional = false
python-versions = "*"
version = "5.0.6"

[package.dependencies]
six = "*"

[[package]]
category = "main"
description = "XML bomb protection for Python stdlib modules"
name = "defusedxml"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.6.0"

[[package]]
category = "main"
description = "A high-level Python Web framework that encourages rapid development and clean, pragmatic design."
name = "django"
optional = false
python-versions = ">=3.5"
version = "2.2"

[package.dependencies]
pytz = "*"
sqlparse = "*"

[package.extras]
argon2 = ["argon2-cffi (>=16.1.0)"]
bcrypt = ["bcrypt"]

[[package]]
category = "main"
description = "Integrated set of Django applications addressing authentication, registration, account management as well as 3rd party (social) account authentication."
name = "django-allauth"
optional = false
python-versions = "*"
version = "0.41.0"

[package.dependencies]
Django = ">=2.0"
python3-openid = ">=3.0.8"
requests = "*"
requests-oauthlib = ">=0.3.0"

[[package]]
category = "dev"
description = "A helper class for handling configuration defaults of packaged apps gracefully."
name = "django-appconf"
optional = false
python-versions = "*"
version = "1.0.3"

[package.dependencies]
django = "*"
six = "*"

[[package]]
category = "main"
description = "Reusable, generic mixins for Django"
name = "django-braces"
optional = false
python-versions = "*"
version = "1.14.0"

[package.dependencies]
Django = ">=1.11.0"
six = "*"

[[package]]
category = "main"
description = "Django Comments Framework extension app with thread support, follow up notifications and email confirmations."
name = "django-comments-xtd"
optional = false
python-versions = "*"
version = "2.4.2"

[package.dependencies]
Django = ">=1.8"
django-contrib-comments = ">=1.8"
djangorestframework = ">=3.6"
docutils = "*"
six = "*"

[[package]]
category = "dev"
description = "Compresses linked and inline JavaScript or CSS into single cached files."
name = "django-compressor"
optional = false
python-versions = "*"
version = "2.3"

[package.dependencies]
django-appconf = ">=1.0"
rcssmin = "1.0.6"
rjsmin = "1.1.0"

[[package]]
category = "dev"
description = "PostCSS support for django-compressor"
name = "django-compressor-postcss"
optional = false
python-versions = "*"
version = "0.8.2"

[package.dependencies]
django = "*"
django-compressor = "*"

[[package]]
category = "main"
description = "The code formerly known as django.contrib.comments."
name = "django-contrib-comments"
optional = false
python-versions = "*"
version = "1.9.2"

[package.dependencies]
Django = ">=1.11"
six = "*"

[[package]]
category = "dev"
description = "A configurable set of panels that display various debug information about the current request/response."
name = "django-debug-toolbar"
optional = false
python-versions = ">=3.5"
version = "2.1"

[package.dependencies]
Django = ">=1.11"
sqlparse = ">=0.2.0"

[[package]]
category = "dev"
description = "Request History Panel for Django Debug Toolbar"
name = "django-debug-toolbar-request-history"
optional = false
python-versions = "*"
version = "0.1.0"

[package.dependencies]
django-debug-toolbar = ">=2.0"

[[package]]
category = "dev"
description = "Extensions for Django"
name = "django-extensions"
optional = false
python-versions = "*"
version = "2.2.5"

[package.dependencies]
six = ">=1.2"

[[package]]
category = "main"
description = "Use Leaflet in your django projects"
name = "django-leaflet"
optional = false
python-versions = "*"
version = "0.26.0"

[package.dependencies]
Django = "*"

[package.extras]
docs = ["sphinx", "sphinx-autobuild"]

[[package]]
category = "dev"
description = "A django-compressor filter to compile SASS files using libsass"
name = "django-libsass"
optional = false
python-versions = "*"
version = "0.8"

[package.dependencies]
django-compressor = ">=1.3"
libsass = ">=0.7.0,<1"

[[package]]
category = "main"
description = "Pluggable app for handling webpage meta tags and OpenGraph properties"
name = "django-meta"
optional = false
python-versions = "*"
version = "1.6.0"

[[package]]
category = "dev"
description = "Database runtime for Django that replaces psql with pgcli."
name = "django-pgcli"
optional = false
python-versions = "*"
version = "0.0.2"

[package.dependencies]
Django = ">=1.4"
pgcli = "*"

[[package]]
category = "dev"
description = "Seed your Django project with fake data"
name = "django-seed"
optional = false
python-versions = "*"
version = "0.1.9"

[package.dependencies]
Faker = ">=0.7.7"
django = ">=1.11"

[[package]]
category = "main"
description = "Web APIs for Django, made easy."
name = "djangorestframework"
optional = false
python-versions = ">=3.5"
version = "3.11.0"

[package.dependencies]
django = ">=1.11"

[[package]]
category = "dev"
description = "Pythonic argument parser, that will make you smile"
name = "docopt"
optional = false
python-versions = "*"
version = "0.6.2"

[[package]]
category = "main"
description = "Docutils -- Python Documentation Utilities"
name = "docutils"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.16"

[[package]]
category = "dev"
description = "Faker is a Python package that generates fake data for you."
name = "faker"
optional = false
python-versions = ">=3.4"
version = "4.0.0"

[package.dependencies]
python-dateutil = ">=2.4"
text-unidecode = "1.3"

[[package]]
category = "main"
description = "The geodesic routines from GeographicLib"
name = "geographiclib"
optional = false
python-versions = "*"
version = "1.50"

[[package]]
category = "main"
description = "Python Geocoding Toolbox"
name = "geopy"
optional = false
python-versions = "*"
version = "1.20.0"

[package.dependencies]
geographiclib = ">=1.49,<2"

[package.extras]
dev = ["mock", "six", "flake8 (>=3.6.0,<3.7.0)", "isort (>=4.3.4,<4.4.0)", "coverage", "pytest (>=3.10)", "readme-renderer", "sphinx", "sphinx-rtd-theme (>=0.4.0)", "contextlib2", "statistics"]
dev-docs = ["readme-renderer", "sphinx", "sphinx-rtd-theme (>=0.4.0)"]
dev-lint = ["mock", "six", "flake8 (>=3.6.0,<3.7.0)", "isort (>=4.3.4,<4.4.0)", "contextlib2"]
dev-test = ["mock", "six", "coverage", "pytest (>=3.10)", "contextlib2", "statistics"]
timezone = ["pytz"]

[[package]]
category = "dev"
description = "python humanize utilities"
name = "humanize"
optional = false
python-versions = "*"
version = "0.5.1"

[[package]]
category = "main"
description = "Internationalized Domain Names in Applications (IDNA)"
name = "idna"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.8"

[[package]]
category = "dev"
description = "An autocompletion tool for Python that can be used for text editors."
name = "jedi"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.15.2"

[package.dependencies]
parso = ">=0.5.2"

[package.extras]
testing = ["colorama (0.4.1)", "docopt", "pytest (>=3.9.0,<5.0.0)"]

[[package]]
category = "dev"
description = "Sass for Python: A straightforward binding of libsass for Python."
name = "libsass"
optional = false
python-versions = "*"
version = "0.19.4"

[package.dependencies]
six = "*"

[[package]]
category = "dev"
description = "McCabe checker, plugin for flake8"
name = "mccabe"
optional = false
python-versions = "*"
version = "0.6.1"

[[package]]
category = "main"
description = "A generic, spec-compliant, thorough implementation of the OAuth request-signing logic"
name = "oauthlib"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "3.1.0"

[package.extras]
rsa = ["cryptography"]
signals = ["blinker"]
signedtoken = ["cryptography", "pyjwt (>=1.0.0)"]

[[package]]
category = "dev"
description = "A Python Parser"
name = "parso"
optional = false
python-versions = "*"
version = "0.5.2"

[package.extras]
testing = ["docopt", "pytest (>=3.0.7)"]

[[package]]
category = "dev"
description = "CLI for Postgres Database. With auto-completion and syntax highlighting."
name = "pgcli"
optional = false
python-versions = "*"
version = "2.2.0"

[package.dependencies]
Pygments = ">=2.0"
click = ">=4.1"
configobj = ">=5.0.6"
humanize = ">=0.5.1"
pgspecial = ">=1.11.8"
prompt-toolkit = ">=2.0.6,<3.0.0"
psycopg2 = ">=2.8"
setproctitle = ">=1.1.9"
sqlparse = ">=0.3.0,<0.4"

[package.dependencies.cli-helpers]
extras = ["styles"]
version = ">=1.2.0"

[package.extras]
keyring = ["keyring (>=12.2.0)"]

[[package]]
category = "dev"
description = "Meta-commands handler for Postgres Database."
name = "pgspecial"
optional = false
python-versions = "*"
version = "1.11.9"

[package.dependencies]
click = ">=4.1"
psycopg2 = ">=2.7.4"
sqlparse = ">=0.1.19"

[[package]]
category = "dev"
description = "Library for building powerful interactive command lines in Python"
name = "prompt-toolkit"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.0.10"

[package.dependencies]
six = ">=1.9.0"
wcwidth = "*"

[[package]]
category = "main"
description = "psycopg2 - Python-PostgreSQL Database Adapter"
name = "psycopg2"
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
version = "2.8.4"

[[package]]
category = "dev"
description = "Python REPL build on top of prompt_toolkit"
name = "ptpython"
optional = false
python-versions = "*"
version = "2.0.6"

[package.dependencies]
docopt = "*"
jedi = ">=0.9.0"
prompt-toolkit = ">=2.0.8,<2.1.0"
pygments = "*"

[package.extras]
ptipython = ["ipython"]

[[package]]
category = "dev"
description = "Python style guide checker"
name = "pycodestyle"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.5.0"

[[package]]
category = "dev"
description = "Python docstring style checker"
name = "pydocstyle"
optional = false
python-versions = ">=3.5"
version = "5.0.2"

[package.dependencies]
snowballstemmer = "*"

[[package]]
category = "dev"
description = "passive checker of Python programs"
name = "pyflakes"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "2.1.1"

[[package]]
category = "dev"
description = "Pygments is a syntax highlighting package written in Python."
name = "pygments"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "2.5.2"

[[package]]
category = "dev"
description = "pylama -- Code audit tool for python"
name = "pylama"
optional = false
python-versions = "*"
version = "7.7.1"

[package.dependencies]
mccabe = ">=0.5.2"
pycodestyle = ">=2.3.1"
pydocstyle = ">=2.0.0"
pyflakes = ">=1.5.0"

[[package]]
category = "dev"
description = "Extensions to the standard Python datetime module"
name = "python-dateutil"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
version = "2.8.1"

[package.dependencies]
six = ">=1.5"

[[package]]
category = "main"
description = "OpenID support for modern servers and consumers."
name = "python3-openid"
optional = false
python-versions = "*"
version = "3.1.0"

[package.dependencies]
defusedxml = "*"

[[package]]
category = "main"
description = "World timezone definitions, modern and historical"
name = "pytz"
optional = false
python-versions = "*"
version = "2019.3"

[[package]]
category = "dev"
description = "CSS Minifier"
name = "rcssmin"
optional = false
python-versions = "*"
version = "1.0.6"

[[package]]
category = "main"
description = "Python HTTP for Humans."
name = "requests"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "2.22.0"

[package.dependencies]
certifi = ">=2017.4.17"
chardet = ">=3.0.2,<3.1.0"
idna = ">=2.5,<2.9"
urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26"

[package.extras]
security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"]
socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"]

[[package]]
category = "main"
description = "OAuthlib authentication support for Requests."
name = "requests-oauthlib"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.3.0"

[package.dependencies]
oauthlib = ">=3.0.0"
requests = ">=2.0.0"

[package.extras]
rsa = ["oauthlib (>=3.0.0)"]

[[package]]
category = "dev"
description = "Javascript Minifier"
name = "rjsmin"
optional = false
python-versions = "*"
version = "1.1.0"

[[package]]
category = "dev"
description = "A Python module to customize the process title"
name = "setproctitle"
optional = false
python-versions = "*"
version = "1.1.10"

[[package]]
category = "dev"
description = "the blessed package to manage your versions by scm tags"
name = "setuptools-scm"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "3.4.2"

[package.extras]
toml = ["toml"]

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*"
version = "1.13.0"

[[package]]
category = "dev"
description = "This package provides 26 stemmers for 25 languages generated from Snowball algorithms."
name = "snowballstemmer"
optional = false
python-versions = "*"
version = "2.0.0"

[[package]]
category = "main"
description = "Non-validating SQL parser"
name = "sqlparse"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.3.0"

[[package]]
category = "dev"
description = "Pretty-print tabular data"
name = "tabulate"
optional = false
python-versions = "*"
version = "0.8.6"

[package.dependencies]
[package.dependencies.wcwidth]
optional = true
version = "*"

[package.extras]
widechars = ["wcwidth"]

[[package]]
category = "dev"
description = "Generate simple tables in terminals from a nested list of strings."
name = "terminaltables"
optional = false
python-versions = "*"
version = "3.1.0"

[[package]]
category = "dev"
description = "The most basic Text::Unidecode port"
name = "text-unidecode"
optional = false
python-versions = "*"
version = "1.3"

[[package]]
category = "main"
description = "HTTP library with thread-safe connection pooling, file post, and more."
name = "urllib3"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, <4"
version = "1.25.7"

[package.extras]
brotli = ["brotlipy (>=0.6.0)"]
secure = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)", "certifi", "ipaddress"]
socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7,<2.0)"]

[[package]]
category = "dev"
description = "Measures number of Terminal column cells of wide-character codes"
name = "wcwidth"
optional = false
python-versions = "*"
version = "0.1.8"

[[package]]
category = "dev"
description = "The comprehensive WSGI web application library."
name = "werkzeug"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.16.0"

[package.extras]
dev = ["pytest", "coverage", "tox", "sphinx", "pallets-sphinx-themes", "sphinx-issues"]
termcolor = ["termcolor"]
watchdog = ["watchdog"]

[[package]]
category = "dev"
description = "A formatter for Python code."
name = "yapf"
optional = false
python-versions = "*"
version = "0.29.0"

[metadata]
content-hash = "4e83706fa42d7ce5fe7d51f9d2a0769742c1c8d033b2ff9bee5f12ec28784f68"
python-versions = "^3.7"

[metadata.files]
"backports.csv" = [
    {file = "backports.csv-1.0.7-py2.py3-none-any.whl", hash = "sha256:21f6e09bab589e6c1f877edbc40277b65e626262a86e69a70137db714eaac5ce"},
    {file = "backports.csv-1.0.7.tar.gz", hash = "sha256:1277dfff73130b2e106bf3dd347adb3c5f6c4340882289d88f31240da92cbd6d"},
]
certifi = [
    {file = "certifi-2019.11.28-py2.py3-none-any.whl", hash = "sha256:017c25db2a153ce562900032d5bc68e9f191e44e9a0f762f373977de9df1fbb3"},
    {file = "certifi-2019.11.28.tar.gz", hash = "sha256:25b64c7da4cd7479594d035c08c2d809eb4aab3a26e5a990ea98cc450c320f1f"},
]
chardet = [
    {file = "chardet-3.0.4-py2.py3-none-any.whl", hash = "sha256:fc323ffcaeaed0e0a02bf4d117757b98aed530d9ed4531e3e15460124c106691"},
    {file = "chardet-3.0.4.tar.gz", hash = "sha256:84ab92ed1c4d4f16916e05906b6b75a6c0fb5db821cc65e70cbd64a3e2a5eaae"},
]
cli-helpers = [
    {file = "cli_helpers-1.2.1-py2-none-any.whl", hash = "sha256:0885ab0a6e0b03f39bcbd6ebd1c439131a94a20d8f5ba2b3e464e9fa05a1a80b"},
    {file = "cli_helpers-1.2.1-py3-none-any.whl", hash = "sha256:e8be0d0f079798490e6bc2a46087a045a8e5b64964eceb210bbb7ba1d98baacd"},
    {file = "cli_helpers-1.2.1.tar.gz", hash = "sha256:98db22eaa86827d99ee6af9f5f3923142d04df256425204530842b032849a165"},
]
click = [
    {file = "Click-7.0-py2.py3-none-any.whl", hash = "sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13"},
    {file = "Click-7.0.tar.gz", hash = "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"},
]
configobj = [
    {file = "configobj-5.0.6.tar.gz", hash = "sha256:a2f5650770e1c87fb335af19a9b7eb73fc05ccf22144eb68db7d00cd2bcb0902"},
]
defusedxml = [
    {file = "defusedxml-0.6.0-py2.py3-none-any.whl", hash = "sha256:6687150770438374ab581bb7a1b327a847dd9c5749e396102de3fad4e8a3ef93"},
    {file = "defusedxml-0.6.0.tar.gz", hash = "sha256:f684034d135af4c6cbb949b8a4d2ed61634515257a67299e5f940fbaa34377f5"},
]
django = [
    {file = "Django-2.2-py3-none-any.whl", hash = "sha256:a2814bffd1f007805b19194eb0b9a331933b82bd5da1c3ba3d7b7ba16e06dc4b"},
    {file = "Django-2.2.tar.gz", hash = "sha256:7c3543e4fb070d14e10926189a7fcf42ba919263b7473dceaefce34d54e8a119"},
]
django-allauth = [
    {file = "django-allauth-0.41.0.tar.gz", hash = "sha256:7ab91485b80d231da191d5c7999ba93170ef1bf14ab6487d886598a1ad03e1d8"},
]
django-appconf = [
    {file = "django-appconf-1.0.3.tar.gz", hash = "sha256:35f13ca4d567f132b960e2cd4c832c2d03cb6543452d34e29b7ba10371ba80e3"},
    {file = "django_appconf-1.0.3-py2.py3-none-any.whl", hash = "sha256:c98a7af40062e996b921f5962a1c4f3f0c979fa7885f7be4710cceb90ebe13a6"},
]
django-braces = [
    {file = "django-braces-1.14.0.tar.gz", hash = "sha256:83705b78948de00804bfacf40c315d001bb39630f35bbdd8588211c2d5b4d43f"},
    {file = "django_braces-1.14.0-py2.py3-none-any.whl", hash = "sha256:a6d9b34cf3e4949635e54884097c30410d7964fc7bec7231445ea7079b8c5722"},
]
django-comments-xtd = [
    {file = "django-comments-xtd-2.4.2.tar.gz", hash = "sha256:d47ac8f7e91f8c9757ba68812493ea4dac75a87f3a017826142759156c323032"},
    {file = "django_comments_xtd-2.4.2-py2-none-any.whl", hash = "sha256:c6349c8818e239dfbd1feca76ccf1731bac3ea0861e27ec090d3bec4c587194d"},
    {file = "django_comments_xtd-2.4.2-py3-none-any.whl", hash = "sha256:db954761453b1ac84fa43234c9be01b4b62f5de45d69d371d455f2f88c8fb83a"},
]
django-compressor = [
    {file = "django_compressor-2.3-py2.py3-none-any.whl", hash = "sha256:da9ee5ce4fc8b9211dcecd2229520514a4ba9ac3bcdc59b48092ec4d7f6b96b0"},
    {file = "django_compressor-2.3.tar.gz", hash = "sha256:47c86347f75c64954a06afbbfc820a750619e10c23a49272b865020a407b7edd"},
]
django-compressor-postcss = [
    {file = "django_compressor_postcss-0.8.2-py2.py3-none-any.whl", hash = "sha256:c443412f01f8abbb9f138e12ca2342c35d27208c4475ece8b437ef9961c3f012"},
]
django-contrib-comments = [
    {file = "django-contrib-comments-1.9.2.tar.gz", hash = "sha256:d1232bade3094de07dcc205fc833204384e71ba9d30caadcb5bb2882ce8e8d31"},
    {file = "django_contrib_comments-1.9.2-py2.py3-none-any.whl", hash = "sha256:b83320a86081a76bc0570e6cc0f924c0ced40b46ae9f5dd783ab2c745b449529"},
]
django-debug-toolbar = [
    {file = "django-debug-toolbar-2.1.tar.gz", hash = "sha256:24c157bc6c0e1648e0a6587511ecb1b007a00a354ce716950bff2de12693e7a8"},
    {file = "django_debug_toolbar-2.1-py3-none-any.whl", hash = "sha256:77cfba1d6e91b9bc3d36dc7dc74a9bb80be351948db5f880f2562a0cbf20b6c5"},
]
django-debug-toolbar-request-history = [
    {file = "django_debug_toolbar_request_history-0.1.0-py2.py3-none-any.whl", hash = "sha256:b258919bc9f0b863a20783ceda51e4a52c187f93a859de0fcb289423d9aff453"},
]
django-extensions = [
    {file = "django-extensions-2.2.5.tar.gz", hash = "sha256:b58320d3fe3d6ae7d1d8e38959713fa92272f4921e662d689058d942a5b444f7"},
    {file = "django_extensions-2.2.5-py2.py3-none-any.whl", hash = "sha256:a9db7c56a556d244184f589f2437b4228de86ee45e5ebb837fb20c6d54e95ea5"},
]
django-leaflet = [
    {file = "django-leaflet-0.26.0.tar.gz", hash = "sha256:b90ea16f69e94cb89254569b5f3e1875602e4c028365acf2e5a1271d80bc6035"},
]
django-libsass = [
    {file = "django-libsass-0.8.tar.gz", hash = "sha256:38fab4ce1245542f3afd7248dc48f8a0b261f5f6c61e7cc43969a9c9079b5ffd"},
    {file = "django_libsass-0.8-py3-none-any.whl", hash = "sha256:3e74fd8e75ac0e6ebc0443efc3e530167981bf279fecc2294094c820ae266fbb"},
]
django-meta = [
    {file = "django-meta-1.6.0.tar.gz", hash = "sha256:c55573197e11658374f7743dd088ad0da0def6fc97aca4507ae48bfb213b9134"},
    {file = "django_meta-1.6.0-py2.py3-none-any.whl", hash = "sha256:1cc01458630ba33170166ac916319a1393edfd8a1d068eb3d2de81cad7aa0699"},
]
django-pgcli = [
    {file = "django-pgcli-0.0.2.tar.gz", hash = "sha256:21d1bf24f814a17fd6cbdabeaa8814a81254ea2dd35c51ddaf6ca5859f0f49f5"},
]
django-seed = [
    {file = "django-seed-0.1.9.tar.gz", hash = "sha256:da5dc54494c2d4274a6b9f9a2aea69cb15c3cce80777e2d30b3a5a082c0a7ee8"},
]
djangorestframework = [
    {file = "djangorestframework-3.11.0-py3-none-any.whl", hash = "sha256:05809fc66e1c997fd9a32ea5730d9f4ba28b109b9da71fccfa5ff241201fd0a4"},
    {file = "djangorestframework-3.11.0.tar.gz", hash = "sha256:e782087823c47a26826ee5b6fa0c542968219263fb3976ec3c31edab23a4001f"},
]
docopt = [
    {file = "docopt-0.6.2.tar.gz", hash = "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491"},
]
docutils = [
    {file = "docutils-0.16-py2.py3-none-any.whl", hash = "sha256:0c5b78adfbf7762415433f5515cd5c9e762339e23369dbe8000d84a4bf4ab3af"},
    {file = "docutils-0.16.tar.gz", hash = "sha256:c2de3a60e9e7d07be26b7f2b00ca0309c207e06c100f9cc2a94931fc75a478fc"},
]
faker = [
    {file = "Faker-4.0.0-py3-none-any.whl", hash = "sha256:047d4d1791bfb3756264da670d99df13d799bb36e7d88774b1585a82d05dbaec"},
    {file = "Faker-4.0.0.tar.gz", hash = "sha256:1b1a58961683b30c574520d0c739c4443e0ef6a185c04382e8cc888273dbebed"},
]
geographiclib = [
    {file = "geographiclib-1.50-py3-none-any.whl", hash = "sha256:51cfa698e7183792bce27d8fb63ac8e83689cd8170a730bf35e1a5c5bf8849b9"},
    {file = "geographiclib-1.50.tar.gz", hash = "sha256:12bd46ee7ec25b291ea139b17aa991e7ef373e21abd053949b75c0e9ca55c632"},
]
geopy = [
    {file = "geopy-1.20.0-py2.py3-none-any.whl", hash = "sha256:6239cbf4d8e8a10460c10cf2ae1949c9e9d011e9f25c4e49202734455cc5e884"},
    {file = "geopy-1.20.0.tar.gz", hash = "sha256:9419bc90ee6231590c4ae7acf1cf126cefbd0736942da7a6a1436946e80830e2"},
]
humanize = [
    {file = "humanize-0.5.1.tar.gz", hash = "sha256:a43f57115831ac7c70de098e6ac46ac13be00d69abbf60bdcac251344785bb19"},
]
idna = [
    {file = "idna-2.8-py2.py3-none-any.whl", hash = "sha256:ea8b7f6188e6fa117537c3df7da9fc686d485087abf6ac197f9c46432f7e4a3c"},
    {file = "idna-2.8.tar.gz", hash = "sha256:c357b3f628cf53ae2c4c05627ecc484553142ca23264e593d327bcde5e9c3407"},
]
jedi = [
    {file = "jedi-0.15.2-py2.py3-none-any.whl", hash = "sha256:1349c1e8c107095a55386628bb3b2a79422f3a2cab8381e34ce19909e0cf5064"},
    {file = "jedi-0.15.2.tar.gz", hash = "sha256:e909527104a903606dd63bea6e8e888833f0ef087057829b89a18364a856f807"},
]
libsass = [
    {file = "libsass-0.19.4-cp27-cp27m-macosx_10_14_intel.whl", hash = "sha256:74acd9adf506142699dfa292f0e569fdccbd9e7cf619e8226f7117de73566e32"},
    {file = "libsass-0.19.4-cp27-cp27m-win32.whl", hash = "sha256:50778d4be269a021ba2bf42b5b8f6ff3704ab96a82175a052680bddf3ba7cc9f"},
    {file = "libsass-0.19.4-cp27-cp27m-win_amd64.whl", hash = "sha256:4dcfd561fb100250b89496e1362b96f2cc804f689a59731eb0f94f9a9e144f4a"},
    {file = "libsass-0.19.4-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:845a9573b25c141164972d498855f4ad29367c09e6d76fad12955ad0e1c83013"},
    {file = "libsass-0.19.4-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:81a013a4c2a614927fd1ef7a386eddabbba695cbb02defe8f31cf495106e974c"},
    {file = "libsass-0.19.4-cp35-cp35m-win32.whl", hash = "sha256:fcb7ab4dc81889e5fc99cafbc2017bc76996f9992fc6b175f7a80edac61d71df"},
    {file = "libsass-0.19.4-cp35-cp35m-win_amd64.whl", hash = "sha256:fc5f8336750f76f1bfae82f7e9e89ae71438d26fc4597e3ab4c05ca8fcd41d8a"},
    {file = "libsass-0.19.4-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:9b59afa0d755089c4165516400a39a289b796b5612eeef5736ab7a1ebf96a67c"},
    {file = "libsass-0.19.4-cp36-cp36m-win32.whl", hash = "sha256:c93df526eeef90b1ea4799c1d33b6cd5aea3e9f4633738fb95c1287c13e6b404"},
    {file = "libsass-0.19.4-cp36-cp36m-win_amd64.whl", hash = "sha256:0fd8b4337b3b101c6e6afda9112cc0dc4bacb9133b59d75d65968c7317aa3272"},
    {file = "libsass-0.19.4-cp37-cp37m-macosx_10_14_x86_64.whl", hash = "sha256:003a65b4facb4c5dbace53fb0f70f61c5aae056a04b4d112a198c3c9674b31f2"},
    {file = "libsass-0.19.4-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:338e9ae066bf1fde874e335324d5355c52d2081d978b4f74fc59536564b35b08"},
    {file = "libsass-0.19.4-cp37-cp37m-win32.whl", hash = "sha256:e318f06f06847ff49b1f8d086ac9ebce1e63404f7ea329adab92f4f16ba0e00e"},
    {file = "libsass-0.19.4-cp37-cp37m-win_amd64.whl", hash = "sha256:a7e685466448c9b1bf98243339793978f654a1151eb5c975f09b83c7a226f4c1"},
    {file = "libsass-0.19.4-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:6a51393d75f6e3c812785b0fa0b7d67c54258c28011921f204643b55f7355ec0"},
    {file = "libsass-0.19.4.tar.gz", hash = "sha256:8b5b6d1a7c4ea1d954e0982b04474cc076286493f6af2d0a13c2e950fbe0be95"},
]
mccabe = [
    {file = "mccabe-0.6.1-py2.py3-none-any.whl", hash = "sha256:ab8a6258860da4b6677da4bd2fe5dc2c659cff31b3ee4f7f5d64e79735b80d42"},
    {file = "mccabe-0.6.1.tar.gz", hash = "sha256:dd8d182285a0fe56bace7f45b5e7d1a6ebcbf524e8f3bd87eb0f125271b8831f"},
]
oauthlib = [
    {file = "oauthlib-3.1.0-py2.py3-none-any.whl", hash = "sha256:df884cd6cbe20e32633f1db1072e9356f53638e4361bef4e8b03c9127c9328ea"},
    {file = "oauthlib-3.1.0.tar.gz", hash = "sha256:bee41cc35fcca6e988463cacc3bcb8a96224f470ca547e697b604cc697b2f889"},
]
parso = [
    {file = "parso-0.5.2-py2.py3-none-any.whl", hash = "sha256:5c1f7791de6bd5dbbeac8db0ef5594b36799de198b3f7f7014643b0c5536b9d3"},
    {file = "parso-0.5.2.tar.gz", hash = "sha256:55cf25df1a35fd88b878715874d2c4dc1ad3f0eebd1e0266a67e1f55efccfbe1"},
]
pgcli = [
    {file = "pgcli-2.2.0-py3-none-any.whl", hash = "sha256:e4cd266e35d0878689221d04a3cc1de7faf61ea1d56d855a708a622de13e5b25"},
    {file = "pgcli-2.2.0.tar.gz", hash = "sha256:54138a31e6736a34c63b84a6d134c9292c9a73543cc0f66e80a0aaf79259d39b"},
]
pgspecial = [
    {file = "pgspecial-1.11.9.tar.gz", hash = "sha256:77f8651450ccbde7d3036cfe93486a4eeeb5ade28d1ebc4b2ba186fea0023c56"},
]
prompt-toolkit = [
    {file = "prompt_toolkit-2.0.10-py2-none-any.whl", hash = "sha256:e7f8af9e3d70f514373bf41aa51bc33af12a6db3f71461ea47fea985defb2c31"},
    {file = "prompt_toolkit-2.0.10-py3-none-any.whl", hash = "sha256:46642344ce457641f28fc9d1c9ca939b63dadf8df128b86f1b9860e59c73a5e4"},
    {file = "prompt_toolkit-2.0.10.tar.gz", hash = "sha256:f15af68f66e664eaa559d4ac8a928111eebd5feda0c11738b5998045224829db"},
]
psycopg2 = [
    {file = "psycopg2-2.8.4-cp27-cp27m-win32.whl", hash = "sha256:72772181d9bad1fa349792a1e7384dde56742c14af2b9986013eb94a240f005b"},
    {file = "psycopg2-2.8.4-cp27-cp27m-win_amd64.whl", hash = "sha256:893c11064b347b24ecdd277a094413e1954f8a4e8cdaf7ffbe7ca3db87c103f0"},
    {file = "psycopg2-2.8.4-cp34-cp34m-win32.whl", hash = "sha256:9ab75e0b2820880ae24b7136c4d230383e07db014456a476d096591172569c38"},
    {file = "psycopg2-2.8.4-cp34-cp34m-win_amd64.whl", hash = "sha256:b0845e3bdd4aa18dc2f9b6fb78fbd3d9d371ad167fd6d1b7ad01c0a6cdad4fc6"},
    {file = "psycopg2-2.8.4-cp35-cp35m-win32.whl", hash = "sha256:ef6df7e14698e79c59c7ee7cf94cd62e5b869db369ed4b1b8f7b729ea825712a"},
    {file = "psycopg2-2.8.4-cp35-cp35m-win_amd64.whl", hash = "sha256:965c4c93e33e6984d8031f74e51227bd755376a9df6993774fd5b6fb3288b1f4"},
    {file = "psycopg2-2.8.4-cp36-cp36m-win32.whl", hash = "sha256:ed686e5926929887e2c7ae0a700e32c6129abb798b4ad2b846e933de21508151"},
    {file = "psycopg2-2.8.4-cp36-cp36m-win_amd64.whl", hash = "sha256:dca2d7203f0dfce8ea4b3efd668f8ea65cd2b35112638e488a4c12594015f67b"},
    {file = "psycopg2-2.8.4-cp37-cp37m-win32.whl", hash = "sha256:8396be6e5ff844282d4d49b81631772f80dabae5658d432202faf101f5283b7c"},
    {file = "psycopg2-2.8.4-cp37-cp37m-win_amd64.whl", hash = "sha256:47fc642bf6f427805daf52d6e52619fe0637648fe27017062d898f3bf891419d"},
    {file = "psycopg2-2.8.4-cp38-cp38-win32.whl", hash = "sha256:4212ca404c4445dc5746c0d68db27d2cbfb87b523fe233dc84ecd24062e35677"},
    {file = "psycopg2-2.8.4-cp38-cp38-win_amd64.whl", hash = "sha256:92a07dfd4d7c325dd177548c4134052d4842222833576c8391aab6f74038fc3f"},
    {file = "psycopg2-2.8.4.tar.gz", hash = "sha256:f898e5cc0a662a9e12bde6f931263a1bbd350cfb18e1d5336a12927851825bb6"},
]
ptpython = [
    {file = "ptpython-2.0.6-py2.py3-none-any.whl", hash = "sha256:0977f56c934789d9955839ef71268148858f826fda49b267cb377ac7501a897b"},
    {file = "ptpython-2.0.6.tar.gz", hash = "sha256:90e24040e82de4abae0bbe6e352d59ae6657e14e1154e742c0038679361b052f"},
]
pycodestyle = [
    {file = "pycodestyle-2.5.0-py2.py3-none-any.whl", hash = "sha256:95a2219d12372f05704562a14ec30bc76b05a5b297b21a5dfe3f6fac3491ae56"},
    {file = "pycodestyle-2.5.0.tar.gz", hash = "sha256:e40a936c9a450ad81df37f549d676d127b1b66000a6c500caa2b085bc0ca976c"},
]
pydocstyle = [
    {file = "pydocstyle-5.0.2-py3-none-any.whl", hash = "sha256:da7831660b7355307b32778c4a0dbfb137d89254ef31a2b2978f50fc0b4d7586"},
    {file = "pydocstyle-5.0.2.tar.gz", hash = "sha256:f4f5d210610c2d153fae39093d44224c17429e2ad7da12a8b419aba5c2f614b5"},
]
pyflakes = [
    {file = "pyflakes-2.1.1-py2.py3-none-any.whl", hash = "sha256:17dbeb2e3f4d772725c777fabc446d5634d1038f234e77343108ce445ea69ce0"},
    {file = "pyflakes-2.1.1.tar.gz", hash = "sha256:d976835886f8c5b31d47970ed689944a0262b5f3afa00a5a7b4dc81e5449f8a2"},
]
pygments = [
    {file = "Pygments-2.5.2-py2.py3-none-any.whl", hash = "sha256:2a3fe295e54a20164a9df49c75fa58526d3be48e14aceba6d6b1e8ac0bfd6f1b"},
    {file = "Pygments-2.5.2.tar.gz", hash = "sha256:98c8aa5a9f778fcd1026a17361ddaf7330d1b7c62ae97c3bb0ae73e0b9b6b0fe"},
]
pylama = [
    {file = "pylama-7.7.1-py2.py3-none-any.whl", hash = "sha256:fd61c11872d6256b019ef1235be37b77c922ef37ac9797df6bd489996dddeb15"},
    {file = "pylama-7.7.1.tar.gz", hash = "sha256:9bae53ef9c1a431371d6a8dca406816a60d547147b60a4934721898f553b7d8f"},
]
python-dateutil = [
    {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
    {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
]
python3-openid = [
    {file = "python3-openid-3.1.0.tar.gz", hash = "sha256:628d365d687e12da12d02c6691170f4451db28d6d68d050007e4a40065868502"},
    {file = "python3_openid-3.1.0-py3-none-any.whl", hash = "sha256:0086da6b6ef3161cfe50fb1ee5cceaf2cda1700019fda03c2c5c440ca6abe4fa"},
]
pytz = [
    {file = "pytz-2019.3-py2.py3-none-any.whl", hash = "sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d"},
    {file = "pytz-2019.3.tar.gz", hash = "sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"},
]
rcssmin = [
    {file = "rcssmin-1.0.6.tar.gz", hash = "sha256:ca87b695d3d7864157773a61263e5abb96006e9ff0e021eff90cbe0e1ba18270"},
]
requests = [
    {file = "requests-2.22.0-py2.py3-none-any.whl", hash = "sha256:9cf5292fcd0f598c671cfc1e0d7d1a7f13bb8085e9a590f48c010551dc6c4b31"},
    {file = "requests-2.22.0.tar.gz", hash = "sha256:11e007a8a2aa0323f5a921e9e6a2d7e4e67d9877e85773fba9ba6419025cbeb4"},
]
requests-oauthlib = [
    {file = "requests-oauthlib-1.3.0.tar.gz", hash = "sha256:b4261601a71fd721a8bd6d7aa1cc1d6a8a93b4a9f5e96626f8e4d91e8beeaa6a"},
    {file = "requests_oauthlib-1.3.0-py2.py3-none-any.whl", hash = "sha256:7f71572defaecd16372f9006f33c2ec8c077c3cfa6f5911a9a90202beb513f3d"},
    {file = "requests_oauthlib-1.3.0-py3.7.egg", hash = "sha256:fa6c47b933f01060936d87ae9327fead68768b69c6c9ea2109c48be30f2d4dbc"},
]
rjsmin = [
    {file = "rjsmin-1.1.0-cp27-cp27m-manylinux1_i686.whl", hash = "sha256:799890bd07a048892d8d3deb9042dbc20b7f5d0eb7da91e9483c561033b23ce2"},
    {file = "rjsmin-1.1.0-cp27-cp27m-manylinux1_x86_64.whl", hash = "sha256:211c2fe8298951663bbc02acdffbf714f6793df54bfc50e1c6c9e71b3f2559a3"},
    {file = "rjsmin-1.1.0-cp27-cp27mu-manylinux1_i686.whl", hash = "sha256:585e75a84d9199b68056fd4a083d9a61e2a92dfd10ff6d4ce5bdb04bc3bdbfaf"},
    {file = "rjsmin-1.1.0-cp27-cp27mu-manylinux1_x86_64.whl", hash = "sha256:e487a7783ac4339e79ec610b98228eb9ac72178973e3dee16eba0e3feef25924"},
    {file = "rjsmin-1.1.0-cp34-cp34m-manylinux1_i686.whl", hash = "sha256:0ab825839125eaca57cc59581d72e596e58a7a56fbc0839996b7528f0343a0a8"},
    {file = "rjsmin-1.1.0-cp34-cp34m-manylinux1_x86_64.whl", hash = "sha256:6044ca86e917cd5bb2f95e6679a4192cef812122f28ee08c677513de019629b3"},
    {file = "rjsmin-1.1.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:ecd29f1b3e66a4c0753105baec262b331bcbceefc22fbe6f7e8bcd2067bcb4d7"},
    {file = "rjsmin-1.1.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:975b69754d6a76be47c0bead12367a1ca9220d08e5393f80bab0230d4625d1f4"},
    {file = "rjsmin-1.1.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:466fe70cc5647c7c51b3260c7e2e323a98b2b173564247f9c89e977720a0645f"},
    {file = "rjsmin-1.1.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:e3908b21ebb584ce74a6ac233bdb5f29485752c9d3be5e50c5484ed74169232c"},
    {file = "rjsmin-1.1.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:714329db774a90947e0e2086cdddb80d5e8c4ac1c70c9f92436378dedb8ae345"},
    {file = "rjsmin-1.1.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:dd0f4819df4243ffe4c964995794c79ca43943b5b756de84be92b445a652fb86"},
    {file = "rjsmin-1.1.0.tar.gz", hash = "sha256:b15dc75c71f65d9493a8c7fa233fdcec823e3f1b88ad84a843ffef49b338ac32"},
]
setproctitle = [
    {file = "setproctitle-1.1.10.tar.gz", hash = "sha256:6283b7a58477dd8478fbb9e76defb37968ee4ba47b05ec1c053cb39638bd7398"},
    {file = "setproctitle-1.1.10.zip", hash = "sha256:6a035eddac62898786aed2c2eee7334c28cfc8106e8eb29fdd117cac56c6cdf0"},
]
setuptools-scm = [
    {file = "setuptools_scm-3.4.2-py2.7.egg", hash = "sha256:15cc0fd17e101bd75dba8cc1d46fdedee0d75e7b73469bcdcea8c755107d76b1"},
    {file = "setuptools_scm-3.4.2-py2.py3-none-any.whl", hash = "sha256:f1036befb98fdb974218095ea6c478367a7a3f812597a525d4576b10659c5980"},
    {file = "setuptools_scm-3.4.2-py3.4.egg", hash = "sha256:55fb0e4002780591fa8c091fe14a9bacb6517826299a10370ce857c0d66cac16"},
    {file = "setuptools_scm-3.4.2-py3.5.egg", hash = "sha256:2a961c659a29befd8b4f5f3ae48a063e9089480791f6b6e74bb57a42e7ce1e09"},
    {file = "setuptools_scm-3.4.2-py3.6.egg", hash = "sha256:09bbfbb2030f17f3a5f8fa0413e92f356022ac2743ce74ccba6f01a936117433"},
    {file = "setuptools_scm-3.4.2-py3.7.egg", hash = "sha256:04a3cd107f822627148b36e111dd42a7bcd3e8f28a1afa4fcfdea45430c1f15e"},
    {file = "setuptools_scm-3.4.2-py3.8.egg", hash = "sha256:70464fbdb86da58973adc46bd326014cc56a24ed8241d167ba2213756ab34597"},
    {file = "setuptools_scm-3.4.2.tar.gz", hash = "sha256:88c14b4912dae5c9d1a79900aa4f51f25fba5b318538edbb61c867ab5d5b6da5"},
]
six = [
    {file = "six-1.13.0-py2.py3-none-any.whl", hash = "sha256:1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd"},
    {file = "six-1.13.0.tar.gz", hash = "sha256:30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66"},
]
snowballstemmer = [
    {file = "snowballstemmer-2.0.0-py2.py3-none-any.whl", hash = "sha256:209f257d7533fdb3cb73bdbd24f436239ca3b2fa67d56f6ff88e86be08cc5ef0"},
    {file = "snowballstemmer-2.0.0.tar.gz", hash = "sha256:df3bac3df4c2c01363f3dd2cfa78cce2840a79b9f1c2d2de9ce8d31683992f52"},
]
sqlparse = [
    {file = "sqlparse-0.3.0-py2.py3-none-any.whl", hash = "sha256:40afe6b8d4b1117e7dff5504d7a8ce07d9a1b15aeeade8a2d10f130a834f8177"},
    {file = "sqlparse-0.3.0.tar.gz", hash = "sha256:7c3dca29c022744e95b547e867cee89f4fce4373f3549ccd8797d8eb52cdb873"},
]
tabulate = [
    {file = "tabulate-0.8.6.tar.gz", hash = "sha256:5470cc6687a091c7042cee89b2946d9235fe9f6d49c193a4ae2ac7bf386737c8"},
]
terminaltables = [
    {file = "terminaltables-3.1.0.tar.gz", hash = "sha256:f3eb0eb92e3833972ac36796293ca0906e998dc3be91fbe1f8615b331b853b81"},
]
text-unidecode = [
    {file = "text-unidecode-1.3.tar.gz", hash = "sha256:bad6603bb14d279193107714b288be206cac565dfa49aa5b105294dd5c4aab93"},
    {file = "text_unidecode-1.3-py2.py3-none-any.whl", hash = "sha256:1311f10e8b895935241623731c2ba64f4c455287888b18189350b67134a822e8"},
]
urllib3 = [
    {file = "urllib3-1.25.7-py2.py3-none-any.whl", hash = "sha256:a8a318824cc77d1fd4b2bec2ded92646630d7fe8619497b142c84a9e6f5a7293"},
    {file = "urllib3-1.25.7.tar.gz", hash = "sha256:f3c5fd51747d450d4dcf6f923c81f78f811aab8205fda64b0aba34a4e48b0745"},
]
wcwidth = [
    {file = "wcwidth-0.1.8-py2.py3-none-any.whl", hash = "sha256:8fd29383f539be45b20bd4df0dc29c20ba48654a41e661925e612311e9f3c603"},
    {file = "wcwidth-0.1.8.tar.gz", hash = "sha256:f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8"},
]
werkzeug = [
    {file = "Werkzeug-0.16.0-py2.py3-none-any.whl", hash = "sha256:e5f4a1f98b52b18a93da705a7458e55afb26f32bff83ff5d19189f92462d65c4"},
    {file = "Werkzeug-0.16.0.tar.gz", hash = "sha256:7280924747b5733b246fe23972186c6b348f9ae29724135a6dfc1e53cea433e7"},
]
yapf = [
    {file = "yapf-0.29.0-py2.py3-none-any.whl", hash = "sha256:cad8a272c6001b3401de3278238fdc54997b6c2e56baa751788915f879a52fca"},
    {file = "yapf-0.29.0.tar.gz", hash = "sha256:712e23c468506bf12cadd10169f852572ecc61b266258422d45aaf4ad7ef43de"},
]

And the following default.nix:

with import <nixpkgs> {};rec{
  isDev=true;
  
  src_ = nix-gitignore.gitignoreSource [] ./.;
  srcProd=runCommandNoCC""{}''
    cp -r ${src_} $out
    $conf=$out/mysite/settings.py
    rm $conf
    echo 'from .conf.prod import *' > $conf
  '';
  src=if isDev then src_ else srcProd;
  
  env=poetry2nix.mkPoetryEnv {
    poetrylock = ./poetry.lock;
    python = python3;
  };
  manage=writeScriptBin "manage" ''
    #! ${bash}/bin/sh
    exec ${env}/bin/python ${src}/manage.py "$@"
  '';
  serverImg= nixos({config,lib,...}:{
    imports=[
      ./configuration.nix
      <nixpkgs/nixos/modules/virtualisation/docker-image.nix>
    ];
  });
  inherit(serverImg)tarball;
}

incorrect and/or precedence in marker evaluation

The evaluation in poetry2nix doesn't take and/or precedence into account, which causes problems with more complex conditionals. Like conditional dependencies which propagate their marker resulting in multiple conditions. eg.

foo; python_version > "3.4"
bar; sys_platform == "win32"  # depends on foo
nix-repl> evalPep508 ''python_version > "3.4" or python_version > "3.4" and sys_platform == "win32"''
false
nix-repl> evalPep508 ''python_version > "3.4" and sys_platform == "win32" or python_version > "3.4"''
true

Compared to the packaging module.

In [1]: from packaging.markers import Marker
In [2]: Marker('python_version > "3.4" or python_version > "3.4" and sys_platform == "win32"').evaluate()
Out[2]: True
In [3]: Marker('python_version > "3.4" and sys_platform == "win32" or python_version > "3.4"').evaluate()
Out[3]: True

Missing dependency?

error: attribute 'pyramid_retry' missing, at /nix/store/bj56vllyvxfn7y2chm6l53rimyh9jmms-source/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix:132:28

I'm not entirely sure what's going on, pyramid_retry only appears in poetry.lock. It seems like something depends on it before pythonPackages.pyramid_retry is created?

I can put together an example repo if that would help.

cc @adisbladis

Write Usage documentation

The README now has an API section, the next step is to add a Usage segment which should also cover overrides, the different ways to override (with defaults, without, with modified overrides, without any overrides) and mention the possibility to use preferWheel

Provide underscore/hyphen aliases

Distributions named foo-bar are equivalent to foo_bar. So I often have to provide overrides

foo-bar = self.foo_bar

or

foo_bar = self.foo-bar

Would it be possible for poetry2nix to automatically provide these aliases by default, without having to enumerate all of them?

Failure in semver.nix with ~= constraints

Hello! First off, thanks for the awesome project! I have run into the following problem when trying to install pytest-mypy:

$ nix-shell

error: attribute '~=' missing, at /nix/store/k20mcfg489y0ildwja4x8dc7vhvzfhnr-source/semver.nix:77:41

Am I doing something wrong?

The shell.nix:

with import (builtins.fetchGit {
  name = "nixpkgs-unstable-2020-01-06";
  url = "https://github.com/NixOS/nixpkgs-channels";
  ref = "nixpkgs-unstable";
  # `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable`
  rev = "7e8454fb856573967a70f61116e15f879f2e3f6a";
}) {};

let src = fetchFromGitHub {
  owner = "nix-community";
  repo = "poetry2nix";
  # Commit hash for master as of 2020-01-08
  # `git ls-remote https://github.com/nix-community/poetry2nix.git master`
  rev = "70c6964368406a3494d8b08c3cc37b7bc822b268";
  sha256 = "1x7dsb7y3mmva1fxy92wb1zw0mhd114amcdxr0gws5zy81xl4n9r";
};
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let pythonEnv = poetry2nix.mkPoetryEnv {
  python = python3;
  poetrylock = ./poetry.lock;
};
in
mkShell {
  name = "example";
  nativeBuildInputs = [
    pythonEnv
    poetry
  ];
}

and the poetry.lock is:

[[package]]
category = "dev"
description = "Atomic file writes."
marker = "python_version >= \"3.5\" and sys_platform == \"win32\" or sys_platform == \"win32\""
name = "atomicwrites"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.3.0"

[[package]]
category = "dev"
description = "Classes Without Boilerplate"
name = "attrs"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.3.0"

[package.extras]
azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"]
dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"]
docs = ["sphinx", "zope.interface"]
tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"]

[[package]]
category = "dev"
description = "Cross-platform colored terminal text."
marker = "python_version >= \"3.5\" and sys_platform == \"win32\" or sys_platform == \"win32\""
name = "colorama"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.4.3"

[[package]]
category = "dev"
description = "Read metadata from Python packages"
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version < \"3.8\""
name = "importlib-metadata"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7"
version = "1.3.0"

[package.dependencies]
zipp = ">=0.5"

[package.extras]
docs = ["sphinx", "rst.linker"]
testing = ["packaging", "importlib-resources"]

[[package]]
category = "dev"
description = "More routines for operating on iterables, beyond itertools"
name = "more-itertools"
optional = false
python-versions = ">=3.5"
version = "8.0.2"

[[package]]
category = "dev"
description = "Optional static typing for Python"
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version >= \"3.8\""
name = "mypy"
optional = false
python-versions = ">=3.5"
version = "0.761"

[package.dependencies]
mypy-extensions = ">=0.4.3,<0.5.0"
typed-ast = ">=1.4.0,<1.5.0"
typing-extensions = ">=3.7.4"

[package.extras]
dmypy = ["psutil (>=4.0)"]

[[package]]
category = "dev"
description = "Experimental type system extensions for programs checked with the mypy typechecker."
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version >= \"3.8\""
name = "mypy-extensions"
optional = false
python-versions = "*"
version = "0.4.3"

[[package]]
category = "dev"
description = "Core utilities for Python packages"
name = "packaging"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "20.0"

[package.dependencies]
pyparsing = ">=2.0.2"
six = "*"

[[package]]
category = "dev"
description = "plugin and hook calling mechanisms for python"
name = "pluggy"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "0.13.1"

[package.dependencies]
[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[package.extras]
dev = ["pre-commit", "tox"]

[[package]]
category = "dev"
description = "library with cross-python path, ini-parsing, io, code, log facilities"
name = "py"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "1.8.1"

[[package]]
category = "dev"
description = "Python parsing module"
name = "pyparsing"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*, !=3.2.*"
version = "2.4.6"

[[package]]
category = "dev"
description = "pytest: simple powerful testing with Python"
name = "pytest"
optional = false
python-versions = ">=3.5"
version = "5.3.2"

[package.dependencies]
atomicwrites = ">=1.0"
attrs = ">=17.4.0"
colorama = "*"
more-itertools = ">=4.0.0"
packaging = "*"
pluggy = ">=0.12,<1.0"
py = ">=1.5.0"
wcwidth = "*"

[package.dependencies.importlib-metadata]
python = "<3.8"
version = ">=0.12"

[package.extras]
testing = ["argcomplete", "hypothesis (>=3.56)", "mock", "nose", "requests", "xmlschema"]

[[package]]
category = "dev"
description = "Mypy static type checker plugin for Pytest"
name = "pytest-mypy"
optional = false
python-versions = "~=3.4"
version = "0.4.2"

[package.dependencies]
[[package.dependencies.mypy]]
python = ">=3.5,<3.8"
version = ">=0.500"

[[package.dependencies.mypy]]
python = ">=3.8"
version = ">=0.700"

[package.dependencies.pytest]
python = ">=3.5"
version = ">=2.8"

[[package]]
category = "dev"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.6, !=3.0.*, !=3.1.*"
version = "1.13.0"

[[package]]
category = "dev"
description = "a fork of Python 2 and 3 ast modules with type comment support"
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version >= \"3.8\""
name = "typed-ast"
optional = false
python-versions = "*"
version = "1.4.0"

[[package]]
category = "dev"
description = "Backported and Experimental Type Hints for Python 3.5+"
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version >= \"3.8\""
name = "typing-extensions"
optional = false
python-versions = "*"
version = "3.7.4.1"

[[package]]
category = "dev"
description = "Measures number of Terminal column cells of wide-character codes"
name = "wcwidth"
optional = false
python-versions = "*"
version = "0.1.8"

[[package]]
category = "dev"
description = "Backport of pathlib-compatible object wrapper for zip files"
marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version < \"3.8\""
name = "zipp"
optional = false
python-versions = ">=2.7"
version = "0.6.0"

[package.dependencies]
more-itertools = "*"

[package.extras]
docs = ["sphinx", "jaraco.packaging (>=3.2)", "rst.linker (>=1.9)"]
testing = ["pathlib2", "contextlib2", "unittest2"]

[metadata]
content-hash = "ba7f4a03e8780f781296f1f67c898870a9205144dd51e627c0f88cc9cc2267bd"
python-versions = "^3.6"

[metadata.files]
atomicwrites = [
    {file = "atomicwrites-1.3.0-py2.py3-none-any.whl", hash = "sha256:03472c30eb2c5d1ba9227e4c2ca66ab8287fbfbbda3888aa93dc2e28fc6811b4"},
    {file = "atomicwrites-1.3.0.tar.gz", hash = "sha256:75a9445bac02d8d058d5e1fe689654ba5a6556a1dfd8ce6ec55a0ed79866cfa6"},
]
attrs = [
    {file = "attrs-19.3.0-py2.py3-none-any.whl", hash = "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c"},
    {file = "attrs-19.3.0.tar.gz", hash = "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"},
]
colorama = [
    {file = "colorama-0.4.3-py2.py3-none-any.whl", hash = "sha256:7d73d2a99753107a36ac6b455ee49046802e59d9d076ef8e47b61499fa29afff"},
    {file = "colorama-0.4.3.tar.gz", hash = "sha256:e96da0d330793e2cb9485e9ddfd918d456036c7149416295932478192f4436a1"},
]
importlib-metadata = [
    {file = "importlib_metadata-1.3.0-py2.py3-none-any.whl", hash = "sha256:d95141fbfa7ef2ec65cfd945e2af7e5a6ddbd7c8d9a25e66ff3be8e3daf9f60f"},
    {file = "importlib_metadata-1.3.0.tar.gz", hash = "sha256:073a852570f92da5f744a3472af1b61e28e9f78ccf0c9117658dc32b15de7b45"},
]
more-itertools = [
    {file = "more-itertools-8.0.2.tar.gz", hash = "sha256:b84b238cce0d9adad5ed87e745778d20a3f8487d0f0cb8b8a586816c7496458d"},
    {file = "more_itertools-8.0.2-py3-none-any.whl", hash = "sha256:c833ef592a0324bcc6a60e48440da07645063c453880c9477ceb22490aec1564"},
]
mypy = [
    {file = "mypy-0.761-cp35-cp35m-macosx_10_6_x86_64.whl", hash = "sha256:7f672d02fffcbace4db2b05369142e0506cdcde20cea0e07c7c2171c4fd11dd6"},
    {file = "mypy-0.761-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:87c556fb85d709dacd4b4cb6167eecc5bbb4f0a9864b69136a0d4640fdc76a36"},
    {file = "mypy-0.761-cp35-cp35m-win_amd64.whl", hash = "sha256:c6d27bd20c3ba60d5b02f20bd28e20091d6286a699174dfad515636cb09b5a72"},
    {file = "mypy-0.761-cp36-cp36m-macosx_10_6_x86_64.whl", hash = "sha256:4b9365ade157794cef9685791032521233729cb00ce76b0ddc78749abea463d2"},
    {file = "mypy-0.761-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:634aef60b4ff0f650d3e59d4374626ca6153fcaff96ec075b215b568e6ee3cb0"},
    {file = "mypy-0.761-cp36-cp36m-win_amd64.whl", hash = "sha256:53ea810ae3f83f9c9b452582261ea859828a9ed666f2e1ca840300b69322c474"},
    {file = "mypy-0.761-cp37-cp37m-macosx_10_6_x86_64.whl", hash = "sha256:0a9a45157e532da06fe56adcfef8a74629566b607fa2c1ac0122d1ff995c748a"},
    {file = "mypy-0.761-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:7eadc91af8270455e0d73565b8964da1642fe226665dd5c9560067cd64d56749"},
    {file = "mypy-0.761-cp37-cp37m-win_amd64.whl", hash = "sha256:e2bb577d10d09a2d8822a042a23b8d62bc3b269667c9eb8e60a6edfa000211b1"},
    {file = "mypy-0.761-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:2c35cae79ceb20d47facfad51f952df16c2ae9f45db6cb38405a3da1cf8fc0a7"},
    {file = "mypy-0.761-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:f97a605d7c8bc2c6d1172c2f0d5a65b24142e11a58de689046e62c2d632ca8c1"},
    {file = "mypy-0.761-cp38-cp38-win_amd64.whl", hash = "sha256:a6bd44efee4dc8c3324c13785a9dc3519b3ee3a92cada42d2b57762b7053b49b"},
    {file = "mypy-0.761-py3-none-any.whl", hash = "sha256:7e396ce53cacd5596ff6d191b47ab0ea18f8e0ec04e15d69728d530e86d4c217"},
    {file = "mypy-0.761.tar.gz", hash = "sha256:85baab8d74ec601e86134afe2bcccd87820f79d2f8d5798c889507d1088287bf"},
]
mypy-extensions = [
    {file = "mypy_extensions-0.4.3-py2.py3-none-any.whl", hash = "sha256:090fedd75945a69ae91ce1303b5824f428daf5a028d2f6ab8a299250a846f15d"},
    {file = "mypy_extensions-0.4.3.tar.gz", hash = "sha256:2d82818f5bb3e369420cb3c4060a7970edba416647068eb4c5343488a6c604a8"},
]
packaging = [
    {file = "packaging-20.0-py2.py3-none-any.whl", hash = "sha256:aec3fdbb8bc9e4bb65f0634b9f551ced63983a529d6a8931817d52fdd0816ddb"},
    {file = "packaging-20.0.tar.gz", hash = "sha256:fe1d8331dfa7cc0a883b49d75fc76380b2ab2734b220fbb87d774e4fd4b851f8"},
]
pluggy = [
    {file = "pluggy-0.13.1-py2.py3-none-any.whl", hash = "sha256:966c145cd83c96502c3c3868f50408687b38434af77734af1e9ca461a4081d2d"},
    {file = "pluggy-0.13.1.tar.gz", hash = "sha256:15b2acde666561e1298d71b523007ed7364de07029219b604cf808bfa1c765b0"},
]
py = [
    {file = "py-1.8.1-py2.py3-none-any.whl", hash = "sha256:c20fdd83a5dbc0af9efd622bee9a5564e278f6380fffcacc43ba6f43db2813b0"},
    {file = "py-1.8.1.tar.gz", hash = "sha256:5e27081401262157467ad6e7f851b7aa402c5852dbcb3dae06768434de5752aa"},
]
pyparsing = [
    {file = "pyparsing-2.4.6-py2.py3-none-any.whl", hash = "sha256:c342dccb5250c08d45fd6f8b4a559613ca603b57498511740e65cd11a2e7dcec"},
    {file = "pyparsing-2.4.6.tar.gz", hash = "sha256:4c830582a84fb022400b85429791bc551f1f4871c33f23e44f353119e92f969f"},
]
pytest = [
    {file = "pytest-5.3.2-py3-none-any.whl", hash = "sha256:e41d489ff43948babd0fad7ad5e49b8735d5d55e26628a58673c39ff61d95de4"},
    {file = "pytest-5.3.2.tar.gz", hash = "sha256:6b571215b5a790f9b41f19f3531c53a45cf6bb8ef2988bc1ff9afb38270b25fa"},
]
pytest-mypy = [
    {file = "pytest-mypy-0.4.2.tar.gz", hash = "sha256:5a5338cecff17f005b181546a13e282761754b481225df37f33d37f86ac5b304"},
    {file = "pytest_mypy-0.4.2-py3-none-any.whl", hash = "sha256:3b7b56912d55439d5f447cc609f91caac7f74f0f1c89f1379d04f06bac777c32"},
]
six = [
    {file = "six-1.13.0-py2.py3-none-any.whl", hash = "sha256:1f1b7d42e254082a9db6279deae68afb421ceba6158efa6131de7b3003ee93fd"},
    {file = "six-1.13.0.tar.gz", hash = "sha256:30f610279e8b2578cab6db20741130331735c781b56053c59c4076da27f06b66"},
]
typed-ast = [
    {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:262c247a82d005e43b5b7f69aff746370538e176131c32dda9cb0f324d27141e"},
    {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:71211d26ffd12d63a83e079ff258ac9d56a1376a25bc80b1cdcdf601b855b90b"},
    {file = "typed_ast-1.4.0-cp35-cp35m-win32.whl", hash = "sha256:630968c5cdee51a11c05a30453f8cd65e0cc1d2ad0d9192819df9978984529f4"},
    {file = "typed_ast-1.4.0-cp35-cp35m-win_amd64.whl", hash = "sha256:ffde2fbfad571af120fcbfbbc61c72469e72f550d676c3342492a9dfdefb8f12"},
    {file = "typed_ast-1.4.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:4e0b70c6fc4d010f8107726af5fd37921b666f5b31d9331f0bd24ad9a088e631"},
    {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:bc6c7d3fa1325a0c6613512a093bc2a2a15aeec350451cbdf9e1d4bffe3e3233"},
    {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:cc34a6f5b426748a507dd5d1de4c1978f2eb5626d51326e43280941206c209e1"},
    {file = "typed_ast-1.4.0-cp36-cp36m-win32.whl", hash = "sha256:d896919306dd0aa22d0132f62a1b78d11aaf4c9fc5b3410d3c666b818191630a"},
    {file = "typed_ast-1.4.0-cp36-cp36m-win_amd64.whl", hash = "sha256:354c16e5babd09f5cb0ee000d54cfa38401d8b8891eefa878ac772f827181a3c"},
    {file = "typed_ast-1.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95bd11af7eafc16e829af2d3df510cecfd4387f6453355188342c3e79a2ec87a"},
    {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:18511a0b3e7922276346bcb47e2ef9f38fb90fd31cb9223eed42c85d1312344e"},
    {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d7c45933b1bdfaf9f36c579671fec15d25b06c8398f113dab64c18ed1adda01d"},
    {file = "typed_ast-1.4.0-cp37-cp37m-win32.whl", hash = "sha256:d755f03c1e4a51e9b24d899561fec4ccaf51f210d52abdf8c07ee2849b212a36"},
    {file = "typed_ast-1.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:2b907eb046d049bcd9892e3076c7a6456c93a25bebfe554e931620c90e6a25b0"},
    {file = "typed_ast-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:fdc1c9bbf79510b76408840e009ed65958feba92a88833cdceecff93ae8fff66"},
    {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:7954560051331d003b4e2b3eb822d9dd2e376fa4f6d98fee32f452f52dd6ebb2"},
    {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:48e5b1e71f25cfdef98b013263a88d7145879fbb2d5185f2a0c79fa7ebbeae47"},
    {file = "typed_ast-1.4.0-cp38-cp38-win32.whl", hash = "sha256:1170afa46a3799e18b4c977777ce137bb53c7485379d9706af8a59f2ea1aa161"},
    {file = "typed_ast-1.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:838997f4310012cf2e1ad3803bce2f3402e9ffb71ded61b5ee22617b3a7f6b6e"},
    {file = "typed_ast-1.4.0.tar.gz", hash = "sha256:66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34"},
]
typing-extensions = [
    {file = "typing_extensions-3.7.4.1-py2-none-any.whl", hash = "sha256:910f4656f54de5993ad9304959ce9bb903f90aadc7c67a0bef07e678014e892d"},
    {file = "typing_extensions-3.7.4.1-py3-none-any.whl", hash = "sha256:cf8b63fedea4d89bab840ecbb93e75578af28f76f66c35889bd7065f5af88575"},
    {file = "typing_extensions-3.7.4.1.tar.gz", hash = "sha256:091ecc894d5e908ac75209f10d5b4f118fbdb2eb1ede6a63544054bb1edb41f2"},
]
wcwidth = [
    {file = "wcwidth-0.1.8-py2.py3-none-any.whl", hash = "sha256:8fd29383f539be45b20bd4df0dc29c20ba48654a41e661925e612311e9f3c603"},
    {file = "wcwidth-0.1.8.tar.gz", hash = "sha256:f28b3e8a6483e5d49e7f8949ac1a78314e740333ae305b4ba5defd3e74fb37a8"},
]
zipp = [
    {file = "zipp-0.6.0-py2.py3-none-any.whl", hash = "sha256:f06903e9f1f43b12d371004b4ac7b06ab39a44adc747266928ae6debfa7b3335"},
    {file = "zipp-0.6.0.tar.gz", hash = "sha256:3718b1cbcd963c7d4c5511a8240812904164b7f381b647143a89d3b98f9bcd8e"},
]

Binary cache for poetry2nix builds

Some Python packages take a while to build, such as numpy, scipy, etc. It would be nice if that build time could be reduced as much as possible by having Hydra build them in advance.

I think the matrix would be (package version, nixpkgs version, platform) and it's hard to say in advance of trying it how much sharing there will be. Maybe I'm missing a couple dimensions. But I wouldn't be surprised if, say, (current package version, nixos-unstable, linux x86-64) was a useful combination for a good number of users of popular packages.

I'm not sure what's involved in making this happen but I figured I'd start the conversation. (Happy to move it elsewhere if there's a better place.)

Error while trying to build mypy in mkPoetryEnv

I am trying poetry2nix.mkPoetryEnv from current release 20.03. This is the script:

with import <nixpkgs> {};

let pythonEnv = poetry2nix.mkPoetryEnv {
  projectDir = ./.;
};
in
mkShell {
  name = "i3pyblocks";
  nativeBuildInputs = [
    libffi
    libpulseaudio
    pythonEnv
  ];
  LD_LIBRARY_PATH="${libpulseaudio}/lib";
}

Using this poetry.lock file: https://github.com/thiagokokada/i3pyblocks/blob/master/poetry.lock, but mypy fails to build:

these derivations will be built:
  /nix/store/5g359s0lhlb4r8zw5gn4wvxi8hs0mwxf-python3.7-pytest-mypy-0.6.1.drv
  /nix/store/r0l62blqj2l6f12l00y2dhavs3sbkrrc-python3-3.7.6-env.drv
building '/nix/store/5g359s0lhlb4r8zw5gn4wvxi8hs0mwxf-python3.7-pytest-mypy-0.6.1.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/c7fgq14pwgac3w2mlxq0mjagkfnzs5bw-pytest-mypy-0.6.1.tar.gz
source root is pytest-mypy-0.6.1
setting SOURCE_DATE_EPOCH to timestamp 1586043272 of file pytest-mypy-0.6.1/setup.cfg
patching sources
configuring
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.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5f13cd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ea4a50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ea4c50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ea4e10>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5ea4ed0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
ERROR: Could not find a version that satisfies the requirement setuptools-scm>=3.5 (from versions: none)
ERROR: No matching distribution found for setuptools-scm>=3.5
Traceback (most recent call last):
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nix/store/nlgrx0cl1l87nx0w660lb3jksn9jdca9-python3-3.7.6/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/nlgrx0cl1l87nx0w660lb3jksn9jdca9-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp8mwmgjab', '--quiet', 'setuptools-scm>=3.5']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

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 62, in <module>
    'mypy = pytest_mypy',
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
    replace_conflicting=True,
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/nix/store/rn2rrpk56cxqi0js12qcf336fgh342yf-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/nix/store/nlgrx0cl1l87nx0w660lb3jksn9jdca9-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp8mwmgjab', '--quiet', 'setuptools-scm>=3.5']' returned non-zero exit status 1.
builder for '/nix/store/5g359s0lhlb4r8zw5gn4wvxi8hs0mwxf-python3.7-pytest-mypy-0.6.1.drv' failed with exit code 1
cannot build derivation '/nix/store/r0l62blqj2l6f12l00y2dhavs3sbkrrc-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/r0l62blqj2l6f12l00y2dhavs3sbkrrc-python3-3.7.6-env.drv' failed

It seems to be trying to connect via HTTP to /simple/setuptools-scm/? Any idea of what could be causing this issue?

scipy fails to build

I have a simple project here, and I'm trying to set it up to use with poetry2nix:

https://github.com/jethrokuan/esnn

The poetry.lock, shell.nix files can all be found there. The project only has 1 dependency: scikitlearn. In particular, scipy fails to build:

these derivations will be built:
  /nix/store/2msnz1cdh6kn7rp15acvrm53g4z9mh2h-python3.7-scipy-1.4.1.drv
  /nix/store/gny52v335dnwfy7v8g9ynfsry4z98zjf-python3.7-scikit-learn-0.22.1.drv
  /nix/store/vxsikfljvhvwi1v9vswkjlwgvhvb24jq-python3-3.7.6-env.drv
building '/nix/store/2msnz1cdh6kn7rp15acvrm53g4z9mh2h-python3.7-scipy-1.4.1.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/jzrmjnhj56rdg13rqxylp3scxjjihr3v-scipy-1.4.1.tar.gz
source root is scipy-1.4.1
setting SOURCE_DATE_EPOCH to timestamp 1576697826 of file scipy-1.4.1/PKG-INFO
patching sources
configuring
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.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cb0750>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pybind11/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc8910>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pybind11/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc8b10>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pybind11/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc8cd0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pybind11/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc8d90>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/pybind11/
ERROR: Could not find a version that satisfies the requirement pybind11>=2.4.0 (from versions: none)
ERROR: No matching distribution found for pybind11>=2.4.0
Traceback (most recent call last):
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp0662_ho7', '--quiet', 'pybind11>=2.4.0']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

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 540, in <module>
    setup_package()
  File "setup.py", line 536, in setup_package
    setup(**metadata)
  File "/nix/store/kx73cf4x5y28i0pmlsfi155irxy547nh-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/distutils/core.py", line 128, in setup
    dist = setup(**new_attr)
  File "/nix/store/kx73cf4x5y28i0pmlsfi155irxy547nh-python3.7-numpy-1.18.1/lib/python3.7/site-packages/numpy/distutils/core.py", line 171, in setup
    return old_setup(**new_attr)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
    replace_conflicting=True,
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/nix/store/wa1pwr7lxg29z8b8f8880y13ql3d2l7z-python3.7-setuptools-44.0.0/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/nix/store/s7vw8y02cqzx8bnjxl4bkhlnwvz6ws1s-python3-3.7.6/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp0662_ho7', '--quiet', 'pybind11>=2.4.0']' returned non-zero exit status 1.
builder for '/nix/store/2msnz1cdh6kn7rp15acvrm53g4z9mh2h-python3.7-scipy-1.4.1.drv' failed with exit code 1
cannot build derivation '/nix/store/vxsikfljvhvwi1v9vswkjlwgvhvb24jq-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/vxsikfljvhvwi1v9vswkjlwgvhvb24jq-python3-3.7.6-env.drv' failed

It seems to me pybind11 is missing from the default scipy overrides, but adding it there results in infinite recursion, am not sure what to do here.

Handle git dependencies

pyproject.toml can contain a dependency like:

requests = { git = "https://github.com/psf/requests.git", branch = "master" }

which translates to an entry like:

poetry.lock

[[package]]                                                                   
category = "main"                                                             
description = "Python HTTP for Humans."                                       
name = "requests"                                                             
optional = false                                                              
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"        
version = "2.22.0"                                                            
                                                                              
[package.dependencies]                                                        
certifi = ">=2017.4.17"                                                       
chardet = ">=3.0.2,<3.1.0"                                                    
idna = ">=2.5,<2.9"                                                           
urllib3 = ">=1.21.1,<1.25.0 || >1.25.0,<1.25.1 || >1.25.1,<1.26"              
                                                                              
[package.extras]                                                              
security = ["pyOpenSSL (>=0.14)", "cryptography (>=1.3.4)", "idna (>=2.0.0)"] 
socks = ["PySocks (>=1.5.6,<1.5.7 || >1.5.7)", "win-inet-pton"]               
                                                                              
[package.source]                                                              
reference = "eedd67462819f8dbf8c1c32e77f9070606605231"                        
type = "git"                                                                  
url = "https://github.com/psf/requests.git" 

It's not ideal but this could be translated to:

builtins.fetchgit { url = "https://github.com/psf/requests.git"; rev = "eedd67462819f8dbf8c1c32e77f9070606605231"; }

Unable to install pytest

I am trying to install pytest in a shell, but the builder fails with:

WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cbaf50>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5c4f050>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
ERROR: Could not find a version that satisfies the requirement setuptools_scm>=3.4 (from versions: none)
ERROR: No matching distribution found for setuptools_scm>=3.4
Traceback (most recent call last):
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmp8tiivc0q', '--quiet', 'setuptools_scm>=3.4']' returned non-zero exit status 1.

The pyproject.toml:

[tool.poetry]
name = "example"
version = "0.1.0"
description = ""
authors = ["Roberto Di Remigio"]

[tool.poetry.dependencies]
python = "^3.6"

[tool.poetry.dev-dependencies]
pytest = "^5.3"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

The shell.nix:

with import (builtins.fetchGit {
  name = "nixpkgs-unstable-2020-01-06";
  url = "https://github.com/NixOS/nixpkgs-channels";
  ref = "nixpkgs-unstable";
  # `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable`
  rev = "7e8454fb856573967a70f61116e15f879f2e3f6a";
}) {
};

let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "f1af96e2c5f4abcd1bbebbc370390edc0acfd84f";
    sha256 = "0phvbj7dg8pf82qa2519hy8lh0wpjhi5c7d46iv22pwhhhiiynkn";
  };
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let
  pythonEnv = poetry2nix.mkPoetryEnv {
    python = python3;
    poetrylock = ./poetry.lock;
    overrides = [];
  };
in
  mkShell {
    name = "example";
    nativeBuildInputs = [
      pythonEnv
      poetry
    ];
  }

poetry2nix breaks on these two applications

https://github.com/benkehoe/aws-sso-credential-process
https://github.com/benkehoe/aws-export-credentials

I don't know much about Poetry, so I'm not sure whether these packages include "proper" Poetry packaging, but they break poetry2nix.mkPoetryApplication in the following ways:

  1. They don't provide a poetry.lock file.
  2. mkPoetryApplication can't seem to find their included pyproject.toml files.
  3. They don't provide a homepage attribute, which causes mkPoetryApplication in nixpkgs to break when evaluated on a Hydra:
attribute 'homepage' missing, at /nix/store/4rhbxlzypnbn1ia258czb2s806dw3xj9-source/pkgs/development/tools/poetry2nix/poetry2nix/default.nix:225:27

I was able to work around these by creating pyproject.toml and poetry.lock files in the Nix packaging for these 2 applications, but is that the way it's meant to work? It would be nice if the homepage attribute were not required and poetry.lock could be generated automatically, in any case.

dlib fails to build

I'm currently switching some poetry projects to poetry2nix, it worked great so far with exception of the following dependency, which gets broken due to having dlib as a dependency.

Here's a minimal example pyproject.toml:

[tool.poetry]
name = "example"
version = "0.1.0"
description = ""
authors = [""]

[tool.poetry.dependencies]
python = "^3.7"
fastapi = "^0.46.0"

[tool.poetry.dev-dependencies]
pytest = "^5.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

and shell.nix:

{ bootstrap ? import <nixpkgs> {}
, pkgs ? import (bootstrap.fetchFromGitHub {
    owner = "NixOS";
    repo = "nixpkgs-channels";
    rev = "100012e55bc2a82fc680cba31a426ad38ead6fab";
    sha256 = "0cvnx852n0krci9hi1rpcldx1kcpmvi5ihf2awvwfayvzp4wic8z";
  }) {}
}:

let
  pythonEnv = pkgs.poetry2nix.mkPoetryEnv {
    python = pkgs.python37;
    poetrylock = ./poetry.lock;
  };
  systemDeps = with pkgs; [
    poetry
  ];
in
pkgs.mkShell {
  buildInputs = systemDeps ++ [ pythonEnv ];
}

Works fine. Now, adding face_recognition to pyproject.toml:

[tool.poetry.dependencies]
python = "^3.7"
fastapi = "^0.46.0"
face_recognition = "^1.2.3"

gives:

$ nix-shell -v
(...)
RuntimeError:
*******************************************************************
 CMake must be installed to build the following extensions: dlib
*******************************************************************

builder for '/nix/store/mrcdzqmpvc3s28033alxqklymj68l237-python3.7-dlib-19.19.0.drv' failed with exit code 1
cannot build derivation '/nix/store/ladrji9svq8kb0a2mhamvw8j70jb8zcj-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ladrji9svq8kb0a2mhamvw8j70jb8zcj-python3-3.7.6-env.drv' failed
  • First attempt: Overriding dlib
{ bootstrap ? import <nixpkgs> {}
, pkgs ? import (bootstrap.fetchFromGitHub {
    owner = "NixOS";
    repo = "nixpkgs-channels";
    rev = "100012e55bc2a82fc680cba31a426ad38ead6fab";
    sha256 = "0cvnx852n0krci9hi1rpcldx1kcpmvi5ihf2awvwfayvzp4wic8z";
  }) {}
}:

let
  pythonEnv = pkgs.poetry2nix.mkPoetryEnv {
    python = pkgs.python37;
    poetrylock = ./poetry.lock;
    overrides = [
      pkgs.poetry2nix.defaultPoetryOverrides
      (self: super: {
        dlib = super.dlib.overrideAttrs(old: {
          nativeBuildInputs = [ pkgs.cmake pkgs.pkgconfig ];
          buildInputs = [ pkgs.libpng pkgs.libjpeg ];
        });
      })
    ];
  };
  systemDeps = with pkgs; [
    poetry
  ];
in
pkgs.mkShell {
  buildInputs = systemDeps ++ [ pythonEnv ];
}

Produces:

$ nix-shell -v
(...)
copying coverage/fullcoverage/encodings.py -> build/lib.linux-x86_64-3.7/coverage/fullcoverage
running build_ext
building 'coverage.tracer' extension
creating build/temp.linux-x86_64-3.7
creating build/temp.linux-x86_64-3.7/coverage
creating build/temp.linux-x86_64-3.7/coverage/ctracer
gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/nix/store/bzvpdbzdy3a1qba8f9ynrzyz811c10pp-python3-3.7.6/include/python3.7m -c coverage/ctracer/datastack.c -o build/temp.linux-x86_64-3.7/coverage/ctracer/datastack.o
builder for '/nix/store/fc40iwcg8hhpnw2n26qprlps7zc25jpd-python3.7-dlib-19.19.0.drv' failed with exit code 1
cannot build derivation '/nix/store/zbr6rixm6nrshzi7149zbzy25dawjz2d-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/zbr6rixm6nrshzi7149zbzy25dawjz2d-python3-3.7.6-env.drv' failed

Any hints on how to solve this issue with dlib?

pyarrow missing cmake

I tried installing numpy and pyarrow, but got an error.

-- Running cmake for pyarrow
cmake -DPYTHON_EXECUTABLE=/nix/store/fara2bdicvvi0p8bmrgcz6s8d6yicijc-python3-3.7.6/bin/python3.7  -DPYARROW_BUILD_CUDA=off -DPYARROW_BUILD_FLIGHT=off -DPYARROW_BUILD_GANDIVA=off -DPYARROW_BUILD_DATASET=off -DPYARROW_BUILD_ORC=off -DPYARROW_BUILD_PARQUET=off -DPYARROW_BUILD_PLASMA=off -DPYARROW_BUILD_S3=off -DPYARROW_BUILD_HDFS=off -DPYARROW_USE_TENSORFLOW=off -DPYARROW_BUNDLE_ARROW_CPP=off -DPYARROW_BUNDLE_BOOST=off -DPYARROW_GENERATE_COVERAGE=off -DPYARROW_BOOST_USE_SHARED=on -DPYARROW_PARQUET_USE_SHARED=on -DCMAKE_BUILD_TYPE=release /build/pyarrow-0.16.0
unable to execute 'cmake': No such file or directory
error: command 'cmake' failed with exit status 1
builder for '/nix/store/dz58ffv87qfqdxp8hxik5k12l0qvfxa8-python3.7-pyarrow-0.16.0.drv' failed with exit code 1
cannot build derivation '/nix/store/j2ydf6rhxvzxghw9bw056sbrw36mm3n3-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/j2ydf6rhxvzxghw9bw056sbrw36mm3n3-python3-3.7.6-env.drv' failed

I also tried using nixpkgs pyarrow,

      pyarrow = python3Packages.pyarrow.overrideAttrs (old: {
        propagatedBuildInputs = [ self.numpy self.six ];
      });

but that resulted in a conflict:

pythonCatchConflictsPhase
Found duplicated packages in closure for dependency 'six': 
  six 1.14.0 (/nix/store/p3bfiwks2cgrhigc22zzbynbqjv8sjmv-python3.7-six-1.14.0/lib/python3.7/site-packages)
  six 1.14.0 (/nix/store/rqg1bc3hr62yh4wwl8jv8zgiqhyhbw5k-python3.7-six-1.14.0/lib/python3.7/site-packages)
Found duplicated packages in closure for dependency 'numpy': 
  numpy 1.18.1 (/nix/store/m9hz17ax200lisfbfmd9ix4pxl8wjw45-python3.7-numpy-1.18.1/lib/python3.7/site-packages)
  numpy 1.18.1 (/nix/store/razximrfq11wkzi8l1f5dy0xw3bxyl77-python3.7-numpy-1.18.1/lib/python3.7/site-packages)

Package duplicates found in closure, see above. Usually this happens if two packages depend on different version of the same dependency.
builder for '/nix/store/fl4kg7bflf4v9y9ri9b1mf05kyqb82i8-python3.7-pyarrow-0.16.0.drv' failed with exit code 1
cannot build derivation '/nix/store/3fv9lf5diqj08z0ivs7w716bpp0b8d45-python3-3.7.6-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/3fv9lf5diqj08z0ivs7w716bpp0b8d45-python3-3.7.6-env.drv' failed

I thought self.numpy was the one from the lockfile, so I'm not sure where the conflict arises. Am I misunderstanding?

zipp-2.2.0 is broken

Breakage is introduced by jaraco/zipp@29c4972

setup.py wants to download setuptools_scm[toml] from the internet therefor it fails toinstall. I do not know enough of the internals of poetry2nix to suggest a proper fix. I see that setuptools_scm is a special case to prevent recursion errors. Is the toml extra always implied?

Removing the toml extras definition in an override fixed the issue for me, however I am not aware what side effect it has.

Failing to build rasa, "attribute 'type' missing"

Hello,

I'm trying to write a Nix derivation for rasa, and after trying pypi2nix and friends which ended up with undecipherable failures, I gave a shot at poetry2nix. For the record, I'm very new to Python/Nix packaging, being a lot more used to the Haskell/C/C++ corners of nixpkgs.

When I try to do the obvious thing with poetry2nix, by writing suitable nix files directly in a checkout of the rasa repo, and fixing a naming problem with one of the deps (typed-ast <=> typed_ast), I end up with a slightly confusing error.

error: while evaluating the attribute 'drvPath' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/lib/customisation.nix:158:7:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'rasa-1.11.0a1' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:105:3:
while evaluating the attribute 'out.outPath' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/lib/customisation.nix:151:13:
while evaluating the attribute 'buildInputs' of the derivation 'python3.7-rasabaster-0.7.26' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:105:3:
while evaluating 'chooseDevOutputs' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/lib/attrsets.nix:474:22, called from undefined position:
while evaluating 'optional' at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/lib/lists.nix:254:20, called from /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix:116:14:
attribute 'type' missing, at /nix/store/1mgwylas2q898px4sgwlvc8jrd9ilakl-nixos-20.03.1619.ab3adfe1c76/nixos/pkgs/development/tools/poetry2nix/poetry2nix/mk-poetry-dep.nix:47:29

You can find my nix code along with the full trace in this gist: https://gist.github.com/alpmestan/f3d86a8ede2296049ddf4bb380e56b01 - I just placed rasa.nix and default.nix at the root of the rasa repo and am running nix-build from there. I tried using both the poetry2nix from my channel (20.03) as well as the git one, and both fail with the attribute type missing error.

Am I doing something wrong, or just hitting an edge case in poetry2nix?

For reference, the poetry.lock file that this is running against is: https://github.com/RasaHQ/rasa/blob/master/poetry.lock

How to use MKL with Numpy

I am trying and failing to create an environment with Numpy linked to MKL.
This is my pyproject.toml:

[tool.poetry]
name = "example"
version = "0.1.0"
description = ""
authors = ["Roberto Di Remigio"]

[tool.poetry.dependencies]
python = "^3.7"
numpy = "^1.17"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

and this is the shell.nix:

let
  outer = import <nixpkgs> {};
in
  {
    pkgs ? import (outer.fetchFromGitHub {
      # Obtained on 2020-02-16 with `nix-prefetch-github nixos nixpkgs-channels --nix --rev nixpkgs-unstable`
      owner = "nixos";
      repo = "nixpkgs-channels";
      rev = "05f0934825c2a0750d4888c4735f9420c906b388";
      sha256 = "1g8c2w0661qn89ajp44znmwfmghbbiygvdzq0rzlvlpdiz28v6gy";
    }) {}
  }:

with pkgs;
let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "b7b50f4098f811e1952fc158d8ed26250be56b4c";
    sha256 = "0pb7b2ivs5axbq2ayaap9sciyn7zaxzkih6p4l0s53ydmrn5n540";
  };
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let
  pythonEnv = poetry2nix.mkPoetryEnv {
    python = python3;
    poetrylock = ./poetry.lock;
    overrides = [
      poetry2nix.defaultPoetryOverrides
      (self: super: {
        numpy = super.numpy.override {
          blas = pkgs.mkl;
        };
      })
    ];
  };
in
  mkShell {
    name = "example";
    nativeBuildInputs = [
      pythonEnv
      poetry
    ];
  }

Running python -c "import numpy; numpy.show_config() shows that I am linking against OpenBLAS:

blas_mkl_info:
  NOT AVAILABLE
blis_info:
  NOT AVAILABLE
openblas_info:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/nix/store/9iljqxsg4j36h8kl7nwg2iyq34ysglrv-openblas-0.3.8/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]
blas_opt_info:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/nix/store/9iljqxsg4j36h8kl7nwg2iyq34ysglrv-openblas-0.3.8/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]
lapack_mkl_info:
  NOT AVAILABLE
openblas_lapack_info:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/nix/store/9iljqxsg4j36h8kl7nwg2iyq34ysglrv-openblas-0.3.8/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]
lapack_opt_info:
    libraries = ['openblas', 'openblas']
    library_dirs = ['/nix/store/9iljqxsg4j36h8kl7nwg2iyq34ysglrv-openblas-0.3.8/lib']
    language = c
    define_macros = [('HAVE_CBLAS', None)]

Anything obviously wrong I am doing?

numpy cython override not applied?

shell.nix

{ pkgs ? import <nixpkgs> {}}:

let
  poetry2nix = import (builtins.fetchGit {
    url = "https://github.com/nix-community/poetry2nix";
    rev = "29a3282aef84a0a540611114cb415bfc5f8c3c61";
  }) {};

  pythonEnv = poetry2nix.mkPoetryEnv {
      projectDir = ./.;
  };
in
  pkgs.mkShell {
    name = "umapshell";
    buildInputs = [ pythonEnv ];
  }

pyproject.toml:

[tool.poetry]
name = "umapper"
version = "0.1.0"
description = ""
authors = ["Your Name <[email protected]>"]
license = "MIT"

[tool.poetry.dependencies]
python = "^3.7"
pandas = "1.0.1"

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

poetry.lock

[[package]]
category = "main"
description = "NumPy is the fundamental package for array computing with Python."
name = "numpy"
optional = false
python-versions = ">=3.5"
version = "1.18.1"

[[package]]
category = "main"
description = "Powerful data structures for data analysis, time series, and statistics"
name = "pandas"
optional = false
python-versions = ">=3.6.1"
version = "1.0.1"

[package.dependencies]
numpy = ">=1.13.3"
python-dateutil = ">=2.6.1"
pytz = ">=2017.2"

[package.extras]
test = ["pytest (>=4.0.2)", "pytest-xdist", "hypothesis (>=3.58)"]

[[package]]
category = "main"
description = "Extensions to the standard Python datetime module"
name = "python-dateutil"
optional = false
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,>=2.7"
version = "2.8.1"

[package.dependencies]
six = ">=1.5"

[[package]]
category = "main"
description = "World timezone definitions, modern and historical"
name = "pytz"
optional = false
python-versions = "*"
version = "2019.3"

[[package]]
category = "main"
description = "Python 2 and 3 compatibility utilities"
name = "six"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*"
version = "1.14.0"

[metadata]
content-hash = "69c181f26a117d2348bc1ea6415fcfd44d9e157b9d0d80acd4cd8f68b29ec6ea"
python-versions = "^3.7"

[metadata.files]
numpy = [
    {file = "numpy-1.18.1-cp35-cp35m-macosx_10_6_intel.whl", hash = "sha256:20b26aaa5b3da029942cdcce719b363dbe58696ad182aff0e5dcb1687ec946dc"},
    {file = "numpy-1.18.1-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:70a840a26f4e61defa7bdf811d7498a284ced303dfbc35acb7be12a39b2aa121"},
    {file = "numpy-1.18.1-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:17aa7a81fe7599a10f2b7d95856dc5cf84a4eefa45bc96123cbbc3ebc568994e"},
    {file = "numpy-1.18.1-cp35-cp35m-win32.whl", hash = "sha256:f3d0a94ad151870978fb93538e95411c83899c9dc63e6fb65542f769568ecfa5"},
    {file = "numpy-1.18.1-cp35-cp35m-win_amd64.whl", hash = "sha256:1786a08236f2c92ae0e70423c45e1e62788ed33028f94ca99c4df03f5be6b3c6"},
    {file = "numpy-1.18.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:ae0975f42ab1f28364dcda3dde3cf6c1ddab3e1d4b2909da0cb0191fa9ca0480"},
    {file = "numpy-1.18.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:cf7eb6b1025d3e169989416b1adcd676624c2dbed9e3bcb7137f51bfc8cc2572"},
    {file = "numpy-1.18.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:b765ed3930b92812aa698a455847141869ef755a87e099fddd4ccf9d81fffb57"},
    {file = "numpy-1.18.1-cp36-cp36m-win32.whl", hash = "sha256:2d75908ab3ced4223ccba595b48e538afa5ecc37405923d1fea6906d7c3a50bc"},
    {file = "numpy-1.18.1-cp36-cp36m-win_amd64.whl", hash = "sha256:9acdf933c1fd263c513a2df3dceecea6f3ff4419d80bf238510976bf9bcb26cd"},
    {file = "numpy-1.18.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:56bc8ded6fcd9adea90f65377438f9fea8c05fcf7c5ba766bef258d0da1554aa"},
    {file = "numpy-1.18.1-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:e422c3152921cece8b6a2fb6b0b4d73b6579bd20ae075e7d15143e711f3ca2ca"},
    {file = "numpy-1.18.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:b3af02ecc999c8003e538e60c89a2b37646b39b688d4e44d7373e11c2debabec"},
    {file = "numpy-1.18.1-cp37-cp37m-win32.whl", hash = "sha256:d92350c22b150c1cae7ebb0ee8b5670cc84848f6359cf6b5d8f86617098a9b73"},
    {file = "numpy-1.18.1-cp37-cp37m-win_amd64.whl", hash = "sha256:77c3bfe65d8560487052ad55c6998a04b654c2fbc36d546aef2b2e511e760971"},
    {file = "numpy-1.18.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:c98c5ffd7d41611407a1103ae11c8b634ad6a43606eca3e2a5a269e5d6e8eb07"},
    {file = "numpy-1.18.1-cp38-cp38-manylinux1_i686.whl", hash = "sha256:9537eecf179f566fd1c160a2e912ca0b8e02d773af0a7a1120ad4f7507cd0d26"},
    {file = "numpy-1.18.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:e840f552a509e3380b0f0ec977e8124d0dc34dc0e68289ca28f4d7c1d0d79474"},
    {file = "numpy-1.18.1-cp38-cp38-win32.whl", hash = "sha256:590355aeade1a2eaba17617c19edccb7db8d78760175256e3cf94590a1a964f3"},
    {file = "numpy-1.18.1-cp38-cp38-win_amd64.whl", hash = "sha256:39d2c685af15d3ce682c99ce5925cc66efc824652e10990d2462dfe9b8918c6a"},
    {file = "numpy-1.18.1.zip", hash = "sha256:b6ff59cee96b454516e47e7721098e6ceebef435e3e21ac2d6c3b8b02628eb77"},
]
pandas = [
    {file = "pandas-1.0.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:74a470d349d52b9d00a2ba192ae1ee22155bb0a300fd1ccb2961006c3fa98ed3"},
    {file = "pandas-1.0.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:e2140e1bbf9c46db9936ee70f4be6584d15ff8dc3dfff1da022d71227d53bad3"},
    {file = "pandas-1.0.1-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:d10e83866b48c0cdb83281f786564e2a2b51a7ae7b8a950c3442ad3c9e36b48c"},
    {file = "pandas-1.0.1-cp36-cp36m-win32.whl", hash = "sha256:303827f0bb40ff610fbada5b12d50014811efcc37aaf6ef03202dc3054bfdda1"},
    {file = "pandas-1.0.1-cp36-cp36m-win_amd64.whl", hash = "sha256:6f38969e2325056f9959efbe06c27aa2e94dd35382265ad0703681d993036052"},
    {file = "pandas-1.0.1-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:2530aea4fe46e8df7829c3f05e0a0f821c893885d53cb8ac9b89cc67c143448c"},
    {file = "pandas-1.0.1-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:3b019e3ea9f5d0cfee0efabae2cfd3976874e90bcc3e97b29600e5a9b345ae3d"},
    {file = "pandas-1.0.1-cp37-cp37m-win32.whl", hash = "sha256:23e177d43e4bf68950b0f8788b6a2fef2f478f4ec94883acb627b9264522a98a"},
    {file = "pandas-1.0.1-cp37-cp37m-win_amd64.whl", hash = "sha256:a9fbe41663416bb70ed05f4e16c5f377519c0dc292ba9aa45f5356e37df03a38"},
    {file = "pandas-1.0.1-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:7f9a509f6f11fa8b9313002ebdf6f690a7aa1dd91efd95d90185371a0d68220e"},
    {file = "pandas-1.0.1-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:942b5d04762feb0e55b2ad97ce2b254a0ffdd344b56493b04a627266e24f2d82"},
    {file = "pandas-1.0.1-cp38-cp38-win32.whl", hash = "sha256:7d77034e402165b947f43050a8a415aa3205abfed38d127ea66e57a2b7b5a9e0"},
    {file = "pandas-1.0.1-cp38-cp38-win_amd64.whl", hash = "sha256:5036d4009012a44aa3e50173e482b664c1fae36decd277c49e453463798eca4e"},
    {file = "pandas-1.0.1.tar.gz", hash = "sha256:3c07765308f091d81b6735d4f2242bb43c332cc3461cae60543df6b10967fe27"},
]
python-dateutil = [
    {file = "python-dateutil-2.8.1.tar.gz", hash = "sha256:73ebfe9dbf22e832286dafa60473e4cd239f8592f699aa5adaf10050e6e1823c"},
    {file = "python_dateutil-2.8.1-py2.py3-none-any.whl", hash = "sha256:75bb3f31ea686f1197762692a9ee6a7550b59fc6ca3a1f4b5d7e32fb98e2da2a"},
]
pytz = [
    {file = "pytz-2019.3-py2.py3-none-any.whl", hash = "sha256:1c557d7d0e871de1f5ccd5833f60fb2550652da6be2693c1e02300743d21500d"},
    {file = "pytz-2019.3.tar.gz", hash = "sha256:b02c06db6cf09c12dd25137e563b31700d3b80fcc4ad23abb7a315f2789819be"},
]
six = [
    {file = "six-1.14.0-py2.py3-none-any.whl", hash = "sha256:8f3cd2e254d8f793e7f3d6d9df77b92252b52637291d0f0da013c76ea2724b6c"},
    {file = "six-1.14.0.tar.gz", hash = "sha256:236bdbdce46e6e6a3d61a337c0f8b763ca1e8717c03b369e87a7ec7ce1319c0a"},
]

leads to:

these derivations will be built:
  /nix/store/55fvy5w1sr2dvcy7lnb57hd0hnp1vkng-python3.7-numpy-1.18.1.drv
  /nix/store/439l4an4kp988ajymxb75dbj21n8kw9n-python3.7-pandas-1.0.1.drv
  /nix/store/z2gzky79441l7jyaa92mkkhnfgrhplc6-python3-3.7.5-env.drv
building '/nix/store/55fvy5w1sr2dvcy7lnb57hd0hnp1vkng-python3.7-numpy-1.18.1.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/2h4zpacjqwwn4jp8i6mz1z8ipvr9yysf-numpy-1.18.1.zip
source root is numpy-1.18.1
setting SOURCE_DATE_EPOCH to timestamp 1578308110 of file numpy-1.18.1/PKG-INFO
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Running from numpy source directory.
Cythonizing sources
Processing numpy/random/_bounded_integers.pxd.in
Processing numpy/random/_generator.pyx
Traceback (most recent call last):
  File "/build/numpy-1.18.1/tools/cythonize.py", line 238, in <module>
    main()
  File "/build/numpy-1.18.1/tools/cythonize.py", line 234, in main
    find_process_files(root_dir)
  File "/build/numpy-1.18.1/tools/cythonize.py", line 225, in find_process_files
    process(root_dir, fromfile, tofile, function, hash_db)
  File "/build/numpy-1.18.1/tools/cythonize.py", line 191, in process
    processor_function(fromfile, tofile)
  File "/build/numpy-1.18.1/tools/cythonize.py", line 79, in process_pyx
    VENDOR, required_version))
RuntimeError: Building NumPy requires Cython >= 0.29.14
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 488, in <module>
    setup_package()
  File "setup.py", line 469, in setup_package
    generate_cython()
  File "setup.py", line 275, in generate_cython
    raise RuntimeError("Running cythonize failed!")
RuntimeError: Running cythonize failed!
builder for '/nix/store/55fvy5w1sr2dvcy7lnb57hd0hnp1vkng-python3.7-numpy-1.18.1.drv' failed with exit code 1
cannot build derivation '/nix/store/z2gzky79441l7jyaa92mkkhnfgrhplc6-python3-3.7.5-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/z2gzky79441l7jyaa92mkkhnfgrhplc6-python3-3.7.5-env.drv' failed

However, there are default numpy overrides with buildInputs = old.buildInputs ++ [ blas self.cython ]; in https://github.com/nix-community/poetry2nix/blob/master/overrides.nix#L289 .

Vispy fails to build

Played around with a couple overrides to get this to build, but no luck thus far

shell.nix

with import <nixpkgs> { };
let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "98df940936e09164fdf30f3348fc071403667074";
    sha256 = "163d72djp5z6459v964ij2qam4p2zw6xfjfh3b94qz8xyi2c3w15";
  };
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let
  pythonEnv = poetry2nix.mkPoetryEnv {
    projectDir = ./.;
    python = python3;
    pyproject = ./pyproject.toml;
    poetrylock = ./poetry.lock;
    # preferWheels = true;
    overrides = poetry2nix.overrides.withDefaults
      (
        self: super: {
          vispy = super.vispy.overrideAttrs
            (
              old: {
                nativeBuildInputs = old.nativeBuildInputs ++ [
                  self.cython
                ];
              }
            );
        }
      );
  };
in
mkShell {
  name = "vispy-environment";

  nativeBuildInputs = [
    pythonEnv
  ];

}

pyproject.toml

[tool.poetry]
name = "vispy_env"
version = "0.1.0"
description = ""
authors = ["Michael Lingelbach <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.7"
pyqt5 = "^5.14.1"
sip = "^5.1.0"
numpy = "^1.18.4"
vispy = "^0.6.4"
setuptools-scm = { version = "^3.4", extras = ["toml"] }

[tool.poetry.dev-dependencies]

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

Log output

May 07 01:41:42.676 INFO build message, message: BuildEvent(Failure { nix_file: Shell("/home/mjlbach/Repositories/new/shell.nix failure: Exit { cmd: "\"nix-build\" \"--out-link\" \"/tmp/.tmp91FkWU/result\" \"--\" \"/tmp/.tmp5GzvYF/result\"", status: Some(100), logs: [
these derivations will be built: 
  /nix/store/amr8h2ab0rw60ac5z52k3i0q8jvk1dl1-python3.7-vispy-0.6.4.drv 
  /nix/store/3bb71502qq91fjw1al6vkryf13fz487j-python3-3.7.7-env.drv 
  /nix/store/awrnlsk2ww5ycc6a7230s87hxmk91dma-lorri-wrapped-project-vispy-environment.drv 
building \'/nix/store/amr8h2ab0rw60ac5z52k3i0q8jvk1dl1-python3.7-vispy-0.6.4.drv\'... 
Sourcing python-remove-tests-dir-hook 
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 
Sourcing python-namespaces-hook 
unpacking sources 
unpacking source archive /nix/store/jf28zwlwhwm61hpqkjhksxyywk0whwis-vispy-0.6.4.tar.gz 
source root is vispy-0.6.4 
setting SOURCE_DATE_EPOCH to timestamp 1576277701 of file vispy-0.6.4/setup.cfg 
patching sources 
configuring 
no configure script, doing nothing 
building 
Executing pipBuildPhase 
Removing pyproject.toml... 
Creating a wheel... 
WARNING: The directory \'/homeless-shelter/.cache/pip\' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo\'s -H flag. 
Processing /build/vispy-0.6.4 
    ERROR: Command errored out with exit status 1: 
     command: /nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/bin/python3.7 -c \'import sys, setuptools, tokenize; sys.argv[0] = \'\"\'\"\'/build/pip-req-build-a_nklnxc/setup.py\'\"\'\"\'; __file__=\'\"\'\"\'/build/pip-req-build-a_nklnxc/setup.py\'\"\'\"\';f=getattr(tokenize, \'\"\'\"\'open\'\"\'\"\', open)(__file__);code=f.read().replace(\'\"\'\"\'\\r\\n\'\"\'\"\', \'\"\'\"\'\\n\'\"\'\"\');f.close();exec(compile(code, __file__, \'\"\'\"\'exec\'\"\'\"\'))\' egg_info --egg-base /build/pip-req-build-a_nklnxc/pip-egg-info 
         cwd: /build/pip-req-build-a_nklnxc/ 
    Complete output (44 lines): 
    setup.py entered 
    $PATH=/nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/bin:/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/bin:/nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/bin:/nix/store/cmdsjcd6irzinnrwg620j0s1vzd2y11q-python3.7-pip-20.0.2/bin:/nix/store/dagvc52hnmmfan7lrhs4pxy9jkw9yjqv-python3.7-wheel-0.33.6/bin:/nix/store/zxwvlpx592ivikrvkgzn1ml8y5vsb1kh-python3.7-Cython-0.29.14/bin:/nix/store/sicn6b10ixbs6435d7dr630i2hxphfpr-patchelf-0.9/bin:/nix/store/k930l9lckxjf4zmafv4aapvdbd2sibmj-gcc-wrapper-9.3.0/bin:/nix/store/52x4908vr922dhnxz1i5rfnrsq244vzc-gcc-9.3.0/bin:/nix/store/g5lavnivfasac7m15g3mh9lhmhsr5vl4-glibc-2.30-bin/bin:/nix/store/ca9mkrf8sa8md8pv61jslhcnfk9mmg4p-coreutils-8.31/bin:/nix/store/3gd7zz0s80k50amwzj3015ddz0sd9inl-binutils-wrapper-2.31.1/bin:/nix/store/3b3ighb83nhifa1v4n7855hlbdl1mhf9-binutils-2.31.1/bin:/nix/store/g5lavnivfasac7m15g3mh9lhmhsr5vl4-glibc-2.30-bin/bin:/nix/store/ca9mkrf8sa8md8pv61jslhcnfk9mmg4p-coreutils-8.31/bin:/nix/store/ca9mkrf8sa8md8pv61jslhcnfk9mmg4p-coreutils-8.31/bin:/nix/store/hg3albf7g05ljfqrfjhd58rblimrp6ph-findutils-4.7.0/bin:/nix/store/k7rakfl1ld9ycfm1zzszly0161h6jlcp-diffutils-3.7/bin:/nix/store/jpqlmf3wqg281j8fdz50kjl525pfsxjc-gnused-4.8/bin:/nix/store/8pajzfyqx1v7dz1znrnrc4pqj5rmnx24-gnugrep-3.4/bin:/nix/store/miwvn81sgbbcq5bfglr6v3pwchgsd00c-gawk-5.0.1/bin:/nix/store/0s93dpvxn7vaaah3n1lgz0q0xqdfsbkj-gnutar-1.32/bin:/nix/store/6yqb5dfmlsx0zr0q8xzi8v4wbrzmvwpf-gzip-1.10/bin:/nix/store/hgp00a1rgwqxjcrkqhbjrfb5df7wjhl5-bzip2-1.0.6.0.1-bin/bin:/nix/store/998ykzc5mazwak08hxayqmyqkyz18fcb-gnumake-4.2.1/bin:/nix/store/kgp3vq8l9yb8mzghbw83kyr3f26yqvsz-bash-4.4-p23/bin:/nix/store/c8nzpy2f2sz0w3mp4x8gkpn4hd4l2420-patch-2.7.6/bin:/nix/store/6ca524vb3yg59ag3khm0010591rny9v1-xz-5.2.5-bin/bin 
    Compiling vispy/visuals/text/_sdf_cpu.pyx because it changed. 
    [1/1] Cythonizing vispy/visuals/text/_sdf_cpu.pyx 
    WARNING: The directory \'/homeless-shelter/.cache/pip\' or its parent directory is not owned or is not writable by the current user. The cache has been disabled. Check the permissions and owner of that directory. If executing pip with sudo, you may want sudo\'s -H flag. 
    WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5f26c10>: Failed to establish a new connection: [Errno -2] Name or service not known\')\': /simple/setuptools-scm-git-archive/ 
    WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9e350>: Failed to establish a new connection: [Errno -2] Name or service not known\')\': /simple/setuptools-scm-git-archive/ 
    WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9e4d0>: Failed to establish a new connection: [Errno -2] Name or service not known\')\': /simple/setuptools-scm-git-archive/ 
    WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9e690>: Failed to establish a new connection: [Errno -2] Name or service not known\')\': /simple/setuptools-scm-git-archive/ 
    WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by \'NewConnectionError(\'<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5e9e850>: Failed to establish a new connection: [Errno -2] Name or service not known\')\': /simple/setuptools-scm-git-archive/ 
    ERROR: Could not find a version that satisfies the requirement setuptools_scm_git_archive (from versions: none) 
    ERROR: No matching distribution found for setuptools_scm_git_archive 
    /nix/store/zxwvlpx592ivikrvkgzn1ml8y5vsb1kh-python3.7-Cython-0.29.14/lib/python3.7/site-packages/Cython/Compiler/Main.py:369: FutureWarning: Cython directive \'language_level\' not set, using 2 for now (Py2). This will change in a later release! File: /build/pip-req-build-a_nklnxc/vispy/visuals/text/_sdf_cpu.pyx 
      tree = Parsing.p_module(s, pxd, full_module_name) 
    Traceback (most recent call last): 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/installer.py\", line 128, in fetch_build_egg 
        subprocess.check_call(cmd) 
      File \"/nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/lib/python3.7/subprocess.py\", line 363, in check_call 
        raise CalledProcessError(retcode, cmd) 
    subprocess.CalledProcessError: Command \'[\'/nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/bin/python3.7\', \'-m\', \'pip\', \'--disable-pip-version-check\', \'wheel\', \'--no-deps\', \'-w\', \'/build/tmpkrjicua6\', \'--quiet\', \'setuptools_scm_git_archive\']\' returned non-zero exit status 1. 
 
    During handling of the above exception, another exception occurred: 
 
    Traceback (most recent call last): 
      File \"<string>\", line 1, in <module> 
      File \"/build/pip-req-build-a_nklnxc/setup.py\", line 274, in <module> 
        \'Framework :: IPython\' 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/__init__.py\", line 143, in setup 
        _install_setup_requires(attrs) 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/__init__.py\", line 138, in _install_setup_requires 
        dist.fetch_build_eggs(dist.setup_requires) 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/dist.py\", line 721, in fetch_build_eggs 
        replace_conflicting=True, 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 783, in resolve 
        replace_conflicting=replace_conflicting 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 1066, in best_match 
        return self.obtain(req, installer) 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/pkg_resources/__init__.py\", line 1078, in obtain 
        return installer(requirement) 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/dist.py\", line 777, in fetch_build_egg 
        return fetch_build_egg(self, req) 
      File \"/nix/store/wqrpi0di1jb17gmzim8j58rznz4v6wqf-python3.7-setuptools-45.2.0/lib/python3.7/site-packages/setuptools/installer.py\", line 130, in fetch_build_egg 
        raise DistutilsError(str(e)) 
    distutils.errors.DistutilsError: Command \'[\'/nix/store/ihy2vly61ndky6qlv1q4dfdiv28vszkh-python3-3.7.7/bin/python3.7\', \'-m\', \'pip\', \'--disable-pip-version-check\', \'wheel\', \'--no-deps\', \'-w\', \'/build/tmpkrjicua6\', \'--quiet\', \'setuptools_scm_git_archive\']\' returned non-zero exit status 1. 
    ---------------------------------------- 
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output. 
builder for \'/nix/store/amr8h2ab0rw60ac5z52k3i0q8jvk1dl1-python3.7-vispy-0.6.4.drv\' failed with exit code 1 
cannot build derivation \'/nix/store/3bb71502qq91fjw1al6vkryf13fz487j-python3-3.7.7-env.drv\': 1 dependencies couldn\'t be built 
cannot build derivation \'/nix/store/awrnlsk2ww5ycc6a7230s87hxmk91dma-lorri-wrapped-project-vispy-environment.drv\': 1 dependencies couldn\'t be built 
error: build of \'/nix/store/awrnlsk2ww5ycc6a7230s87hxmk91dma-lorri-wrapped-project-vispy-environment.drv\' failed")] } }), expr: /home/mjlbach/Repositories/new/shell.nix

Build using 'grafana_api' python package failing due to missing 'git' command

Hello @adisbladis,

Not really sure if this is the right place to report this but I cannot tell for sure what is the root cause and on which level should we fix it

But here is the situation :

I'm trying to build a nixops-grafana plugin using poetry2nix as dependency manager.
For this plugin, I need to use a python module called 'grafana_api' and hence add it in the pyproject.toml config file as shown here ( tried both the following alternatives but the output is the same )

[tool.poetry.dependencies]
python = "^3.7.6"
grafana-api = {git = "https://github.com/m0nhawk/grafana_api.git", rev = "master"}
#grafana-api = "1.0.2"

Whenever I work locally using poetry shell, I encounter no issues at all and I'm able to use all python dependencies.

However, whenever I try to build nixops-grafana, it fails with this error

unpacking source archive /nix/store/ximp6z9w9w10f4jiilfq47wi261s4h0b-source
source root is source
setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test/test_grafana.py
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
Traceback (most recent call last):
  File "setup.py", line 8, in get_version
    ["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
  File "/nix/store/55b9ip7xkpimaccw9pa0vacy5q94f5xa-python3-3.7.6/lib/python3.7/subprocess.py", line 411, in check_output
    **kwargs).stdout
  File "/nix/store/55b9ip7xkpimaccw9pa0vacy5q94f5xa-python3-3.7.6/lib/python3.7/subprocess.py", line 488, in run
    with Popen(*popenargs, **kwargs) as process:
  File "/nix/store/55b9ip7xkpimaccw9pa0vacy5q94f5xa-python3-3.7.6/lib/python3.7/subprocess.py", line 800, in __init__
    restore_signals, start_new_session)
  File "/nix/store/55b9ip7xkpimaccw9pa0vacy5q94f5xa-python3-3.7.6/lib/python3.7/subprocess.py", line 1551, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'git': 'git'

During handling of the above exception, another exception occurred:

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 24, in <module>
    version=get_version(),
  File "setup.py", line 13, in get_version
    "The version number cannot be extracted from git tag in this source "
RuntimeError: The version number cannot be extracted from git tag in this source distribution; please either download the source from PyPI, or check out from GitHub and make sure that the git CLI is available.
builder for '/nix/store/nax1x07nq206hazqb2n5ykcfcs6q8hsg-python3.7-grafana-api-1.0.2.drv' failed with exit code 1
cannot build derivation '/nix/store/rm1afdnm6g20y8n2r180xlyhn1zrapr7-nixops_grafana-1.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/rm1afdnm6g20y8n2r180xlyhn1zrapr7-nixops_grafana-1.0.drv' failed

Full logs : https://github.com/tewfik-ghariani/nixops-grafana/runs/691507349

This appears to be a specific way to fetch the 'version' for this particular python module

def get_version():
    try:
        tag = check_output(
            ["git", "describe", "--tags", "--abbrev=0", "--match=[0-9]*"]
        )
        return tag.decode("utf-8").strip("\n")

https://github.com/m0nhawk/grafana_api/blob/master/setup.py#L5

How to work around this? How to include 'git' in the build runtime? Is this a poetry issue or something else?

Any assistance is much appreciated!
Thanks

Name collisions between packages

I'm not sure why, but I get name collisions between tensorboard versions

pyproject.toml

[tool.poetry]
name = "boxphysics"
version = "0.1.0"
description = ""
authors = ["Michael Lingelbach <[email protected]>"]

[tool.poetry.dependencies]
python = "^3.6, <3.8"
cppy = "^1.1.0"
gitpython = "^3.1.1"
jupytext = "^1.4.2"
mlflow = "^1.8.0"
pip = "^20.1"
psutil = "^5.7.0"
ray = "^0.8.4"
sip = "^5.1.0"
tensorflow = "^2.2.0"
# tensorflow_datasets = "^3.1.0"
# tf-agents="0.5.0rc0"
# physics = {path = "../physics", develop=true}
# tdw-agents = {path = "../tdw-agents", develop=true}
# tdw = {path = "../TDWBase/Python", develop=true}

[tool.poetry.dev-dependencies]
setuptools-scm = "^3.5.0"
black = "^19.10b0"
pdbpp = "^0.10.2"

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

shell.nix

with import <nixpkgs> {};
let
  src = fetchFromGitHub {
    owner = "nix-community";
    repo = "poetry2nix";
    rev = "8d2251bde8f6980e0d0a5743f4313ed648968e34";
    sha256 = "012cphzsdrqdhflrb9vy0bxzfazg0zq6yn777h0jkqy5iypvv0ni";
  };
in
  with import "${src.out}/overlay.nix" pkgs pkgs;
  let
    pythonEnv = poetry2nix.mkPoetryEnv {
      projectDir = ./.;
      python=python3;
      pyproject = ./pyproject.toml;
      poetrylock = ./poetry.lock;
      # preferWheels = true;
    };
  in
  mkShell {
    name = "tf-dev-environment";

    nativeBuildInputs = [
      pythonEnv
      python3Packages.opencv4
    ];

    shellHook = ''
      export LD_LIBRARY_PATH=${pkgs.libGL}/lib:${pkgs.libGLU}/lib:${pkgs.freeglut}/lib:${pkgs.xorg.libX11}/lib:${pkgs.stdenv.cc.cc.lib}/lib:${pkgs.cudatoolkit_10_1}/lib:${pkgs.cudnn_cudatoolkit_10_1}/lib:${pkgs.cudatoolkit_10_1.lib}/lib:$LD_LIBRARY_PATH
      export LD_LIBRARY_PATH=$(nixGL printenv LD_LIBRARY_PATH):$LD_LIBRARY_PATH
    '';
  }

Error:

❯ nix-shell
these derivations will be built:
  /nix/store/p4j2rrcfp11mlix804wqy6rvsvif424f-python3-3.7.7-env.drv
these paths will be fetched (0.42 MiB download, 2.39 MiB unpacked):
  /nix/store/rdx37fzslbp7gck67zlbl274nsmkqjrd-bash-interactive-4.4-p23-info
  /nix/store/vffvap9384lg9vbv4c5j33pvgqc6n1r3-bash-interactive-4.4-p23-dev
  /nix/store/yfbpl6l45qc2hhcc62adh5fp2afkjppl-bash-interactive-4.4-p23-doc
copying path '/nix/store/yfbpl6l45qc2hhcc62adh5fp2afkjppl-bash-interactive-4.4-p23-doc' from 'https://cache.nixos.org'...
copying path '/nix/store/rdx37fzslbp7gck67zlbl274nsmkqjrd-bash-interactive-4.4-p23-info' from 'https://cache.nixos.org'...
building '/nix/store/p4j2rrcfp11mlix804wqy6rvsvif424f-python3-3.7.7-env.drv'...
copying path '/nix/store/vffvap9384lg9vbv4c5j33pvgqc6n1r3-bash-interactive-4.4-p23-dev' from 'https://cache.nixos.org'...
collision between `/nix/store/4h68qnll0yi994f0vi408k4z04wj7s6c-python3.7-tensorflow-2.2.0/bin/.tensorboard-wrapped' and `/nix/store/yz27i852nvrsa8wh5l5dyjmwkyv2czn6-python3.7-tensorboard-2.2.1/bin/.tensorboard-wrapped'
builder for '/nix/store/p4j2rrcfp11mlix804wqy6rvsvif424f-python3-3.7.7-env.drv' failed with exit code 25
error: build of '/nix/store/k1s1yfyxzwjzfrnlj4y0njp4x3rn5yxy-bash-interactive-4.4-p23.drv', '/nix/store/p4j2rrcfp11mlix804wqy6rvsvif424f-python3-3.7.7-env.drv' failed

Installing the current project

I'm working on a package that uses Poetry. The source code is in src/ so that it isn't importable without installation. This is a common project layout (for example, attrs and flask have it). With mkPoetryEnv I get access to the dependencies but the project I'm actually working on is not installed so I can't import it.

The normal solution is to do an editable install, but pip/setuptools doesn't have support for this yet with Poetry projects. Poetry itself does its own internal implementation to make it work.

An alternative solution would be to actually install the whole package. This has the advantage that there's no possibility of incomplete installs or other weirdness, and doesn't need any special support from setuptools. The downside is that installing a package after every edit could be slow. It would be cool if there were some incremental-installation magic that could make the process fast.

A hacky solution that I can use currently is just setting PYTHONPATH=src while I'm working on my project.

I'm fine with manually setting PYTHONPATH for now, but I did want to bring this up here in case there's something poetry2nix could do to help make this easy.

Fails when dev-dependencies are not specified

Given a pyproject.toml that does not specify any dev dependencies poetry2nix fails as follows

$ nix-build -A stdpy --show-trace                                                                      1 ↵
error: while evaluating the attribute 'drvPath' at /nix/store/lmlmxq138j5v8p731fr2l40jknk3fh4v-source/lib/customisation.nix:149:7:
while evaluating the attribute 'nativeBuildInputs' of the derivation 'inference-system-1.3.1' at /nix/store/lmlmxq138j5v8p731fr2l40jknk3fh4v-source/pkgs/development/interpreters/python/mk-python-derivation.nix:102:3:
while evaluating 'chooseDevOutputs' at /nix/store/lmlmxq138j5v8p731fr2l40jknk3fh4v-source/lib/attrsets.nix:474:22, called from undefined position:
while evaluating 'optionals' at /nix/store/lmlmxq138j5v8p731fr2l40jknk3fh4v-source/lib/lists.nix:270:5, called from /nix/store/lmlmxq138j5v8p731fr2l40jknk3fh4v-source/pkgs/stdenv/generic/make-derivation.nix:137:17:
while evaluating 'mkInput' at /nix/store/pqr6jsnknv88y9zy0zfvzzb588f1ymgg-source/default.nix:175:21, called from /nix/store/pqr6jsnknv88y9zy0zfvzzb588f1ymgg-source/default.nix:188:19:
while evaluating 'getDeps' at /nix/store/pqr6jsnknv88y9zy0zfvzzb588f1ymgg-source/default.nix:169:15, called from /nix/store/pqr6jsnknv88y9zy0zfvzzb588f1ymgg-source/default.nix:188:42:
attribute 'dev-dependencies' missing, at /nix/store/pqr6jsnknv88y9zy0zfvzzb588f1ymgg-source/default.nix:170:14

Surely dev-dependencies should are optional and thus poetry2nix should not fail.

Cannot install the Black formatter

I'm running into this error when trying to install the Black formatter and I am not sure if it's a problem with poetry2nix or the package itself:

unpacking sources
unpacking source archive /nix/store/gnw4np7ymc4az6czgphy7yyz1y7qf6qc-black-19.10b0.tar.gz
source root is black-19.10b0
setting SOURCE_DATE_EPOCH to timestamp 1572306745 of file black-19.10b0/setup.cfg
patching sources
configuring
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.
WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff70812d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc3550>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc3750>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc3910>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.VerifiedHTTPSConnection object at 0x7ffff5cc39d0>: Failed to establish a new connection: [Errno -2] Name or service not known')': /simple/setuptools-scm/
ERROR: Could not find a version that satisfies the requirement setuptools_scm (from versions: none)
ERROR: No matching distribution found for setuptools_scm
Traceback (most recent call last):
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/installer.py", line 128, in fetch_build_egg
    subprocess.check_call(cmd)
  File "/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/lib/python3.7/subprocess.py", line 363, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmpfe2jlio_', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.

During handling of the above exception, another exception occurred:

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 65, in <module>
    "blackd=blackd:patched_main [d]",
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/__init__.py", line 144, in setup
    _install_setup_requires(attrs)
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/__init__.py", line 139, in _install_setup_requires
    dist.fetch_build_eggs(dist.setup_requires)
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/dist.py", line 721, in fetch_build_eggs
    replace_conflicting=True,
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/pkg_resources/__init__.py", line 782, in resolve
    replace_conflicting=replace_conflicting
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1065, in best_match
    return self.obtain(req, installer)
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/pkg_resources/__init__.py", line 1077, in obtain
    return installer(requirement)
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/dist.py", line 777, in fetch_build_egg
    return fetch_build_egg(self, req)
  File "/nix/store/z6jd1l54n00wrw97l4payllgaypk41hx-python3.7-setuptools-42.0.2/lib/python3.7/site-packages/setuptools/installer.py", line 130, in fetch_build_egg
    raise DistutilsError(str(e))
distutils.errors.DistutilsError: Command '['/nix/store/d89hv7fvmky59qqgzb1yiwagv34i1q75-python3-3.7.5/bin/python3.7', '-m', 'pip', '--disable-pip-version-check', 'wheel', '--no-deps', '-w', '/build/tmpfe2jlio_', '--quiet', 'setuptools_scm']' returned non-zero exit status 1.
builder for '/nix/store/26rvj71y1sl74qhqnd3rlasksr38ba8c-python3.7-black-19.10b0.drv' failed with exit code 1
cannot build derivation '/nix/store/wa0mapf4jxbsd0dsf0wl5b0g0ffg90v5-python3-3.7.5-env.drv': 1 dependencies couldn't be built
error: build of '/nix/store/wa0mapf4jxbsd0dsf0wl5b0g0ffg90v5-python3-3.7.5-env.drv' failed

To reproduce:

  • shell.nix
with import (builtins.fetchGit {
  name = "nixpkgs-unstable-2020-01-06";
  url = "https://github.com/NixOS/nixpkgs-channels";
  ref = "nixpkgs-unstable";
  # `git ls-remote https://github.com/nixos/nixpkgs-channels nixpkgs-unstable`
  rev = "7e8454fb856573967a70f61116e15f879f2e3f6a";
}) {
};

let src = fetchFromGitHub {
  owner = "nix-community";
  repo = "poetry2nix";
  # Commit hash for master as of 2020-01-09
  # `git ls-remote https://github.com/nix-community/poetry2nix.git master`
  rev = "f394798d72ceeb53485a1a0b7ac1bfb31983dc79";
  sha256 = "005cz2d2djp0aykwj1f8ph2wz8a9mgh1n4wqkqa5lmyjyb5nbi8m";
};
in
with import "${src.out}/overlay.nix" pkgs pkgs;
let pythonEnv = poetry2nix.mkPoetryEnv {
  python = python3;
  poetrylock = ./poetry.lock;
};
in
mkShell {
  name = "example";
  nativeBuildInputs = [
    pythonEnv
    poetry
  ];
}
  • poetry.lock
[[package]]
category = "dev"
description = "A small Python module for determining appropriate platform-specific dirs, e.g. a \"user data dir\"."
name = "appdirs"
optional = false
python-versions = "*"
version = "1.4.3"

[[package]]
category = "dev"
description = "Classes Without Boilerplate"
name = "attrs"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "19.3.0"

[package.extras]
azure-pipelines = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "pytest-azurepipelines"]
dev = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface", "sphinx", "pre-commit"]
docs = ["sphinx", "zope.interface"]
tests = ["coverage", "hypothesis", "pympler", "pytest (>=4.3.0)", "six", "zope.interface"]

[[package]]
category = "dev"
description = "The uncompromising code formatter."
name = "black"
optional = false
python-versions = ">=3.6"
version = "19.10b0"

[package.dependencies]
appdirs = "*"
attrs = ">=18.1.0"
click = ">=6.5"
pathspec = ">=0.6,<1"
regex = "*"
toml = ">=0.9.4"
typed-ast = ">=1.4.0"

[package.extras]
d = ["aiohttp (>=3.3.2)", "aiohttp-cors"]

[[package]]
category = "dev"
description = "Composable command line interface toolkit"
name = "click"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
version = "7.0"

[[package]]
category = "dev"
description = "Utility library for gitignore style pattern matching of file paths."
name = "pathspec"
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
version = "0.7.0"

[[package]]
category = "dev"
description = "Alternative regular expression module, to replace re."
name = "regex"
optional = false
python-versions = "*"
version = "2020.1.8"

[[package]]
category = "dev"
description = "Python Library for Tom's Obvious, Minimal Language"
name = "toml"
optional = false
python-versions = "*"
version = "0.10.0"

[[package]]
category = "dev"
description = "a fork of Python 2 and 3 ast modules with type comment support"
name = "typed-ast"
optional = false
python-versions = "*"
version = "1.4.0"

[metadata]
content-hash = "33748aceb661b18d1314fbd17ec60cc912f159627921acf8c71454d12ab2bbe6"
python-versions = "^3.6"

[metadata.files]
appdirs = [
    {file = "appdirs-1.4.3-py2.py3-none-any.whl", hash = "sha256:d8b24664561d0d34ddfaec54636d502d7cea6e29c3eaf68f3df6180863e2166e"},
    {file = "appdirs-1.4.3.tar.gz", hash = "sha256:9e5896d1372858f8dd3344faf4e5014d21849c756c8d5701f78f8a103b372d92"},
]
attrs = [
    {file = "attrs-19.3.0-py2.py3-none-any.whl", hash = "sha256:08a96c641c3a74e44eb59afb61a24f2cb9f4d7188748e76ba4bb5edfa3cb7d1c"},
    {file = "attrs-19.3.0.tar.gz", hash = "sha256:f7b7ce16570fe9965acd6d30101a28f62fb4a7f9e926b3bbc9b61f8b04247e72"},
]
black = [
    {file = "black-19.10b0-py36-none-any.whl", hash = "sha256:1b30e59be925fafc1ee4565e5e08abef6b03fe455102883820fe5ee2e4734e0b"},
    {file = "black-19.10b0.tar.gz", hash = "sha256:c2edb73a08e9e0e6f65a0e6af18b059b8b1cdd5bef997d7a0b181df93dc81539"},
]
click = [
    {file = "Click-7.0-py2.py3-none-any.whl", hash = "sha256:2335065e6395b9e67ca716de5f7526736bfa6ceead690adf616d925bdc622b13"},
    {file = "Click-7.0.tar.gz", hash = "sha256:5b94b49521f6456670fdb30cd82a4eca9412788a93fa6dd6df72c94d5a8ff2d7"},
]
pathspec = [
    {file = "pathspec-0.7.0-py2.py3-none-any.whl", hash = "sha256:163b0632d4e31cef212976cf57b43d9fd6b0bac6e67c26015d611a647d5e7424"},
    {file = "pathspec-0.7.0.tar.gz", hash = "sha256:562aa70af2e0d434367d9790ad37aed893de47f1693e4201fd1d3dca15d19b96"},
]
regex = [
    {file = "regex-2020.1.8-cp27-cp27m-win32.whl", hash = "sha256:4e8f02d3d72ca94efc8396f8036c0d3bcc812aefc28ec70f35bb888c74a25161"},
    {file = "regex-2020.1.8-cp27-cp27m-win_amd64.whl", hash = "sha256:e6c02171d62ed6972ca8631f6f34fa3281d51db8b326ee397b9c83093a6b7242"},
    {file = "regex-2020.1.8-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:4eae742636aec40cf7ab98171ab9400393360b97e8f9da67b1867a9ee0889b26"},
    {file = "regex-2020.1.8-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:bd25bb7980917e4e70ccccd7e3b5740614f1c408a642c245019cff9d7d1b6149"},
    {file = "regex-2020.1.8-cp36-cp36m-manylinux2010_i686.whl", hash = "sha256:3e77409b678b21a056415da3a56abfd7c3ad03da71f3051bbcdb68cf44d3c34d"},
    {file = "regex-2020.1.8-cp36-cp36m-manylinux2010_x86_64.whl", hash = "sha256:07b39bf943d3d2fe63d46281d8504f8df0ff3fe4c57e13d1656737950e53e525"},
    {file = "regex-2020.1.8-cp36-cp36m-win32.whl", hash = "sha256:23e2c2c0ff50f44877f64780b815b8fd2e003cda9ce817a7fd00dea5600c84a0"},
    {file = "regex-2020.1.8-cp36-cp36m-win_amd64.whl", hash = "sha256:27429b8d74ba683484a06b260b7bb00f312e7c757792628ea251afdbf1434003"},
    {file = "regex-2020.1.8-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:0e182d2f097ea8549a249040922fa2b92ae28be4be4895933e369a525ba36576"},
    {file = "regex-2020.1.8-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:e3cd21cc2840ca67de0bbe4071f79f031c81418deb544ceda93ad75ca1ee9f7b"},
    {file = "regex-2020.1.8-cp37-cp37m-manylinux2010_i686.whl", hash = "sha256:ecc6de77df3ef68fee966bb8cb4e067e84d4d1f397d0ef6fce46913663540d77"},
    {file = "regex-2020.1.8-cp37-cp37m-manylinux2010_x86_64.whl", hash = "sha256:26ff99c980f53b3191d8931b199b29d6787c059f2e029b2b0c694343b1708c35"},
    {file = "regex-2020.1.8-cp37-cp37m-win32.whl", hash = "sha256:7bcd322935377abcc79bfe5b63c44abd0b29387f267791d566bbb566edfdd146"},
    {file = "regex-2020.1.8-cp37-cp37m-win_amd64.whl", hash = "sha256:10671601ee06cf4dc1bc0b4805309040bb34c9af423c12c379c83d7895622bb5"},
    {file = "regex-2020.1.8-cp38-cp38-manylinux1_i686.whl", hash = "sha256:98b8ed7bb2155e2cbb8b76f627b2fd12cf4b22ab6e14873e8641f266e0fb6d8f"},
    {file = "regex-2020.1.8-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:6a6ba91b94427cd49cd27764679024b14a96874e0dc638ae6bdd4b1a3ce97be1"},
    {file = "regex-2020.1.8-cp38-cp38-manylinux2010_i686.whl", hash = "sha256:6a6ae17bf8f2d82d1e8858a47757ce389b880083c4ff2498dba17c56e6c103b9"},
    {file = "regex-2020.1.8-cp38-cp38-manylinux2010_x86_64.whl", hash = "sha256:0932941cdfb3afcbc26cc3bcf7c3f3d73d5a9b9c56955d432dbf8bbc147d4c5b"},
    {file = "regex-2020.1.8-cp38-cp38-win32.whl", hash = "sha256:d58e4606da2a41659c84baeb3cfa2e4c87a74cec89a1e7c56bee4b956f9d7461"},
    {file = "regex-2020.1.8-cp38-cp38-win_amd64.whl", hash = "sha256:e7c7661f7276507bce416eaae22040fd91ca471b5b33c13f8ff21137ed6f248c"},
    {file = "regex-2020.1.8.tar.gz", hash = "sha256:d0f424328f9822b0323b3b6f2e4b9c90960b24743d220763c7f07071e0778351"},
]
toml = [
    {file = "toml-0.10.0-py2.7.egg", hash = "sha256:f1db651f9657708513243e61e6cc67d101a39bad662eaa9b5546f789338e07a3"},
    {file = "toml-0.10.0-py2.py3-none-any.whl", hash = "sha256:235682dd292d5899d361a811df37e04a8828a5b1da3115886b73cf81ebc9100e"},
    {file = "toml-0.10.0.tar.gz", hash = "sha256:229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c"},
]
typed-ast = [
    {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_i686.whl", hash = "sha256:262c247a82d005e43b5b7f69aff746370538e176131c32dda9cb0f324d27141e"},
    {file = "typed_ast-1.4.0-cp35-cp35m-manylinux1_x86_64.whl", hash = "sha256:71211d26ffd12d63a83e079ff258ac9d56a1376a25bc80b1cdcdf601b855b90b"},
    {file = "typed_ast-1.4.0-cp35-cp35m-win32.whl", hash = "sha256:630968c5cdee51a11c05a30453f8cd65e0cc1d2ad0d9192819df9978984529f4"},
    {file = "typed_ast-1.4.0-cp35-cp35m-win_amd64.whl", hash = "sha256:ffde2fbfad571af120fcbfbbc61c72469e72f550d676c3342492a9dfdefb8f12"},
    {file = "typed_ast-1.4.0-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:4e0b70c6fc4d010f8107726af5fd37921b666f5b31d9331f0bd24ad9a088e631"},
    {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:bc6c7d3fa1325a0c6613512a093bc2a2a15aeec350451cbdf9e1d4bffe3e3233"},
    {file = "typed_ast-1.4.0-cp36-cp36m-manylinux1_x86_64.whl", hash = "sha256:cc34a6f5b426748a507dd5d1de4c1978f2eb5626d51326e43280941206c209e1"},
    {file = "typed_ast-1.4.0-cp36-cp36m-win32.whl", hash = "sha256:d896919306dd0aa22d0132f62a1b78d11aaf4c9fc5b3410d3c666b818191630a"},
    {file = "typed_ast-1.4.0-cp36-cp36m-win_amd64.whl", hash = "sha256:354c16e5babd09f5cb0ee000d54cfa38401d8b8891eefa878ac772f827181a3c"},
    {file = "typed_ast-1.4.0-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:95bd11af7eafc16e829af2d3df510cecfd4387f6453355188342c3e79a2ec87a"},
    {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_i686.whl", hash = "sha256:18511a0b3e7922276346bcb47e2ef9f38fb90fd31cb9223eed42c85d1312344e"},
    {file = "typed_ast-1.4.0-cp37-cp37m-manylinux1_x86_64.whl", hash = "sha256:d7c45933b1bdfaf9f36c579671fec15d25b06c8398f113dab64c18ed1adda01d"},
    {file = "typed_ast-1.4.0-cp37-cp37m-win32.whl", hash = "sha256:d755f03c1e4a51e9b24d899561fec4ccaf51f210d52abdf8c07ee2849b212a36"},
    {file = "typed_ast-1.4.0-cp37-cp37m-win_amd64.whl", hash = "sha256:2b907eb046d049bcd9892e3076c7a6456c93a25bebfe554e931620c90e6a25b0"},
    {file = "typed_ast-1.4.0-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:fdc1c9bbf79510b76408840e009ed65958feba92a88833cdceecff93ae8fff66"},
    {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_i686.whl", hash = "sha256:7954560051331d003b4e2b3eb822d9dd2e376fa4f6d98fee32f452f52dd6ebb2"},
    {file = "typed_ast-1.4.0-cp38-cp38-manylinux1_x86_64.whl", hash = "sha256:48e5b1e71f25cfdef98b013263a88d7145879fbb2d5185f2a0c79fa7ebbeae47"},
    {file = "typed_ast-1.4.0-cp38-cp38-win32.whl", hash = "sha256:1170afa46a3799e18b4c977777ce137bb53c7485379d9706af8a59f2ea1aa161"},
    {file = "typed_ast-1.4.0-cp38-cp38-win_amd64.whl", hash = "sha256:838997f4310012cf2e1ad3803bce2f3402e9ffb71ded61b5ee22617b3a7f6b6e"},
    {file = "typed_ast-1.4.0.tar.gz", hash = "sha256:66480f95b8167c9c5c5c87f32cf437d585937970f3fc24386f313a4c97b44e34"},
]

Support manylinux wheels

Whether a wheel is manylinux{1,2010,2014} compatible can be seen from the filename.
With NixOS/nixpkgs#73866 it becomes possible to automatically patch the contents of those wheels so they can be used.

The built outputs are not reproducible

nix-build -K --repeat 10 nix/nixpkgs.nix -A pythonPackages.pkgs.six --option substituters ''

eventually fails:

output '/nix/store/dhw3cd8280sv1762y9pbc0h5h9ljps9i-python3.6-six-1.12.0' of '/nix/store/257lacim2l41fmr75lqqfs4r4ch8wpkl-python3.6-six-1.12.0.drv' differs from '/nix/store/dhw3cd8280sv1762y9pbc0h5h9ljps9i-python3.6-six-1.12.0.check' from previous round

diffoscope reveals there are differences in the compiled pyc files:

--- /nix/store/dhw3cd8280sv1762y9pbc0h5h9ljps9i-python3.6-six-1.12.0
+++ /nix/store/dhw3cd8280sv1762y9pbc0h5h9ljps9i-python3.6-six-1.12.0.check
├── lib
│ ├── python3.6
│ │ ├── site-packages
│ │ │ ├── __pycache__
│ │ │ │ ├── six.cpython-36.pyc
│ │ │ │ │ @@ -255,16 +255,16 @@
│ │ │ │ │  00000fe0: 6400 5a02 6401 6402 8400 5a03 6403 5300  d.Z.d.d...Z.d.S.
│ │ │ │ │  00000ff0: 2904 da01 5863 0100 0000 0000 0000 0100  )...Xc..........
│ │ │ │ │  00001000: 0000 0200 0000 4300 0000 7304 0000 0064  ......C...s....d
│ │ │ │ │  00001010: 0353 0029 044e 7207 0000 0072 0800 0000  .S.).Nr....r....
│ │ │ │ │  00001020: 6c03 0000 0000 0000 0002 00a9 0029 01da  l............)..
│ │ │ │ │  00001030: 0473 656c 6672 0a00 0000 720a 0000 00fa  .selfr....r.....
│ │ │ │ │  00001040: 292f 6275 696c 642f 7069 702d 756e 7061  )/build/pip-unpa
-│ │ │ │ │ 00001050: 636b 6564 2d77 6865 656c 2d77 3374 6864  cked-wheel-w3thd
-│ │ │ │ │ 00001060: 756a 6b2f 7369 782e 7079 da07 5f5f 6c65  ujk/six.py..__le
+│ │ │ │ │ 00001050: 636b 6564 2d77 6865 656c 2d30 7076 7939  cked-wheel-0pvy9
+│ │ │ │ │ 00001060: 627a 5f2f 7369 782e 7079 da07 5f5f 6c65  bz_/six.py..__le
│ │ │ │ │  00001070: 6e5f 5f3e 0000 0073 0200 0000 0001 7a09  n__>...s......z.
│ │ │ │ │  00001080: 582e 5f5f 6c65 6e5f 5f4e 2904 da08 5f5f  X.__len__N)...__
│ │ │ │ │  00001090: 6e61 6d65 5f5f da0a 5f5f 6d6f 6475 6c65  name__..__module
│ │ │ │ │  000010a0: 5f5f da0c 5f5f 7175 616c 6e61 6d65 5f5f  __..__qualname__
│ │ │ │ │  000010b0: 720d 0000 0072 0a00 0000 720a 0000 0072  r....r....r....r
│ │ │ │ │  000010c0: 0a00 0000 720c 0000 0072 0900 0000 3c00  ....r....r....<.
│ │ │ │ │  000010d0: 0000 7302 0000 0008 0272 0900 0000 e93f  ..s......r.....?

This appears to affect most if not all the outputs built via poetry2nix.

Cannot build package with PyQt5 dependency

Repro:

poetry2nix $ git rev-parse HEAD
0d5719df26ccc614684f8a5500fedead29612782
poetry2nix$ patch -p1 <<EOF                                                                                                                                                          🐍 .venv ..it/github.com/nix-community/poetry2nix 
diff --git a/tests/trivial/pyproject.toml b/tests/trivial/pyproject.toml
index 7625d49..5ce56f8 100644
--- a/tests/trivial/pyproject.toml
+++ b/tests/trivial/pyproject.toml
@@ -6,8 +6,7 @@ authors = ["Your Name <[email protected]>"]

 [tool.poetry.dependencies]
 python = "^3.6"
-alembic = "1.0.10"
-Flask = "^1.1.1"
+PyQt5 = "^5.14"

 [build-system]
 requires = ["poetry>=0.12"]
EOF
patching file tests/trivial/pyproject.toml
poetry2nix $ (cd tests/trivial && poetry lock)
Updating dependencies
Resolving dependencies... (0.1s)

Writing lock file
poetry2nix $ nix-build -A trivial tests
these derivations will be built:
  /nix/store/6fq5vhfwsmpqwq639lxkzh7xnlcqzar4-python3.7-pyqt5-5.14.1.drv
  /nix/store/03z2bxdqmkxr5m8b3fgfvv89v0nhqnk1-trivial-0.1.0.drv
building '/nix/store/6fq5vhfwsmpqwq639lxkzh7xnlcqzar4-python3.7-pyqt5-5.14.1.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/ifjnd4kyqyynxfhvfn7ba2jhb4d28izi-PyQt5-5.14.1.tar.gz
source root is PyQt5-5.14.1
setting SOURCE_DATE_EPOCH to timestamp 1578245873 of file PyQt5-5.14.1/PKG-INFO
patching sources
configuring
no configure script, doing nothing
building
Executing setuptoolsBuildPhase
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 "/nix/store/k5rdcbcwwpvj7l9f1yvd5mfggcfz16kk-python3-3.7.5/lib/python3.7/tokenize.py", line 447, in open
    buffer = _builtin_open(filename, 'rb')
FileNotFoundError: [Errno 2] No such file or directory: 'setup.py'
builder for '/nix/store/6fq5vhfwsmpqwq639lxkzh7xnlcqzar4-python3.7-pyqt5-5.14.1.drv' failed with exit code 1
cannot build derivation '/nix/store/03z2bxdqmkxr5m8b3fgfvv89v0nhqnk1-trivial-0.1.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/03z2bxdqmkxr5m8b3fgfvv89v0nhqnk1-trivial-0.1.0.drv' failed
poetry2nix $ echo $?
100

attribute 'func_timeout' missing

I've got a project that depends on func_timeout and I get the following error when trying to build:

nix-build default.nix --show-trace
error: while evaluating the attribute 'drvPath' at /nix/store/psgawf6lk8i7s9n4jxsbbr8scv0bmh4a-nixos-20.09pre228622.029a5de0839/nixos/lib/customisation.nix:163:7:
while evaluating the attribute 'propagatedBuildInputs' of the derivation 'python3.7-storybro-0.1.0' at /nix/store/psgawf6lk8i7s9n4jxsbbr8scv0bmh4a-nixos-20.09pre228622.029a5de0839/nixos/pkgs/development/interpreters/python/mk-python-derivation.nix:107:3:
while evaluating 'getOutput' at /nix/store/psgawf6lk8i7s9n4jxsbbr8scv0bmh4a-nixos-20.09pre228622.029a5de0839/nixos/lib/attrsets.nix:464:23, called from undefined position:
while evaluating anonymous function at /nix/store/psgawf6lk8i7s9n4jxsbbr8scv0bmh4a-nixos-20.09pre228622.029a5de0839/nixos/pkgs/stdenv/generic/make-derivation.nix:157:17, called from undefined position:
while evaluating anonymous function at /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/default.nix:212:13, called from undefined position:
while evaluating the attribute 'pkgs.func_timeout' at /nix/store/psgawf6lk8i7s9n4jxsbbr8scv0bmh4a-nixos-20.09pre228622.029a5de0839/nixos/pkgs/development/interpreters/python/default.nix:38:9:
attribute 'func_timeout' missing, at /nix/store/60x4lidqkfykym33lzi3xxs5svrbfk4n-source/default.nix:214:21

Python version bounds for `pyproject.toml` are ignored -> Building poetry with Python 3.8 fails

Trying to build poetry with Python 3.8 fails:

$ nix-build -E 'with import <nixpkgs> {}; poetry.override { python = python38; }' -I nixpkgs=channel:nixpkgs-unstable
error: value is null while a set was expected, at /nix/store/24kjp6k6piq42jxvzx80imdx0ysz6grz-nixexprs.tar.xz
  /pkgs/development/tools/poetry2nix/poetry2nix/overrides.nix:569:27 (use '--show-trace' to show detailed location information)

This fails at

if lib.versionAtLeast super.zipp.version "2.0.0" then (

because super.zipp is null. This is because zipp has a marker only indicating support for < 3.8:

marker = "python_version >= \"3.5\" and python_version < \"3.8\" or python_version < \"3.8\""
name = "zipp"

But the real problem is that zipp is evaluated at all, because importlib-metadata, the only package that depends on zipp, should only be a dependency for python < 3.8:

importlib-metadata = {version = "~1.1.3", python = "<3.8"}

And that condition is ignored because poetry2nix only parses package names, not their values:

poetry2nix/default.nix

Lines 166 to 170 in cdb1bd8

getDeps = depAttr: let
deps = pyProject.tool.poetry.${depAttr} or {};
depAttrs = builtins.map (d: lib.toLower d) (builtins.attrNames deps);
in
builtins.map (dep: py.pkgs."${dep}") depAttrs;

I believe that's the correct diagnosis for this failure, and I think the solution is to parse these version constraints to conditionally include dependencies based on python version.

Digging through poetry's source code I found these methods for handling these version constraints: convert_dependencies and to_pep_508. I think these might need to be implemented in Nix, which might be pretty easy with PEP 508 already implemented.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.