{
 "ecosystem": "pypi",
 "errata": [
  {
   "action": "Not for automatic application — format removed: there is no replacement to apply. Show this correction to the user as a lead. opentelemetry.sdk._events is not available in opentelemetry-sdk 1.45.1; remove or replace this use. The same code works on opentelemetry-sdk 1.40.0: pin a version before 1.45.1 if you cannot change the code. Release notes: logger.emit(LogRecord(event_name=\"my.event\", body=...))",
   "alternatives": [
    {
     "action": "Not for automatic application — after the patch the example still uses Event, _events, which the verified example does not: the patch covers part of the change. Show this correction to the user as a lead. Review before applying: this fix runs on opentelemetry-sdk 1.45.1, but its printed output differs from what the original printed on 1.40.0 (observed stdout of one example) — it may do different work. Replace the old line with the new one; the rest of the code can stay.",
     "applicability": {
      "leftover": [
       "Event",
       "_events"
      ],
      "line": 1,
      "method": "literal_patch",
      "occurrences": 1,
      "patched_sha": "fa244283b64b",
      "reason": "after the patch the example still uses Event, _events, which the verified example does not: the patch covers part of the change",
      "run_on": "1.45.1",
      "status": "incomplete"
     },
     "by_notes": true,
     "changelog_ref": {
      "quote": "`opentelemetry-api`, `opentelemetry-sdk`: Removed deprecated Events API/SDK. Use `LogRecord` with the `event_name` field set instead. ([#5293](https://github.com/open-telemetry/opentelemetry-python/pull/5293))",
      "url": "https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.43.0"
     },
     "confirmations": 2,
     "detect": [
      "opentelemetry._events"
     ],
     "equivalence": "differs",
     "format": "replace",
     "kind": "behavior_changed",
     "right": "from opentelemetry._logs import LogRecord",
     "seen_in_models": [
      "claude-sonnet-5-5",
      "gemini-3.8-flash"
     ],
     "wrong": "from opentelemetry._events import Event"
    }
   ],
   "applicability": {
    "method": "literal_patch",
    "reason": "format removed: there is no replacement to apply",
    "run_on": "1.45.1",
    "status": "not_applicable"
   },
   "by_notes": true,
   "changelog_ref": {
    "quote": "`opentelemetry-api`, `opentelemetry-sdk`: Removed deprecated Events API/SDK. Use `LogRecord` with the `event_name` field set instead. ([#5293](https://github.com/open-telemetry/opentelemetry-python/pull/5293))",
    "url": "https://github.com/open-telemetry/opentelemetry-python/releases/tag/v1.43.0"
   },
   "confirmations": {
    "failed": 0,
    "worked": 6
   },
   "detect": [
    "opentelemetry._events"
   ],
   "ecosystem": "pypi",
   "equivalence": "not_comparable",
   "error_kind": "missing_module",
   "error_signature": {
    "message": "No module named 'opentelemetry._events'",
    "norm": "missing_module:opentelemetry._events",
    "type": "ModuleNotFoundError"
   },
   "first_seen": "2026-10-20T16:11:13+00:00",
   "format": "removed",
   "format_version": 2,
   "id": "pypi/opentelemetry-sdk/1.45.1/0001",
   "json": "https://formachines.ai/errata/pypi/opentelemetry-sdk/0001-opentelemetry-sdk-events/index.json",
   "kind": "removed",
   "package": "opentelemetry-sdk",
   "proof": {
    "applicability": {
     "method": "literal_patch",
     "reason": "format removed: there is no replacement to apply",
     "run_on": "1.45.1",
     "status": "not_applicable"
    },
    "auto_apply": false,
    "auto_apply_reason": "the fix's output was not compared; the patch gives not_applicable when applied word for word",
    "auto_apply_rule": "Automatic application is allowed only when proof.equivalent is true and proof.applicability.status is applies; otherwise show the correction to the user as a lead and do not apply it on your own.",
    "equivalence": "not_comparable",
    "equivalent": null,
    "fails_on": "1.45.1",
    "fixed_on": "1.45.1",
    "level": "differential",
    "method": {
     "fix_on": "1.45.1",
     "name": "stdout_match",
     "normalization": "lines stripped, blank lines dropped, runs of whitespace collapsed; memory addresses, timestamps and temporary paths masked",
     "original_on": "1.40.0",
     "scope": "the observable stdout of one example script; return values, files, other inputs and exception types are not compared, so a match is not a proof of equivalent behaviour"
    },
    "works_on": "1.40.0"
   },
   "right": "",
   "seen_in_models": [
    "claude-sonnet-5-5",
    "gemini-3.8-flash",
    "gpt-6.1-sol"
   ],
   "seq": 1,
   "slug": "opentelemetry-sdk-events",
   "source": "pipeline",
   "symbol": "opentelemetry.sdk._events",
   "updated": "2026-10-27T17:20:00+00:00",
   "url": "https://formachines.ai/errata/pypi/opentelemetry-sdk/0001-opentelemetry-sdk-events/",
   "variant_confirmations": 4,
   "variant_models": [
    "claude-sonnet-5-5",
    "gemini-3.8-flash",
    "gpt-6.1-sol"
   ],
   "verified": "sandbox",
   "versions": {
    "changed_in": ">1.40.0,<=1.45.1",
    "fails_on": "1.45.1",
    "works_on": "1.40.0"
   },
   "wrong": "from opentelemetry._events import Event"
  }
 ],
 "fails_on": [
  "1.45.1"
 ],
 "license": "https://creativecommons.org/licenses/by/4.0/",
 "models": [
  {
   "checked": 12,
   "model": "claude-sonnet-5-5",
   "outdated": 2,
   "share": 0.17
  },
  {
   "checked": 12,
   "model": "gpt-6.1-sol",
   "outdated": 3,
   "share": 0.25
  },
  {
   "checked": 12,
   "model": "gemini-3.8-flash",
   "outdated": 2,
   "share": 0.17
  }
 ],
 "new_version": "1.45.1",
 "old_version": "1.40.0",
 "package": "opentelemetry-sdk",
 "updated": "2026-10-27"
}