Use lower-direct resolution and create groups to factorize dep lower bounds#708
Use lower-direct resolution and create groups to factorize dep lower bounds#708ValerianRey wants to merge 1 commit into
Conversation
|
/opencode:Plan please explain what went wrong (why the CI doesn't pass). Can we salvage this or is it a dead end? |
|
The CI is failing because What went wrongThe PR places [project.optional-dependencies]
quadprog_projector = [
{include-group = "_numpy"},
{include-group = "_quadprog"},
...
]This is not allowed. The When Every job that installs an extra (which is most of them: tests, build-doc, code-quality) hits this error. Can we salvage this?Yes, but not in its current form. You have two practical paths: Option 1: Partial salvage (minimal change) [project.optional-dependencies]
quadprog_projector = [
"numpy>=1.21.2",
"quadprog>=0.1.9, != 0.1.10",
"qpsolvers>=1.0.1",
]You lose the cross-table factorization, but the CI works again with Option 2: Full refactor to RecommendationGo with Option 1 for this PR. It preserves the useful dependency-group factorization for CI while keeping the project's published extras standards-compliant. Option 2 is a valid future direction but is a separate architectural decision. |
|
@PierreQuinton apparently it's not possible to refer to dependency groups in optional dependencies. So we can't really improve on that matter. |

No description provided.