We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've tried to install this python module via pip but the compiling have some problems. OS: Linux Python version: 3.10.13 and also with 3.11.6
$ pip install pylibschc Collecting pylibschc Downloading pylibschc-0.2.0b2.tar.gz (244 kB) ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 244.1/244.1 kB 9.8 MB/s eta 0:00:00 Installing build dependencies ... done Getting requirements to build wheel ... done Preparing metadata (pyproject.toml) ... error error: subprocess-exited-with-error × Preparing metadata (pyproject.toml) did not run successfully. │ exit code: 1 ╰─> [156 lines of output] running dist_info creating /tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info writing /tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info/PKG-INFO writing dependency_links to /tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info/dependency_links.txt writing requirements to /tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info/requires.txt writing top-level names to /tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info/top_level.txt writing manifest file '/tmp/pip-modern-metadata-_3swzh_5/pylibschc.egg-info/SOURCES.txt' Error compiling Cython file: ------------------------------------------------------------ ... else: self._frag_conn = NULL cdef _init_ops(self): self._frag_conn.timer_ctx = <void *>self self._frag_conn.send = self._send ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1021:35: Cannot assign type 'uint8_t (uint8_t *, uint16_t, uint32_t) except *' to 'uint8_t (*)(uint8_t *, uint16_t, uint32_t) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'uint8_t (uint8_t *, uint16_t, uint32_t) except *'. Error compiling Cython file: ------------------------------------------------------------ ... self._frag_conn = NULL cdef _init_ops(self): self._frag_conn.timer_ctx = <void *>self self._frag_conn.send = self._send self._frag_conn.post_timer_task = self._c_post_timer_task ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1022:46: Cannot assign type 'void (schc_fragmentation_t *, void (*)(void *) except *, uint32_t, void *) except *' to 'void (*)(schc_fragmentation_t *, void (*)(void *) noexcept, uint32_t, void *) noexcept' Error compiling Cython file: ------------------------------------------------------------ ... cdef _init_ops(self): self._frag_conn.timer_ctx = <void *>self self._frag_conn.send = self._send self._frag_conn.post_timer_task = self._c_post_timer_task self._frag_conn.end_rx = self._c_end_rx ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1023:37: Cannot assign type 'void (schc_fragmentation_t *) except *' to 'void (*)(schc_fragmentation_t *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (schc_fragmentation_t *) except *'. Error compiling Cython file: ------------------------------------------------------------ ... cdef _init_ops(self): self._frag_conn.timer_ctx = <void *>self self._frag_conn.send = self._send self._frag_conn.post_timer_task = self._c_post_timer_task self._frag_conn.end_rx = self._c_end_rx self._frag_conn.end_tx = self._c_end_tx ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1024:37: Cannot assign type 'void (schc_fragmentation_t *) except *' to 'void (*)(schc_fragmentation_t *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (schc_fragmentation_t *) except *'. Error compiling Cython file: ------------------------------------------------------------ ... self._frag_conn.timer_ctx = <void *>self self._frag_conn.send = self._send self._frag_conn.post_timer_task = self._c_post_timer_task self._frag_conn.end_rx = self._c_end_rx self._frag_conn.end_tx = self._c_end_tx self._frag_conn.remove_timer_entry = self._c_remove_timer_entry ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1025:49: Cannot assign type 'void (schc_fragmentation_t *) except *' to 'void (*)(schc_fragmentation_t *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (schc_fragmentation_t *) except *'. Error compiling Cython file: ------------------------------------------------------------ ... self._frag_conn.send = self._send self._frag_conn.post_timer_task = self._c_post_timer_task self._frag_conn.end_rx = self._c_end_rx self._frag_conn.end_tx = self._c_end_tx self._frag_conn.remove_timer_entry = self._c_remove_timer_entry self._frag_conn.free_conn_cb = self._c_free_conn_cb ^ ------------------------------------------------------------ pylibschc/libschc.pyx:1026:43: Cannot assign type 'void (schc_fragmentation_t *) except *' to 'void (*)(schc_fragmentation_t *) noexcept'. Exception values are incompatible. Suggest adding 'noexcept' to type 'void (schc_fragmentation_t *) except *'. Compiling pylibschc/libschc.pyx because it changed. [1/1] Cythonizing pylibschc/libschc.pyx Traceback (most recent call last): File "/home/dldyat/documents/develop/youandtech/clienti/unidata/converter-deveui-ip/venv/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() File "/home/dldyat/documents/develop/youandtech/clienti/unidata/converter-deveui-ip/venv/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main json_out['return_val'] = hook(**hook_input['kwargs']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/dldyat/documents/develop/youandtech/clienti/unidata/converter-deveui-ip/venv/lib64/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel return hook(metadata_directory, config_settings) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 366, in prepare_metadata_for_build_wheel self.run_setup() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/build_meta.py", line 311, in run_setup exec(code, locals()) File "<string>", line 54, in <module> File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/__init__.py", line 103, in setup return distutils.core.setup(**attrs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 185, in setup return run_commands(dist) ^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/core.py", line 201, in run_commands dist.run_commands() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands self.run_command(cmd) File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/dist.py", line 963, in run_command super().run_command(command) File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/dist.py", line 988, in run_command cmd_obj.run() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/dist_info.py", line 91, in run self.egg_info.run() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 321, in run self.find_sources() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 329, in find_sources mm.run() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 551, in run self.add_defaults() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/egg_info.py", line 589, in add_defaults sdist.add_defaults(self) File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 112, in add_defaults super().add_defaults() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/sdist.py", line 249, in add_defaults self._add_defaults_python() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/sdist.py", line 123, in _add_defaults_python build_py = self.get_finalized_command('build_py') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 305, in get_finalized_command cmd_obj.ensure_finalized() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized self.finalize_options() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/command/build_py.py", line 39, in finalize_options orig.build_py.finalize_options(self) File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/command/build_py.py", line 46, in finalize_options self.set_undefined_options( File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 293, in set_undefined_options src_cmd_obj.ensure_finalized() File "/tmp/pip-build-env-tkdhdnp3/overlay/lib/python3.11/site-packages/setuptools/_distutils/cmd.py", line 111, in ensure_finalized self.finalize_options() File "<string>", line 43, in finalize_options File "/tmp/pip-build-env-tkdhdnp3/overlay/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1154, in cythonize cythonize_one(*args) File "/tmp/pip-build-env-tkdhdnp3/overlay/lib64/python3.11/site-packages/Cython/Build/Dependencies.py", line 1321, in cythonize_one raise CompileError(None, pyx_file) Cython.Compiler.Errors.CompileError: pylibschc/libschc.pyx [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: metadata-generation-failed × Encountered error while generating package metadata. ╰─> See above for output. note: This is an issue with the package mentioned above, not pip. hint: See above for details.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I've tried to install this python module via pip but the compiling have some problems.
OS: Linux
Python version: 3.10.13 and also with 3.11.6
The text was updated successfully, but these errors were encountered: