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

   ### Bug description
   
   C:\superset_dev>pip install python-ldap
   Collecting python-ldap
     Using cached python-ldap-3.4.4.tar.gz (377 kB)
     Installing build dependencies ... done
     Getting requirements to build wheel ... done
     Preparing metadata (pyproject.toml) ... done
   Collecting pyasn1>=0.3.7 (from python-ldap)
     Using cached pyasn1-0.6.1-py3-none-any.whl.metadata (8.4 kB)
   Collecting pyasn1_modules>=0.1.5 (from python-ldap)
     Using cached pyasn1_modules-0.4.1-py3-none-any.whl.metadata (3.5 kB)
   Using cached pyasn1-0.6.1-py3-none-any.whl (83 kB)
   Using cached pyasn1_modules-0.4.1-py3-none-any.whl (181 kB)
   Building wheels for collected packages: python-ldap
     Building wheel for python-ldap (pyproject.toml) ... error
     error: subprocess-exited-with-error
   
     × Building wheel for python-ldap (pyproject.toml) did not run successfully.
     │ exit code: 1
     ╰─> [80 lines of output]
         
C:\Users\User\AppData\Local\Temp\pip-build-env-zl95wtm9\overlay\Lib\site-packages\setuptools\_distutils\dist.py:270:
 UserWarning: Unknown distribution option: 'test_suite'
           warnings.warn(msg)
         running bdist_wheel
         running build
         running build_py
         creating build\lib.win-amd64-cpython-310
         copying Lib\ldapurl.py -> build\lib.win-amd64-cpython-310
         copying Lib\ldif.py -> build\lib.win-amd64-cpython-310
         creating build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\async.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\asyncsearch.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\cidict.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\compat.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\constants.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\dn.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\filter.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\functions.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\ldapobject.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\logger.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\modlist.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\pkginfo.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\resiter.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\sasl.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\syncrepl.py -> build\lib.win-amd64-cpython-310\ldap
         copying Lib\ldap\__init__.py -> build\lib.win-amd64-cpython-310\ldap
         creating build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\deref.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\libldap.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\openldap.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\pagedresults.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\ppolicy.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\psearch.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\pwdpolicy.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\readentry.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\sessiontrack.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\simple.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\sss.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\vlv.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         copying Lib\ldap\controls\__init__.py -> 
build\lib.win-amd64-cpython-310\ldap\controls
         creating build\lib.win-amd64-cpython-310\ldap\extop
         copying Lib\ldap\extop\dds.py -> 
build\lib.win-amd64-cpython-310\ldap\extop
         copying Lib\ldap\extop\passwd.py -> 
build\lib.win-amd64-cpython-310\ldap\extop
         copying Lib\ldap\extop\__init__.py -> 
build\lib.win-amd64-cpython-310\ldap\extop
         creating build\lib.win-amd64-cpython-310\ldap\schema
         copying Lib\ldap\schema\models.py -> 
build\lib.win-amd64-cpython-310\ldap\schema
         copying Lib\ldap\schema\subentry.py -> 
build\lib.win-amd64-cpython-310\ldap\schema
         copying Lib\ldap\schema\tokenizer.py -> 
build\lib.win-amd64-cpython-310\ldap\schema
         copying Lib\ldap\schema\__init__.py -> 
build\lib.win-amd64-cpython-310\ldap\schema
         creating build\lib.win-amd64-cpython-310\slapdtest
         copying Lib\slapdtest\_slapdtest.py -> 
build\lib.win-amd64-cpython-310\slapdtest
         copying Lib\slapdtest\__init__.py -> 
build\lib.win-amd64-cpython-310\slapdtest
         running egg_info
         writing Lib\python_ldap.egg-info\PKG-INFO
         writing dependency_links to 
Lib\python_ldap.egg-info\dependency_links.txt
         writing requirements to Lib\python_ldap.egg-info\requires.txt
         writing top-level names to Lib\python_ldap.egg-info\top_level.txt
         reading manifest file 'Lib\python_ldap.egg-info\SOURCES.txt'
         reading manifest template 'MANIFEST.in'
         no previously-included directories found matching 'Doc\.build'
         adding license file 'LICENCE'
         writing manifest file 'Lib\python_ldap.egg-info\SOURCES.txt'
         creating build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\README -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\ca.conf -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\ca.pem -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\client.conf -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\client.key -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\client.pem -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\gencerts.sh -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\gennssdb.sh -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\server.conf -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\server.key -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         copying Lib\slapdtest\certs\server.pem -> 
build\lib.win-amd64-cpython-310\slapdtest\certs
         running build_ext
         building '_ldap' extension
         creating build\temp.win-amd64-cpython-310\Release\Modules
         "C:\Program Files (x86)\Microsoft Visual 
Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\bin\HostX86\x64\cl.exe" /c 
/nologo /O2 /W3 /GL /DNDEBUG /MD -DHAVE_SASL -DHAVE_TLS 
-DLDAPMODULE_VERSION=3.4.4 "-DLDAPMODULE_AUTHOR=python-ldap project" 
"-DLDAPMODULE_LICENSE=Python style" -IModules 
-IC:\Users\User\AppData\Local\Programs\Python\Python310\include 
-IC:\Users\User\AppData\Local\Programs\Python\Python310\Include "-IC:\Program 
Files (x86)\Microsoft Visual 
Studio\2022\BuildTools\VC\Tools\MSVC\14.42.34433\include" "-IC:\Program Files 
(x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" 
"-IC:\Program Files (x86)\Windows Kits\10\include\10.0.26100.0\ucrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\um" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\shared" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\winrt" 
"-IC:\Program Files (x86)\Windows Kits\10\\include\10.0.26100.0\\cppwinrt" 
"-IC:\Program Files (x8
 6)\Windows Kits\NETFXSDK\4.8\include\um" -IC:\path\to\openldap\include 
/TcModules/LDAPObject.c 
/Fobuild\temp.win-amd64-cpython-310\Release\Modules\LDAPObject.obj
         LDAPObject.c
         
C:\Users\User\AppData\Local\Temp\pip-install-eisc8oi_\python-ldap_feb9dba0d03148f9a8f2215539599d07\Modules\common.h(15):
 fatal error C1083: Impossible d'ouvrir le fichier includeÿ: 'lber.h'ÿ: No such 
file or directory
         error: command 'C:\\Program Files (x86)\\Microsoft Visual 
Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.42.34433\\bin\\HostX86\\x64\\cl.exe'
 failed with exit code 2
         [end of output]
   
     note: This error originates from a subprocess, and is likely not a problem 
with pip.
     ERROR: Failed building wheel for python-ldap
   Failed to build python-ldap
   
   [notice] A new release of pip is available: 24.3.1 -> 25.0
   [notice] To update, run: python.exe -m pip install --upgrade pip
   ERROR: ERROR: Failed to build installable wheels for some pyproject.toml 
based projects (python-ldap)
   
   
   ### Screenshots/recordings
   
   _No response_
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   _No response_
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [ ] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] 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