Repository navigation
ci: run full-dependency tests with Python 3.12 and PyTorch 2.15 - #9140
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
|
@coderabbitai full review |
✅ Action performedFull review finished. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
The isolated, non-blocking workflow job matches the stated observability scope and preserves existing CI behavior.
Review effort: Balanced
Findings: None
What changed in this PR
Adds a non-blocking Python 3.12 CI job to observe full dependency resolution without changing compatibility guarantees or existing matrices.
Changes:
- Installs all testing dependencies and runs
pip check. - Uploads the resolved environment from
pip freeze.
| File | Description |
|---|---|
.github/workflows/cicd_tests.yml |
Adds the informational Python 3.12 dependency-resolution job. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
42c5281 to
e970953
Compare
|
Refreshed this branch against upstream dev at 9a6ac14 in b945eba, without conflicts. The observational workflow is byte-identical to the previous public head; the refresh does not modify existing jobs, matrices or gates. Local validation was limited to Ruby/Psych workflow comparisons, bash syntax and Git whitespace/scope checks. Dependency resolution, MONAI tests and Actions were not run locally. Could a maintainer approve the workflow runs when available so the required jobs can execute? |
362dee1 to
4043f3b
Compare
|
The output from the job is this: py312-full-dep-resolved.txtThe question here is what this does for us. I think the issue is that we need to move up the versions we're testing with an emphasis on Python 3.12 as it's a minimum for a number of things. |
|
Thanks, Eric. I added this as a small first step to expose the environment resolved under Python 3.12 and make dependency conflicts easier to inspect. Its value is limited to installation diagnostics: the job doesn't run the MONAI test suite. I agree that the more useful next step is to move the versions we actually test forward. I propose reworking this PR around running the existing full-dependency tests on Python 3.12, with the resolved environment retained as diagnostic output. Would updating the existing full-dependency job be the right scope for this PR? |
|
Hi @agourakis82 I had been working on the updates that need to be made here. This changes the lowest tested version of Python to 3.11 but this doesn't test Python 3.12 with the latest version of PyTorch. Could you please have a look at that PR and see if we're missing test coverage? |
|
@ericspod I checked #9266 at The missing case is one additional Ubuntu CI inspection and drafting assisted by OpenAI Codex. |
|
Hi @agourakis82 I'm going to merge #9266 without the added full-dep test as it's getting very large already and is holding up other things I need to do. Could you adjust this PR to add the test we need once that's gone through? Thanks! |
|
Sure!! Thank you for the attention and patience!! Best Demetrios |
Add one Ubuntu entry after the CI version update in Project-MONAI#9266. Keep the three required full-dep check names and verify the resolved PyTorch and torchvision versions before running the full test suite. Assisted-by: OpenAI Codex Signed-off-by: Demetrios Agourakis <demetrios@agourakis.med.br>
4043f3b to
02d42b0
Compare
ericspod
left a comment
There was a problem hiding this comment.
Thanks for the update, I have minor changes to make but it looks good overall. The new full-dep check won't be counted as required until I update the branch rules so don't worry about that. It is failing currently with tests that fail, could you please look into these?
|
@agourakis82 I think the issues here would be addressed by your other PR on orientation, I'm looking at that one now. |
Expose matrix package versions at job scope, keep the existing default versions, and verify resolved versions with Bash after the complete dependency installation. Assisted-by: OpenAI Codex Signed-off-by: Demetrios Agourakis <demetrios@agourakis.med.br>
There was a problem hiding this comment.
Hi @agourakis82 this looks good to me now, I can update your branch now.
Related to #9069. Follow-up to #9266.
Description
Add an Ubuntu entry to the existing full-dependency matrix for Python 3.12, PyTorch 2.15.0, and torchvision 0.29.2. It installs the full and testing extras, builds and imports the C++ extension, verifies the resolved PyTorch and torchvision versions, and runs the existing full unit-test step.
The three existing full-dependency entries keep their required check names and default versions.
Validation
Types of changes
Assisted by OpenAI Codex.