GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||||||||||||
GeezerVison is showing github.com — gh-69714: Make `calendar` module fully tested by bxsx · Pull Request #93655 · python/cpython Conversation
|
|
The following commit authors need to sign the Contributor License Agreement: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Also cc: @hugovk (who I know has different opinions on testing to me!)
A
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Co-authored-by: Adam Turner <[email protected]>
|
Most changes to Python require a NEWS entry. Please add it using the blurb_it web app or the blurb command-line tool. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You will need a NEWS entry, along the lines of A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Thanks! I just added it. Another problem is the lack of CLA signatures from @jesstess and @rohitmediratta. The applied patches were quite old, so I'm not sure the email addresses are up to date (I don't know if the bot is sending emails about the CLA). Anyway, it looks like GitHub has assigned these commits to the correct usernames, so I'm tagging Jessica and Rohit in this comment to help notify :) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
You'll need to fix the Ubuntu failures in Traceback (most recent call last): File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/test/test_calendar.py", line 650, in test_locale_calendar_formatmonthname self.assertEqual(cal.formatmonthname(2022, 6, 2, withyear=False), "June") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/calendar.py", line 588, in formatmonthname with different_locale(self.locale): ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/calendar.py", line 555, in __enter__ _locale.setlocale(_locale.LC_TIME, self.locale) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/runner/work/cpython/cpython-ro-srcdir/Lib/locale.py", line 626, in setlocale return _setlocale(category, locale) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ locale.Error: unsupported locale setting This may be another test-skipping scenario, I don't know what the values it is trying to set are though so I can't guess much further. A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
You might also want to consider emailing the two of them if you don't hear back, neither seem to have much recent publicly shown activity on GH. A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Or maybe (based on the traceback) it's related to one of the corner cases from #93655 (comment)? |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…verage)" This reverts commit a96786c.
Sadly it doesn't seem to have worked :( A |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
…()`. This method temporarily changes the current locale to the given locale, so `_locale.setlocale()` may raise `local.Error`.
Yes, I misread the traceback in a rush before disconnecting, but I wanted to kick off builds to get results when I get back. Time saving ;) For now, I have restored a96786c. However, it is true that the cause of the problem is related to #31214 and as you correctly predicted, this is another test-skipping scenario. Fixed in 2b6f1f9. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
|
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
No need to process the function. This also helps in supporting CLI testing.
These tests are now part of `test_illegal_arguments`. This reverts commit 238c527.
Fixed in 8b7bc06. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Ok, all comments are now addressed and resolved. All tests pass successfully. ✔️ I think the PR is ready for another round of reviews ;-) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
The updated tests look good, I'll wait for Hugo's thoughts.
A
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Good news for the weekend. Rohit signed the CLA. Thanks again @rohitmediratta! I also looked at @jesstess GH profile and I believe the missing CLA has already been signed by Jessica as she is a former director of the Python Software Foundation and a member of @python. I've emailed [email protected] to sort this out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Here is the holdup situation: When moved to gh, issue became #57539. Irit Katriel requested gh PR and mentioned this issue. On June 9, bxsx added ab069a4, which added Jessica's original code, without the Serhiy correction. It somehow credited Jessica as author. Fortunately, the deletion of the correction is somehow not in the merged patch. Unfortunately, it fooled the CLA bot into thinking that she was an author of this PR. @ambv This PR, which has had a lot of work by multiple people, is blocked by the false 'need' for an unobtainable signature from @jesstess Jessica McKeller, who did not contribute to this PR. Should reverting ab069a4 fix the mistake or is something else needed. If so, can you override the bot? (Though a final review may be needed.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
Attempt to further increase test coverage of calendar module
There was an error while loading. Please reload this page.