Open jovezhong opened 11 months ago
Describe the bug I was trying to build a docker image with this python driver. By default the docker init generates Dockerfile as this
docker init
# syntax=docker/dockerfile:1 ARG PYTHON_VERSION=3.10.13 FROM python:${PYTHON_VERSION}-slim as base
but it failed to load proton-python-driver from requirements.txt (error below)
proton-python-driver
My workaround is to use the non-slim version FROM python:3.10 as base
FROM python:3.10 as base
4.301 Building wheel for proton-driver (setup.py): started 5.473 Building wheel for proton-driver (setup.py): finished with status 'error' 5.488 error: subprocess-exited-with-error 5.488 5.488 × python setup.py bdist_wheel did not run successfully. 5.488 │ exit code: 1 5.488 ╰─> [100 lines of output] 5.488 /usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. 5.488 warnings.warn(msg, warning_class) 5.488 running bdist_wheel 5.488 running build 5.488 running build_py 5.488 creating build 5.488 creating build/lib.linux-x86_64-cpython-310 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/blockstreamprofileinfo.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/progress.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/errors.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/readhelpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/log.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/writer.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/opentelemetry.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/protocol.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/connection.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/queryprocessingstage.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/clientinfo.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/context.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/client.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/reader.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/defines.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/block.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 copying proton_driver/result.py -> build/lib.linux-x86_64-cpython-310/proton_driver 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/streams 5.488 copying proton_driver/streams/compressed.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 5.488 copying proton_driver/streams/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 5.488 copying proton_driver/streams/native.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/util 5.488 copying proton_driver/util/helpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 5.488 copying proton_driver/util/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 5.488 copying proton_driver/util/compat.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 5.488 copying proton_driver/util/escape.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 copying proton_driver/dbapi/errors.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 copying proton_driver/dbapi/extras.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 copying proton_driver/dbapi/connection.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 copying proton_driver/dbapi/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 copying proton_driver/dbapi/cursor.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/settings 5.488 copying proton_driver/settings/writer.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 5.488 copying proton_driver/settings/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 5.488 copying proton_driver/settings/types.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 5.488 copying proton_driver/settings/available.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/nothingcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/decimalcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/exceptions.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/stringcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/service.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/ipcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/tuplecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/uuidcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/nullcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/arraycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/nullablecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/nestedcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/intcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/datetimecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/floatcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/simpleaggregatefunctioncolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/lowcardinalitycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/mapcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/enumcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/datecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/boolcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/intervalcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 copying proton_driver/columns/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/numpy 5.488 copying proton_driver/numpy/helpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 5.488 copying proton_driver/numpy/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 5.488 copying proton_driver/numpy/block.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 5.488 copying proton_driver/numpy/result.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 copying proton_driver/compression/lz4.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 copying proton_driver/compression/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 copying proton_driver/compression/zstd.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 copying proton_driver/compression/lz4hc.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 copying proton_driver/compression/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 5.488 creating build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/stringcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/service.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/intcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/datetimecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/floatcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/lowcardinalitycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/datecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 copying proton_driver/columns/numpy/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 5.488 warning: build_py: byte-compiling is disabled, skipping. 5.488 5.488 running build_ext 5.488 building 'proton_driver.bufferedreader' extension 5.488 creating build/temp.linux-x86_64-cpython-310 5.488 creating build/temp.linux-x86_64-cpython-310/proton_driver 5.488 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c proton_driver/bufferedreader.c -o build/temp.linux-x86_64-cpython-310/proton_driver/bufferedreader.o 5.488 error: command 'gcc' failed: No such file or directory 5.488 [end of output] 5.488 5.488 note: This error originates from a subprocess, and is likely not a problem with pip. 5.489 ERROR: Failed building wheel for proton-driver 5.489 Running setup.py clean for proton-driver 6.514 Failed to build proton-driver 6.669 Installing collected packages: pytz, urllib3, tzlocal, jsonpickle, idna, charset-normalizer, certifi, requests, proton-driver, bytewax 7.210 Running setup.py install for proton-driver: started 8.285 Running setup.py install for proton-driver: finished with status 'error' 8.296 error: subprocess-exited-with-error 8.296 8.296 × Running setup.py install for proton-driver did not run successfully. 8.296 │ exit code: 1 8.296 ╰─> [102 lines of output] 8.296 /usr/local/lib/python3.10/site-packages/setuptools/config/setupcfg.py:508: SetuptoolsDeprecationWarning: The license_file parameter is deprecated, use license_files instead. 8.296 warnings.warn(msg, warning_class) 8.296 running install 8.296 /usr/local/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. 8.296 warnings.warn( 8.296 running build 8.296 running build_py 8.296 creating build 8.296 creating build/lib.linux-x86_64-cpython-310 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/blockstreamprofileinfo.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/progress.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/errors.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/readhelpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/log.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/writer.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/opentelemetry.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/protocol.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/connection.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/queryprocessingstage.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/clientinfo.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/context.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/client.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/reader.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/defines.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/block.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 copying proton_driver/result.py -> build/lib.linux-x86_64-cpython-310/proton_driver 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/streams 8.296 copying proton_driver/streams/compressed.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 8.296 copying proton_driver/streams/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 8.296 copying proton_driver/streams/native.py -> build/lib.linux-x86_64-cpython-310/proton_driver/streams 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/util 8.296 copying proton_driver/util/helpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 8.296 copying proton_driver/util/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 8.296 copying proton_driver/util/compat.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 8.296 copying proton_driver/util/escape.py -> build/lib.linux-x86_64-cpython-310/proton_driver/util 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 copying proton_driver/dbapi/errors.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 copying proton_driver/dbapi/extras.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 copying proton_driver/dbapi/connection.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 copying proton_driver/dbapi/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 copying proton_driver/dbapi/cursor.py -> build/lib.linux-x86_64-cpython-310/proton_driver/dbapi 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/settings 8.296 copying proton_driver/settings/writer.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 8.296 copying proton_driver/settings/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 8.296 copying proton_driver/settings/types.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 8.296 copying proton_driver/settings/available.py -> build/lib.linux-x86_64-cpython-310/proton_driver/settings 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/nothingcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/decimalcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/exceptions.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/stringcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/service.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/ipcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/tuplecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/uuidcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/nullcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/arraycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/nullablecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/nestedcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/intcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/datetimecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/floatcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/simpleaggregatefunctioncolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/lowcardinalitycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/mapcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/enumcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/datecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/boolcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/intervalcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 copying proton_driver/columns/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/numpy 8.296 copying proton_driver/numpy/helpers.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 8.296 copying proton_driver/numpy/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 8.296 copying proton_driver/numpy/block.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 8.296 copying proton_driver/numpy/result.py -> build/lib.linux-x86_64-cpython-310/proton_driver/numpy 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 copying proton_driver/compression/lz4.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 copying proton_driver/compression/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 copying proton_driver/compression/zstd.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 copying proton_driver/compression/lz4hc.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 copying proton_driver/compression/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/compression 8.296 creating build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/stringcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/service.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/__init__.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/intcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/datetimecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/floatcolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/lowcardinalitycolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/datecolumn.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 copying proton_driver/columns/numpy/base.py -> build/lib.linux-x86_64-cpython-310/proton_driver/columns/numpy 8.296 warning: build_py: byte-compiling is disabled, skipping. 8.296 8.296 running build_ext 8.296 building 'proton_driver.bufferedreader' extension 8.296 creating build/temp.linux-x86_64-cpython-310 8.296 creating build/temp.linux-x86_64-cpython-310/proton_driver 8.296 gcc -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/usr/local/include/python3.10 -c proton_driver/bufferedreader.c -o build/temp.linux-x86_64-cpython-310/proton_driver/bufferedreader.o 8.296 error: command 'gcc' failed: No such file or directory 8.296 [end of output] 8.296 8.296 note: This error originates from a subprocess, and is likely not a problem with pip. 8.299 error: legacy-install-failure 8.299 8.299 × Encountered error while trying to install package. 8.299 ╰─> proton-driver 8.299 8.299 note: This is an issue with the package mentioned above, not pip. 8.299 hint: See above for output from the failure. 8.308 8.308 [notice] A new release of pip is available: 23.0.1 -> 23.2.1 8.308 [notice] To update, run: pip install --upgrade pip ------ Dockerfile:31 -------------------- 30 | # into this layer. 31 | >>> RUN --mount=type=cache,target=/root/.cache/pip \ 32 | >>> --mount=type=bind,source=requirements.txt,target=requirements.txt \ 33 | >>> python3.10 -m pip install -r requirements.txt 34 | -------------------- ERROR: failed to solve: process "/bin/sh -c python3.10 -m pip install -r requirements.txt" did not complete successfully: exit code: 1
To Reproduce Minimal piece of Python code that reproduces the problem.
Expected behavior A clear and concise description of what you expected to happen.
Versions
SELECT version()
I've pushed a new version of timeplus-proton-driver, please try again.
Describe the bug I was trying to build a docker image with this python driver. By default the
docker init
generates Dockerfile as thisbut it failed to load
proton-python-driver
from requirements.txt (error below)My workaround is to use the non-slim version
FROM python:3.10 as base
To Reproduce Minimal piece of Python code that reproduces the problem.
Expected behavior A clear and concise description of what you expected to happen.
Versions
SELECT version()
query.