Skip to content
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

The Messenger: remove 3.8 compatibility #3992

Merged

Conversation

alwaysintreble
Copy link
Collaborator

What is this fixing or adding?

Updates typing to 3.10+ and replaces str.replace with str.remove_prefix where relevant for a minimal speed increase.

How was this tested?

A few gens and tests. Existing tests hit all of the code paths that were touched here

If this makes graphical changes, please attach screenshots.

@Exempt-Medic
Copy link
Collaborator

Should be able to update test_shop.py as well

Copy link
Collaborator

@Exempt-Medic Exempt-Medic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Read through the changes which all LGTM. Did some test generations as well as some searches for any missed updates; only found the one that I mentioned in an earlier comment.

@Exempt-Medic Exempt-Medic added is: maintenance Regular updates to requirements and utilities that do not fix bugs or change/add features. is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: other Issue/PR is waiting for something else, like another PR. labels Sep 24, 2024
@Berserker66 Berserker66 merged commit 0adcf8e into ArchipelagoMW:core_min_py_3_10 Sep 27, 2024
9 of 10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
is: maintenance Regular updates to requirements and utilities that do not fix bugs or change/add features. is: refactor/cleanup Improvements to code/output readability or organizization. waiting-on: other Issue/PR is waiting for something else, like another PR.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants