-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Python 3.13 support #2435
Comments
Hello! I’m a student enrolled in the EECS481 Software Engineering course at the University of Michigan. My partner and I are interested in working on this issue to make MusicBot compatible with Python 3.13 as part of our course project. We’d like to contribute by investigating compatibility changes needed for Python 3.13, addressing any deprecated features, and updating dependencies if necessary. Could we proceed with this issue as our project? We'd be happy to coordinate and provide updates along the way. Thank you for considering our contribution! |
Sure, feel free to work on it. |
This might be for naught, the issue stems from the way we set up loggers using the exec() function, which seems to be a tad bit different in 3.13, @itsTheFae has a WIP to change the way we do language (i18n) stuff, which replaces the way loggers work. In order to save yourself unwarranted time and effort, I'd suggest to focus on something else instead :) |
As the PR #2436 is now in Draft, feel free to contribute to it instead of the existing branches. For reference, MusicBot currently aims to support python versions 3.8 and up. So any changes need to remain compatible with those versions. |
@itsTheFae @BabyBoySnow Hello, @YijunWang1121 and I are currently working on testing the branch in PR #2436 . We are using the provided test cases in musicbot/testrig.py and also creating additional test cases to ensure thorough coverage. Additionally, we plan to provide a coverage report once the testing is complete. After addressing and debugging the issue related to Python compatibility, we will create a PR targeting itsTheFae:ui-and-i18n. Would that approach work for you? |
That sounds good to me. I'm certain there are improvements to be made with the tests and probably the rig too. |
What went wrong?
You can currently download python 3.13 from the python home page, however MusicBot will currently not work with it as some internal changes are needed. If you try to run MusicBot with 3.13 you will see this:
The actual traceback is longer than this, but the key is to look for
'everything' is not defined
. Until further notice please use a lower version between 3.8-3.12.How do we reproduce this?
Install python 3.13 and try to run the bot with that version.
Which version of the bot are you using?
Affects all branches
Which operating system are you using?
Affects all OS's
Just checking...
The text was updated successfully, but these errors were encountered: