Skip to content
New issue

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

Build wheels for arm/v7 in CI: #8

Open
vojkovic opened this issue Oct 9, 2024 · 2 comments
Open

Build wheels for arm/v7 in CI: #8

vojkovic opened this issue Oct 9, 2024 · 2 comments

Comments

@vojkovic
Copy link

vojkovic commented Oct 9, 2024

From the SearXNG matrix:

  |searxng|   Downloading fasttext-predict-0.9.2.2.tar.gz (16 kB)
  |searxng|   Preparing metadata (pyproject.toml): started
  |searxng|   Preparing metadata (pyproject.toml): finished with status 'error'
  |searxng|   error: subprocess-exited-with-error
  |searxng|   
  |searxng|   × Preparing metadata (pyproject.toml) did not run successfully.
  |searxng|   │ exit code: 1
  |searxng|   ╰─> [13 lines of output]
  |searxng|       Traceback (most recent call last):
  |searxng|         File "/usr/local/searxng/searx-pyenv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
  |searxng|           main()
  |searxng|         File "/usr/local/searxng/searx-pyenv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
  |searxng|           json_out['return_val'] = hook(**hook_input['kwargs'])
  |searxng|         File "/usr/local/searxng/searx-pyenv/lib/python3.9/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 149, in prepare_metadata_for_build_wheel
  |searxng|           return hook(metadata_directory, config_settings)
  |searxng|         File "/usr/local/searxng/searx-pyenv/lib/python3.9/site-packages/setuptools/build_meta.py", line 373, in prepare_metadata_for_build_wheel
  |searxng|           self.run_setup()
  |searxng|         File "/usr/local/searxng/searx-pyenv/lib/python3.9/site-packages/setuptools/build_meta.py", line 318, in run_setup
  |searxng|           exec(code, locals())
  |searxng|         File "<string>", line 15, in <module>
  |searxng|       ModuleNotFoundError: No module named 'pybind11'
  |searxng|       [end of output]
  |searxng|   
  |searxng|   note: This error originates from a subprocess, and is likely not a problem with pip.
  |searxng| error: metadata-generation-failed
  |searxng| 
  |searxng| × Encountered error while generating package metadata.
  |searxng| ╰─> See above for output.
  |searxng| 
  |searxng| note: This is an issue with the package mentioned above, not pip.
  |searxng| hint: See above for details.

Please update https://github.com/searxng/fasttext-predict/blob/main/.github/workflows/wheels.yml to build for armv7.

@dalf
Copy link
Member

dalf commented Nov 22, 2024

can you try the last version : v0.9.2.3

@dalf
Copy link
Member

dalf commented Nov 23, 2024

So v0.9.2.3 is missing manylinux armv7l wheels (it includes the musllinux armv7l but most probably this is not what you are looking for).

I changed the GitHub workflow on dalf/fasttext-predict to use cibuildwheel.

See this release:
https://github.com/dalf/fasttext-predict/releases/tag/v0.0.0.1

If this works as expected, I will release a v0.9.2.4 version based on this GH workflow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants