-
Notifications
You must be signed in to change notification settings - Fork 438
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
Gettext deprecation fixes (for Python 3.11 compatibility) #835
Conversation
Codecov Report
@@ Coverage Diff @@
## master #835 +/- ##
==========================================
+ Coverage 91.15% 91.21% +0.06%
==========================================
Files 23 23
Lines 4149 4145 -4
==========================================
- Hits 3782 3781 -1
+ Misses 367 364 -3
Continue to review full report at Codecov.
|
Looks good to me, deprecating |
@FelixSchwarz Sure, doesn't hurt to have someone else give it a shot too! I did test locally with a freshly compiled py3.11a3 before pushing, of course: The distutils warning was reported in #824 and will be dealt with ... somehow!
|
Ping, @FelixSchwarz :-) |
Hello, I am the original reporter of this issue. Thank you for this PR. I've tried to use it to build babel with Python 3.11.0a5, but unfortunately, it still fails. I see you tested it with the 3rd alpha, so maybe there were some further changes between 3rd and 5th alpha. Also I noticed that failure occurs in
|
Hi @hrnciar, thanks for chiming in! I'll give it another shot with 3.11a5. |
Hi @hrnciar – I compiled a5 and ran tox against 248fa35 (the tip of this PR) and all is well. To add to my confusement, there's a "Encode the Unicode tmsg back to an 8-bit string, if possible" comment as diff context in your comment. According to Can you ensure you're... building with the correct tree? 😄 |
You are correct :), sorry for the confusion. I applied your patch on top of the latest released version 2.9.1., therefore plenty of commits were missing. When I ran tox on top of the master branch with this patch it passed. |
Fixes #819 (even if Python 3.11 is only due around 2022-10-03).