You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to setup infrastructure for PyPI publication (see #33) , but I stumbled upon this problem, after installing SDL and SDL_mixer:
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- Cython
- setuptools>=42
* Getting build dependencies for sdist...
* Building sdist...
* Building wheel from sdist
* Creating isolated environment: venv+pip...
* Installing packages in isolated environment:
- Cython
- setuptools>=42
* Getting build dependencies for wheel...
* Installing packages in isolated environment:
- wheel
* Building wheel...
/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/build-via-sdist-6uh2544a/audiostream-0.2/audiostream/sources/thread.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling audiostream/sources/thread.pyx because it changed.
[1/1] Cythonizing audiostream/sources/thread.pyx
/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/build-via-sdist-6uh2544a/audiostream-0.2/audiostream/sources/wave.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling audiostream/sources/wave.pyx because it changed.
[1/1] Cythonizing audiostream/sources/wave.pyx
/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Compiler/Main.py:381: FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases! File: /tmp/build-via-sdist-6uh2544a/audiostream-0.2/audiostream/sources/puredata.pyx
tree = Parsing.p_module(s, pxd, full_module_name)
Compiling audiostream/sources/puredata.pyx because it changed.
[1/1] Cythonizing audiostream/sources/puredata.pyx
Traceback (most recent call last):
File "/home/uwun/playground/audiostream/.venv/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 373, in <module>
main()
File "/home/uwun/playground/audiostream/.venv/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 357, in main
json_out["return_val"] = hook(**hook_input["kwargs"])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/uwun/playground/audiostream/.venv/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py", line 271, in build_wheel
return _build_backend().build_wheel(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/build_meta.py", line 410, in build_wheel
return self._build_with_temp_dir(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/build_meta.py", line 395, in _build_with_temp_dir
self.run_setup()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
exec(code, locals())
File "<string>", line 103, in <module>
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 184, in setup
return run_commands(dist)
^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/core.py", line 200, in run_commands
dist.run_commands()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
self.run_command(cmd)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/dist.py", line 968, in run_command
super().run_command(command)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/wheel/bdist_wheel.py", line 368, in run
self.run_command("build")
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/dist.py", line 968, in run_command
super().run_command(command)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/command/build.py", line 132, in run
self.run_command(cmd_name)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/cmd.py", line 316, in run_command
self.distribution.run_command(command)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/dist.py", line 968, in run_command
super().run_command(command)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
cmd_obj.run()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 359, in run
self.build_extensions()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 479, in build_extensions
self._build_extensions_serial()
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/setuptools/_distutils/command/build_ext.py", line 505, in _build_extensions_serial
self.build_extension(ext)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Distutils/build_ext.py", line 130, in build_extension
new_ext = cythonize(
^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 1010, in cythonize
module_list, module_metadata = create_extension_list(
^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 859, in create_extension_list
kwds = deps.distutils_info(file, aliases, base).values
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 707, in distutils_info
return (self.transitive_merge(filename, self.distutils_info0, DistutilsInfo.merge)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 716, in transitive_merge
return self.transitive_merge_helper(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 722, in transitive_merge_helper
deps = extract(node)
^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 687, in distutils_info0
cimports, externs, incdirs = self.cimports_externs_incdirs(filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Cython/Utils.py", line 129, in Cython.Utils.cached_method.wrapper
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 574, in cimports_externs_incdirs
for include in self.included_files(filename):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Cython/Utils.py", line 129, in Cython.Utils.cached_method.wrapper
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Build/Dependencies.py", line 556, in included_files
include_path = self.context.find_include_file(include, source_file_path=filename)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Compiler/Main.py", line 299, in find_include_file
error(pos, "'%s' not found" % filename)
File "/tmp/build-env-s9fr2ojb/lib/python3.12/site-packages/Cython/Compiler/Errors.py", line 178, in error
raise InternalError(message)
Cython.Compiler.Errors.InternalError: Internal compiler error: 'common.pxi' not found
ERROR Backend subprocess exited when trying to invoke build_wheel
I'm trying to setup infrastructure for PyPI publication (see #33) , but I stumbled upon this problem, after installing SDL and SDL_mixer:
Repository for reproduction: https://github.com/audioseek/audiostream
Steps:
The text was updated successfully, but these errors were encountered: