elastic-arm-4e524f5e: building 6nli5i51qnf99i91zbgahdd17153gqdv-databricks-sql-cli-0.1.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 Sourcing python-catch-conflicts-hook.sh Sourcing pytest-check-hook Using pytestCheckPhase Running phase: unpackPhase unpacking sources unpacking source archive /nix/store/i1mcpm3mpgfcynilza3rqlcbmh1klpyb-source source root is source setting SOURCE_DATE_EPOCH to timestamp 315619200 of file source/test/test_prompt_utils.py Running phase: patchPhase patching sources applying patch /nix/store/hap6hj8gmkwy1m811d2aygqc3i03338n-fc294e00819b6966f1605e5c1ce654473510aefe.patch patching file dbsqlcli/packages/completion_engine.py Running phase: updateAutotoolsGnuConfigScriptsPhase updateAutotoolsGnuConfigScriptsPhase Running phase: configurePhase configuring no configure script, doing nothing Running phase: buildPhase building Executing pipBuildPhase 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 should use sudo's -H flag. Processing /build/source Running command Preparing metadata (pyproject.toml) Preparing metadata (pyproject.toml) ... done Building wheels for collected packages: databricks-sql-cli Running command Building wheel for databricks-sql-cli (pyproject.toml) Building wheel for databricks-sql-cli (pyproject.toml) ... done Created wheel for databricks-sql-cli: filename=databricks_sql_cli-0.1.4-py3-none-any.whl size=47989 sha256=db73e9cd5bb98aa6a230cf422ab75032c14734fb1288f276dc5d6f23b2c5606e Stored in directory: /build/pip-ephem-wheel-cache-55dyj9g9/wheels/79/4b/9b/fc24941d75fdb959a71ee80195b2c89d6ae9389f9f0f80fb22 Successfully built databricks-sql-cli Finished creating a wheel... Finished executing pipBuildPhase Running phase: installPhase installing Executing pipInstallPhase /build/source/dist /build/source Processing ./databricks_sql_cli-0.1.4-py3-none-any.whl Requirement already satisfied: Pygments<3.0.0,>=2.11.2 in /nix/store/cy483xdjq1mpy8vsc3vlmj2zfvqv9vg0-python3.10-pygments-2.13.0/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (2.13.0) Requirement already satisfied: prompt-toolkit<4.0.0,>=3.0.29 in /nix/store/97cwkhjx6rl23pkf6gnfzigdxkzrn47a-python3.10-prompt-toolkit-3.0.31/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (3.0.31) Requirement already satisfied: click<9.0.0,>=8.1.2 in /nix/store/j2vhkvaan3n76j1wrli600aj1nxasj7j-python3.10-click-8.1.3/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (8.1.3) Requirement already satisfied: pandas<1.5,>=1.4 in /nix/store/s5pyxk69vdr8ywm278xw7ilfp7vgai4n-python3.10-pandas-1.4.4/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (1.4.4) Requirement already satisfied: databricks-sql-connector<3.0.0,>=2.0.0 in /nix/store/gg62isgnqi7yz0m319k1kgcay910a7yg-python3.10-databricks-sql-connector-2.0.5/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (2.0.5) Requirement already satisfied: configobj<6.0.0,>=5.0.6 in /nix/store/6ycjs58h5g4rw29k5mi7690bg2h0mkik-python3.10-configobj-5.0.6/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (5.0.6) Requirement already satisfied: sqlparse<0.5.0,>=0.4.2 in /nix/store/l95aa2m7j2g5vc19654d4x20arnsxv36-python3.10-sqlparse-0.4.2/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (0.4.2) Requirement already satisfied: cli-helpers<3.0.0,>=2.2.1 in /nix/store/dy7m8lrzavd6ac7blpaqmqcy54rg0fi5-python3.10-cli_helpers-2.3.0/lib/python3.10/site-packages (from databricks-sql-cli==0.1.4) (2.3.0) Requirement already satisfied: tabulate[widechars]>=0.8.2 in /nix/store/2ax3z5x0rc0bfcmf06j2kybagrm96shj-python3.10-tabulate-0.8.10/lib/python3.10/site-packages (from cli-helpers<3.0.0,>=2.2.1->databricks-sql-cli==0.1.4) (0.8.10) Requirement already satisfied: six in /nix/store/p2ald94sridg6hjjlyzjz6y0wpzabzn4-python3.10-six-1.16.0/lib/python3.10/site-packages (from configobj<6.0.0,>=5.0.6->databricks-sql-cli==0.1.4) (1.16.0) Requirement already satisfied: pyarrow<10.0.0,>=9.0.0 in /nix/store/jm1nqkj4inw94bswrsa8imqqhlax3n9n-python3.10-pyarrow-9.0.0/lib/python3.10/site-packages (from databricks-sql-connector<3.0.0,>=2.0.0->databricks-sql-cli==0.1.4) (9.0.0) Requirement already satisfied: thrift<1.0.0,>=0.13.0 in /nix/store/jbax0j562x7dqlavlmfr9dcc8vrmfjd2-python3.10-thrift-0.16.0/lib/python3.10/site-packages (from databricks-sql-connector<3.0.0,>=2.0.0->databricks-sql-cli==0.1.4) (0.16.0) Requirement already satisfied: pytz>=2020.1 in /nix/store/5g9vlld8rb9xzpwvxgsxqq21gw5pbcsi-python3.10-pytz-2022.6/lib/python3.10/site-packages (from pandas<1.5,>=1.4->databricks-sql-cli==0.1.4) (2022.6) Requirement already satisfied: numpy>=1.21.0 in /nix/store/sj6bl9gnk5www74gs3lnllb57jk2pyj5-python3.10-numpy-1.23.3/lib/python3.10/site-packages (from pandas<1.5,>=1.4->databricks-sql-cli==0.1.4) (1.23.3) Requirement already satisfied: python-dateutil>=2.8.1 in /nix/store/s4v0f787wrpf2d9lvlvigz29d08z5x0q-python3.10-python-dateutil-2.8.2/lib/python3.10/site-packages (from pandas<1.5,>=1.4->databricks-sql-cli==0.1.4) (2.8.2) Requirement already satisfied: wcwidth in /nix/store/5dp4gsdsvssycr8ss3cq56caddlzqarl-python3.10-wcwidth-0.2.5/lib/python3.10/site-packages (from prompt-toolkit<4.0.0,>=3.0.29->databricks-sql-cli==0.1.4) (0.2.5) Installing collected packages: databricks-sql-cli Successfully installed databricks-sql-cli-0.1.4 /build/source Finished executing pipInstallPhase Running phase: pythonOutputDistPhase pythonOutputDistPhase Executing pythonOutputDistPhase Finished executing pythonOutputDistPhase Running phase: fixupPhase post-installation fixup shrinking RPATHs of ELF executables and libraries in /nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4 strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip stripping (with command strip and flags -S) in /nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4/lib /nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4/bin patching script interpreter paths in /nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4 checking for references to /build/ in /nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4... shrinking RPATHs of ELF executables and libraries in /nix/store/8zkpb9xadbapx47vmlxrb8a6hrxylxfn-databricks-sql-cli-0.1.4-dist strip is /nix/store/jm6gqq369d0vd9pz3b7swn2vyycygdb9-gcc-wrapper-9.5.0/bin/strip patching script interpreter paths in /nix/store/8zkpb9xadbapx47vmlxrb8a6hrxylxfn-databricks-sql-cli-0.1.4-dist checking for references to /build/ in /nix/store/8zkpb9xadbapx47vmlxrb8a6hrxylxfn-databricks-sql-cli-0.1.4-dist... Rewriting #!/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python3.10 to #!/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9 wrapping `/nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4/bin/dbsqlcli'... Rewriting #!/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9/bin/python3.10 to #!/nix/store/ar76b3831ydkmfhf0r9v3wbma5i61iz2-python3-3.10.9 wrapping `/nix/store/245li9bj33iv3vfshi5006p7cr2lygss-databricks-sql-cli-0.1.4/bin/databricks-sql-cli'... Executing pythonRemoveTestsDir Finished executing pythonRemoveTestsDir Running phase: installCheckPhase running install tests no Makefile or custom installCheckPhase, doing nothing Running phase: pythonCatchConflictsPhase pythonCatchConflictsPhase Running phase: pythonRemoveBinBytecodePhase pythonRemoveBinBytecodePhase Running phase: pythonImportsCheckPhase pythonImportsCheckPhase Executing pythonImportsCheckPhase Running phase: pytestCheckPhase pytestCheckPhase Executing pytestCheckPhase ============================= test session starts ============================== platform linux -- Python 3.10.9, pytest-7.1.3, pluggy-1.0.0 rootdir: /build/source collected 59 items test/test_cli.py ... [ 5%] test/test_completer.py . [ 6%] test/test_completion_engine.py .............. [ 30%] test/test_completion_refresher.py .... [ 37%] test/test_dbspecial.py .... [ 44%] test/test_format_utils.py ... [ 49%] test/test_naive_completion.py ...... [ 59%] test/test_parseutils.py .............X......... [ 98%] test/test_prompt_utils.py . [100%] =============================== warnings summary =============================== dbsqlcli/main.py:230 /build/source/dbsqlcli/main.py:230: DeprecationWarning: invalid escape sequence '\e' """ dbsqlcli/packages/special/iocommands.py:151 /build/source/dbsqlcli/packages/special/iocommands.py:151: DeprecationWarning: invalid escape sequence '\e' pattern = re.compile("(^\\\e|\\\e$)") dbsqlcli/packages/special/iocommands.py:263 /build/source/dbsqlcli/packages/special/iocommands.py:263: DeprecationWarning: invalid escape sequence '\d' match = re.search("\\$\d+", query) dbsqlcli/packages/parseutils.py:14 /build/source/dbsqlcli/packages/parseutils.py:14: DeprecationWarning: invalid escape sequence '\s' "all_punctuations": re.compile("([^\s]+)$"), dbsqlcli/packages/parseutils.py:19 /build/source/dbsqlcli/packages/parseutils.py:19: DeprecationWarning: invalid escape sequence '\d' """ dbsqlcli/completer.py:45 /build/source/dbsqlcli/completer.py:45: DeprecationWarning: invalid escape sequence '\$' self.name_pattern = compile("^[_a-z][_a-z0-9\$]*$") test/test_completion_refresher.py::test_refresh_called_once test/test_completion_refresher.py::test_refresh_called_twice test/test_completion_refresher.py::test_refresh_with_callbacks /build/source/dbsqlcli/completion_refresher.py:44: DeprecationWarning: setDaemon() is deprecated, set the daemon attribute instead self._completer_thread.setDaemon(True) -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html ================== 58 passed, 1 xpassed, 9 warnings in 4.52s =================== Finished executing pytestCheckPhase Running phase: pytestcachePhase pytestcachePhase Running phase: pytestRemoveBytecodePhase pytestRemoveBytecodePhase