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

Update to python version 3.11 #1167

Merged
merged 3 commits into from
Oct 25, 2024
Merged

Update to python version 3.11 #1167

merged 3 commits into from
Oct 25, 2024

Conversation

Donaim
Copy link
Member

@Donaim Donaim commented Oct 24, 2024

No description provided.

@Donaim Donaim force-pushed the update-python-version branch from b237059 to dd66e6a Compare October 24, 2024 21:40
In python 3.11, "universal lines" feature [has been deprecated][update].
This feature was implemented as "U" flag that could be passed to:
1) `open(filename, "rU")` type of constructors,
2) `argparse.FileType("rU")` type of constructors.

The flag is no longer supported.

As mentioned in [the update][update], "universal lines" became the
default behaviour. So the flag can be ommited.

This commit removes all the usages of the flag.

[update]: https://docs.python.org/3/whatsnew/3.11.html#porting-to-python-3-11
@Donaim Donaim force-pushed the update-python-version branch from dd66e6a to de2b85a Compare October 24, 2024 21:53
The most recent version on Ubuntu and Debian is `3.12`, but it does
not work with MiCall yet.
@Donaim Donaim force-pushed the update-python-version branch from 3d07402 to 72a46ea Compare October 24, 2024 21:57
@Donaim Donaim changed the title Update python version to 3.11 Update python version Oct 24, 2024
@Donaim Donaim force-pushed the update-python-version branch 6 times, most recently from 2452fe9 to f33a14f Compare October 24, 2024 22:46
@Donaim Donaim added this to the 7.18 milestone Oct 24, 2024
@Donaim Donaim force-pushed the update-python-version branch from f33a14f to 3fc2133 Compare October 24, 2024 23:00
@Donaim Donaim changed the title Update python version Update to python version 3.11 Oct 24, 2024
@Donaim Donaim force-pushed the update-python-version branch 2 times, most recently from 06a0ebd to 72a46ea Compare October 25, 2024 20:08
Base automatically changed from update-minimap to master October 25, 2024 23:25
@Donaim Donaim merged commit 2fd7ebf into master Oct 25, 2024
3 checks passed
@Donaim Donaim deleted the update-python-version branch October 25, 2024 23:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant