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

RFC: pip install west and PEP 668 #159

Open
Chris-StJohn-Bose opened this issue Jul 6, 2023 · 1 comment
Open

RFC: pip install west and PEP 668 #159

Chris-StJohn-Bose opened this issue Jul 6, 2023 · 1 comment

Comments

@Chris-StJohn-Bose
Copy link

I recently ran into a problem with Debian 12 (bookworm) on a private Docker environment for Zephyr and decided to see how this repo solves it. Short answer: it doesn't.

https://pythonspeed.com/articles/externally-managed-environment-pep-668/

Right now the Dockerfiles are using ubuntu-22.04 which isn't affected by PEP 668. However, the next Ubuntu LTS almost certainly will be. Solutions are fairly stark:

  • Wait for Ubuntu to package west and the other Zephyr tools so it can be installed with apt rather than pip
  • Run all Zephyr tools inside a Python virtual environment
  • Invoke the --break-system-packages flag on the assumption that everything will probably(?) be ok
@stephanosio
Copy link
Member

  • Run all Zephyr tools inside a Python virtual environment

I would say this would be the most sensible solution.

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