{
  "id": "P107",
  "slug": "poetry-2-0-0-self-update-command-fails-before-install-fixed-release-self-update-path",
  "status": "search-observed",
  "product": "Poetry",
  "family": "CLI command/plugin extraction",
  "canonical_url": "https://gitdocs.org/fix/poetry-2-0-0-self-update-command-fails-before-install-fixed-release-self-update-path",
  "query_alias_url": "https://gitdocs.org/q/poetry-2-0-0-self-update-command-fails-before-install-fixed-release-self-update-path",
  "markdown_url": "https://gitdocs.org/fix/poetry-2-0-0-self-update-command-fails-before-install-fixed-release-self-update-path.md",
  "json_url": "https://gitdocs.org/api/fixes/poetry-2-0-0-self-update-command-fails-before-install-fixed-release-self-update-path.json",
  "canonical_query": "Poetry 2.0.0 self update command fails before install fixed release self update path",
  "observed_codex_queries": [
    "Poetry 2.0.0 self update command fails before install fixed release self update path",
    "site:github.com/python-poetry/poetry self update 2.0.0 error",
    "Poetry 2.0.0 self update path fails 2.0.1",
    "\"self-update\" \"poetry\" \"2.0.0\"",
    "\"poetry self update\" \"does not exist\"",
    "site:github.com/python-poetry/poetry/issues \"self update\" \"2.0\"",
    "Poetry 2.0.1 release notes self update",
    "python-poetry 2.0.0 changelog self update",
    "https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md",
    "'## [2.0.1]' in https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md",
    "https://github.com/python-poetry/poetry/pull/9995",
    "https://patch-diff.githubusercontent.com/raw/python-poetry/poetry/pull/9995.patch",
    "\"Fix an issue where `poetry self update` did not recognize Poetry's own environment\"",
    "site:github.com/python-poetry/poetry \"SelfUpdateCommand\" \"get_system_env\"",
    "https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py",
    "raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/update.py",
    "https://api.github.com/repos/python-poetry/poetry/pulls/9995/files",
    "api.github.com/repos/python-poetry/poetry/pulls/9995/files",
    "https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py",
    "\"self_command.py\" \"python-poetry\" \"poetry\" \"get_system_env\""
  ],
  "organic_dependency_search_count": 21,
  "affected_versions": "",
  "exact_errors": [],
  "diagnosis": "The project files cannot prove whether a familiar command still ships in the CLI core or now requires an external plugin.",
  "before": "",
  "after": "",
  "verification": "Verifier checks a declared/reproducible plugin dependency or the supported replacement command. Check reproducibility from a clean environment and artifact contents where relevant.",
  "unsafe_fixes": [
    "Changing local code without checking the current external contract.",
    "Retrying the same install, build, or API call with no version/source change.",
    "Applying a broad unsafe bypass when a narrow compatibility fix is available."
  ],
  "last_verified_at": "2026-06-25",
  "neutral_validation": {
    "organic_search_observed": true,
    "organic_strict_pass": true,
    "no_web_counterfactual_run": false,
    "no_web_strict_pass": null,
    "search_necessity_under_fixture": null,
    "no_web_oracle_note": "Observed query evidence is separated from necessity proof; no-web and stale-contract counterfactuals should be tracked separately."
  },
  "source_trail": [
    {
      "url": "https://python-poetry.org/blog/announcing-poetry-2.0.0/",
      "label": "Poetry 2.0.0"
    },
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://github.com/python-poetry/poetry/pull/9995",
      "label": "GitHub source file or repository reference"
    },
    {
      "url": "https://patch-diff.githubusercontent.com/raw/python-poetry/poetry/pull/9995.patch",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://api.github.com/repos/python-poetry/poetry/pulls/9995/files",
      "label": "GitHub source file or repository reference"
    },
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py",
      "label": "Official reference opened by Codex"
    }
  ],
  "source_github_links": [
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/main/CHANGELOG.md",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://github.com/python-poetry/poetry/pull/9995",
      "label": "GitHub source file or repository reference"
    },
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/2.0.0/src/poetry/console/commands/self/update.py",
      "label": "Official reference opened by Codex"
    },
    {
      "url": "https://api.github.com/repos/python-poetry/poetry/pulls/9995/files",
      "label": "GitHub source file or repository reference"
    },
    {
      "url": "https://raw.githubusercontent.com/python-poetry/poetry/2.0.1/src/poetry/console/commands/self/self_command.py",
      "label": "Official reference opened by Codex"
    }
  ]
}
