nix-community / poetry2nix

Convert poetry projects to nix automagically [maintainer=@adisbladis,@cpcloud]
MIT License
883 stars 451 forks source link

Collision between two packages #46

Closed coderfromhere closed 4 years ago

coderfromhere commented 4 years ago

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 <you@example.com>"]
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
coderfromhere commented 4 years ago

I saw https://github.com/nix-community/poetry2nix/commit/bf56efefda335cedc5cf3799f8ef2a0727bb7205 but it would be good to have a more generic solution to remove this kind of "safe" conflicts as a class.

coderfromhere commented 4 years ago

Same issue mentioned on upstream - https://github.com/NixOS/nixpkgs/issues/23438#issuecomment-554776577

adisbladis commented 4 years ago

I don't think we'll be able to do anything except overriding on a per package basis. This is an upstream packaging bug.