Update cuda-core and cuda-pathfinder dependency versions automatically in cuda-python - #2709
Update cuda-core and cuda-pathfinder dependency versions automatically in cuda-python#2709mdboom wants to merge 3 commits into
Conversation
|
|
Would it be possible to leave paper trails on the dependency versions in some way, so that we can inspect and audit? Automating it is great but right now we lose track of things 😛 |
|
Hi @mdboom, I'm still working on getting my head around this PR. I'm posting the codex gpt-5.6-sol ultra findings here as generated, so you can run them by your agent while I look more closely manually. (Usually the findings from this model are very reliable.) PR 2709 initial review
Severity convention: P1 findings should be fixed before merge. P2 findings should be fixed or explicitly accepted and documented. FindingsP1 - Preserve the
|
This is a real bug. Sorry I missed that in my testing.
These seems like two sides of the same coin. I'll see what can be done with that.
Seems worth fixing if we are going to do beta releases of cuda-python. I don't think we should, but it's a latent bug if we ever decide to. If this proves too problematic to get right, we can just error out for this case as an alternative.
This only matters if we release cuda-python from a non-tagged commit which isn't currently supported on a number of levels.
This seems out of scope. Our CI needs better testing across the board, but we won't find a good solution while trying to fix this localized problem. |
|
Closing. There seems to be no reasonable way to solve this problem without making a bigger problem. |
We currently determine the cuda-bindings version automatically to be the latest release whenever we build cuda-python. We don't currently determine the cuda-core or cuda-pathfinder versions automatically, which means we they need to be updated by hand during the release. This just automates out that one extra step. This isn't theoretically -- the cuda-core dependency is still specified as
1.0.0here, even though1.1.1has been out for weeks.This specifies the dependencies so that patch releases of the same version are considered equivalent. For cuda-pathfinder, it is looser and even minor release changes are considered equivalent. (This matches current behavior).
As an additional bugfix, this will no longer generate a cuda-python package that depends on a non-tagged git commit of any package (which we will never release, so doesn't make much sense).
(There is a larger question about whether we should be so tight with our cuda-python dependencies, which leads to other issues downstream of this, but this is just to automate a part of making a release while keeping status quo behavior.)