semohr commented on PR #37396: URL: https://github.com/apache/superset/pull/37396#issuecomment-3792284557
> Superset uses Git pre-commit hooks courtesy of [pre-commit](https://pre-commit.com/). To install run the following: > > pip3 install -r requirements/development.txt pre-commit install A series of checks will now run when you make a git commit. > > Alternatively it is possible to run pre-commit by running pre-commit manually: > > pre-commit run --all-files Thanks! I have seen this in the docs and have indeed tried to use pre-commits but it seems like some development dependency is currently broken and I did not want to take on that sidequest :laughing: FYI (fresh conda env) ``` pip3 install -r requirements/development.txt >> 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 Compiling src/gevent/libev/corecext.pyx because it changed. [1/1] Cythonizing src/gevent/libev/corecext.pyx Traceback (most recent call last): File "/mnt/Data/micromamba/envs/superset/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 389, in <module> main() ~~~~^^ File "/mnt/Data/micromamba/envs/superset/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 373, in main json_out["return_val"] = hook(**hook_input["kwargs"]) ~~~~^^^^^^^^^^^^^^^^^^^^^^^^ File "/mnt/Data/micromamba/envs/superset/lib/python3.13/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 143, in get_requires_for_build_wheel return hook(config_settings) File "/tmp/pip-build-env-hjexlddl/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 333, in get_requires_for_build_wheel return self._get_build_requires(config_settings, requirements=[]) ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-hjexlddl/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 301, in _get_build_requires self.run_setup() ~~~~~~~~~~~~~~^^ File "/tmp/pip-build-env-hjexlddl/overlay/lib/python3.13/site-packages/setuptools/build_meta.py", line 317, in run_setup exec(code, locals()) ~~~~^^^^^^^^^^^^^^^^ File "<string>", line 54, in <module> File "/tmp/pip-install-vheh6649/gevent_fb7be2ff73f54810b81465b3d0d495ed/_setuputils.py", line 249, in cythonize1 new_ext = cythonize( ~~~~~~~~~^ [ext], ^^^^^^ ...<46 lines>... # cache="build/cycache", ^^^^^^^^^^^^^^^^^^^^^^^^ )[0] ^ File "/tmp/pip-build-env-hjexlddl/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1153, in cythonize cythonize_one(*args) ~~~~~~~~~~~~~^^^^^^^ File "/tmp/pip-build-env-hjexlddl/overlay/lib/python3.13/site-packages/Cython/Build/Dependencies.py", line 1297, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: src/gevent/libev/corecext.pyx [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed to build 'gevent' when getting requirements to build wheel ``` Any ideas? -- 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]
