CoolDude937 commented on PR #36315:
URL: https://github.com/apache/superset/pull/36315#issuecomment-3600055239

   I'm getting a lot of installation issues. It might be because I'm on a 
Windows, or because of my Python version, not sure:
     Getting requirements to build wheel ...error
     error: subprocess-exited-with-error      
   
     × Getting requirements to build wheel did not run successfully.
     │ exit code: 1
     ╰─> [52 lines of output]
         Compiling src/gevent/resolver/cares.pyx because it changed.
         [1/1] Cythonizing src/gevent/resolver/cares.pyx
   
         Error compiling Cython file:
         ------------------------------------------------------------
         ...
         cdef tuple integer_types
   
         if sys.version_info[0] >= 3:
             integer_types = int,
         else:
             integer_types = (int, long)      
                                   ^
         ------------------------------------------------------------
         src\gevent\libev\corecext.pyx:69:26: undeclared name not builtin: long
   
   And this one, when I switched to WSL, where I think it was not able to 
install this "execvpe" package:      
   prettier 
(frontend)......................................................Failed
                                                                                
  - hook id: prettier-frontend
    - exit code: 1
   
                  <3>WSL (18 - Relay) ERROR: CreateProcessCommon:798: 
execvpe(/bin/bash) failed: No such file or directory
                <3>WSL (16 - Relay) ERROR: CreateProcessCommon:798: 
execvpe(/bin/bash) failed: No such file or directory
              <3>WSL (14 - Relay) ERROR: CreateProcessCommon:798: 
execvpe(/bin/bash) failed: No such file or directory
            <3>WSL (10 - Relay) ERROR: CreateProcessCommon:798: 
execvpe(/bin/bash) failed: No such file or directory
            
   Then I saw pyproject.toml in the root had Python 3.10, 3.11, and 3.12 
specified, so I tried an environment in WSL with 3.10 and reinstalled the 
requirements.txt stuff, but then I ran into this:
     Getting requirements to build editable ... error
     error: subprocess-exited-with-error
     
     × Getting requirements to build editable did not run successfully.
     │ exit code: 1
     ╰─> [42 lines of output]
         
/tmp/pip-build-env-4pfzm92t/overlay/local/lib/python3.10/dist-packages/setuptools/config/_apply_pyprojecttoml.py:82:
 SetuptoolsDeprecationWarning: `project.license` as a TOML table is deprecated
         !!
   
                 
********************************************************************************
                 Please use a simple string containing a SPDX expression for 
`project.license`. You can also use `project.license-files`. (Both options 
available on setuptools>=77.0.0).
   
                 By 2026-Feb-18, you need to update your project and remove 
deprecated calls
                 or your builds will no longer be supported.
   
                 See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
                 
********************************************************************************
   
         !!
           corresp(dist, value, root_dir)
         
/tmp/pip-build-env-4pfzm92t/overlay/local/lib/python3.10/dist-packages/setuptools/config/_apply_pyprojecttoml.py:61:
 SetuptoolsDeprecationWarning: License classifiers are deprecated.
         !!
   
                 
********************************************************************************
                 Please consider removing the following classifiers in favor of 
a SPDX license expression:   
   
                 License :: OSI Approved :: Apache Software License
   
                 See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
                 
********************************************************************************
   
         !!
           dist._finalize_license_expression()
         
/tmp/pip-build-env-4pfzm92t/overlay/local/lib/python3.10/dist-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 :: Apache Software License
   
                 See 
https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license 
for details.
                 
********************************************************************************
   
         !!
           self._finalize_license_expression()
         running egg_info
         error: Cannot update time stamp of directory 
'src/apache_superset_core.egg-info'
         [end of output]         
         
   So I think there are a lot of problems trying to do this on my PC. I am 
currently considering docker options, would this command do something similar 
to what you suggested:
   docker compose run --rm superset pre-commit run --all-files
   
   


-- 
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