ray73864 opened a new issue, #33027:
URL: https://github.com/apache/superset/issues/33027

   ### Bug description
   
   Using the latest git clone and setting TAG to 4.1.2 (I've also tried the 
version the documentation suggests which is 3.1.1), am having a lot of issues 
trying to get this up and running.
   
   If I use the 'docker-compose-non-dev.yml' file, I get issues relating to 
'gcc' not installed so it fails to install psycopg2.
   
   If I use the 'docker-compose-image-tag.yml' file, I get issues relating to 
'uv' not being installed so it just fails in general to do much of anything.
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.11
   
   ### Node version
   
   Not applicable
   
   ### Browser
   
   Not applicable
   
   ### Additional context
   
   Installing local overrides at /app/docker/requirements-local.txt
   Resolved 1 package in 285ms
      Building psycopg2==2.9.10
     × Failed to build `psycopg2==2.9.10`
     ├─▶ The build backend returned an error
     ╰─▶ Call to `setuptools.build_meta:__legacy__.build_wheel` failed (exit
         status: 1)
   
         [stdout]
         running bdist_wheel
         running build
         running build_py
         creating build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/pool.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/tz.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/errorcodes.py -> 
build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/_json.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/errors.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/extensions.py -> 
build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/extras.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/_range.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/_ipaddress.py -> 
build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/__init__.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         copying lib/sql.py -> build/lib.linux-x86_64-cpython-311/psycopg2
         running build_ext
         building 'psycopg2._psycopg' extension
         creating build/temp.linux-x86_64-cpython-311/psycopg
         gcc -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall
         -fPIC "-DPSYCOPG_VERSION=2.9.10 (dt dec pq3 ext lo64)"
         -DPSYCOPG_DEBUG=1 -DPG_VERSION_NUM=150012 -DHAVE_LO64=1
         -DPSYCOPG_DEBUG=1 -I/tmp/.tmpHMnmky/builds-v0/.tmpzy1XIq/include
         -I/usr/local/include/python3.11 -I.
         -I/usr/include/postgresql -I/usr/include/postgresql/15/server
         -I/usr/include/libxml2 -c psycopg/adapter_asis.c -o
         build/temp.linux-x86_64-cpython-311/psycopg/adapter_asis.o
         -Wdeclaration-after-statement
   
         [stderr]
         
/tmp/.tmpHMnmky/builds-v0/.tmpzy1XIq/lib/python3.11/site-packages/setuptools/dist.py:759:
         SetuptoolsDeprecationWarning: License classifiers are deprecated.
         !!
   
   
         
********************************************************************************
                 Please consider removing the following classifiers in favor of 
a
         SPDX license expression:
   
                 License :: OSI Approved :: GNU Library or Lesser General Public
         License (LGPL)
   
                 See
         
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license
         for details.
   
         
********************************************************************************
   
         !!
           self._finalize_license_expression()
   
         It appears you are missing some prerequisite to build the package from
         source.
   
         You may install a binary package by installing 'psycopg2-binary' from
         PyPI.
         If you want to install psycopg2 from source, please install the 
packages
         required for the build and try again.
   
         For further information please check the 'doc/src/install.rst' file
         (also at
         <https://www.psycopg.org/docs/install.html>).
   
         error: command 'gcc' failed: No such file or directory
   
         hint: This usually indicates a problem with the package or the build
         environment.
   
   ### Checklist
   
   - [x] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [x] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [x] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to