-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade the required python version to python>=3.11 #337
Upgrade the required python version to python>=3.11 #337
Conversation
✅ Deploy Preview for silly-keller-664934 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
@ejm714 -- let me know if this is the right direction for this PR |
@westford14 this is the right direction. Let's see if we can set the floor at 3.11 instead and then use 3.11 and 3.12 in the tests. You'll need to update the version here for the tests for github actions: zamba/.github/workflows/tests.yml Line 44 in 498bca1
Once that's changed, I'll approve and run the github workflows for this PR |
@ejm714 -- thanks for the heads up on the github actions, i've now pinned them to 3.11 / 3.12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple small things for user clarity
thanks for the comments @ejm714 -- i've updated accordingly |
@ejm714 -- sorry i fixed the matrix sequence in the github actions file |
Thanks. That got past the initial hurdle so we actually get to run the tests on this PR however they're failing due to some installs for the densepose tests. You should be able to run the tests locally with |
looking at the pytorch issues, only python 3.12 support is only available in pytorch >== https://github.com/pytorch/pytorch/releases/tag/v2.4.0 which breaks the densepose library dependency, i guess the best path forward here is to pin to python 3.11 @ejm714 i've updated the code accordingly |
@ejm714 -- pinned to 3.11 |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #337 +/- ##
========================================
- Coverage 87.4% 87.3% -0.1%
========================================
Files 26 26
Lines 2191 2191
========================================
- Hits 1915 1913 -2
- Misses 276 278 +2
|
hey @ejm714 -- any changes I need to make to this PR? looks like all the tests would have passed (the |
wow codecov is really ratelimiting hard here |
It's unclear. I want to make sure all tests are passing on all operating systems but as you noted, codecov is really ratelimiting and I haven't had a chance to look into why/how to fix that. If you want to speed merging along, then you could look into that. Otherwise, feel free to put this down until I request anything specifically |
yea i'll take a look at the ratelimit thing there -- though it does seem like the tests are passing |
@ejm714 -- was doing some research into the codecov issue and it seems to be a pretty common issue for forked repos, but in this thread someone mentioned that upgrading to the v4 github action resolved it (codecov/feedback#358 (comment)) figured this was worth a shot before fully re-architecting this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like we can actually support python 3.12
I was looking into this more and we need to remove the ceiling on torch
in the densepose installs. The minimum torch version is 2.2.0 which is why we were getting the failures with python 3.12 and the densepose install. With the latest torch, the densepose tests are passing locally with python 3.12.
Thanks for the codecov update -- that seems to have resolved the timeouts. Once you've made the changes to support 3.11 and 3.12, I'll run the tests again and we should be good to go
awesome -- i'll do that and let you know when it's ready to rerun the tests |
@ejm714 -- just removed the cap on the densepose pytorch version, tests passed locally for me in both 3.11 and 3.12 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, thanks!
PR to update the python required version to be >= 3.10 -- this required unpinning the
thop
dependency as well as changing theModelEnum.time_distributed
extraction of the string toModelEnum.time_distributed.value
.Closes #310
Closes #192