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

No linux-arm64 wheel #116

Open
rsmh9628 opened this issue Aug 1, 2024 · 5 comments
Open

No linux-arm64 wheel #116

rsmh9628 opened this issue Aug 1, 2024 · 5 comments
Assignees
Labels
enhancement New feature or request

Comments

@rsmh9628
Copy link

rsmh9628 commented Aug 1, 2024

There seems to be a wheel for macOS-arm64 but no linux-arm64/aarch64 wheel. Adding a linux-arm64 wheel would be useful for people trying to deploy the library on a Raspberry Pi.

@rsmh9628 rsmh9628 changed the title No linux-arm64 python wheel No linux-arm64 wheel Aug 1, 2024
@buffer buffer self-assigned this Aug 2, 2024
@buffer buffer added the enhancement New feature or request label Aug 2, 2024
@buffer
Copy link
Collaborator

buffer commented Aug 2, 2024

FYI Github is actively working to provide Linux ARM64 runners

https://github.blog/news-insights/product-news/arm64-on-github-actions-powering-faster-more-efficient-build-systems/

Once the image will be available I will take care of adding a new workflow for that. Thanks!

@bastien8060
Copy link

Further more, I'm getting a No module named 'settings'

Collecting stpyv8
  Using cached stpyv8-12.7.224.18.tar.gz (45 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-iuyx7063/stpyv8_d841dabd35204ae7b80a965d813a598e/setup.py", line 12, in <module>
          from settings import *  # pylint:disable=wildcard-import,unused-wildcard-import
      ModuleNotFoundError: No module named 'settings'
      [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.

Any idea what may cause this? Thanks!

@bastien8060
Copy link

bastien8060 commented Oct 9, 2024

Ok, I ended up building from source- used the github worker https://github.com/cloudflare/stpyv8/blob/master/.github/workflows/linux.yml as a reference to download and build the v8 project, which stpyv8 depends on

@bastien8060
Copy link

@buffer what's the progress on the images? (Compiling V8 is really slow)

@MaxwellDPS
Copy link

Further more, I'm getting a No module named 'settings'

Collecting stpyv8
  Using cached stpyv8-12.7.224.18.tar.gz (45 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error
  
  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [6 lines of output]
      Traceback (most recent call last):
        File "<string>", line 2, in <module>
        File "<pip-setuptools-caller>", line 34, in <module>
        File "/tmp/pip-install-iuyx7063/stpyv8_d841dabd35204ae7b80a965d813a598e/setup.py", line 12, in <module>
          from settings import *  # pylint:disable=wildcard-import,unused-wildcard-import
      ModuleNotFoundError: No module named 'settings'
      [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.

Any idea what may cause this? Thanks!

Can confirm still seeing this on x64 too, pip install is failing

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

No branches or pull requests

4 participants