[FEATURE] Require openqasm3 1.0.2 and a fixed openpulse after openpulse-python#44 ships
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Refactorización
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, python
- Área
- build-system, release, testing
Línea de trabajo
Read pyproject.toml for the current openqasm3 and openpulse floors, then src/pyqasm/entrypoint.py for the 1.0.1 inspect/_PARSE_KWARGS probe and describe_parse_error wording. The removal also spans the openqasm3 1.0.1 CI job, .github/requirements/openqasm3-1.0.1.*, nop handling, and version-gated test markers. Do not start until #475 is merged, openpulse-python#44 ships, and the new openpulse passes pulse tests with openqasm3 1.0.2; finish with tox -e unit-tests and the grep check from the issue.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Feature Description
Raise pyqasm's floors to openqasm3 1.0.2 and to the first openpulse release that works with it. Then remove the 1.0.1 compatibility code.
Why this waits. openqasm3 1.0.2 broke loads() (#472). #475 restores support and keeps 1.0.1 working. pyqasm cannot require 1.0.2 yet. openpulse 1.0.1 bundles an older qasm3 grammar. With openqasm3 1.0.2 it fails on any assignment in a cal or defcal block (openqasm/openpulse-python#42). The upstream fix is openqasm/openpulse-python#44, still open.
Start when all of these hold:
- #475 is merged and main CI is green.
- openqasm/openpulse-python#44 is merged.
- A new
openpulserelease with that fix is on PyPI. - That release passes pyqasm's pulse tests with
openqasm31.0.2, with no skip or xfail markers.
Implementation (Optional)
Version bump in pyproject.toml:
openqasm3[parser]>=1.0.2,<2.0.0(today>=1.0.0,<2.0.0).pulse = ["openpulse>=<fixed release>"](today>=1.0.1).
Remove the 1.0.1 compatibility added in #475:
src/pyqasm/entrypoint.py: drop theinspectprobe and_PARSE_KWARGS. Callopenqasm3.parse(program, ignore_version=True)directly.- The
Test against openqasm3 1.0.1CI job and.github/requirements/openqasm3-1.0.1.{in,txt}. - The code path that handles
nopas a gate call, which only older parsers produce. - Test markers that skip on older
openqasm3, such ashasattr(QuantumNop)and the measurement-call skip. - The 1.0.1 wording in the
describe_parse_errordocstring. Keep its token-first order: 1.0.2 raises"parse failed"for every syntax error.
Remove the openpulse workaround:
- The
ValidationErrorthat names openpulse 1.0.1 with openqasm3 1.0.2. - The skip and xfail markers on assignments in
calblocks. Those tests must pass.
Add a CHANGELOG entry.
Completed when:
tox -e unit-testspasses withopenqasm3==1.0.2and the newopenpulse, with no version-gated skips left.grep -rn "1\.0\.1" src tests .githubfinds noopenqasm3oropenpulsecompatibility code.- An
OPENQASM 2.0program and adefcalwith an assignment both load.
Related: qBraid/qBraid#1554 caps openqasm3<1.0.2 in the SDK until a pyqasm release passes ignore_version=True.
- Lenguaje dominante
- Python
- Estrellas
- 29
- Forks
- 33
- Merge medio
- 1 d 3 h
- PR fusionados (30 d)
- 14
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de qBraid/pyqasm
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
[FEATURE] Drop Python 3.10 and add Python 3.15Posiblemente ocupada @TheGupta2012 la tomó hoy. Abiertoenhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 63/100
Los mantenedores suelen responder en 1 día
-
enhancement error-handling program-validation
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Integer division for casts, int array elements, bitwise results, ** and int-returning subroutinesAbierto
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
qBraid/pyqasm#480 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de qBraid/pyqasm
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 2 días
-
[Bug]: LANGSMITH_SAMPLING_RATE ignores fractional values (isdigit check), traces 100% of requestsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
platform/backend tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Significant-Gravitas/AutoGPT#17100 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
MervinPraison/PraisonAI#6710 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bug good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100