firebolt-db/dbt-firebolt

error in installation due to `setup.cfg` misconfiguration

dataders opened this issue · 0 comments

It seems I have to eat my words ("let's see what happens!") when I approved #20. Pip now uses setup.cfg to install instead of setup.py. The error message from @octavianzarzu30 shows this snippet is causing pip to fail to install the pacakage:

dbt-firebolt/setup.cfg

Lines 29 to 30 in f8c36f7

[options.packages.find]
where = src

(dbt_firebolt) octavianzarzu@Octavians-MBP dbt-firebolt % pip install git+https://github.com/firebolt-db/dbt-firebolt.git
Collecting git+https://github.com/firebolt-db/dbt-firebolt.git
  Cloning https://github.com/firebolt-db/dbt-firebolt.git to /private/var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/pip-req-build-jn0imu3c
  Running command git clone -q https://github.com/firebolt-db/dbt-firebolt.git /private/var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/pip-req-build-jn0imu3c
  Resolved https://github.com/firebolt-db/dbt-firebolt.git to commit f8c36f7797974ac46143cba059a45caa59d75ff0
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  ERROR: Command errored out with exit status 1:
   command: /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/bin/python /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/tmp3kjyrrn_
       cwd: /private/var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/pip-req-build-jn0imu3c
  Complete output (2 lines):
  running egg_info
  error: error in 'egg_base' option: 'src' does not exist or is not a directory
  ----------------------------------------
WARNING: Discarding git+https://github.com/firebolt-db/dbt-firebolt.git. Command errored out with exit status 1: /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/bin/python /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/tmp3kjyrrn_ Check the logs for full command output.
ERROR: Command errored out with exit status 1: /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/bin/python /Users/octavianzarzu/opt/anaconda3/envs/dbt_firebolt/lib/python3.9/site-packages/pip/_vendor/pep517/in_process/_in_process.py get_requires_for_build_wheel /var/folders/6l/_2bfz8wj36l2_bznx7_j07680000gn/T/tmp3kjyrrn_ Check the logs for full command output.