Fix "last submission time" parsing issue#25818
Conversation
|
Thanks for the pull request, @regisb! I've created OSPR-5294 to keep track of it in JIRA, where we prioritize reviews. Please note that it may take us up to several weeks or months to complete a review and merge your PR. Feel free to add as much of the following information to the ticket:
All technical communication about the code itself will be done via the GitHub pull request interface. As a reminder, our process documentation is here. Please let us know once your PR is ready for our review and all tests are green. |
|
cc @jmbowman because you were the one who downgraded python-dateutil in https://github.com/edx/edx-platform/pull/22703 |
jmbowman
left a comment
There was a problem hiding this comment.
The followup from that revert was captured as ARCHBOM-802 . As noted there, this should be safe now that we're no longer running Python 3.5, but we should keep an eye out for errors after the deployment just in case.
|
@regisb Thank you for your contribution. This is ready for our review. |
|
@regisb I think this is ready to merge once the merge conflicts are resolved. We may want to defer until after the holidays, since we have an edx-platform code freeze starting tomorrow. |
|
@jmbowman Too late to merge? We still have 40 minutes till code freeze :) |
|
Still needs to be rebased and get through tests, so yeah, probably. |
|
@jmbowman Got it, thanks for clarifying. |
0a6e81f to
6c72b12
Compare
|
Rebased! |
|
Too late to merge today, but setting as ready to merge for after holidays. |
6c72b12 to
7696439
Compare
|
@jmbowman Might be ready to merge when you have a chance. |
|
Argh, I'm actually 2 weeks behind on reading GitHub notification emails now; trying to work through that backlog today, please rebase again and I'll merge. You may want to ping me on Slack just to be sure I don't miss it again. |
7696439 to
387222c
Compare
|
@jmbowman rebased! |
|
@bradenmacdonald, is this something you have time to approve as CC? Asking on behalf of the build-test-release working group. |
|
A separate PR tried to upgrade python-dateutil on Friday, and we had to roll back because it caused problems on prod with loading pickled datetime instances. We thought that would have been resolved by the Python 3.8 upgrade, but haven't had time yet to investigate whether we hit the same issue again or a similar new one. We'll be doing that in the next couple of days, but afraid we can't merge this until we get to the bottom of that. |
|
Ah, thanks for the update @jmbowman! Didn't mean to sidestep you - figured you might've been too busy to look at this one. |
387222c to
20d096f
Compare
|
Update: this is still blocked by edX, waiting on the work Jeremy mentioned. |
|
@jmbowman Could you please update us whether the work you mentioned has been complete? Can this PR be merged now? |
|
I talked to @jmbowman, this is still by https://openedx.atlassian.net/browse/BOM-2245 being investigated. |
|
Looks like still blocked. |
|
📣 💥 Heads-up: You must either rebase onto master or merge master into your branch to avoid breaking the build. We recently removed diff-quality and introduced lint-amnesty. This means that the automated quality check that has run on your branch doesn't work the same way it will on master. If you have introduced any quality failures, they might pass on the PR but then break the build on master. This branch has been detected to not have commit 2e33565 as an ancestor. Here's how to see for yourself: If you have any questions, please reach out to the Architecture team (either #edx-shared-architecture on Open edX Slack or #architecture on edX internal). |
20d096f to
f564521
Compare
We are affected by the following python-dateutil issue: dateutil/dateutil#163 The symptoms are described here: https://openedx.atlassian.net/jira/software/projects/BTR/boards/641?selectedIssue=BTR-25 In a nutshell: when creating an exercise with a 10 seconds answer delay on a server that is configured with a non-UTC tzdata (but UTC TIME_ZONE django setting), students are faced with error messages stating that they have to wait 4h 59min 50s. The deeper issue is that dateutil incorrectly parses the datetime object. This issue is resolved by simply upgrading python-dateutil. I realise that dateutil was constrained to an older version before. We will have to see whether this change causes production errors. This is for: openedx/wg-build-test-release#9
f564521 to
745cc72
Compare
|
Your PR has finished running tests. There were no failures. |
|
@regisb We are about to resume work that will unblock this PR. Sorry for the long wait. |
|
@regisb Even though your pull request wasn’t merged, please take a moment to answer a two question survey so we can improve your experience in the future. |
We are affected by the following python-dateutil issue:
dateutil/dateutil#163
The symptoms are described here:
https://openedx.atlassian.net/jira/software/projects/BTR/boards/641?selectedIssue=BTR-25
In a nutshell: when creating an exercise with a 10 seconds answer delay
on a server that is configured with a non-UTC tzdata (but UTC TIME_ZONE
django setting), students are faced with error messages stating that
they have to wait 4h 59min 50s.
The deeper issue is that dateutil incorrectly parses the datetime
object. This issue is resolved by simply upgrading python-dateutil.
I realise that dateutil was constrained to an older version before. We
will have to see whether this change causes production errors.
This is ready for review.