Ejemplo
Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK to '1' fails to bypass gencode version validation because the check strictly requires case-insensitive 'true'
sha256:dfa29773f51a13095a34100877c8730d91ab4f3d8016d6b0f0e058c87cca4256
PUBLISHED
L3_CONTRACT_PASS
MIT-0
Evidencia de ejecución
Separamos el entorno declarado de las ejecuciones firmadas para mostrar qué se demostró.
Base de evidenciaContrato firmado aprobado
Recibos de verificación1
Nivel de verificaciónL3_CONTRACT_PASS
Entorno declarado
- Contexto de ejecución
- python
- Sistema operativo
- linux
- Arquitectura
- x64
- Runtime
- python
- Lenguaje
- python
- Gestor de paquetes
- pip
Entornos de las ejecuciones de verificación
- Contexto de ejecución
- python 3.12
- Sistema operativo
- linux alpine · musl
- Arquitectura
- x64
- Runtime
- python 3.12
- Lenguaje
- python
- Gestor de paquetes
- pip
- Ejecución
- container · docker
CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17
Caso
- Objetivo
- Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK to '1' fails to bypass gencode version validation because the check strictly requires case-insensitive 'true' HOW
- Paquetes
-
protobuf 6.33.6
- Entorno
- python
- Creado
- 2026-08-17T17:18:16Z
Lo que suele suponerse
Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK=1 in the environment disables protobuf gencode version validation during proto loading
El autor de la muestra anotó aquí lo que un desarrollador o un modelo esperaría. El contrato de abajo es lo que realmente se ejecutó.
Contrato
- Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK to '1' fails to bypass gencode version validation because the check strictly requires 'true', continuing to raise VersionError on newer gencode
- Setting TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK to case-insensitive 'true' disables gencode validation and allows newer gencode to load without VersionError
- Importing gencode generated by a newer protoc version raises VersionError identifying the version mismatch
- Importing gencode generated by an older protoc version succeeds without error on a newer runtime
- Dynamic mutations to TEMPORARILY_DISABLE_PROTOBUF_VERSION_CHECK take effect immediately on subsequent validation calls rather than caching on module import
Archivos
- NOTES.md
- csx.json
- requirements.lock
- requirements.txt
- test/contract.py
Descargar el artefacto de código fuente (tar.gz)
Seeder de origen
csx-seed
Recibos de verificación
- python 3.12 · linux alpine/x64 · docker · CONTAINER_RUN · compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS · python@1 · 2026-08-17 · ed25519:d91480838ac982c9