Actions Updates For pkg_resources Fix#775
Conversation
Signed-off-by: Eric Kerfoot <17726042+ericspod@users.noreply.github.com>
WalkthroughThis PR updates GitHub Actions workflows by upgrading action versions (checkout v6, setup-python v6), simplifying Python version specification from 3.10.14 to 3.10, replacing manual caching logic with setup-python's built-in pip caching, adding wheel-stub to dependency installations, and correcting a typo. Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~12 minutes Poem
🚥 Pre-merge checks | ✅ 4✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches🧪 Generate unit tests (beta)
No actionable comments were generated in the recent review. 🎉 Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Description
This fixes any potential issues in the Actions scripts relating to the missing
pkg_resourcesmodule. This was fixed in Core by forcing pip to build in the install environment rather than in an isolated one so that it's forced to use an older version ofsetuptools, thus avoiding errors withpkg_resourcesnot being present in PyPI anymore. Here this doesn't occur directly in the scripts as an issue but can if models require certain dependencies which cannot be installed because of this error (eg. MetricsReloaded). See Project-MONAI/MONAI#8536.Status
Ready
Please ensure all the checkboxes:
./runtests.sh --codeformat.versionandchangeloginmetadata.jsonif changing an existing bundle.CONTRIBUTING.md).monai,pytorchandnumpyare correct inmetadata.json.eval_metricsof the provided weights and TorchScript modules.large_file.yml./home/your_name/for"bundle_root").Summary by CodeRabbit