{"record":{"id":"46ab92e436d51841","repo":"astral-sh/uv","slug":"requested-extra-s-not-found","errorCode":null,"errorMessage":"Requested extra{s} not found: {}","messagePattern":"Requested extra(.+?) not found: (.+?)","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/uv/src/commands/pip/compile.rs","lineNumber":277,"sourceCode":"            .chain(\n                build_constraints_from_workspace\n                    .into_iter()\n                    .map(NameRequirementSpecification::from),\n            )\n            .collect();\n\n    // If all the metadata could be statically resolved, validate that every extra was used. If we\n    // need to resolve metadata via PEP 517, we don't know which extras are used until much later.\n    if source_trees.is_empty() {\n        let mut unused_extras = extras\n            .explicit_names()\n            .filter(|extra| !used_extras.contains(extra))\n            .collect::<Vec<_>>();\n        if !unused_extras.is_empty() {\n            unused_extras.sort_unstable();\n            unused_extras.dedup();\n            let s = if unused_extras.len() == 1 { \"\" } else { \"s\" };\n            return Err(anyhow!(\n                \"Requested extra{s} not found: {}\",\n                unused_extras.iter().join(\", \")\n            ));\n        }\n    }\n\n    // Find an interpreter to use for building distributions\n    let environment_preference = EnvironmentPreference::from_system_flag(system, false);\n    let python_preference = python_preference.with_system_flag(system);\n    let reporter = PythonDownloadReporter::single(printer);\n    let interpreter = if let Some(python) = python.as_ref() {\n        let request = PythonRequest::parse(python);\n        PythonInstallation::find_or_download(\n            Some(&request),\n            environment_preference,\n            python_preference,\n            python_downloads,\n            &client_builder,","sourceCodeStart":259,"sourceCodeEnd":295,"githubUrl":"https://github.com/astral-sh/uv/blob/f1a42680ff5272232d65748acf338b19778dde24/crates/uv/src/commands/pip/compile.rs#L259-L295","documentation":"Error \"Requested extra{s} not found: {}\" thrown in astral-sh/uv.","triggerScenarios":"Thrown at crates/uv/src/commands/pip/compile.rs:277 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"f1a42680ff5272232d65748acf338b19778dde24","analyzedAt":"2026-08-16T04:51:47.599Z","schemaVersion":2},"datasetVersion":"2026-08-16T08:17:34.114Z"}