Bazel builds should be hermetic, but they're not

Aperta
#802 4 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 2 giorni

@mhucka ci sta già lavorando.

Dal 7/10/2026.

  • #1094 di @kris524 — aperta

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

a: devops a: health contributors welcome
Describe the issue

The Bazel configuration files do no install the Python requirements, which means it's up to the user to do pip install requirements.txt and dev-requirements.txt prior to running Bazel commands. If they don't, they may get an unobvious error message such as this:

ERROR: Analysis of target '//tests:simulator_testfixture' failed; build aborted: Problem getting numpy include path.
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'numpy'

We need to make qsim's Bazel files use rules_python and install the Python requirements.

What version of qsim are you using?

0.22.0.dev0

How can the issue be reproduced?

No response

Lingua principale
C++
Stelle
702
Fork
219
Merge medio
1g 2h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di quantumlib/qsim

Tutte le issue di quantumlib/qsim

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.